diff --git a/.gitignore b/.gitignore index b4c8d2154..0d8732591 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ knowledge.json server .dumi/tmp .dumi/tmp-production + +# compiled +/compiled \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ActionSheet/index.axml b/compiled/alipay/demo/pages/ActionSheet/index.axml deleted file mode 100644 index 055e94c3b..000000000 --- a/compiled/alipay/demo/pages/ActionSheet/index.axml +++ /dev/null @@ -1,55 +0,0 @@ - - - - 基础用法 - - - - - 危险状态&禁用状态 - - - - - 带注释及icon - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ActionSheet/index.js b/compiled/alipay/demo/pages/ActionSheet/index.js deleted file mode 100644 index 96611edcb..000000000 --- a/compiled/alipay/demo/pages/ActionSheet/index.js +++ /dev/null @@ -1,76 +0,0 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ -Page({ - data: { - visible1: false, - visible2: false, - visible3: false, - actions1: [ - { - text: '复制', - key: 'copy', - }, - { - text: '修改', - key: 'modify', - }, - ], - actions2: [ - { - text: '复制', - key: 'copy', - description: '请选择复制内容', - }, - { - text: '修改', - key: 'modify', - disabled: true, - }, - { - text: '删除', - key: 'delete', - danger: true, - }, - ], - actions3: [ - { - text: '备份', - key: 'backup', - description: '请选择要备份的内容', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*I0oNS4RCQzUAAAAAAAAAAAAAARQnAQ', - }, - { - text: '保存', - key: 'save', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*BNczQ7hmp2gAAAAAAAAAAAAAARQnAQ', - }, - { - text: '同步', - key: 'sync', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*eRaVSrV56dIAAAAAAAAAAAAAARQnAQ', - }, - ], - }, - handleOpenBasic(e) { - const { index } = e.currentTarget.dataset; - this.setData({ - [`visible${index}`]: true, - }); - }, - handleCloseBasic(e) { - const { index } = e.currentTarget.dataset; - this.setData({ - [`visible${index}`]: false, - }); - }, - handleAction(item, index, e) { - if (item.key === 'delete') { - my.confirm({ - content: '你确定要删除吗?', - }); - return; - } - my.alert({ - content: `你点击了${item.key}`, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/ActionSheet/index.json b/compiled/alipay/demo/pages/ActionSheet/index.json deleted file mode 100644 index 2b1bd0bd6..000000000 --- a/compiled/alipay/demo/pages/ActionSheet/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "ActionSheet", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-action-sheet": "../../../src/ActionSheet/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ActionSheet/index.less b/compiled/alipay/demo/pages/ActionSheet/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/AutoResize/index.axml b/compiled/alipay/demo/pages/AutoResize/index.axml deleted file mode 100644 index 2e4df554b..000000000 --- a/compiled/alipay/demo/pages/AutoResize/index.axml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - 页面遇到一些小问题 - - - - - - The page is experiencing some minor issues - - - - - - - The page is experiencing some minor issues - - - - - - - ページにいくつかの小さな問題が発生しています - - - - - - 페이지에 작은 문제가 발생했습니다 - - - - - - تواجه الصفحة بعض المشكلات البسيطة - - - - - - - La página ha encontrado algunos pequeños problemas - - - - - - - На странице возникли небольшие проблемы - - - - - - - La page rencontre quelques problèmes mineurs - - - - - - - Auf der Seite treten einige kleinere Probleme auf - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/AutoResize/index.js b/compiled/alipay/demo/pages/AutoResize/index.js deleted file mode 100644 index 8ec69958d..000000000 --- a/compiled/alipay/demo/pages/AutoResize/index.js +++ /dev/null @@ -1,3 +0,0 @@ -Page({ - data: {}, -}); diff --git a/compiled/alipay/demo/pages/AutoResize/index.json b/compiled/alipay/demo/pages/AutoResize/index.json deleted file mode 100644 index 234394c01..000000000 --- a/compiled/alipay/demo/pages/AutoResize/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "AutoResize", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-auto-resize": "../../../src/AutoResize/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/AutoResize/index.less b/compiled/alipay/demo/pages/AutoResize/index.less deleted file mode 100644 index 8ff0baa62..000000000 --- a/compiled/alipay/demo/pages/AutoResize/index.less +++ /dev/null @@ -1,4 +0,0 @@ -page { - padding-top: 70px; - -} diff --git a/compiled/alipay/demo/pages/Avatar/index.axml b/compiled/alipay/demo/pages/Avatar/index.axml deleted file mode 100644 index 7013b6c61..000000000 --- a/compiled/alipay/demo/pages/Avatar/index.axml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - Novalee Spicer - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Avatar/index.js b/compiled/alipay/demo/pages/Avatar/index.js deleted file mode 100644 index aafd900fd..000000000 --- a/compiled/alipay/demo/pages/Avatar/index.js +++ /dev/null @@ -1,11 +0,0 @@ -Page({ - data: { - sizes: ['x-small', 'small', 'medium', 'large'], - images: [ - 'https://images.unsplash.com/photo-1548532928-b34e3be62fc6?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ', - 'https://images.unsplash.com/photo-1493666438817-866a91353ca9?ixlib=rb-0.3.5&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&s=b616b2c5b373a80ffc9636ba24f7a4a9', - 'https://images.unsplash.com/photo-1542624937-8d1e9f53c1b9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ', - 'https://images.unsplash.com/photo-1546967191-fdfb13ed6b1e?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ', - ], - }, -}); diff --git a/compiled/alipay/demo/pages/Avatar/index.json b/compiled/alipay/demo/pages/Avatar/index.json deleted file mode 100644 index 3b9591181..000000000 --- a/compiled/alipay/demo/pages/Avatar/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Avatar", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-avatar": "../../../src/Avatar/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Avatar/index.less b/compiled/alipay/demo/pages/Avatar/index.less deleted file mode 100644 index 162e79612..000000000 --- a/compiled/alipay/demo/pages/Avatar/index.less +++ /dev/null @@ -1,12 +0,0 @@ -.avatar { - margin: 8px; -} - -.avatar-custom { - margin: 8px; -} - -.avatar-custom image { - width: 40px; - height: 40px; -} diff --git a/compiled/alipay/demo/pages/Badge/index.axml b/compiled/alipay/demo/pages/Badge/index.axml deleted file mode 100644 index d9805c400..000000000 --- a/compiled/alipay/demo/pages/Badge/index.axml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Badge/index.js b/compiled/alipay/demo/pages/Badge/index.js deleted file mode 100644 index 8ec69958d..000000000 --- a/compiled/alipay/demo/pages/Badge/index.js +++ /dev/null @@ -1,3 +0,0 @@ -Page({ - data: {}, -}); diff --git a/compiled/alipay/demo/pages/Badge/index.json b/compiled/alipay/demo/pages/Badge/index.json deleted file mode 100644 index 63f083ebd..000000000 --- a/compiled/alipay/demo/pages/Badge/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Badge", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-badge": "../../../src/Badge/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Badge/index.less b/compiled/alipay/demo/pages/Badge/index.less deleted file mode 100644 index 05caddb6a..000000000 --- a/compiled/alipay/demo/pages/Badge/index.less +++ /dev/null @@ -1,18 +0,0 @@ -page { - padding: 24rpx; -} - -.badge-list { - display: flex; -} - -.ant-badge { - margin-right: 16px; -} -.box { - width: 40px; - height: 40px; - display: block; - border-radius: 8px; - background: #b3b3b3; -} diff --git a/compiled/alipay/demo/pages/Button/index.axml b/compiled/alipay/demo/pages/Button/index.axml deleted file mode 100644 index 2ecd39a7b..000000000 --- a/compiled/alipay/demo/pages/Button/index.axml +++ /dev/null @@ -1,506 +0,0 @@ - - - - 主要按钮 - - - 操作线框按钮 - - - 文本按钮 - - - - - 辅助按钮 - - - 辅助按钮 - - - 操作线框辅助按钮 - - - 操作线框辅助按钮 - - - - - 主要按钮 - - - 次要按钮 - - - 文本按钮 - - - - - 主要按钮 - - - 次要按钮 - - - 文本按钮 - - - - - 主要按钮 - - - 次要按钮 - - - 文本 - - - - - 主要按钮 - - - 次要按钮 - - - 文本按钮 - - - - - 主要按钮 - - - 主要按钮 - - - 主要按钮 - - - - - 主要按钮 - - - 主要按钮 - - - - - Icon - - - Icon - - - Icon - - - Icon - - - Icon - - - Icon - - - - - Icon - - - Icon - - - Icon - - - - - Icon - - - Icon - - - Icon - - - - - loading - - - loading - - - loading - - - - - disabled - - - disabled - - - disabled - - - - - 主要按钮 - - - 次要按钮 - - - 文本按钮 - - - - - 主要按钮 - - - 主要按钮 - - - 主要按钮 - - - - - 主要按钮 - - - 次要按钮 - - - 文本按钮 - - - - - 主要按钮 - - - 次要按钮 - - - 文本按钮 - - - - - 主要按钮 - - - 次要按钮 - - - 文本 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Button/index.js b/compiled/alipay/demo/pages/Button/index.js deleted file mode 100644 index e42a741e0..000000000 --- a/compiled/alipay/demo/pages/Button/index.js +++ /dev/null @@ -1,12 +0,0 @@ -Page({ - handleTap() { - my.alert({ - title: '点击按钮', - }); - }, - handleDisabledTap() { - my.alert({ - title: '禁用点击', - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Button/index.json b/compiled/alipay/demo/pages/Button/index.json deleted file mode 100644 index b79c3170d..000000000 --- a/compiled/alipay/demo/pages/Button/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Button", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Button/index.less b/compiled/alipay/demo/pages/Button/index.less deleted file mode 100644 index e999d7226..000000000 --- a/compiled/alipay/demo/pages/Button/index.less +++ /dev/null @@ -1,3 +0,0 @@ -button { - margin-bottom: 8px; -} diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.axml b/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.axml deleted file mode 100644 index feee3896e..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.axml +++ /dev/null @@ -1,3 +0,0 @@ - - {{cnday}} - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.js b/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.js deleted file mode 100644 index b5675af23..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.js +++ /dev/null @@ -1,38 +0,0 @@ -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import Converter from './js-calendar-converter'; -import { Component, getValueFromProps } from '../../../../../src/_util/simply'; -Component({ - cell: null, -}, { - updateData() { - const cell = getValueFromProps(this, 'cell'); - const time = dayjs(cell === null || cell === void 0 ? void 0 : cell.time); - const vs = Converter.solar2lunar(time.get('year'), time.get('month') + 1, time.get('date')); - if (vs === -1) { - this.setData({ - cnday: '', - }); - return; - } - this.setData({ - cnday: vs.lunarFestival || vs.festival || vs.IDayCn, - festival: !!vs.festival || !!vs.lunarFestival, - unset: (cell === null || cell === void 0 ? void 0 : cell.isSelectedBegin) || (cell === null || cell === void 0 ? void 0 : cell.isSelectedEnd), - }); - }, -}, { - cnday: '', - festival: '', - unset: '', -}, null, { - onInit() { - this.updateData(); - }, - didUpdate(prevProps) { - const cell = getValueFromProps(this, 'cell'); - if (!equal(prevProps.cell, cell)) { - this.updateData(); - } - }, -}); diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.json b/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.json deleted file mode 100644 index 79f273097..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "styleIsolation": "apply-shared" -} diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.less b/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.less deleted file mode 100644 index 7d090dd79..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/cn-day.less +++ /dev/null @@ -1,11 +0,0 @@ -.cn-day { - color: #999999; -} - -.festival { - color: red; -} - -.unset { - color: unset; -} diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/js-calendar-converter.js b/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/js-calendar-converter.js deleted file mode 100644 index 2038a00e9..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/cn-day/js-calendar-converter.js +++ /dev/null @@ -1,669 +0,0 @@ -var lunarInfo = [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, -//1900-1909 -0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, -//1910-1919 -0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, -//1920-1929 -0x06566, 0x0d4a0, 0x0ea50, 0x16a95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, -//1930-1939 -0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, -//1940-1949 -0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, -//1950-1959 -0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, -//1960-1969 -0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, -//1970-1979 -0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, -//1980-1989 -0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, -//1990-1999 -0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, -//2000-2009 -0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, -//2010-2019 -0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, -//2020-2029 -0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, -//2030-2039 -0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, -//2040-2049 -/**Add By JJonline@JJonline.Cn**/ -0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, -//2050-2059 -0x092e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, -//2060-2069 -0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, -//2070-2079 -0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, -//2080-2089 -0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, -//2090-2099 -0x0d520]; //2100 - -var solarMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; - -var Gan = ["\u7532", "\u4E59", "\u4E19", "\u4E01", "\u620A", "\u5DF1", "\u5E9A", "\u8F9B", "\u58EC", "\u7678"]; -var Zhi = ["\u5B50", "\u4E11", "\u5BC5", "\u536F", "\u8FB0", "\u5DF3", "\u5348", "\u672A", "\u7533", "\u9149", "\u620C", "\u4EA5"]; - -var ChineseZodiac = ["\u9F20", "\u725B", "\u864E", "\u5154", "\u9F99", "\u86C7", "\u9A6C", "\u7F8A", "\u7334", "\u9E21", "\u72D7", "\u732A"]; - -var festival = { - '1-1': { - title: '元旦节' - }, - '2-14': { - title: '情人节' - }, - '5-1': { - title: '劳动节' - }, - '5-4': { - title: '青年节' - }, - '6-1': { - title: '儿童节' - }, - '9-10': { - title: '教师节' - }, - '10-1': { - title: '国庆节' - }, - '12-25': { - title: '圣诞节' - }, - '3-8': { - title: '妇女节' - }, - '3-12': { - title: '植树节' - }, - '4-1': { - title: '愚人节' - }, - '5-12': { - title: '护士节' - }, - '7-1': { - title: '建党节' - }, - '8-1': { - title: '建军节' - }, - '12-24': { - title: '平安夜' - } -}; -var lFestival = { - '12-30': { - title: '除夕' - }, - '1-1': { - title: '春节' - }, - '1-15': { - title: '元宵节' - }, - '2-2': { - title: '龙抬头' - }, - '5-5': { - title: '端午节' - }, - '7-7': { - title: '七夕节' - }, - '7-15': { - title: '中元节' - }, - '8-15': { - title: '中秋节' - }, - '9-9': { - title: '重阳节' - }, - '10-1': { - title: '寒衣节' - }, - '10-15': { - title: '下元节' - }, - '12-8': { - title: '腊八节' - }, - '12-23': { - title: '北方小年' - }, - '12-24': { - title: '南方小年' - } -}; - -var solarTerm = ["\u5C0F\u5BD2", "\u5927\u5BD2", "\u7ACB\u6625", "\u96E8\u6C34", "\u60CA\u86F0", "\u6625\u5206", "\u6E05\u660E", "\u8C37\u96E8", "\u7ACB\u590F", "\u5C0F\u6EE1", "\u8292\u79CD", "\u590F\u81F3", "\u5C0F\u6691", "\u5927\u6691", "\u7ACB\u79CB", "\u5904\u6691", "\u767D\u9732", "\u79CB\u5206", "\u5BD2\u9732", "\u971C\u964D", "\u7ACB\u51AC", "\u5C0F\u96EA", "\u5927\u96EA", "\u51AC\u81F3"]; -var sTermInfo = ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722']; - -var nStr1 = ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"]; -var nStr2 = ["\u521D", "\u5341", "\u5EFF", "\u5345"]; -var nStr3 = ["\u6B63", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341", "\u51AC", "\u814A"]; - -/** - * @1900-2100区间内的公历、农历互转 - * @charset UTF-8 - * @Author Jea杨(JJonline@JJonline.Cn) - * @Time 2014-7-21 - * @Time 2016-8-13 Fixed 2033hex、Attribution Annals - * @Time 2016-9-25 Fixed lunar LeapMonth Param Bug - * @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year - * @Version 1.0.3 - * @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0] - * @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0] - */ -var calendar = { - /** - * 农历1900-2100的润大小信息表 - * @Array Of Property - * @return Hex - */ - lunarInfo: lunarInfo, - /** - * 公历每个月份的天数普通表 - * @Array Of Property - * @return Number - */ - solarMonth: solarMonth, - /** - * 天干地支之天干速查表 - * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"] - * @return Cn string - */ - Gan: Gan, - /** - * 天干地支之地支速查表 - * @Array Of Property - * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"] - * @return Cn string - */ - Zhi: Zhi, - /** - * 天干地支之地支速查表<=>生肖 - * @Array Of Property - * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"] - * @return Cn string - */ - Animals: ChineseZodiac, - /** - * 阳历节日 - */ - festival: festival, - /** - * 农历节日 - */ - lFestival: lFestival, - /** - * 24节气速查表 - * @Array Of Property - * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"] - * @return Cn string - */ - solarTerm: solarTerm, - /** - * 1900-2100各年的24节气日期速查表 - * @Array Of Property - * @return 0x string For splice - */ - sTermInfo: sTermInfo, - /** - * 数字转中文速查表 - * @Array Of Property - * @trans ['日','一','二','三','四','五','六','七','八','九','十'] - * @return Cn string - */ - nStr1: nStr1, - /** - * 日期转农历称呼速查表 - * @Array Of Property - * @trans ['初','十','廿','卅'] - * @return Cn string - */ - nStr2: nStr2, - /** - * 月份转农历称呼速查表 - * @Array Of Property - * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊'] - * @return Cn string - */ - nStr3: nStr3, - /** - * 返回默认定义的阳历节日 - */ - getFestival: function getFestival() { - return this.festival; - }, - /** - * 返回默认定义的内容里节日 - */ - getLunarFestival: function getLunarFestival() { - return this.lFestival; - }, - /** - * - * @param param {Object} 按照festival的格式输入数据,设置阳历节日 - */ - setFestival: function setFestival() { - var param = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.festival = param; - }, - /** - * - * @param param {Object} 按照lFestival的格式输入数据,设置农历节日 - */ - setLunarFestival: function setLunarFestival() { - var param = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.lFestival = param; - }, - /** - * 返回农历y年一整年的总天数 - * @param y lunar Year - * @return Number - * @eg:var count = calendar.lYearDays(1987) ;//count=387 - */ - lYearDays: function lYearDays(y) { - var i, - sum = 348; - for (i = 0x8000; i > 0x8; i >>= 1) { - sum += this.lunarInfo[y - 1900] & i ? 1 : 0; - } - return sum + this.leapDays(y); - }, - /** - * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0 - * @param y lunar Year - * @return Number (0-12) - * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6 - */ - leapMonth: function leapMonth(y) { - //闰字编码 \u95f0 - return this.lunarInfo[y - 1900] & 0xf; - }, - /** - * 返回农历y年闰月的天数 若该年没有闰月则返回0 - * @param y lunar Year - * @return Number (0、29、30) - * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29 - */ - leapDays: function leapDays(y) { - if (this.leapMonth(y)) { - return this.lunarInfo[y - 1900] & 0x10000 ? 30 : 29; - } - return 0; - }, - /** - * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法 - * @param y lunar Year - * @param m lunar Month - * @return Number (-1、29、30) - * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29 - */ - monthDays: function monthDays(y, m) { - if (m > 12 || m < 1) { - return -1; - } //月份参数从1至12,参数错误返回-1 - return this.lunarInfo[y - 1900] & 0x10000 >> m ? 30 : 29; - }, - /** - * 返回公历(!)y年m月的天数 - * @param y solar Year - * @param m solar Month - * @return Number (-1、28、29、30、31) - * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30 - */ - solarDays: function solarDays(y, m) { - if (m > 12 || m < 1) { - return -1; - } //若参数错误 返回-1 - var ms = m - 1; - if (ms === 1) { - //2月份的闰平规律测算后确认返回28或29 - return y % 4 === 0 && y % 100 !== 0 || y % 400 === 0 ? 29 : 28; - } else { - return this.solarMonth[ms]; - } - }, - /** - * 农历年份转换为干支纪年 - * @param lYear 农历年的年份数 - * @return Cn string - */ - toGanZhiYear: function toGanZhiYear(lYear) { - var ganKey = (lYear - 3) % 10; - var zhiKey = (lYear - 3) % 12; - if (ganKey === 0) ganKey = 10; //如果余数为0则为最后一个天干 - if (zhiKey === 0) zhiKey = 12; //如果余数为0则为最后一个地支 - return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1]; - }, - /** - * 公历月、日判断所属星座 - * @param cMonth [description] - * @param cDay [description] - * @return Cn string - */ - toAstro: function toAstro(cMonth, cDay) { - var s = "\u6469\u7FAF\u6C34\u74F6\u53CC\u9C7C\u767D\u7F8A\u91D1\u725B\u53CC\u5B50\u5DE8\u87F9\u72EE\u5B50\u5904\u5973\u5929\u79E4\u5929\u874E\u5C04\u624B\u6469\u7FAF"; - var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22]; - return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + "\u5EA7"; //座 - }, - - /** - * 传入offset偏移量返回干支 - * @param offset 相对甲子的偏移量 - * @return Cn string - */ - toGanZhi: function toGanZhi(offset) { - return this.Gan[offset % 10] + this.Zhi[offset % 12]; - }, - /** - * 传入公历(!)y年获得该年第n个节气的公历日期 - * @param y y公历年(1900-2100) - * @param n n二十四节气中的第几个节气(1~24);从n=1(小寒)算起 - * @return day Number - * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春 - */ - getTerm: function getTerm(y, n) { - if (y < 1900 || y > 2100 || n < 1 || n > 24) { - return -1; - } - var _table = this.sTermInfo[y - 1900]; - var _calcDay = []; - for (var index = 0; index < _table.length; index += 5) { - var chunk = parseInt('0x' + _table.substr(index, 5)).toString(); - _calcDay.push(chunk[0], chunk.substr(1, 2), chunk[3], chunk.substr(4, 2)); - } - return parseInt(_calcDay[n - 1]); - }, - /** - * 传入农历数字月份返回汉语通俗表示法 - * @param m lunar month - * @return Cn string - * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月' - */ - toChinaMonth: function toChinaMonth(m) { - // 月 => \u6708 - if (m > 12 || m < 1) { - return -1; - } //若参数错误 返回-1 - var s = this.nStr3[m - 1]; - s += "\u6708"; //加上月字 - return s; - }, - /** - * 传入农历日期数字返回汉字表示法 - * @param d lunar day - * @return Cn string - * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一' - */ - toChinaDay: function toChinaDay(d) { - //日 => \u65e5 - var s; - switch (d) { - case 10: - s = "\u521D\u5341"; - break; - case 20: - s = "\u4E8C\u5341"; - break; - case 30: - s = "\u4E09\u5341"; - break; - default: - s = this.nStr2[Math.floor(d / 10)]; - s += this.nStr1[d % 10]; - } - return s; - }, - /** - * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春” - * @param y year - * @return Cn string - * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔' - */ - getAnimal: function getAnimal(y) { - return this.Animals[(y - 4) % 12]; - }, - /** - * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON - * !important! 公历参数区间1900.1.31~2100.12.31 - * @param yPara solar year - * @param mPara solar month - * @param dPara solar day - * @return JSON object - * @eg:console.log(calendar.solar2lunar(1987,11,01)); - */ - solar2lunar: function solar2lunar(yPara, mPara, dPara) { - var y = parseInt(yPara); - var m = parseInt(mPara); - var d = parseInt(dPara); - //年份限定、上限 - if (y < 1900 || y > 2100) { - return -1; // undefined转换为数字变为NaN - } - //公历传参最下限 - if (y === 1900 && m === 1 && d < 31) { - return -1; - } - - //未传参 获得当天 - var objDate; - if (!y) { - objDate = new Date(); - } else { - objDate = new Date(y, parseInt(m) - 1, d); - } - var i, - leap = 0, - temp = 0; - //修正ymd参数 - y = objDate.getFullYear(); - m = objDate.getMonth() + 1; - d = objDate.getDate(); - var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000; - for (i = 1900; i < 2101 && offset > 0; i++) { - temp = this.lYearDays(i); - offset -= temp; - } - if (offset < 0) { - offset += temp; - i--; - } - - //是否今天 - var isTodayObj = new Date(), - isToday = false; - if (isTodayObj.getFullYear() === y && isTodayObj.getMonth() + 1 === m && isTodayObj.getDate() === d) { - isToday = true; - } - //星期几 - var nWeek = objDate.getDay(), - cWeek = this.nStr1[nWeek]; - //数字表示周几顺应天朝周一开始的惯例 - if (nWeek === 0) { - nWeek = 7; - } - //农历年 - var year = i; - leap = this.leapMonth(i); //闰哪个月 - var isLeap = false; - - //效验闰月 - for (i = 1; i < 13 && offset > 0; i++) { - //闰月 - if (leap > 0 && i === leap + 1 && isLeap === false) { - --i; - isLeap = true; - temp = this.leapDays(year); //计算农历闰月天数 - } else { - temp = this.monthDays(year, i); //计算农历普通月天数 - } - //解除闰月 - if (isLeap === true && i === leap + 1) { - isLeap = false; - } - offset -= temp; - } - // 闰月导致数组下标重叠取反 - if (offset === 0 && leap > 0 && i === leap + 1) { - if (isLeap) { - isLeap = false; - } else { - isLeap = true; - --i; - } - } - if (offset < 0) { - offset += temp; - --i; - } - //农历月 - var month = i; - //农历日 - var day = offset + 1; - //天干地支处理 - var sm = m - 1; - var gzY = this.toGanZhiYear(year); - - // 当月的两个节气 - // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year` - var firstNode = this.getTerm(y, m * 2 - 1); //返回当月「节」为几日开始 - var secondNode = this.getTerm(y, m * 2); //返回当月「节」为几日开始 - - // 依据12节气修正干支月 - var gzM = this.toGanZhi((y - 1900) * 12 + m + 11); - if (d >= firstNode) { - gzM = this.toGanZhi((y - 1900) * 12 + m + 12); - } - - //传入的日期的节气与否 - var isTerm = false; - var Term = null; - if (firstNode === d) { - isTerm = true; - Term = this.solarTerm[m * 2 - 2]; - } - if (secondNode === d) { - isTerm = true; - Term = this.solarTerm[m * 2 - 1]; - } - //日柱 当月一日与 1900/1/1 相差天数 - var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10; - var gzD = this.toGanZhi(dayCyclical + d - 1); - //该日期所属的星座 - var astro = this.toAstro(m, d); - var solarDate = y + '-' + m + '-' + d; - var lunarDate = year + '-' + month + '-' + day; - var festival = this.festival; - var lFestival = this.lFestival; - var festivalDate = m + '-' + d; - var lunarFestivalDate = month + '-' + day; - - // bugfix https://github.com/jjonline/calendar.js/issues/29 - // 农历节日修正:农历12月小月则29号除夕,大月则30号除夕 - // 此处取巧修正:当前为农历12月29号时增加一次判断并且把lunarFestivalDate设置为12-30以正确取得除夕 - // 天朝农历节日遇闰月过前不过后的原则,此处取农历12月天数不考虑闰月 - // 农历润12月在本工具支持的200年区间内仅1574年出现 - if (month === 12 && day === 29 && this.monthDays(year, month) === 29) { - lunarFestivalDate = '12-30'; - } - return { - date: solarDate, - lunarDate: lunarDate, - festival: festival[festivalDate] ? festival[festivalDate].title : null, - lunarFestival: lFestival[lunarFestivalDate] ? lFestival[lunarFestivalDate].title : null, - 'lYear': year, - 'lMonth': month, - 'lDay': day, - 'Animal': this.getAnimal(year), - 'IMonthCn': (isLeap ? "\u95F0" : '') + this.toChinaMonth(month), - 'IDayCn': this.toChinaDay(day), - 'cYear': y, - 'cMonth': m, - 'cDay': d, - 'gzYear': gzY, - 'gzMonth': gzM, - 'gzDay': gzD, - 'isToday': isToday, - 'isLeap': isLeap, - 'nWeek': nWeek, - 'ncWeek': "\u661F\u671F" + cWeek, - 'isTerm': isTerm, - 'Term': Term, - 'astro': astro - }; - }, - /** - * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON - * !important! 参数区间1900.1.31~2100.12.1 - * @param y lunar year - * @param m lunar month - * @param d lunar day - * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可] - * @return JSON object - * @eg:console.log(calendar.lunar2solar(1987,9,10)); - */ - lunar2solar: function lunar2solar(y, m, d, isLeapMonth) { - y = parseInt(y); - m = parseInt(m); - d = parseInt(d); - isLeapMonth = !!isLeapMonth; - var leapMonth = this.leapMonth(y); - this.leapDays(y); - if (isLeapMonth && leapMonth !== m) { - return -1; - } //传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同 - if (y === 2100 && m === 12 && d > 1 || y === 1900 && m === 1 && d < 31) { - return -1; - } //超出了最大极限值 - var day = this.monthDays(y, m); - var _day = day; - //bugFix 2016-9-25 - //if month is leap, _day use leapDays method - if (isLeapMonth) { - _day = this.leapDays(y, m); - } - if (y < 1900 || y > 2100 || d > _day) { - return -1; - } //参数合法性效验 - - //计算农历的时间差 - var offset = 0; - var i; - for (i = 1900; i < y; i++) { - offset += this.lYearDays(i); - } - var leap = 0, - isAdd = false; - for (i = 1; i < m; i++) { - leap = this.leapMonth(y); - if (!isAdd) { - //处理闰月 - if (leap <= i && leap > 0) { - offset += this.leapDays(y); - isAdd = true; - } - } - offset += this.monthDays(y, i); - } - //转换闰月农历 需补充该年闰月的前一个月的时差 - if (isLeapMonth) { - offset += day; - } - //1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点) - var strap = Date.UTC(1900, 1, 30, 0, 0, 0); - var calObj = new Date((offset + d - 31) * 86400000 + strap); - var cY = calObj.getUTCFullYear(); - var cM = calObj.getUTCMonth() + 1; - var cD = calObj.getUTCDate(); - return this.solar2lunar(cY, cM, cD); - } -}; - -export { calendar as default }; diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.axml b/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.axml deleted file mode 100644 index b17792b4c..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.axml +++ /dev/null @@ -1,22 +0,0 @@ - - - - 收起 - - 展示 - - - - - - - 展示 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.js b/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.js deleted file mode 100644 index c430dba14..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.js +++ /dev/null @@ -1,30 +0,0 @@ -import { Component, getValueFromProps } from '../../../../src/_util/simply'; -Component({ - hide: false, - defaultCollapse: null, - title: '', -}, { - handleToggle() { - const { collapse } = this.data; - this.setData({ - collapse: !collapse, - }); - }, -}, { - collapse: true, - internalHide: false, - containerTitle: '', -}, null, { - onInit() { - const [defaultCollapse, hide, title] = getValueFromProps(this, [ - 'defaultCollapse', - 'hide', - 'title', - ]); - this.setData({ - collapse: defaultCollapse !== null && defaultCollapse !== void 0 ? defaultCollapse : true, - internalHide: hide, - containerTitle: title, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.json b/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.json deleted file mode 100644 index cc07bd87b..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "styleIsolation": "apply-shared", - "usingComponents": { - "ant-container": "../../../../src/Container/index" - } -} diff --git a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.less b/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.less deleted file mode 100644 index c4d8390a0..000000000 --- a/compiled/alipay/demo/pages/Calendar/collapse-container/collapse-container.less +++ /dev/null @@ -1,4 +0,0 @@ -.placeholder { - text-align: center; - color: #999999; -} diff --git a/compiled/alipay/demo/pages/Calendar/index.axml b/compiled/alipay/demo/pages/Calendar/index.axml deleted file mode 100644 index daf3d63fe..000000000 --- a/compiled/alipay/demo/pages/Calendar/index.axml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - 上个月 - - {{demo3.title}} - - 下个月 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 上一天 - - - 下一天 - - - 滚动到下个月的今天 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Calendar/index.js b/compiled/alipay/demo/pages/Calendar/index.js deleted file mode 100644 index 123b46175..000000000 --- a/compiled/alipay/demo/pages/Calendar/index.js +++ /dev/null @@ -1,130 +0,0 @@ -import dayjs from 'dayjs'; -const localeText = { - weekdayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - format: 'YYYY/MM', - today: 'Today', - start: 'Start', - end: 'End', - startAndEnd: 'Start/End', -}; -function demo8Formatter(cell) { - const isOdd = dayjs(cell.time).date() % 2 === 1; - const isNotBeginEnd = !cell.isSelectedBegin && !cell.isSelectedEnd; - const isWeekend = dayjs(cell.time).day() > 4; - let topClassName; - if (isNotBeginEnd) { - topClassName = isOdd ? 'odd' : 'even'; - } - return { - top: { - className: topClassName, - label: isOdd ? '奇数' : '偶数', - }, - bottom: { - label: isWeekend ? '周末' : '', - }, - }; -} -function demo8MonthFormatter(month) { - return { - ...month, - }; -} -function demoFormatter(cell, value) { - if (Array.isArray(value) && value.length == 1) { - const current = value[0]; - return { - disabled: dayjs(cell.time).diff(dayjs(current), 'days') > 3, - bottom: dayjs(cell.time).diff(dayjs(current), 'days') > 3 - ? { - label: '不可选', - } - : undefined, - }; - } - return {}; -} -const nowDate = Date.now(); -Page({ - data: { - demo1: { - defaultValue: [nowDate, nowDate], - visible: true, - }, - demo2: { - defaultValue: dayjs().add(1, 'M').toDate().getTime(), - visible: true, - }, - demo3: { - title: dayjs(new Date().getTime()).format('YYYY年MM月'), - monthRange: [new Date().getTime(), new Date().getTime()], - visible: true, - }, - demo4: { - visible: true, - }, - demo5: { - visible: true, - }, - demo6: { - monthRange: [new Date().getTime(), new Date().getTime()], - visible: true, - }, - demo7: { - localeText, - visible: true, - monthRange: [new Date().getTime(), new Date().getTime()], - }, - demo8: { - visible: true, - monthRange: [ - dayjs().toDate().getTime(), - dayjs().add(1, 'M').toDate().getTime(), - ], - }, - demo9: { - visible: true, - value: nowDate, - }, - }, - demo3NextMonth() { - const current = this.data.demo3.monthRange[0]; - const newMonth = dayjs(current).add(1, 'month').toDate().getTime(); - this.setData({ - 'demo3.title': dayjs(newMonth).format('YYYY年MM月'), - 'demo3.monthRange': [newMonth, newMonth], - }); - }, - demo3PreviousMonth() { - const current = this.data.demo3.monthRange[0]; - const newMonth = dayjs(current).add(-1, 'month').toDate().getTime(); - this.setData({ - 'demo3.title': dayjs(newMonth).format('YYYY年MM月'), - 'demo3.monthRange': [newMonth, newMonth], - }); - }, - demoFormatter, - demo8Formatter, - demo8MonthFormatter, - demo9HandleChange(value) { - this.setData({ - 'demo9.value': value, - }); - }, - demo9HandlePreviousDay() { - this.setData({ - 'demo9.value': this.data.demo9.value - 1000 * 24 * 3600, - }); - }, - demo9HandleNextDay() { - this.setData({ - 'demo9.value': this.data.demo9.value + 1000 * 24 * 3600, - }); - }, - demo9HandleScrollIntoView() { - this.ref.scrollIntoView(dayjs().add(1, 'M').toDate().getTime()); - }, - handleRef(ref) { - this.ref = ref; - }, -}); diff --git a/compiled/alipay/demo/pages/Calendar/index.json b/compiled/alipay/demo/pages/Calendar/index.json deleted file mode 100644 index f1bdb399c..000000000 --- a/compiled/alipay/demo/pages/Calendar/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "Calendar", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-icon": "../../../src/Icon/index", - "collapse-container": "./collapse-container/collapse-container", - "ant-button": "../../../src/Button/index", - "ant-calendar": "../../../src/Calendar/index", - "cn-day": "./collapse-container/cn-day/cn-day" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Calendar/index.less b/compiled/alipay/demo/pages/Calendar/index.less deleted file mode 100644 index aff9272bb..000000000 --- a/compiled/alipay/demo/pages/Calendar/index.less +++ /dev/null @@ -1,39 +0,0 @@ -page { - padding: 8px; - box-sizing: border-box; -} - -.custom-header { - display: flex; - justify-content: space-between; - align-items: center; - height: 60rpx; -} - -.custom-header-left { - display: flex; - align-items: center; -} - -.custom-header-right { - display: flex; - align-items: center; -} - -.odd { - color: red; -} - -.even { - color: blue; -} - -.ant-calendar-cell.hidden { - opacity: 0; - pointer-events: none; -} - -.ant-calendar-body-container.shrink { - height: 100px; - overflow: hidden; -} diff --git a/compiled/alipay/demo/pages/Card/index.axml b/compiled/alipay/demo/pages/Card/index.axml deleted file mode 100644 index e7bfd17b1..000000000 --- a/compiled/alipay/demo/pages/Card/index.axml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - 我是卡片内容 - - - - - - - 标题内容间带分割线 - - - - - - - 模拟一个长卡片内容 - - - - - - - 内容区域可展开/收起 - - - - - - 自定义 - - 我是卡片内容 - - - - - - - 我是卡片内容 - - - - - - - 我是卡片内容 - - - - - - - {{foldStatus ? '查看更多内容' : '收起'}} - - - 内容区域可展开/收起 - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Card/index.js b/compiled/alipay/demo/pages/Card/index.js deleted file mode 100644 index 7eb731569..000000000 --- a/compiled/alipay/demo/pages/Card/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: { - foldStatus: false, - titleSticky: false, - }, - handleLinkClick() { - my.showToast({ content: '被点击了' }); - }, - handleTapFoldBtn() { - console.log('收起展开态发生变化'); - this.setData({ foldStatus: !this.data.foldStatus }); - }, - handleTitleSticky(status) { - this.setData({ titleSticky: status }); - }, -}); diff --git a/compiled/alipay/demo/pages/Card/index.json b/compiled/alipay/demo/pages/Card/index.json deleted file mode 100644 index 331d2cbea..000000000 --- a/compiled/alipay/demo/pages/Card/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Card", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-container": "../../../src/Container/index", - "ant-card": "../../../src/Card/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Card/index.less b/compiled/alipay/demo/pages/Card/index.less deleted file mode 100644 index 8a2bfb062..000000000 --- a/compiled/alipay/demo/pages/Card/index.less +++ /dev/null @@ -1,20 +0,0 @@ -#__react-content { - overflow: unset !important; -} - -.ant-container { - background: transparent; -} - -.card-title-radius { - border-radius: 32rpx; -} - -.card-title-radius .ant-card-header { - background: var(--color-grey-card); - border-radius: 32rpx 32rpx 0 0; -} - -.card-demo-sticky .ant-card-header { - border-radius: 0; -} diff --git a/compiled/alipay/demo/pages/Checkbox/index.axml b/compiled/alipay/demo/pages/Checkbox/index.axml deleted file mode 100644 index a38790b86..000000000 --- a/compiled/alipay/demo/pages/Checkbox/index.axml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - 基础使用 - - - 设置默认值 - - - 禁用模式未选中 - - 禁用模式已选中 - - - - - 自定义颜色 - - - - - - 受控模式 - - - 切换 - - - - - 基础使用 - - - - 设置默认值 - - - - 横向布局 - - - - 禁用模式 - - - - 受控模式 - - - - 自定义颜色 - - - - 自定义标题 - - - {{item.index + 1}} {{item.value.label}} - - - - - - - - - - - {{item.title}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Checkbox/index.js b/compiled/alipay/demo/pages/Checkbox/index.js deleted file mode 100644 index e722ceeb2..000000000 --- a/compiled/alipay/demo/pages/Checkbox/index.js +++ /dev/null @@ -1,77 +0,0 @@ -Page({ - data: { - checked: false, - value: ['banana'], - options: [ - { value: 'apple', label: 'Apple' }, - { value: 'orange', label: 'Orange' }, - { value: 'banana', label: 'Banana' }, - ], - customOptions: [ - { - title: '分组一', - list: [ - { - title: '选项一', - value: '1', - }, - { - title: '选项二', - value: '2', - }, - { - title: '选项三', - value: '3', - }, - ], - }, - { - title: '分组二', - list: [ - { - title: '选项四', - value: '4', - }, - { - title: '选项五', - value: '5', - }, - { - title: '选项六', - value: '6', - }, - ], - }, - ], - customValue: [], - }, - onChange(value, e) { - console.log(value, e); - }, - handleCheckedChange(checked) { - this.setData({ - checked, - }); - }, - handleValueChange(value) { - this.setData({ - value, - }); - }, - toggleChange() { - this.setData({ - checked: !this.data.checked, - }); - }, - handleCustomChange(checked, e) { - let value = this.data.customValue; - if (checked) { - value = value.concat(e.target.dataset.value); - } - else { - value = value.filter((v) => v !== e.target.dataset.value); - } - this.setData({ customValue: value }); - console.log(value); - }, -}); diff --git a/compiled/alipay/demo/pages/Checkbox/index.json b/compiled/alipay/demo/pages/Checkbox/index.json deleted file mode 100644 index ed5314485..000000000 --- a/compiled/alipay/demo/pages/Checkbox/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "defaultTitle": "CheckBox", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-checkbox": "../../../src/Checkbox/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index", - "ant-checkbox-group": "../../../src/Checkbox/CheckboxGroup/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Checkbox/index.less b/compiled/alipay/demo/pages/Checkbox/index.less deleted file mode 100644 index 36688f87e..000000000 --- a/compiled/alipay/demo/pages/Checkbox/index.less +++ /dev/null @@ -1,6 +0,0 @@ -.line { - margin-top: 40rpx; -} -.title { - color: #999; -} diff --git a/compiled/alipay/demo/pages/Checkbox/index.sjs b/compiled/alipay/demo/pages/Checkbox/index.sjs deleted file mode 100644 index 4cf522783..000000000 --- a/compiled/alipay/demo/pages/Checkbox/index.sjs +++ /dev/null @@ -1,6 +0,0 @@ -function indexOf(array, value) { - return array.indexOf(value); -} -export default { - indexOf: indexOf -}; \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Checklist/index.axml b/compiled/alipay/demo/pages/Checklist/index.axml deleted file mode 100644 index 988d0c4fb..000000000 --- a/compiled/alipay/demo/pages/Checklist/index.axml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - title: {{props.item.title}} - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Checklist/index.js b/compiled/alipay/demo/pages/Checklist/index.js deleted file mode 100644 index 01e7c6d37..000000000 --- a/compiled/alipay/demo/pages/Checklist/index.js +++ /dev/null @@ -1,75 +0,0 @@ -Page({ - data: { - value: [1, 2], - options_1: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - options_2: [ - { - value: 1, - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - description: '这里是描述信息', - title: '可勾选列表项1', - }, - { - value: 2, - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - description: '这里是描述信息', - title: '可勾选列表项2', - }, - { - value: 3, - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - description: '这里是描述信息', - title: '可勾选列表项3', - }, - ], - options_3: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '禁用列表项2', - disabled: true, - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - options_4: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '只读列表项2', - readonly: true, - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChange(v, items, e) { - console.log('当前选中的值为:', v, items, e); - }, - onChangeControlled(value) { - this.setData({ value }); - }, -}); diff --git a/compiled/alipay/demo/pages/Checklist/index.json b/compiled/alipay/demo/pages/Checklist/index.json deleted file mode 100644 index 3a94f1078..000000000 --- a/compiled/alipay/demo/pages/Checklist/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Checklist", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-checklist": "../../../src/Checklist/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Checklist/index.less b/compiled/alipay/demo/pages/Checklist/index.less deleted file mode 100644 index 9db0bcef9..000000000 --- a/compiled/alipay/demo/pages/Checklist/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.demo-checklist-label { - font-size: 32rpx; - padding: 36rpx 0 16rpx 16rpx; -} - -.demo-checklist-checked-icon { - font-size: 36rpx; -} diff --git a/compiled/alipay/demo/pages/Collapse/index.axml b/compiled/alipay/demo/pages/Collapse/index.axml deleted file mode 100644 index c9c02990e..000000000 --- a/compiled/alipay/demo/pages/Collapse/index.axml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - 添加items - - - - - - - - - {{item.value.title}} - - - - {{item.value.content}} - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Collapse/index.js b/compiled/alipay/demo/pages/Collapse/index.js deleted file mode 100644 index 7f86a88e2..000000000 --- a/compiled/alipay/demo/pages/Collapse/index.js +++ /dev/null @@ -1,73 +0,0 @@ -const items1 = [ - { - title: '第一项', - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.' - }, - { - title: '第二项', - content: 'Dolor reprehenderit cillum aliqua qui id Lorem elit anim do minim mollit. Commodo id cupidatat est tempor anim. Fugiat ipsum dolor nostrud officia mollit. Aliquip aliqua pariatur tempor excepteur commodo non et adipisicing magna ex nostrud dolore cillum exercitation enim. In sunt velit laboris ullamco et in reprehenderit sit excepteur aute in dolor. Sunt minim incididunt consectetur laborum sint fugiat voluptate sunt culpa fugiat duis. Ad consectetur ad aliquip aute labore magna commodo est cupidatat.' - }, - { - title: '第三项', - content: 'Ad ut ullamco exercitation do excepteur ipsum ipsum consectetur nulla fugiat est et. Occaecat ullamco nulla mollit cupidatat dolore nulla minim cillum proident laboris mollit. Veniam consectetur esse consectetur. Fugiat in laborum anim.' - }, - { - title: '禁止选项', - disabled: true, - } -]; -const items2 = [ - { - title: '第一项', - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.' - }, - { - title: '第二项', - content: 'Dolor reprehenderit cillum aliqua qui id Lorem elit anim do minim mollit. Commodo id cupidatat est tempor anim. Fugiat ipsum dolor nostrud officia mollit. Aliquip aliqua pariatur tempor excepteur commodo non et adipisicing magna ex nostrud dolore cillum exercitation enim. In sunt velit laboris ullamco et in reprehenderit sit excepteur aute in dolor. Sunt minim incididunt consectetur laborum sint fugiat voluptate sunt culpa fugiat duis. Ad consectetur ad aliquip aute labore magna commodo est cupidatat.' - }, -]; -const items3 = [ - { - title: '第一项', - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.' - }, - { - title: '第二项', - content: 'Dolor reprehenderit cillum aliqua qui id Lorem elit anim do minim mollit. Commodo id cupidatat est tempor anim. Fugiat ipsum dolor nostrud officia mollit. Aliquip aliqua pariatur tempor excepteur commodo non et adipisicing magna ex nostrud dolore cillum exercitation enim. In sunt velit laboris ullamco et in reprehenderit sit excepteur aute in dolor. Sunt minim incididunt consectetur laborum sint fugiat voluptate sunt culpa fugiat duis. Ad consectetur ad aliquip aute labore magna commodo est cupidatat.' - }, - { - title: '第三项', - content: 'Ad ut ullamco exercitation do excepteur ipsum ipsum consectetur nulla fugiat est et. Occaecat ullamco nulla mollit cupidatat dolore nulla minim cillum proident laboris mollit. Veniam consectetur esse consectetur. Fugiat in laborum anim.' - }, -]; -Page({ - data: { - items1, - items2, - items3, - checkboxList: items3.map((item) => false), - }, - onChange(current) { - console.log(current); - }, - addItems() { - const items2 = [ - ...this.data.items2, - { - title: this.data.items2.length, - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.', - }, - ]; - this.setData({ - items2, - }); - }, - onCheckboxChange(checked, e) { - const { index } = e.currentTarget.dataset; - const checkboxList = [...this.data.checkboxList]; - checkboxList[index] = checked; - this.setData({ - checkboxList, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Collapse/index.json b/compiled/alipay/demo/pages/Collapse/index.json deleted file mode 100644 index 6a0fa9f6a..000000000 --- a/compiled/alipay/demo/pages/Collapse/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Collapse", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-collapse": "../../../src/Collapse/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index", - "ant-checkbox": "../../../src/Checkbox/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Collapse/index.less b/compiled/alipay/demo/pages/Collapse/index.less deleted file mode 100644 index 5ece4e14e..000000000 --- a/compiled/alipay/demo/pages/Collapse/index.less +++ /dev/null @@ -1,9 +0,0 @@ -.container { - background: transparent; - padding: 0; -} - -.collapse-item { - display: flex; - align-items: center; -} diff --git a/compiled/alipay/demo/pages/ConfigProvider/ar-SA.js b/compiled/alipay/demo/pages/ConfigProvider/ar-SA.js deleted file mode 100644 index 0db95d785..000000000 --- a/compiled/alipay/demo/pages/ConfigProvider/ar-SA.js +++ /dev/null @@ -1,62 +0,0 @@ -const arSA = { - // locales for all components - locale: 'ar-SA', - global: { - placeholder: 'يرجى الاختيار', - emptyText: 'لا توجد بيانات حتى الآن', - okText: 'تأكيد', - cancelText: 'إلغاء', - }, - input: { - placeholder: 'الرجاء إدخال', - }, - calendar: { - weekdayNames: [ - 'الإثنين', - 'الثلاثاء', - 'الأربعاء', - 'الخميس', - 'الجمعة', - 'السبت', - 'الأحد', - ], - today: 'اليوم', - start: 'ابدأ', - end: 'النهاية', - startAndEnd: 'البداية/النهاية', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'لم يبدأ الاختيار', - endPlaceholder: 'لم يكتمل الاختيار', - }, - guideTour: { - gotItText: 'فهمت ذلك', - nextStepText: 'الخطوة التالية', - prevStepText: 'الخطوة السابقة', - jumpText: 'تخطي', - }, - imageUpload: { - uploadingText: 'جارٍ التحميل', - uploadfailedText: 'فشل في التحميل', - }, - pageContainer: { - failed: { - title: 'تواجه الصفحة بعض المشكلات البسيطة', - message: 'سأحاول ذلك لاحقًا', - }, - disconnected: { - title: 'الشبكة مشغولة بعض الشيء', - message: 'حرّك إصبعك للمساعدة في الإصلاح', - }, - empty: { - title: 'لا يوجد شيء هنا', - message: 'انظر إلى أشياء أخرى', - }, - busy: { - title: 'الازدحام الأمامي', - message: 'جرّب الانتعاش.', - }, - }, -}; -export default arSA; diff --git a/compiled/alipay/demo/pages/ConfigProvider/es-US.js b/compiled/alipay/demo/pages/ConfigProvider/es-US.js deleted file mode 100644 index 709d5c9e0..000000000 --- a/compiled/alipay/demo/pages/ConfigProvider/es-US.js +++ /dev/null @@ -1,54 +0,0 @@ -const enUS = { - // locales for all components - locale: 'en-US', - global: { - placeholder: 'Please select', - emptyText: 'No data available', - okText: 'Ok', - cancelText: 'Cancel', - }, - input: { - placeholder: 'Please enter', - }, - calendar: { - weekdayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - today: 'Today', - start: 'Start', - end: 'End', - startAndEnd: 'Start/End', - format: 'MMM D, YYYY', - }, - rangePicker: { - startPlaceholder: 'No selection started', - endPlaceholder: 'Incomplete selection', - }, - guideTour: { - gotItText: 'Got it', - nextStepText: 'Next step', - prevStepText: 'Prev step', - jumpText: 'Skip', - }, - imageUpload: { - uploadingText: 'Uploading', - uploadfailedText: 'Upload failed', - }, - pageContainer: { - failed: { - title: 'The page is experiencing some minor issues', - message: "I'll try it later", - }, - disconnected: { - title: 'The network is a bit busy', - message: 'Move your fingers to help repair', - }, - empty: { - title: "There's nothing here", - message: 'Check out the others', - }, - busy: { - title: 'Congestion ahead', - message: 'Try refreshing', - }, - }, -}; -export default enUS; diff --git a/compiled/alipay/demo/pages/ConfigProvider/index.axml b/compiled/alipay/demo/pages/ConfigProvider/index.axml deleted file mode 100644 index 15dd9f4c4..000000000 --- a/compiled/alipay/demo/pages/ConfigProvider/index.axml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - City - - - - Date - - - - - - - - - Dark - - - - - - - Theme - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ConfigProvider/index.js b/compiled/alipay/demo/pages/ConfigProvider/index.js deleted file mode 100644 index d9f370458..000000000 --- a/compiled/alipay/demo/pages/ConfigProvider/index.js +++ /dev/null @@ -1,36 +0,0 @@ -import enUS from './es-US'; -// import arSA from './ar-SA'; -Page({ - data: { - locale: enUS, - defaultValue: '', - value: '', - list: ['BeiJing', 'ShangHai', 'GuangZhou', 'ShenZhen', 'HangZhou', 'ChengDu', 'ChangSha'], - themeVars: { - 'button-primary-color': 'yellow', - 'button-primary-background-color': 'green', - }, - defaultDate: new Date('2019/02/02').getTime(), - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handleTap() { - my.alert({ - title: '点击按钮', - }); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, -}); diff --git a/compiled/alipay/demo/pages/ConfigProvider/index.json b/compiled/alipay/demo/pages/ConfigProvider/index.json deleted file mode 100644 index 5023731a7..000000000 --- a/compiled/alipay/demo/pages/ConfigProvider/index.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "defaultTitle": "ConfigProvider", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-config-provider": "../../../src/ConfigProvider/index", - "ant-picker": "../../../src/Picker/index", - "ant-container": "../../../src/Container/index", - "ant-range-picker": "../../../src/DatePicker/RangePicker/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ConfigProvider/index.less b/compiled/alipay/demo/pages/ConfigProvider/index.less deleted file mode 100644 index 10677e1a5..000000000 --- a/compiled/alipay/demo/pages/ConfigProvider/index.less +++ /dev/null @@ -1,5 +0,0 @@ -page { - // 变量复写 - --button-primary-color: #fff; - --button-primary-background-color: #ff4040; -} diff --git a/compiled/alipay/demo/pages/Container/index.axml b/compiled/alipay/demo/pages/Container/index.axml deleted file mode 100644 index 4d494e0ec..000000000 --- a/compiled/alipay/demo/pages/Container/index.axml +++ /dev/null @@ -1,32 +0,0 @@ - - - 这里是卡片内容 - - - - - - 标题 - - - 右侧内容 - - - - 右侧内容 - - - - - - - - - 右侧内容 - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Container/index.js b/compiled/alipay/demo/pages/Container/index.js deleted file mode 100644 index 560d44d43..000000000 --- a/compiled/alipay/demo/pages/Container/index.js +++ /dev/null @@ -1 +0,0 @@ -Page({}); diff --git a/compiled/alipay/demo/pages/Container/index.json b/compiled/alipay/demo/pages/Container/index.json deleted file mode 100644 index 6a1589c45..000000000 --- a/compiled/alipay/demo/pages/Container/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Container", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Container/index.less b/compiled/alipay/demo/pages/Container/index.less deleted file mode 100644 index f40f1ae0d..000000000 --- a/compiled/alipay/demo/pages/Container/index.less +++ /dev/null @@ -1,17 +0,0 @@ -page { - padding: 12px; -} - -.content { - height: 70px; - display: flex; - - .box { - background-color: var(--color-grey-card); - &:not(:first-of-type) { - margin-left: 8px; - } - flex: 1; - border-radius: 4px; - } -} diff --git a/compiled/alipay/demo/pages/Countdown/index.axml b/compiled/alipay/demo/pages/Countdown/index.axml deleted file mode 100644 index f1a016199..000000000 --- a/compiled/alipay/demo/pages/Countdown/index.axml +++ /dev/null @@ -1,69 +0,0 @@ - - - - 剩余时间 - 就开始抢购啦 - - - 剩余时间 - 就开始抢购啦 - - - - - - 还剩{{module.day}}天,{{module.hour}}:{{module.min}}:{{module.sec}} - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Countdown/index.js b/compiled/alipay/demo/pages/Countdown/index.js deleted file mode 100644 index 34469c990..000000000 --- a/compiled/alipay/demo/pages/Countdown/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: { - countdownTen: +new Date() + 10000, - currentDelayed: +new Date() + 500, - wrongCurrent: +new Date() - 50000, - countdownDay: +new Date() + 500000000, - countdownCurrent: +new Date(), - countdownAutoDay: +new Date() + 86405000, // 自动计算“天”的展示 - }, - handleCountdownChange(e) { - console.log('倒计时变化', JSON.stringify(e)); - }, - handleCountdownEnd() { - console.log('倒计时结束'); - }, -}); diff --git a/compiled/alipay/demo/pages/Countdown/index.json b/compiled/alipay/demo/pages/Countdown/index.json deleted file mode 100644 index a8614ce02..000000000 --- a/compiled/alipay/demo/pages/Countdown/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Countdown", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-countdown": "../../../src/Countdown/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Countdown/index.less b/compiled/alipay/demo/pages/Countdown/index.less deleted file mode 100644 index e2973aa2c..000000000 --- a/compiled/alipay/demo/pages/Countdown/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.marginTop { - margin-top: 24rpx; -} diff --git a/compiled/alipay/demo/pages/DatePicker/index.axml b/compiled/alipay/demo/pages/DatePicker/index.axml deleted file mode 100644 index c1f8291eb..000000000 --- a/compiled/alipay/demo/pages/DatePicker/index.axml +++ /dev/null @@ -1,175 +0,0 @@ - - - - 请选择日期 - - - - 请选择日期(点击蒙层不关闭) - - - - - - 请选择年度 - - - - 请选择月份 - - - - 请选择时间 - - - - - - 请选择日期 - - - - - - 每列不显示单位 - - - - - - 日期范围 - - - - 受控模式 - - - - 每列不显示单位 - - - - - - - 请选择时间 - - - - - 打开 DatePicker - - - - - - 请选择日期范围 - - - - - 打开 DateRangePicker - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/DatePicker/index.js b/compiled/alipay/demo/pages/DatePicker/index.js deleted file mode 100644 index 2e99daa02..000000000 --- a/compiled/alipay/demo/pages/DatePicker/index.js +++ /dev/null @@ -1,70 +0,0 @@ -Page({ - data: { - pickerVisible: false, - dateRangePickerVisible: false, - min: new Date('2019/01/15').getTime(), - max: new Date('2023/08/20').getTime(), - defaultDate: new Date('2019/02/02').getTime(), - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - controlledDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handleControlledRangeOk(value) { - console.log('handleControlledRangeOk'); - console.log(value); - this.setData({ - controlledDateRange: value, - }); - }, - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleOk(date, format, e) { - console.log('onOk', date, format, e); - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, - handleRangeOk(date, format, e) { - console.log('onRangeOk', date, format, e); - }, - handleChangeDate() { - this.setData({ defaultDate: new Date('2019/05/02').getTime() }); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleDismiss(e) { - console.log('e', e); - }, - handleFormatLabel(type, value) { - return String(value); - }, - handleTriggerControlledPicker(visible, e) { - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - pickerVisible: visible, - }); - }, - handleOpenPicker() { - this.setData({ - pickerVisible: true, - }); - }, - handleTriggerControlledDateRangePicker(visible, e) { - console.log('handleTriggerControlledDateRangePicker', visible, e); - this.setData({ - dateRangePickerVisible: visible, - }); - }, - handleOpenDateRangePicker() { - this.setData({ - dateRangePickerVisible: true, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/DatePicker/index.json b/compiled/alipay/demo/pages/DatePicker/index.json deleted file mode 100644 index 898b9492a..000000000 --- a/compiled/alipay/demo/pages/DatePicker/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "defaultTitle": "DatePicker", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-date-picker": "../../../src/DatePicker/index", - "ant-range-picker": "../../../src/DatePicker/RangePicker/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-list": "../../../src/List/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/DatePicker/index.less b/compiled/alipay/demo/pages/DatePicker/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/Dialog/index.axml b/compiled/alipay/demo/pages/Dialog/index.axml deleted file mode 100644 index 6b16dc873..000000000 --- a/compiled/alipay/demo/pages/Dialog/index.axml +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - - - - - 开心收下 - - - 奖品可在我的奖品中查看 - - - - - - - - - 去使用 - - - 奖品可在我的奖品中查看 - - - - - - - - - - - - - - 最简单的弹框 - - - 带有标题 - - - 带头图 - - - 两个按钮 横排 - - - 三个按钮 竖排 - - - - - 弱活动氛围弹框 - - - 强活动氛围弹框 - - - - - 完全自定义内容区 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Dialog/index.js b/compiled/alipay/demo/pages/Dialog/index.js deleted file mode 100644 index 353d92fd0..000000000 --- a/compiled/alipay/demo/pages/Dialog/index.js +++ /dev/null @@ -1,54 +0,0 @@ -Page({ - data: { - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - customBodyVisible: false, - withImageVisible: false, - slotWeakVisible: false, - slotStrongVisible: false, - footer1: { - buttons: [{ text: '我知道了' }], - }, - footer2: { - buttons: [{ text: '取消', type: 'default' }, { text: '确定', type: 'primary' }], - layout: 'horizontal', - }, - footer3: { - buttons: [{ text: '主按钮', type: 'primary' }, { text: '更多', type: 'default' }, { text: '取消', type: 'text' }], - }, - }, - onClickActivityModalButton() { - this.showToast(`点击了活动弹框「开心收下」`); - this.handleClose(); - }, - onButtonTap(buttonItem) { - console.log('点击的按钮: ', buttonItem); - this.showToast(`点击了${buttonItem.text}`); - this.handleClose(); - }, - handleOpen(e) { - const { field } = e.target.dataset; - this.setData({ [field]: true }); - }, - handleClose() { - this.setData({ - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - customBodyVisible: false, - withImageVisible: false, - slotWeakVisible: false, - slotStrongVisible: false, - }); - }, - showToast(content) { - my.showToast({ content, duration: 1000 }); - }, -}); diff --git a/compiled/alipay/demo/pages/Dialog/index.json b/compiled/alipay/demo/pages/Dialog/index.json deleted file mode 100644 index feb924510..000000000 --- a/compiled/alipay/demo/pages/Dialog/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Dialog", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-dialog": "../../../src/Dialog/index", - "ant-button": "../../../src/Button/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Dialog/index.less b/compiled/alipay/demo/pages/Dialog/index.less deleted file mode 100644 index 501d3e39f..000000000 --- a/compiled/alipay/demo/pages/Dialog/index.less +++ /dev/null @@ -1,94 +0,0 @@ -.bodyImg { - width: 424rpx; - height: 528rpx; - border-radius: 8rpx; -} -.bodyAction { - padding-top: 32rpx; - font-size: 48rpx; - text-align: center; - color: #fff; -} - -.list button { - margin-bottom: 8px; -} - -.activity-dialog { - .ant-dialog-body { - background-image: linear-gradient(0deg, #FFFFFF 75%, rgba(255,255,255,0.95) 91%, rgba(255,242,218,0.93) 100%); - box-shadow: 0 2px 56px 0 rgba(0,0,0,0.18); - } - .ant-dialog-body-title { - padding-bottom: 10rpx; - } - .ant-dialog-body-content { - color: #999999; - padding-bottom: 0rpx; - } - &-header-image { - width: 250rpx; - height: 250rpx; - position: relative; - margin-top: -220rpx; - margin-left: 50%; - margin-bottom: 21rpx; - transform: translateX(-50%); - } - &-content-image { - width: 516rpx; - margin: 64rpx auto 0 auto; - } - &-footer { - padding-top: 64rpx; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: column; - &-button { - background: #FF4000; - border-radius: 55rpx; - font-weight: 500; - font-size: 36rpx; - line-height: 50rpx; - color: #FFFFFF; - text-align: center; - width: 360rpx; - height: 96rpx; - display: flex; - justify-content: center; - align-items: center; - } - &-extra { - font-size: 24rpx; - color: #999999; - letter-spacing: 0; - text-align: center; - line-height: 36rpx; - padding-top: 20rpx; - } - } -} - -.activity-dialog-strong { - &-header-image { - width: 100%; - position: absolute; - top: -160rpx; - left: 0; - z-index: -1; - } - .activity-dialog-footer { - padding-top: 75rpx; - } - .activity-dialog-content-image { - width: 528rpx; - margin-top: 60rpx; - } - .ant-dialog-body { - background-image: linear-gradient(180deg, rgba(255,255,255,0.57) 0%, rgba(255,255,255,0.91) 8%, #FFFFFF 17%); - box-shadow: 0; - padding-top: 30rpx; - } -} - diff --git a/compiled/alipay/demo/pages/Divider/index.axml b/compiled/alipay/demo/pages/Divider/index.axml deleted file mode 100644 index 842032673..000000000 --- a/compiled/alipay/demo/pages/Divider/index.axml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - 100m - - 浙江省杭州市西湖区西溪路556号 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Divider/index.js b/compiled/alipay/demo/pages/Divider/index.js deleted file mode 100644 index 8ec69958d..000000000 --- a/compiled/alipay/demo/pages/Divider/index.js +++ /dev/null @@ -1,3 +0,0 @@ -Page({ - data: {}, -}); diff --git a/compiled/alipay/demo/pages/Divider/index.json b/compiled/alipay/demo/pages/Divider/index.json deleted file mode 100644 index 98283b2aa..000000000 --- a/compiled/alipay/demo/pages/Divider/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Divider", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-divider": "../../../src/Divider/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Divider/index.less b/compiled/alipay/demo/pages/Divider/index.less deleted file mode 100644 index c9fdccb1b..000000000 --- a/compiled/alipay/demo/pages/Divider/index.less +++ /dev/null @@ -1,13 +0,0 @@ -@import '../../../src/style/themes/color.less'; - -page { - padding: 24px; - -} - -.divider-vertical { - display: flex; - justify-content: flex-start; - align-items: center; - color: @COLOR_TEXT_WEAK; -} diff --git a/compiled/alipay/demo/pages/Empty/index.axml b/compiled/alipay/demo/pages/Empty/index.axml deleted file mode 100644 index 503cb2669..000000000 --- a/compiled/alipay/demo/pages/Empty/index.axml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - 操作1 - - - 操作2 - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Empty/index.js b/compiled/alipay/demo/pages/Empty/index.js deleted file mode 100644 index 61cc61aef..000000000 --- a/compiled/alipay/demo/pages/Empty/index.js +++ /dev/null @@ -1,35 +0,0 @@ -const BUTTON_LISt = [ - { - type: 'primary', - text: '刷新重试' - }, - { - type: 'default', - text: '网络诊断' - }, -]; -Page({ - data: { - imageUrl: 'https://mdn.alipayobjects.com/huamei_mnxlps/afts/img/A*oV92T4FXR64AAAAAAAAAAAAADkqGAQ/original', - mode: 'page', - modeList: [{ - label: '全页空状态', - value: 'page', - }, { - label: '局部空状态', - value: 'section', - }], - horizontalButtonInfo: { - layout: 'horizontal', - list: BUTTON_LISt, - }, - verticalButtonInfo: { - layout: 'vertical', - list: BUTTON_LISt, - }, - }, - onClickButton(buttonInfo) { - console.log('onClickButton buttonInfo: ', buttonInfo); - my.showToast({ content: `点击了按钮「${buttonInfo.text}」` }); - }, -}); diff --git a/compiled/alipay/demo/pages/Empty/index.json b/compiled/alipay/demo/pages/Empty/index.json deleted file mode 100644 index e38f30782..000000000 --- a/compiled/alipay/demo/pages/Empty/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Empty", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-empty": "../../../src/Empty/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Empty/index.less b/compiled/alipay/demo/pages/Empty/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/Feedback/index.axml b/compiled/alipay/demo/pages/Feedback/index.axml deleted file mode 100644 index f9349bc23..000000000 --- a/compiled/alipay/demo/pages/Feedback/index.axml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - 点击右上角的icon 展示反馈内容 - - - 点击下面的内容 展示点引导反馈 - - - - - - - - - - - - - 点击 展示反馈卡片 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Feedback/index.js b/compiled/alipay/demo/pages/Feedback/index.js deleted file mode 100644 index 7ccbb0aa0..000000000 --- a/compiled/alipay/demo/pages/Feedback/index.js +++ /dev/null @@ -1,85 +0,0 @@ -Page({ - data: { - visible3: true, - visible2: false, - visible1: false, - visible4: false, - selectorOption: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - { text: '选项四', value: '4' }, - { text: '选项五', value: '5' }, - { text: '选项六', value: '6' }, - ], - feedList: [ - { - icon: 'HeartOutline', - text: '喜欢推荐内容', - id: '1', - }, - { - icon: 'FrownOutline', - text: '我不感兴趣', - id: '2', - }, - { - image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', - text: '看过类似内容', - id: '3', - }, - { - icon: 'ExclamationCircleOutline', - text: '夸张博眼球', - id: '4', - }, - ], - }, - onVisibleChange1(visible) { - this.updateVisible('visible1', visible); - }, - onVisibleChange3(visible) { - this.updateVisible('visible3', visible); - }, - onVisibleChange2(visible) { - this.updateVisible('visible2', visible); - }, - onVisibleChange4(visible) { - this.updateVisible('visible4', visible); - }, - updateVisible(field, visible) { - this.setData({ - [field]: visible, - }); - }, - onShowFeedback(e) { - const filed = e.target.dataset.filed; - this.setData({ - [filed]: true, - }); - }, - onTapFeedItem2(feedItem) { - my.showToast({ - content: `点击了反馈项${feedItem.text}`, - }); - this.updateVisible('visible2', false); - }, - onTapFeedItem4(feedItem) { - my.showToast({ - content: `点击了反馈项${feedItem.text}`, - }); - this.updateVisible('visible4', false); - }, - onTapFeedItem3(feedItem) { - my.showToast({ - content: `点击了反馈项${feedItem.text}`, - }); - this.updateVisible('visible3', false); - }, - handleTapItem() { - my.showToast({ - content: `已反馈`, - }); - this.updateVisible('visible1', false); - }, -}); diff --git a/compiled/alipay/demo/pages/Feedback/index.json b/compiled/alipay/demo/pages/Feedback/index.json deleted file mode 100644 index e774ac52c..000000000 --- a/compiled/alipay/demo/pages/Feedback/index.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "defaultTitle": "Feedback", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-popover": "../../../src/Popover/index", - "ant-selector": "../../../src/Selector/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-feedback": "../../../src/Feedback/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Feedback/index.less b/compiled/alipay/demo/pages/Feedback/index.less deleted file mode 100644 index b54a5448f..000000000 --- a/compiled/alipay/demo/pages/Feedback/index.less +++ /dev/null @@ -1,54 +0,0 @@ -.feedback-content { - &-selector { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: flex-start; - } -} -.feedback-container-flex { - display: flex; - justify-content: space-between; -} -.feedback-demo { - .feedback-demo-target { - width: 50rpx; - height: 40rpx; - background: var(--color-background2); - border-radius: 8rpx; - - display: flex; - justify-content: center; - align-items: center; - } - .ant-selector-content-container { - margin-left: -6px; - margin-right: -6px; - } - .ant-popover-inner { - padding: 0; - } - .ant-popover-arrow { - right: 46rpx !important; - } - .ant-popover-bottom-right { - right: -40rpx !important; - } -} -.feedback-demo2, -.feedback-demo4 { - margin: 40rpx 0 0 0 !important; - .ant-popover-inner { - padding: 0; - } -} -.feedback-gray-container { - .ant-container-content { - background: var(--color-background); - color: var(--color-text-primary); - } - .ant-feedback-content-card { - width: 345rpx; - box-sizing: border-box; - } -} diff --git a/compiled/alipay/demo/pages/Form/FormBasic/city.js b/compiled/alipay/demo/pages/Form/FormBasic/city.js deleted file mode 100644 index 4671c75bc..000000000 --- a/compiled/alipay/demo/pages/Form/FormBasic/city.js +++ /dev/null @@ -1,1552 +0,0 @@ -export default [ - { - label: '北京', - children: [ - { - label: '北京', - value: '110', - }, - ], - value: '11', - }, - { - label: '河北', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - { - label: '秦皇岛', - value: '182', - }, - { - label: '邯郸', - value: '186', - }, - { - label: '邢台', - value: '185', - }, - { - label: '保定', - value: '187', - }, - { - label: '张家口', - value: '184', - }, - { - label: '承德', - value: '189', - }, - { - label: '廊坊', - value: '183', - }, - { - label: '沧州', - value: '180', - }, - { - label: '衡水', - value: '720', - }, - { - label: '雄安', - value: '782', - }, - ], - value: '18', - }, - { - label: '福建', - children: [ - { - label: '福州', - value: '380', - }, - { - label: '厦门', - value: '390', - }, - { - label: '泉州', - value: '480', - }, - { - label: '漳州', - value: '395', - }, - { - label: '宁德', - value: '386', - }, - { - label: '莆田', - value: '385', - }, - { - label: '南平', - value: '387', - }, - { - label: '三明', - value: '389', - }, - { - label: '龙岩', - value: '384', - }, - ], - value: '38', - }, - { - label: '江西', - children: [ - { - label: '南昌', - value: '750', - }, - { - label: '九江', - value: '755', - }, - { - label: '上饶', - value: '757', - }, - { - label: '抚州', - value: '759', - }, - { - label: '宜春', - value: '756', - }, - { - label: '吉安', - value: '751', - }, - { - label: '赣州', - value: '752', - }, - { - label: '景德镇', - value: '740', - }, - { - label: '萍乡', - value: '758', - }, - { - label: '新余', - value: '753', - }, - { - label: '鹰潭', - value: '754', - }, - ], - value: '75', - }, - { - label: '山东', - children: [ - { - label: '济南', - value: '170', - }, - { - label: '青岛', - value: '166', - }, - { - label: '淄博', - value: '150', - }, - { - label: '枣庄', - value: '157', - }, - { - label: '东营', - value: '156', - }, - { - label: '烟台', - value: '161', - }, - { - label: '潍坊', - value: '155', - }, - { - label: '济宁', - value: '158', - }, - { - label: '泰安', - value: '172', - }, - { - label: '威海', - value: '152', - }, - { - label: '日照', - value: '154', - }, - { - label: '莱芜', - value: '160', - }, - { - label: '临沂', - value: '153', - }, - { - label: '德州', - value: '173', - }, - { - label: '聊城', - value: '174', - }, - { - label: '滨州', - value: '151', - }, - { - label: '菏泽', - value: '159', - }, - ], - value: '17', - }, - { - label: '河南', - children: [ - { - label: '郑州', - value: '760', - }, - { - label: '洛阳', - value: '761', - }, - { - label: '开封', - value: '762', - }, - { - label: '焦作', - value: '763', - }, - { - label: '新乡', - value: '764', - }, - { - label: '许昌', - value: '765', - }, - { - label: '漯河', - value: '766', - }, - { - label: '安阳', - value: '767', - }, - { - label: '商丘', - value: '768', - }, - { - label: '平顶山', - value: '769', - }, - { - label: '周口', - value: '770', - }, - { - label: '驻马店', - value: '771', - }, - { - label: '三门峡', - value: '772', - }, - { - label: '濮阳', - value: '773', - }, - { - label: '鹤壁', - value: '774', - }, - { - label: '济源', - value: '775', - }, - { - label: '信阳', - value: '776', - }, - { - label: '南阳', - value: '777', - }, - ], - value: '76', - }, - { - label: '湖北', - children: [ - { - label: '武汉', - value: '710', - }, - { - label: '宜昌', - value: '711', - }, - { - label: '荆州', - value: '712', - }, - { - label: '黄冈', - value: '714', - }, - { - label: '黄石', - value: '715', - }, - { - label: '襄阳', - value: '716', - }, - { - label: '孝感', - value: '717', - }, - { - label: '鄂州', - value: '718', - }, - { - label: '咸宁', - value: '719', - }, - { - label: '十堰', - value: '721', - }, - { - label: '随州', - value: '723', - }, - { - label: '荆门', - value: '724', - }, - { - label: '仙桃/潜江/天门', - value: '713', - }, - { - label: '恩施', - value: '727', - }, - ], - value: '71', - }, - { - label: '湖南', - children: [ - { - label: '长沙', - value: '741', - }, - { - label: '衡阳', - value: '744', - }, - { - label: '株洲', - value: '742', - }, - { - label: '湘潭', - value: '743', - }, - { - label: '岳阳', - value: '745', - }, - { - label: '邵阳', - value: '792', - }, - { - label: '郴州', - value: '748', - }, - { - label: '常德', - value: '749', - }, - { - label: '益阳', - value: '747', - }, - { - label: '怀化', - value: '795', - }, - { - label: '永州', - value: '796', - }, - { - label: '娄底', - value: '791', - }, - { - label: '湘西', - value: '793', - }, - { - label: '张家界', - value: '794', - }, - ], - value: '74', - }, - { - label: '广东', - children: [ - { - label: '广州', - value: '510', - }, - { - label: '深圳', - value: '540', - }, - { - label: '东莞', - value: '580', - }, - { - label: '佛山', - value: '530', - }, - { - label: '惠州', - value: '570', - }, - { - label: '珠海', - value: '620', - }, - { - label: '中山', - value: '556', - }, - { - label: '江门', - value: '550', - }, - { - label: '汕头', - value: '560', - }, - { - label: '湛江', - value: '520', - }, - { - label: '揭阳', - value: '526', - }, - { - label: '肇庆', - value: '536', - }, - { - label: '清远', - value: '535', - }, - { - label: '韶关', - value: '558', - }, - { - label: '潮州', - value: '531', - }, - { - label: '茂名', - value: '568', - }, - { - label: '河源', - value: '670', - }, - { - label: '汕尾', - value: '525', - }, - { - label: '阳江', - value: '565', - }, - { - label: '梅州', - value: '528', - }, - { - label: '云浮', - value: '538', - }, - ], - value: '51', - }, - { - label: '广西', - children: [ - { - label: '南宁', - value: '591', - }, - { - label: '柳州', - value: '593', - }, - { - label: '桂林', - value: '592', - }, - { - label: '梧州', - value: '594', - }, - { - label: '玉林', - value: '595', - }, - { - label: '百色', - value: '596', - }, - { - label: '钦州', - value: '597', - }, - { - label: '河池', - value: '598', - }, - { - label: '北海', - value: '599', - }, - { - label: '防城港', - value: '590', - }, - { - label: '贵港', - value: '589', - }, - { - label: '贺州', - value: '588', - }, - { - label: '崇左', - value: '600', - }, - { - label: '来宾', - value: '601', - }, - ], - value: '59', - }, - { - label: '天津', - children: [ - { - label: '天津', - value: '130', - }, - ], - value: '13', - }, - { - label: '海南', - children: [ - { - label: '海口', - value: '501', - }, - ], - value: '50', - }, - { - label: '重庆', - children: [ - { - label: '重庆', - value: '831', - }, - ], - value: '83', - }, - { - label: '四川', - children: [ - { - label: '成都', - value: '810', - }, - { - label: '自贡', - value: '818', - }, - { - label: '雅安', - value: '811', - }, - { - label: '绵阳', - value: '824', - }, - { - label: '乐山', - value: '814', - }, - { - label: '德阳', - value: '825', - }, - { - label: '攀枝花', - value: '813', - }, - { - label: '宜宾', - value: '817', - }, - { - label: '阿坝', - value: '829', - }, - { - label: '内江', - value: '816', - }, - { - label: '眉山', - value: '819', - }, - { - label: '资阳', - value: '830', - }, - { - label: '泸州', - value: '815', - }, - { - label: '南充', - value: '822', - }, - { - label: '达州', - value: '820', - }, - { - label: '遂宁', - value: '821', - }, - { - label: '广元', - value: '826', - }, - { - label: '广安', - value: '823', - }, - { - label: '巴中', - value: '827', - }, - { - label: '凉山', - value: '812', - }, - { - label: '甘孜', - value: '828', - }, - ], - value: '81', - }, - { - label: '山西', - children: [ - { - label: '太原', - value: '190', - }, - { - label: '大同', - value: '193', - }, - { - label: '阳泉', - value: '192', - }, - { - label: '长治', - value: '195', - }, - { - label: '晋城', - value: '194', - }, - { - label: '朔州', - value: '199', - }, - { - label: '忻州', - value: '198', - }, - { - label: '晋中', - value: '191', - }, - { - label: '吕梁', - value: '200', - }, - { - label: '临汾', - value: '197', - }, - { - label: '运城', - value: '196', - }, - ], - value: '19', - }, - { - label: '贵州', - children: [ - { - label: '贵阳', - value: '850', - }, - { - label: '遵义', - value: '787', - }, - { - label: '安顺', - value: '789', - }, - { - label: '黔南', - value: '788', - }, - { - label: '黔东南', - value: '786', - }, - { - label: '铜仁', - value: '785', - }, - { - label: '毕节', - value: '851', - }, - { - label: '六盘水', - value: '853', - }, - { - label: '黔西南', - value: '852', - }, - ], - value: '85', - }, - { - label: '云南', - children: [ - { - label: '昆明', - value: '860', - }, - { - label: '德宏', - value: '730', - }, - { - label: '保山', - value: '731', - }, - { - label: '文山', - value: '732', - }, - { - label: '临沧', - value: '733', - }, - { - label: '怒江', - value: '734', - }, - { - label: '迪庆', - value: '735', - }, - { - label: '西双版纳', - value: '736', - }, - { - label: '红河', - value: '861', - }, - { - label: '大理', - value: '862', - }, - { - label: '丽江', - value: '863', - }, - { - label: '楚雄', - value: '864', - }, - { - label: '玉溪', - value: '865', - }, - { - label: '曲靖', - value: '866', - }, - { - label: '昭通', - value: '867', - }, - { - label: '普洱', - value: '869', - }, - ], - value: '86', - }, - { - label: '西藏', - children: [ - { - label: '拉萨', - value: '790', - }, - { - label: '日喀则', - value: '797', - }, - { - label: '山南', - value: '798', - }, - { - label: '林芝', - value: '799', - }, - { - label: '昌都', - value: '800', - }, - { - label: '那曲', - value: '801', - }, - { - label: '阿里', - value: '802', - }, - ], - value: '79', - }, - { - label: '陕西', - children: [ - { - label: '西安', - value: '841', - }, - { - label: '咸阳', - value: '844', - }, - { - label: '渭南', - value: '843', - }, - { - label: '宝鸡', - value: '840', - }, - { - label: '汉中', - value: '849', - }, - { - label: '延安', - value: '842', - }, - { - label: '榆林', - value: '845', - }, - { - label: '铜川', - value: '846', - }, - { - label: '安康', - value: '848', - }, - { - label: '商洛', - value: '847', - }, - ], - value: '84', - }, - { - label: '甘肃', - children: [ - { - label: '兰州', - value: '870', - }, - { - label: '酒泉', - value: '931', - }, - { - label: '庆阳', - value: '873', - }, - { - label: '天水', - value: '877', - }, - { - label: '武威', - value: '874', - }, - { - label: '临夏', - value: '878', - }, - { - label: '白银', - value: '879', - }, - { - label: '定西', - value: '871', - }, - { - label: '平凉', - value: '872', - }, - { - label: '陇南', - value: '960', - }, - { - label: '张掖', - value: '875', - }, - { - label: '嘉峪关', - value: '876', - }, - { - label: '金昌', - value: '930', - }, - { - label: '甘南', - value: '961', - }, - ], - value: '87', - }, - { - label: '青海', - children: [ - { - label: '西宁', - value: '700', - }, - { - label: '海东', - value: '701', - }, - { - label: '格尔木', - value: '702', - }, - { - label: '海西', - value: '704', - }, - { - label: '海北', - value: '706', - }, - { - label: '海南', - value: '705', - }, - { - label: '黄南', - value: '707', - }, - { - label: '果洛', - value: '708', - }, - { - label: '玉树', - value: '709', - }, - ], - value: '70', - }, - { - label: '宁夏', - children: [ - { - label: '银川', - value: '880', - }, - { - label: '石嘴山', - value: '884', - }, - { - label: '吴忠', - value: '883', - }, - { - label: '固原', - value: '885', - }, - { - label: '中卫', - value: '886', - }, - ], - value: '88', - }, - { - label: '新疆', - children: [ - { - label: '乌鲁木齐', - value: '890', - }, - { - label: '昌吉', - value: '891', - }, - { - label: '石河子', - value: '893', - }, - { - label: '奎屯', - value: '892', - }, - { - label: '塔城', - value: '952', - }, - { - label: '克拉玛依', - value: '899', - }, - { - label: '伊犁', - value: '898', - }, - { - label: '博乐', - value: '951', - }, - { - label: '阿勒泰', - value: '953', - }, - { - label: '吐鲁番', - value: '894', - }, - { - label: '哈密', - value: '900', - }, - { - label: '巴音郭楞', - value: '895', - }, - { - label: '阿克苏', - value: '896', - }, - { - label: '喀什', - value: '897', - }, - { - label: '和田', - value: '955', - }, - { - label: '克孜勒苏', - value: '954', - }, - ], - value: '89', - }, - { - label: '内蒙古', - children: [ - { - label: '呼和浩特', - value: '101', - }, - { - label: '包头', - value: '102', - }, - { - label: '乌海', - value: '106', - }, - { - label: '赤峰', - value: '107', - }, - { - label: '呼伦贝尔', - value: '108', - }, - { - label: '兴安盟', - value: '113', - }, - { - label: '通辽', - value: '109', - }, - { - label: '乌兰察布', - value: '103', - }, - { - label: '巴彦淖尔', - value: '105', - }, - { - label: '阿拉善盟', - value: '114', - }, - { - label: '鄂尔多斯', - value: '104', - }, - { - label: '锡林郭勒盟', - value: '111', - }, - ], - value: '10', - }, - { - label: '辽宁', - children: [ - { - label: '沈阳', - value: '910', - }, - { - label: '大连', - value: '940', - }, - { - label: '鞍山', - value: '912', - }, - { - label: '抚顺', - value: '913', - }, - { - label: '本溪', - value: '914', - }, - { - label: '丹东', - value: '915', - }, - { - label: '锦州', - value: '916', - }, - { - label: '营口', - value: '917', - }, - { - label: '阜新', - value: '918', - }, - { - label: '辽阳', - value: '919', - }, - { - label: '铁岭', - value: '911', - }, - { - label: '朝阳', - value: '920', - }, - { - label: '盘锦', - value: '921', - }, - { - label: '葫芦岛', - value: '922', - }, - ], - value: '91', - }, - { - label: '吉林', - children: [ - { - label: '长春', - value: '901', - }, - { - label: '吉林', - value: '902', - }, - { - label: '延边', - value: '909', - }, - { - label: '四平', - value: '903', - }, - { - label: '通化', - value: '905', - }, - { - label: '白城', - value: '907', - }, - { - label: '辽源', - value: '906', - }, - { - label: '松原', - value: '904', - }, - { - label: '白山', - value: '908', - }, - ], - value: '90', - }, - { - label: '黑龙江', - children: [ - { - label: '哈尔滨', - value: '971', - }, - { - label: '齐齐哈尔', - value: '973', - }, - { - label: '牡丹江', - value: '988', - }, - { - label: '佳木斯', - value: '976', - }, - { - label: '绥化', - value: '989', - }, - { - label: '大庆', - value: '981', - }, - { - label: '鸡西', - value: '991', - }, - { - label: '黑河', - value: '990', - }, - { - label: '伊春', - value: '996', - }, - { - label: '双鸭山', - value: '994', - }, - { - label: '鹤岗', - value: '993', - }, - { - label: '七台河', - value: '992', - }, - { - label: '大兴安岭', - value: '995', - }, - ], - value: '97', - }, - { - label: '上海', - children: [ - { - label: '上海', - value: '310', - }, - ], - value: '31', - }, - { - label: '江苏', - children: [ - { - label: '南京', - value: '340', - }, - { - label: '苏州', - value: '450', - }, - { - label: '无锡', - value: '330', - }, - { - label: '常州', - value: '440', - }, - { - label: '扬州', - value: '430', - }, - { - label: '镇江', - value: '343', - }, - { - label: '南通', - value: '358', - }, - { - label: '徐州', - value: '350', - }, - { - label: '泰州', - value: '445', - }, - { - label: '盐城', - value: '348', - }, - { - label: '淮安', - value: '354', - }, - { - label: '连云港', - value: '346', - }, - { - label: '宿迁', - value: '349', - }, - ], - value: '34', - }, - { - label: '浙江', - children: [ - { - label: '杭州', - value: '360', - }, - { - label: '宁波', - value: '370', - }, - { - label: '温州', - value: '470', - }, - { - label: '台州', - value: '476', - }, - { - label: '金华', - value: '367', - }, - { - label: '嘉兴', - value: '363', - }, - { - label: '绍兴', - value: '365', - }, - { - label: '湖州', - value: '362', - }, - { - label: '丽水', - value: '469', - }, - { - label: '衢州', - value: '468', - }, - { - label: '舟山', - value: '364', - }, - ], - value: '36', - }, - { - label: '安徽', - children: [ - { - label: '合肥', - value: '305', - }, - { - label: '安庆', - value: '302', - }, - { - label: '蚌埠', - value: '301', - }, - { - label: '亳州', - value: '318', - }, - { - label: '池州', - value: '317', - }, - { - label: '滁州', - value: '312', - }, - { - label: '阜阳', - value: '306', - }, - { - label: '淮北', - value: '314', - }, - { - label: '淮南', - value: '307', - }, - { - label: '黄山', - value: '316', - }, - { - label: '六安', - value: '304', - }, - { - label: '马鞍山', - value: '300', - }, - { - label: '宿州', - value: '313', - }, - { - label: '铜陵', - value: '308', - }, - { - label: '芜湖', - value: '303', - }, - { - label: '宣城', - value: '311', - }, - ], - value: '30', - }, -]; diff --git a/compiled/alipay/demo/pages/Form/FormBasic/index.axml b/compiled/alipay/demo/pages/Form/FormBasic/index.axml deleted file mode 100644 index 28cae82e5..000000000 --- a/compiled/alipay/demo/pages/Form/FormBasic/index.axml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 提交 - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormBasic/index.js b/compiled/alipay/demo/pages/Form/FormBasic/index.js deleted file mode 100644 index 2e61d8ef4..000000000 --- a/compiled/alipay/demo/pages/Form/FormBasic/index.js +++ /dev/null @@ -1,93 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -import cityList from './city'; -Page({ - data: { - fruitList: ['苹果', '香蕉', '橘子', '西瓜'], - cityList, - radioGroupOptions: [ - { value: 'cat', label: '🐱' }, - { value: 'fox', label: '🦊' }, - ], - checkboxGroupOptions: [ - { value: 'tomato', label: '🍅' }, - { value: 'potato', label: '🥔' }, - { value: 'eggplant', label: '🍆' }, - ], - selectorOptions: [ - { value: 'basketball', text: '🏀' }, - { value: 'football', text: '⚽️' }, - { value: 'badminton', text: '🏸️' }, - ], - toastShow: false, - }, - onLoad() { - this.form = new Form({ - initialValues: { user: { account: 'andy', phone: '10000' } }, - }); - this.form.onValueChange('user.account', (value, allValues) => { - console.log('onValueChange:', value, allValues); - }); - this.form.onValuesChange((value, allValues) => { - console.log('onValuesChange:', value, allValues); - }); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset({ user: { phone: '10000' } }); - }, - update() { - this.form.setFieldsValue({ - user: { account: 'pony', phone: '10086', password: '123456' }, - address: '312312', - needDelivery: true, - quantity: 20, - fruit: '西瓜', - birthday: Date.now(), - range: [Date.now(), Date.now() + 86400000], - city: ['36', '360'], - animalChoose: 'fox', - fruitChoose: ['potato', 'eggplant'], - likeChoose: 'badminton', - slider: 44, - image: [ - { - path: 'https://resource/apml3bc4f816b58586ab65e1b54980a10c87.jpg', - size: 2352941, - status: 'done', - uid: '201-1720155950249-1', - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - }, - ], - description: '说明一下情况', - rate: 4, - }); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values, null, 2), - }); - console.log(values); - }, - onUpload(localFile) { - return new Promise((resolve) => { - console.log('上传的图片为:', localFile); - setTimeout(() => { - resolve('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ'); - }, 2000); - }); - }, - showToast() { - this.setData({ - toastShow: true, - }); - }, - handleCloseToast() { - this.setData({ - toastShow: false, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormBasic/index.json b/compiled/alipay/demo/pages/Form/FormBasic/index.json deleted file mode 100644 index cef7be5cc..000000000 --- a/compiled/alipay/demo/pages/Form/FormBasic/index.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-input": "../../../../src/Form/FormInput/index", - "form-switch": "../../../../src/Form/FormSwitch/index", - "form-stepper": "../../../../src/Form/FormStepper/index", - "form-picker": "../../../../src/Form/FormPicker/index", - "form-date-picker": "../../../../src/Form/FormDatePicker/index", - "form-range-picker": "../../../../src/Form/FormRangePicker/index", - "form-cascader-picker": "../../../../src/Form/FormCascaderPicker/index", - "form-checkbox-group": "../../../../src/Form/FormCheckboxGroup/index", - "form-radio-group": "../../../../src/Form/FormRadioGroup/index", - "form-slider": "../../../../src/Form/FormSlider/index", - "form-selector": "../../../../src/Form/FormSelector/index", - "form-upload-image": "../../../../src/Form/FormImageUpload/index", - "form-rate": "../../../../src/Form/FormRate/index", - "form-textarea": "../../../../src/Form/FormTextarea/index", - "ant-button": "../../../../src/Button/index", - "ant-icon": "../../../../src/Icon/index", - "ant-toast": "../../../../src/Toast/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormBasic/index.less b/compiled/alipay/demo/pages/Form/FormBasic/index.less deleted file mode 100644 index 62f410808..000000000 --- a/compiled/alipay/demo/pages/Form/FormBasic/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px 12px 48px 12px; -} - -textarea { - min-height: 100px; -} diff --git a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.axml b/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.axml deleted file mode 100644 index 15dc0d042..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.axml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - {{utils.getTitle(options, item)}} - - - - 请选择 - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.js b/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.js deleted file mode 100644 index 588d353c6..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.js +++ /dev/null @@ -1,22 +0,0 @@ -import { createForm } from '../../../../../src/Form/form'; -Component({ - mixins: [createForm()], - data: { - visible: false, - }, - methods: { - showPopup() { - this.setData({ - visible: true, - }); - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, - onChange(value, e) { - this.emit('onChange', value); - }, - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.json b/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.json deleted file mode 100644 index 6a1c9d750..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "component": true, - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-item": "../../../../../src/Form/FormItem/index", - "checklist": "../../../../../src/Checklist/index", - "icon": "../../../../../src/Icon/index", - "popup": "../../../../../src/Popup/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.less b/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.less deleted file mode 100644 index 087efb0fd..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.less +++ /dev/null @@ -1,24 +0,0 @@ -.input { - border: 1px solid var(--color-border); - padding: 4px; - min-height: 25px; - border-radius: 4px; - display: flex; - align-items: center; -} - -.choose { - color: var(--color-text-weak); -} - -.input-items { - flex: 1; - display: flex; -} - -.input-item { - text-align: center; - padding: 0 8px 0 8px; - margin-right: 8px; - background-color: var(--color-grey-card); -} diff --git a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.sjs b/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.sjs deleted file mode 100644 index 2db06a26f..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/checklist/index.sjs +++ /dev/null @@ -1,11 +0,0 @@ -function getTitle(options, value) { - var obj = options.find(function (item) { - return item.value === value; - }); - if (obj) { - return obj.title; - } -} -export default { - getTitle: getTitle -}; \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/index.axml b/compiled/alipay/demo/pages/Form/FormCustom/index.axml deleted file mode 100644 index f673a0ae3..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/index.axml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - 提交 - - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/index.js b/compiled/alipay/demo/pages/Form/FormCustom/index.js deleted file mode 100644 index 9ea73022f..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - data: { - likeOptions: [ - { value: 'basketball', title: '🏀' }, - { value: 'football', title: '⚽️' }, - { value: 'badminton', title: '🏸️' }, - ], - chooseOptions: [ - { value: '1', label: '1111' } - ] - }, - form: new Form(), - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - } -}); diff --git a/compiled/alipay/demo/pages/Form/FormCustom/index.json b/compiled/alipay/demo/pages/Form/FormCustom/index.json deleted file mode 100644 index 061ade2e8..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-input": "../../../../src/Form/FormInput/index", - "form-checklist": "./checklist", - "form-location": "./location", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/index.less b/compiled/alipay/demo/pages/Form/FormCustom/index.less deleted file mode 100644 index f8eb892ea..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/index.less +++ /dev/null @@ -1,14 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} - -.button { - margin-bottom: 12px; -} - -.input { - border: 1px solid var(--color-border); - padding: 4px; - border-radius: 4px; -} diff --git a/compiled/alipay/demo/pages/Form/FormCustom/location/index.axml b/compiled/alipay/demo/pages/Form/FormCustom/location/index.axml deleted file mode 100644 index 4f52b00c3..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/location/index.axml +++ /dev/null @@ -1,31 +0,0 @@ - - - - {{formData.value.name}} - {{formData.value.address}} - - - 请选择 - - - - - - {{extra}} - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/location/index.js b/compiled/alipay/demo/pages/Form/FormCustom/location/index.js deleted file mode 100644 index c31509941..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/location/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import { createForm } from '../../../../../src/Form/form'; -Component({ - mixins: [createForm()], - data: { - visible: false, - }, - methods: { - showPopup() { - my.chooseLocation({ - success: (res) => { - this.emit('onChange', res); - }, - }); - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, - onChange(value, e) { - this.emit('onChange', value); - }, - } -}); diff --git a/compiled/alipay/demo/pages/Form/FormCustom/location/index.json b/compiled/alipay/demo/pages/Form/FormCustom/location/index.json deleted file mode 100644 index 6a1c9d750..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/location/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "component": true, - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-item": "../../../../../src/Form/FormItem/index", - "checklist": "../../../../../src/Checklist/index", - "icon": "../../../../../src/Icon/index", - "popup": "../../../../../src/Popup/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustom/location/index.less b/compiled/alipay/demo/pages/Form/FormCustom/location/index.less deleted file mode 100644 index 61ee4c19b..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/location/index.less +++ /dev/null @@ -1,16 +0,0 @@ -.input { - border: 1px solid var(--color-border); - padding: 4px; - min-height: 25px; - border-radius: 4px; - display: flex; - align-items: center; -} - -.choose { - color: var(--color-text-weak); -} - -.input-location { - flex: 1; -} diff --git a/compiled/alipay/demo/pages/Form/FormCustom/location/index.sjs b/compiled/alipay/demo/pages/Form/FormCustom/location/index.sjs deleted file mode 100644 index 2db06a26f..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustom/location/index.sjs +++ /dev/null @@ -1,11 +0,0 @@ -function getTitle(options, value) { - var obj = options.find(function (item) { - return item.value === value; - }); - if (obj) { - return obj.title; - } -} -export default { - getTitle: getTitle -}; \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustomError/index.axml b/compiled/alipay/demo/pages/Form/FormCustomError/index.axml deleted file mode 100644 index 2b6213caa..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustomError/index.axml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - {{item.errors}} - - - - - - - - {{item.errors}} - - - - - - 提交 - - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustomError/index.js b/compiled/alipay/demo/pages/Form/FormCustomError/index.js deleted file mode 100644 index b1f07dcad..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustomError/index.js +++ /dev/null @@ -1,20 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - console.log(values); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormCustomError/index.json b/compiled/alipay/demo/pages/Form/FormCustomError/index.json deleted file mode 100644 index 29f5a3d02..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustomError/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-icon": "../../../../src/Icon/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormCustomError/index.less b/compiled/alipay/demo/pages/Form/FormCustomError/index.less deleted file mode 100644 index 97bfffd26..000000000 --- a/compiled/alipay/demo/pages/Form/FormCustomError/index.less +++ /dev/null @@ -1,13 +0,0 @@ -.errors { - background: #fff3f4; - border: 1px solid rgba(255, 49, 65, 0.2); - border-radius: 8px; - color: #ff3141; - margin-top: 8px; - padding: 8px; -} - -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormDependency/index.axml b/compiled/alipay/demo/pages/Form/FormDependency/index.axml deleted file mode 100644 index 2bca8d483..000000000 --- a/compiled/alipay/demo/pages/Form/FormDependency/index.axml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - 提交 - - 重置 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormDependency/index.js b/compiled/alipay/demo/pages/Form/FormDependency/index.js deleted file mode 100644 index ba3876899..000000000 --- a/compiled/alipay/demo/pages/Form/FormDependency/index.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - data: { - needFruit: false, - }, - onChange(value) { - this.setData({ - needFruit: value, - }); - }, - reset() { - this.setData({ - needFruit: false, - }); - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormDependency/index.json b/compiled/alipay/demo/pages/Form/FormDependency/index.json deleted file mode 100644 index 667eab6d2..000000000 --- a/compiled/alipay/demo/pages/Form/FormDependency/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-input": "../../../../src/Form/FormInput/index", - "form-switch": "../../../../src/Form/FormSwitch/index", - "form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormDependency/index.less b/compiled/alipay/demo/pages/Form/FormDependency/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormDependency/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormDynamic/index.axml b/compiled/alipay/demo/pages/Form/FormDynamic/index.axml deleted file mode 100644 index 5fe44638a..000000000 --- a/compiled/alipay/demo/pages/Form/FormDynamic/index.axml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - 添加用户 - - - - 提交 - - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormDynamic/index.js b/compiled/alipay/demo/pages/Form/FormDynamic/index.js deleted file mode 100644 index 705bd7571..000000000 --- a/compiled/alipay/demo/pages/Form/FormDynamic/index.js +++ /dev/null @@ -1,45 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -let account = 1; -Page({ - data: { - list: [ - { - id: `Account${account++}`, - }, - { - id: `Account${account++}`, - }, - ], - }, - onLoad() { - this.form = new Form(); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - add() { - this.setData({ - list: [ - ...this.data.list, - { - id: `Account${account++}`, - }, - ], - }); - }, - minus(e) { - const { index } = e.currentTarget.dataset; - const list = [...this.data.list]; - list.splice(index, 1); - this.setData({ - list, - }); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormDynamic/index.json b/compiled/alipay/demo/pages/Form/FormDynamic/index.json deleted file mode 100644 index d3787ee60..000000000 --- a/compiled/alipay/demo/pages/Form/FormDynamic/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index", - "ant-icon": "../../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormDynamic/index.less b/compiled/alipay/demo/pages/Form/FormDynamic/index.less deleted file mode 100644 index 2b6fcef0e..000000000 --- a/compiled/alipay/demo/pages/Form/FormDynamic/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} - -.button { - margin-bottom: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.axml b/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.axml deleted file mode 100644 index 47136eaab..000000000 --- a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.axml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - 提交 - - 重置 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.js b/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.js deleted file mode 100644 index b614b21d7..000000000 --- a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.js +++ /dev/null @@ -1,48 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - data: {}, - onLoad() { - this.form = new Form({ - rules: { - imageList: [ - { - required: true, - message: '需要上传图片', - }, - () => ({ - async validator(_, fileList = []) { - if (fileList.length !== 3) { - throw new Error('需要上传3张图片'); - } - if (fileList.find((file) => file.status !== 'done')) { - throw new Error('图片需要上传完成'); - } - }, - }), - ], - }, - }); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, - onUpload(localFile) { - return new Promise((resolve) => { - console.log('上传的图片为:', localFile); - setTimeout(() => { - resolve('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ'); - }, 2000); - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.json b/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.json deleted file mode 100644 index 3b732b866..000000000 --- a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-image-upload": "../../../../src/Form/FormImageUpload/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.less b/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormImageUploadRules/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormInitialValues/index.axml b/compiled/alipay/demo/pages/Form/FormInitialValues/index.axml deleted file mode 100644 index 8ea98eb7e..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValues/index.axml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - 提交 - - 重置 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormInitialValues/index.js b/compiled/alipay/demo/pages/Form/FormInitialValues/index.js deleted file mode 100644 index 2d93ad7ea..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValues/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form({ - initialValues: { - account: 'lily', - address: 'alipay', - needDelivery: true, - quantity: 1, - }, - }); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormInitialValues/index.json b/compiled/alipay/demo/pages/Form/FormInitialValues/index.json deleted file mode 100644 index f377c59bf..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValues/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-switch": "../../../../src/Form/FormSwitch/index", - "ant-form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormInitialValues/index.less b/compiled/alipay/demo/pages/Form/FormInitialValues/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValues/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.axml b/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.axml deleted file mode 100644 index 8ea98eb7e..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.axml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - 提交 - - 重置 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.js b/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.js deleted file mode 100644 index 430dbdeeb..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - my.showLoading({ - content: '表单加载中...', - }); - setTimeout(() => { - this.form.setInitialValues({ - account: 'lily', - address: 'alipay', - needDelivery: true, - quantity: 1, - }); - this.form.reset(); - my.hideLoading(); - }, 1000); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.json b/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.json deleted file mode 100644 index f377c59bf..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-switch": "../../../../src/Form/FormSwitch/index", - "ant-form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.less b/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormInitialValuesAsync/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.axml b/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.axml deleted file mode 100644 index 08e8b3a77..000000000 --- a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.axml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.js b/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.js deleted file mode 100644 index 1770a1bf1..000000000 --- a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { Form } from '../../../../../src/Form/form'; - - -Component({ - onInit() { - this.form = new Form(); - this.form.setInitialValues(this.props.config.initialValues); - this.form.reset(); - }, - - methods: { - handleRef(ref) { - this.form.addItem(ref); - }, - async submit() { - const values = await this.form.submit(); - this.props.onSuccess(values); - }, - reset() { - this.form.reset(); - }, - } -}); diff --git a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.json b/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.json deleted file mode 100644 index 681e54e76..000000000 --- a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "component": true, - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-item": "../../../../../src/Form/FormItem/index", - "form-input": "../../../../../src/Form/FormInput/index", - "form-stepper": "../../../../../src/Form/FormStepper/index", - "button": "../../../../../src/Button/index" - } -} diff --git a/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.less b/compiled/alipay/demo/pages/Form/FormJSON/form-json/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/Form/FormJSON/index.axml b/compiled/alipay/demo/pages/Form/FormJSON/index.axml deleted file mode 100644 index b73c8215b..000000000 --- a/compiled/alipay/demo/pages/Form/FormJSON/index.axml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormJSON/index.js b/compiled/alipay/demo/pages/Form/FormJSON/index.js deleted file mode 100644 index 8f5d9abf9..000000000 --- a/compiled/alipay/demo/pages/Form/FormJSON/index.js +++ /dev/null @@ -1,81 +0,0 @@ -Page({ - data: { - config: {}, - }, - onLoad() { - this.setData({ - config: { - formItems: [ - { - type: 'input', - label: '用户名', - name: 'account', - placeholder: '请输入用户名', - required: true, - message: '提交需要有用户名', - }, - { - type: 'input', - label: '地址', - name: 'address', - placeholder: '请输入地址', - required: true, - message: '提交需要有地址', - }, - { - type: 'custom-input', - label: '水果', - name: 'fruit', - placeholder: '请输入数量', - required: true, - message: '提交需要有数量', - }, - { - type: 'stepper', - label: '数量', - name: 'quantity', - placeholder: '请输入数量', - required: true, - message: '提交需要有数量', - }, - { - type: 'custom-switch', - label: '需要小票', - name: 'choose', - required: true, - message: '提交需要有数量', - }, - ], - initialValues: { - account: 'lily' - }, - submit: { - text: '提交', - type: 'primary', - style: 'margin: 12px', - }, - reset: { - text: '重置', - type: 'default', - style: 'margin: 12px', - }, - }, - }); - }, - formItems: [], - handleFormJSONRef(ref) { - this.formItems.forEach(formItem => { - ref.form.addItem(formItem); - }); - }, - handleRef(ref) { - this.formItems.push(ref); - }, - onSuccess(values) { - my.alert({ - title: '提交', - content: JSON.stringify(values, null, 2), - }); - console.log(values); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormJSON/index.json b/compiled/alipay/demo/pages/Form/FormJSON/index.json deleted file mode 100644 index 3a7af3705..000000000 --- a/compiled/alipay/demo/pages/Form/FormJSON/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-json": "./form-json/index", - "form-input": "../../../../src/Form/FormInput/index", - "form-switch": "../../../../src/Form/FormSwitch/index" - } -} diff --git a/compiled/alipay/demo/pages/Form/FormJSON/index.less b/compiled/alipay/demo/pages/Form/FormJSON/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/Form/FormLayout/index.axml b/compiled/alipay/demo/pages/Form/FormLayout/index.axml deleted file mode 100644 index 3d8461d09..000000000 --- a/compiled/alipay/demo/pages/Form/FormLayout/index.axml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - 提交 - - - 重置 - - - 切换表单布局 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormLayout/index.js b/compiled/alipay/demo/pages/Form/FormLayout/index.js deleted file mode 100644 index 7dbc95f96..000000000 --- a/compiled/alipay/demo/pages/Form/FormLayout/index.js +++ /dev/null @@ -1,28 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - data: { - position: 'horizontal', - }, - onLoad() { - this.form = new Form(); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - toggle() { - this.setData({ - position: this.data.position === 'horizontal' ? 'vertical' : 'horizontal', - }); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormLayout/index.json b/compiled/alipay/demo/pages/Form/FormLayout/index.json deleted file mode 100644 index f377c59bf..000000000 --- a/compiled/alipay/demo/pages/Form/FormLayout/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-switch": "../../../../src/Form/FormSwitch/index", - "ant-form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormLayout/index.less b/compiled/alipay/demo/pages/Form/FormLayout/index.less deleted file mode 100644 index 2b6fcef0e..000000000 --- a/compiled/alipay/demo/pages/Form/FormLayout/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} - -.button { - margin-bottom: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormMultiple/index.axml b/compiled/alipay/demo/pages/Form/FormMultiple/index.axml deleted file mode 100644 index 7e704d59a..000000000 --- a/compiled/alipay/demo/pages/Form/FormMultiple/index.axml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - 提交 - - 重置 - - - - - - - - 提交 - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormMultiple/index.js b/compiled/alipay/demo/pages/Form/FormMultiple/index.js deleted file mode 100644 index 7628a08c7..000000000 --- a/compiled/alipay/demo/pages/Form/FormMultiple/index.js +++ /dev/null @@ -1,35 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - this.form2 = new Form(); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - handleRef2(ref) { - this.form2.addItem(ref); - }, - reset() { - this.form.reset(); - }, - reset2() { - this.form2.reset(); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '表单1提交', - content: JSON.stringify(values, null, 2), - }); - console.log(values); - }, - async submit2() { - const values = await this.form2.submit(); - my.alert({ - title: '表单2提交', - content: JSON.stringify(values, null, 2), - }); - console.log(values); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormMultiple/index.json b/compiled/alipay/demo/pages/Form/FormMultiple/index.json deleted file mode 100644 index 81b0ba144..000000000 --- a/compiled/alipay/demo/pages/Form/FormMultiple/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-container": "../../../../src/Container/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormMultiple/index.less b/compiled/alipay/demo/pages/Form/FormMultiple/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormMultiple/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormRules/index.axml b/compiled/alipay/demo/pages/Form/FormRules/index.axml deleted file mode 100644 index 2b0465a93..000000000 --- a/compiled/alipay/demo/pages/Form/FormRules/index.axml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - 提交 - - - 重置 - - Fill表单 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormRules/index.js b/compiled/alipay/demo/pages/Form/FormRules/index.js deleted file mode 100644 index b0fdb58b0..000000000 --- a/compiled/alipay/demo/pages/Form/FormRules/index.js +++ /dev/null @@ -1,48 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form({ - rules: { - password: [ - { - required: true, - message: '需要输入密码', - }, - ], - confirm: [ - { - required: true, - message: '需要输入确认密码', - }, - (form) => ({ - async validator(_, value) { - if (!value || form.getFieldValue('password') === value) { - return; - } - throw new Error('验证密码需要跟密码相同'); - }, - }), - ], - }, - }); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - fill() { - this.form.setFieldValue('account', 'lily'); - this.form.setFieldValue('password', '1234'); - this.form.setFieldValue('confirm', '1234'); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - console.log(values); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormRules/index.json b/compiled/alipay/demo/pages/Form/FormRules/index.json deleted file mode 100644 index ceb9a4b4a..000000000 --- a/compiled/alipay/demo/pages/Form/FormRules/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormRules/index.less b/compiled/alipay/demo/pages/Form/FormRules/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormRules/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormValidate/index.axml b/compiled/alipay/demo/pages/Form/FormValidate/index.axml deleted file mode 100644 index da1ecf303..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidate/index.axml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - 提交 - - 重置 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormValidate/index.js b/compiled/alipay/demo/pages/Form/FormValidate/index.js deleted file mode 100644 index 7c9a2ce0d..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidate/index.js +++ /dev/null @@ -1,29 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - onReady() { - setTimeout(() => { - // 填入表单及校验 - this.form.setFieldValue('fruit', '橘子'); - this.form.setFieldValidatorStatus('fruit', { - status: 'error', - errors: ['后台服务返回: 橘子还在进货,请换一个'], - }); - }); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormValidate/index.json b/compiled/alipay/demo/pages/Form/FormValidate/index.json deleted file mode 100644 index ceb9a4b4a..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidate/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormValidate/index.less b/compiled/alipay/demo/pages/Form/FormValidate/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidate/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.axml b/compiled/alipay/demo/pages/Form/FormValidateMessages/index.axml deleted file mode 100644 index 6d2e00b6b..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.axml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - 提交 - - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.js b/compiled/alipay/demo/pages/Form/FormValidateMessages/index.js deleted file mode 100644 index 307a299aa..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.js +++ /dev/null @@ -1,50 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -const validateMessages = { - required: '需要输入${label}', - string: { - min: '${label}最少${min}个字符', - }, - pattern: { - mismatch: '${label}需要满足${pattern}', - }, -}; -Page({ - onLoad() { - this.form = new Form({ - validateMessages, - rules: { - account: [ - { - required: true, - min: 6, - }, - ], - password: [ - { - required: true, - }, - ], - ip: [ - { - required: true, - pattern: /^((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}$/, - }, - ], - }, - }); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.json b/compiled/alipay/demo/pages/Form/FormValidateMessages/index.json deleted file mode 100644 index ceb9a4b4a..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.less b/compiled/alipay/demo/pages/Form/FormValidateMessages/index.less deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/alipay/demo/pages/Form/FormValidateMessages/index.less +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/FormWatch/index.axml b/compiled/alipay/demo/pages/Form/FormWatch/index.axml deleted file mode 100644 index e8e4792f9..000000000 --- a/compiled/alipay/demo/pages/Form/FormWatch/index.axml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - onValuesChange: - - 修改:{{changedValuesText}} - 表单:{{allValuesText}} - - - - - 提交 - - - 重置 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormWatch/index.js b/compiled/alipay/demo/pages/Form/FormWatch/index.js deleted file mode 100644 index 6e10874c2..000000000 --- a/compiled/alipay/demo/pages/Form/FormWatch/index.js +++ /dev/null @@ -1,46 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - }, - data: { - changedValuesText: '', - allValuesText: '', - }, - onReady() { - this.form.onValuesChange((changedValues, allValues) => { - let changedValuesText = ''; - let allValuesText = ''; - Object.keys(changedValues).forEach((name) => { - const value = changedValues[name]; - changedValuesText += `${name}: ${value};`; - }); - Object.keys(allValues).forEach((name) => { - const value = allValues[name]; - allValuesText += `${name}: ${value};`; - }); - this.setData({ - changedValuesText, - allValuesText, - }); - }); - }, - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - this.setData({ - changedValuesText: '', - allValuesText: '', - }); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - console.log(values); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/FormWatch/index.json b/compiled/alipay/demo/pages/Form/FormWatch/index.json deleted file mode 100644 index ceb9a4b4a..000000000 --- a/compiled/alipay/demo/pages/Form/FormWatch/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/FormWatch/index.less b/compiled/alipay/demo/pages/Form/FormWatch/index.less deleted file mode 100644 index 2b6fcef0e..000000000 --- a/compiled/alipay/demo/pages/Form/FormWatch/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} - -.button { - margin-bottom: 12px; -} diff --git a/compiled/alipay/demo/pages/Form/index.axml b/compiled/alipay/demo/pages/Form/index.axml deleted file mode 100644 index 73383bccb..000000000 --- a/compiled/alipay/demo/pages/Form/index.axml +++ /dev/null @@ -1,78 +0,0 @@ - - - 基本使用 - 布局 - 初始值 - 初始值异步加载 - 表单侦听 - 校验 - 增加删除表单项 - 表单项联动 - 自定义表单项校验 - 自定义表单校验消息 - 多个表单 - 图片校验 - JSON 生成表单 - 自定义错误样式 - 自定义表单项 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/index.js b/compiled/alipay/demo/pages/Form/index.js deleted file mode 100644 index f429bc966..000000000 --- a/compiled/alipay/demo/pages/Form/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: {}, - gotoPage(event) { - const src = event.target.dataset.src; - if (typeof my === 'undefined') { - //@ts-ignore - wx.navigateTo({ - url: `./${src}/index`, - }); - return; - } - my.navigateTo({ - url: `./${src}/index`, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Form/index.json b/compiled/alipay/demo/pages/Form/index.json deleted file mode 100644 index aed310eb4..000000000 --- a/compiled/alipay/demo/pages/Form/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Form Demo", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Form/index.less b/compiled/alipay/demo/pages/Form/index.less deleted file mode 100644 index 62f410808..000000000 --- a/compiled/alipay/demo/pages/Form/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px 12px 48px 12px; -} - -textarea { - min-height: 100px; -} diff --git a/compiled/alipay/demo/pages/Grid/index.axml b/compiled/alipay/demo/pages/Grid/index.axml deleted file mode 100644 index deaf63df7..000000000 --- a/compiled/alipay/demo/pages/Grid/index.axml +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 第{{props.index + 1}}项 - - - 描述{{props.index + 1}} - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Grid/index.js b/compiled/alipay/demo/pages/Grid/index.js deleted file mode 100644 index a89e3bcf6..000000000 --- a/compiled/alipay/demo/pages/Grid/index.js +++ /dev/null @@ -1,132 +0,0 @@ -Page({ - data: { - items2: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items3: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items4: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items5: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items3withDesc: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述信息', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述信息', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述信息', - }, - ], - items2withDesc: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述文字最多一行', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述文字最多一行', - }, - ], - itemsCustom: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*MwsuTZI4qA8AAAAAAAAAAAAAARQnAQ', - tag: '1', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*xXRcRohQFc0AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*UJf2QLxdoa8AAAAAAAAAAAAAARQnAQ', - tag: '新', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*now3Q4h5DH8AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*I27zQbOu8ScAAAAAAAAAAAAAARQnAQ', - }, - ], - items5More: [], - }, - onLoad() { - const { items5 } = this.data; - this.setData({ - scrollItems: this.data.items4.concat(this.data.items4), - items5More: [...items5, ...items5], - }); - }, - handleTapItem(item) { - my.alert({ title: '点击了', content: JSON.stringify(item) }); - }, -}); diff --git a/compiled/alipay/demo/pages/Grid/index.json b/compiled/alipay/demo/pages/Grid/index.json deleted file mode 100644 index 740cc1d70..000000000 --- a/compiled/alipay/demo/pages/Grid/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Grid", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-container": "../../../src/Container/index", - "ant-grid": "../../../src/Grid/index", - "ant-badge": "../../../src/Badge/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Grid/index.less b/compiled/alipay/demo/pages/Grid/index.less deleted file mode 100644 index c22635934..000000000 --- a/compiled/alipay/demo/pages/Grid/index.less +++ /dev/null @@ -1,7 +0,0 @@ -.a-swiper { - padding-bottom: 20rpx; -} -.a-swiper-indicator { - bottom: -20rpx !important; -} - diff --git a/compiled/alipay/demo/pages/GuideTour/index.axml b/compiled/alipay/demo/pages/GuideTour/index.axml deleted file mode 100644 index 0d0fe67e8..000000000 --- a/compiled/alipay/demo/pages/GuideTour/index.axml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - step-{{props.index}} - - - - - 单图模式 - - - 多图模式 - - - 滑动模式 - - - 受控模式 - - - - - 开始 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/GuideTour/index.js b/compiled/alipay/demo/pages/GuideTour/index.js deleted file mode 100644 index 7b1077213..000000000 --- a/compiled/alipay/demo/pages/GuideTour/index.js +++ /dev/null @@ -1,49 +0,0 @@ -Page({ - data: { - baseVisible: false, - moreVisible: false, - swiperVisible: false, - slotVisible: false, - controlledVisible: false, - current: 0, - list: [ - { - left: 20, - top: 80, - imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', - imageMode: 'widthFix', - }, - { - left: 20, - top: 160, - imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png', - }, - { - left: 20, - top: 220, - imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png', - }, - ], - }, - onChange(index) { - console.log('index', index); - }, - onChangeControlled(value) { - this.setData({ current: value }); - }, - openTour(e) { - this.setData({ - [e.target.dataset.field]: true, - current: 0, - }); - }, - closeTour() { - this.setData({ - baseVisible: false, - moreVisible: false, - swiperVisible: false, - slotVisible: false, - controlledVisible: false, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/GuideTour/index.json b/compiled/alipay/demo/pages/GuideTour/index.json deleted file mode 100644 index a1eb5e5a5..000000000 --- a/compiled/alipay/demo/pages/GuideTour/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "GuideTour", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index", - "ant-guide-tour": "../../../src/GuideTour/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/GuideTour/index.less b/compiled/alipay/demo/pages/GuideTour/index.less deleted file mode 100644 index 10984af34..000000000 --- a/compiled/alipay/demo/pages/GuideTour/index.less +++ /dev/null @@ -1,11 +0,0 @@ -.step-box { - background-color: #fff; - width: 200px; - height: 200px; - line-height: 200px; - text-align: center; -} - -.list button { - margin-bottom: 8px; -} diff --git a/compiled/alipay/demo/pages/Icon/index.axml b/compiled/alipay/demo/pages/Icon/index.axml deleted file mode 100644 index de98f5906..000000000 --- a/compiled/alipay/demo/pages/Icon/index.axml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Icon/index.js b/compiled/alipay/demo/pages/Icon/index.js deleted file mode 100644 index dc794f208..000000000 --- a/compiled/alipay/demo/pages/Icon/index.js +++ /dev/null @@ -1,9 +0,0 @@ -Page({ - handleTap(e) { - console.log(e); - console.log('detail', e.detail); - console.log('e.currentTarget.dataset', e.currentTarget.dataset); - console.log('e.target.dataset', e.target.dataset); - console.log('e.target.targetDataset', e.target.targetDataset); - }, -}); diff --git a/compiled/alipay/demo/pages/Icon/index.json b/compiled/alipay/demo/pages/Icon/index.json deleted file mode 100644 index 7cb92ad42..000000000 --- a/compiled/alipay/demo/pages/Icon/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Icon", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Icon/index.less b/compiled/alipay/demo/pages/Icon/index.less deleted file mode 100644 index 4d2f33f2f..000000000 --- a/compiled/alipay/demo/pages/Icon/index.less +++ /dev/null @@ -1,16 +0,0 @@ -.custom-color { - color: var(--color-brand1); -} - -.custom-size { - font-size: 40px; - -} - -.custom { - font-size: 40px; - - color: red; - margin: 10px; -} - diff --git a/compiled/alipay/demo/pages/ImageUpload/index.axml b/compiled/alipay/demo/pages/ImageUpload/index.axml deleted file mode 100644 index a42298de2..000000000 --- a/compiled/alipay/demo/pages/ImageUpload/index.axml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - 限制只能上传1个 - - - - - - - - - - - - - - - 上传 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ImageUpload/index.js b/compiled/alipay/demo/pages/ImageUpload/index.js deleted file mode 100644 index 1cce0319b..000000000 --- a/compiled/alipay/demo/pages/ImageUpload/index.js +++ /dev/null @@ -1,79 +0,0 @@ -function onRemove(file) { - return new Promise((resolve) => { - console.log('即将移除的图片为:', file); - my.confirm({ - title: '是否确认移除图片', - confirmButtonText: '确定', - cancelButtonText: '取消', - success: (e) => { - resolve(e.confirm); - }, - }); - }); -} -Page({ - data: { - defaultFileList: [ - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*kStORbDQxwMAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*K4Z-RLHuliYAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - ], - fileList: [ - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*kStORbDQxwMAAAAAAAAAAAAAARQnAQ', - status: 'pending', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*K4Z-RLHuliYAAAAAAAAAAAAAARQnAQ', - status: 'error', - }, - ], - }, - onChange(fileList) { - // 这里的数据包括上传失败和成功的图片列表,如果需要筛选出上传成功的图片需要在此处理 - console.log('图片列表:', fileList); - }, - onPreview(file) { - console.log('preview', file); - }, - onRemove, - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ'); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, - handleControlledChange(fileList) { - this.setData({ - fileList, - }); - }, - handleUploaderRef(ref) { - console.log('handleUploaderRef', ref); - this.handleUploaderRef = ref; - }, - upload() { - this.handleUploaderRef.chooseImage(); - }, -}); diff --git a/compiled/alipay/demo/pages/ImageUpload/index.json b/compiled/alipay/demo/pages/ImageUpload/index.json deleted file mode 100644 index fa5e83d97..000000000 --- a/compiled/alipay/demo/pages/ImageUpload/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "ImageUpload", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-uploader": "../../../src/ImageUpload/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/ImageUpload/index.less b/compiled/alipay/demo/pages/ImageUpload/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/IndexBarControl/index.acss b/compiled/alipay/demo/pages/IndexBarControl/index.acss deleted file mode 100644 index 93e78f767..000000000 --- a/compiled/alipay/demo/pages/IndexBarControl/index.acss +++ /dev/null @@ -1,9 +0,0 @@ -.base { - width: 100%; - height: 100vh; -} -.indexbar { - position: fixed; - right: 10px; - top: 20vh; -} diff --git a/compiled/alipay/demo/pages/IndexBarControl/index.axml b/compiled/alipay/demo/pages/IndexBarControl/index.axml deleted file mode 100644 index a77d654f2..000000000 --- a/compiled/alipay/demo/pages/IndexBarControl/index.axml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - {{itemX}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/IndexBarControl/index.js b/compiled/alipay/demo/pages/IndexBarControl/index.js deleted file mode 100644 index 52e066f8b..000000000 --- a/compiled/alipay/demo/pages/IndexBarControl/index.js +++ /dev/null @@ -1,52 +0,0 @@ -const nameMap = { - 'A': ['Alice', 'Andy', 'Amanda'], - 'B': ['Bob', 'Brian', 'Bella'], - 'C': ['Cathy', 'Carl', 'Chris'], - 'D': ['David', 'Diana', 'Derek'], - 'E': ['Eva', 'Evan', 'Eddie'], - 'F': ['Fiona', 'Frank', 'Fred'], - 'G': ['George', 'Grace', 'Gavin'], - 'H': ['Helen', 'Hank', 'Harry'], - 'I': ['Ivy', 'Ian', 'Isaac'], - 'J': ['Jack', 'Jill', 'James'], - 'K': ['Karen', 'Kyle', 'Kurt'], - 'L': ['Laura', 'Liam', 'Leo'], - 'M': ['Megan', 'Mike', 'Mona'], - 'N': ['Nina', 'Nick', 'Nancy'], - 'O': ['Olivia', 'Oscar', 'Owen'], - 'P': ['Paul', 'Pam', 'Pete'], - 'Q': ['Quincy', 'Quinn', 'Queen'], - 'R': ['Rachel', 'Ryan', 'Rita'], - 'S': ['Sam', 'Sara', 'Steve'], - 'T': ['Tom', 'Tina', 'Tim'], - 'U': ['Uma', 'Ulysses', 'Ursula'], - 'V': ['Violet', 'Victor', 'Vince'], - 'W': ['Wendy', 'Will', 'Wanda'], - 'X': ['Xander', 'Xenia', 'Xavier'], - 'Y': ['Yara', 'Yuri', 'Yvonne'], - 'Z': ['Zoe', 'Zach', 'Zane'], -}; - -Page({ - data: { - nameMap, - items: [], - current: '', - }, - onLoad() { - // 异步获取数据 - setTimeout(() => { - this.setData({ - nameMap, - items: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('').map((u) => { - return { label: u, disablePreview: true }; - }), - current: 'S', - }); - }, 1000); - }, - onChange(item, index) { - console.log(item, index); - this.setData({ current: item.label }); - }, -}); diff --git a/compiled/alipay/demo/pages/IndexBarControl/index.json b/compiled/alipay/demo/pages/IndexBarControl/index.json deleted file mode 100644 index 2366cdbe0..000000000 --- a/compiled/alipay/demo/pages/IndexBarControl/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "defaultTitle": "IndexBar", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-index-bar": "../../../src/IndexBar/index", - "list": "../../../src/List/index", - "list-item": "../../../src/List/ListItem/index" - } -} diff --git a/compiled/alipay/demo/pages/Input/index.axml b/compiled/alipay/demo/pages/Input/index.axml deleted file mode 100644 index b33c21be6..000000000 --- a/compiled/alipay/demo/pages/Input/index.axml +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - RMB - - - - - - - - - clear - - - - - - RMB - - - - - - - clear - - - - - - - - - - 取消 - - - - - - - - - - - - - - - - - - clear - - - - - - - clear - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Input/index.js b/compiled/alipay/demo/pages/Input/index.js deleted file mode 100644 index 9841abb51..000000000 --- a/compiled/alipay/demo/pages/Input/index.js +++ /dev/null @@ -1,40 +0,0 @@ -Page({ - data: { - value: '', - money: '', - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(value) { - this.setData({ - value, - }); - }, - handleMoney(value) { - console.log(value); - if (isNaN(Number(value))) { - return; - } - this.setData({ - money: value, - }); - }, - clear() { - this.setData({ - value: '', - }); - }, - handleRefInput(input) { - this.input = input; - }, - handleRefTextArea(textArea) { - this.textArea = textArea; - }, - clearByInputRef() { - this.input.update(''); - }, - clearByTextAreaRef() { - this.textArea.update(''); - }, -}); diff --git a/compiled/alipay/demo/pages/Input/index.json b/compiled/alipay/demo/pages/Input/index.json deleted file mode 100644 index ef7fa2217..000000000 --- a/compiled/alipay/demo/pages/Input/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "Input", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-input": "../../../src/Input/index", - "ant-button": "../../../src/Button/index", - "container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-textarea": "../../../src/Input/Textarea/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Input/index.less b/compiled/alipay/demo/pages/Input/index.less deleted file mode 100644 index b4a84d0e6..000000000 --- a/compiled/alipay/demo/pages/Input/index.less +++ /dev/null @@ -1,64 +0,0 @@ -.input { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 1s; -} - -.money { - width: 180px; -} - -.border { - border-color: var(--color-border); -} - -button { - margin-top: 8px; -} -.search-line { - display: flex; - align-items: center; - padding: 16px; -} - -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: var(--color-brand1); - } -} - -.cancel { - color: var(--color-text-primary); - margin-left: 8px; -} - -.custom { - border: 1px solid var(--color-border-greycard); - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} - -.placeholder { - color: var(--color-text-primary); - opacity: 0.7; - font-size: 16px; -} - -.custom-color { - margin-bottom: 12px; - - input, - textarea { - padding: 4px; - background: var(--color-background); - border-radius: 4px; - } -} diff --git a/compiled/alipay/demo/pages/InputCustom/index.axml b/compiled/alipay/demo/pages/InputCustom/index.axml deleted file mode 100644 index e84378dee..000000000 --- a/compiled/alipay/demo/pages/InputCustom/index.axml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputCustom/index.js b/compiled/alipay/demo/pages/InputCustom/index.js deleted file mode 100644 index d28de2f3a..000000000 --- a/compiled/alipay/demo/pages/InputCustom/index.js +++ /dev/null @@ -1,34 +0,0 @@ -Page({ - data: { - value: '', - money: '', - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(value) { - this.setData({ - value, - }); - }, - handleMoney(value) { - console.log(value); - if (isNaN(Number(value))) { - return; - } - this.setData({ - money: value, - }); - }, - clear() { - this.setData({ - value: '', - }); - }, - handleRef(input) { - this.input = input; - }, - clearByInputRef() { - this.input.update(''); - } -}); diff --git a/compiled/alipay/demo/pages/InputCustom/index.json b/compiled/alipay/demo/pages/InputCustom/index.json deleted file mode 100644 index 7f8477408..000000000 --- a/compiled/alipay/demo/pages/InputCustom/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Input", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-input": "../../../src/Input/index", - "ant-textarea": "../../../src/Input/Textarea/index", - "ant-icon": "../../../src/Icon/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputCustom/index.less b/compiled/alipay/demo/pages/InputCustom/index.less deleted file mode 100644 index 7438da341..000000000 --- a/compiled/alipay/demo/pages/InputCustom/index.less +++ /dev/null @@ -1,30 +0,0 @@ -@import "../../../src/style/themes/color.less"; - -.custom { - border: 1px solid @COLOR_BORDER; - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} - - -.placeholder { - color: @COLOR_TEXT_PRIMARY; - opacity: 0.7; - font-size: 16px; -} - -.custom-color { - margin-bottom: 12px; - - input, textarea { - padding: 4px; - background: @COLOR_GREY_CARD; - border-radius: 4px; - } - -} - -textarea { - min-height: 100px; -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputSearchBar/index.axml b/compiled/alipay/demo/pages/InputSearchBar/index.axml deleted file mode 100644 index 21788b4bc..000000000 --- a/compiled/alipay/demo/pages/InputSearchBar/index.axml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - 取消 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputSearchBar/index.js b/compiled/alipay/demo/pages/InputSearchBar/index.js deleted file mode 100644 index b2fa7c6b3..000000000 --- a/compiled/alipay/demo/pages/InputSearchBar/index.js +++ /dev/null @@ -1,10 +0,0 @@ -Page({ - onChange(value, e) { - console.log(value, e); - }, - onConfirm(value) { - my.alert({ - content: value, - }); - } -}); diff --git a/compiled/alipay/demo/pages/InputSearchBar/index.json b/compiled/alipay/demo/pages/InputSearchBar/index.json deleted file mode 100644 index cba8c12fb..000000000 --- a/compiled/alipay/demo/pages/InputSearchBar/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Input", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-input": "../../../src/Input/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputSearchBar/index.less b/compiled/alipay/demo/pages/InputSearchBar/index.less deleted file mode 100644 index 15fa3e90a..000000000 --- a/compiled/alipay/demo/pages/InputSearchBar/index.less +++ /dev/null @@ -1,25 +0,0 @@ -@import "../../../src/style/themes/color.less"; - -.container { - display: flex; - align-items: center; - padding: 16px; -} - -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: @COLOR_BRAND1; - } -} - -.cancel { - color: @COLOR_TEXT_PRIMARY; - margin-left: 8px; -} - diff --git a/compiled/alipay/demo/pages/InputTextarea/index.axml b/compiled/alipay/demo/pages/InputTextarea/index.axml deleted file mode 100644 index 1ab4bba77..000000000 --- a/compiled/alipay/demo/pages/InputTextarea/index.axml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - clear - - - - - - - clear - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputTextarea/index.js b/compiled/alipay/demo/pages/InputTextarea/index.js deleted file mode 100644 index 0185442df..000000000 --- a/compiled/alipay/demo/pages/InputTextarea/index.js +++ /dev/null @@ -1,35 +0,0 @@ -import { resolveEventValue } from './utils'; -Page({ - data: { - value: '', - money: '', - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(value) { - this.setData({ - value: resolveEventValue(value), - }); - }, - handleMoney(value) { - console.log(value); - if (isNaN(Number(resolveEventValue(value)))) { - return; - } - this.setData({ - money: resolveEventValue(value), - }); - }, - clear() { - this.setData({ - value: '', - }); - }, - handleRef(input) { - this.input = resolveEventValue(input); - }, - clearByInputRef() { - this.input.update(''); - }, -}); diff --git a/compiled/alipay/demo/pages/InputTextarea/index.json b/compiled/alipay/demo/pages/InputTextarea/index.json deleted file mode 100644 index bc876bebd..000000000 --- a/compiled/alipay/demo/pages/InputTextarea/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Input", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-textarea": "../../../src/Input/Textarea/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/InputTextarea/index.less b/compiled/alipay/demo/pages/InputTextarea/index.less deleted file mode 100644 index 4881c44ea..000000000 --- a/compiled/alipay/demo/pages/InputTextarea/index.less +++ /dev/null @@ -1,9 +0,0 @@ -@import "../../../src/style/themes/color.less"; - -textarea { - min-height: 100px; -} - -button { - margin-top: 8px; -} diff --git a/compiled/alipay/demo/pages/InputTextarea/utils.js b/compiled/alipay/demo/pages/InputTextarea/utils.js deleted file mode 100644 index c6ad68009..000000000 --- a/compiled/alipay/demo/pages/InputTextarea/utils.js +++ /dev/null @@ -1,6 +0,0 @@ -export function resolveEventValue(event) { - if (typeof event.detail !== 'undefined') { - return event.detail; - } - return event; -} diff --git a/compiled/alipay/demo/pages/List/index.axml b/compiled/alipay/demo/pages/List/index.axml deleted file mode 100644 index 449bdbfdf..000000000 --- a/compiled/alipay/demo/pages/List/index.axml +++ /dev/null @@ -1,109 +0,0 @@ - - - - 1 - 2 - 3 - - - - 总资产 - - - 设置 - - - 图片 - 胶囊按钮 - - - - - 圆角 - - - - 大字号模式 - - - 授权管理 - - - 三行列表 - - - - - - 账单 - - - 总资产 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/List/index.js b/compiled/alipay/demo/pages/List/index.js deleted file mode 100644 index 7835e93a3..000000000 --- a/compiled/alipay/demo/pages/List/index.js +++ /dev/null @@ -1,24 +0,0 @@ -Page({ - data: { - radius: false, - }, - handleTap(e) { - my.alert({ - title: 'onTap', - content: e.currentTarget.dataset.info, - }); - console.log(e); - }, - catchTap(e) { - my.alert({ - title: 'catchTap', - content: e.currentTarget.dataset.info, - }); - console.log(e); - }, - handleSetRadius(checked) { - this.setData({ - radius: checked, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/List/index.json b/compiled/alipay/demo/pages/List/index.json deleted file mode 100644 index 485c10438..000000000 --- a/compiled/alipay/demo/pages/List/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "List", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index", - "ant-switch": "../../../src/Switch/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/List/index.less b/compiled/alipay/demo/pages/List/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/Loading/index.axml b/compiled/alipay/demo/pages/Loading/index.axml deleted file mode 100644 index f90060e16..000000000 --- a/compiled/alipay/demo/pages/Loading/index.axml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Loading/index.js b/compiled/alipay/demo/pages/Loading/index.js deleted file mode 100644 index 560d44d43..000000000 --- a/compiled/alipay/demo/pages/Loading/index.js +++ /dev/null @@ -1 +0,0 @@ -Page({}); diff --git a/compiled/alipay/demo/pages/Loading/index.json b/compiled/alipay/demo/pages/Loading/index.json deleted file mode 100644 index 89419cc3a..000000000 --- a/compiled/alipay/demo/pages/Loading/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "defaultTitle": "Loading", - "usingComponents": { - "ant-loading": "../../../src/Loading/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Loading/index.less b/compiled/alipay/demo/pages/Loading/index.less deleted file mode 100644 index b277f53e9..000000000 --- a/compiled/alipay/demo/pages/Loading/index.less +++ /dev/null @@ -1,19 +0,0 @@ -page { - padding: 24px; - -} - -.container { - padding-bottom: 24px; -} - -.list { - display: flex; - align-items: center; - background: #000; -} - -.custom-size { - width: 20px; - height: 20px; -} diff --git a/compiled/alipay/demo/pages/Modal/index.axml b/compiled/alipay/demo/pages/Modal/index.axml deleted file mode 100644 index 33bcb8380..000000000 --- a/compiled/alipay/demo/pages/Modal/index.axml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 最简单的弹框 - - - 带有标题 - - - 带辅助按钮 - - - 带辅助和取消按钮 - - - - - 只有主按钮 - - - 带辅助按钮 - - - 带辅助和取消按钮 - - - - - 自定义按钮样式 - - - 完全自定义内容区 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Modal/index.js b/compiled/alipay/demo/pages/Modal/index.js deleted file mode 100644 index 770dbd4f1..000000000 --- a/compiled/alipay/demo/pages/Modal/index.js +++ /dev/null @@ -1,45 +0,0 @@ -Page({ - data: { - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - focusThreeVisible: false, - customVisible: false, - customBodyVisible: false, - }, - handleOpen(e) { - const { field } = e.target.dataset; - this.setData({ [field]: true }); - }, - handleClose() { - this.setData({ - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - focusThreeVisible: false, - customVisible: false, - customBodyVisible: false, - }); - }, - handlePrimaryButtonTap() { - this.handleClose(); - this.showToast('点击主要按钮'); - }, - handleSecondaryButtonTap() { - this.handleClose(); - this.showToast('点击辅助按钮'); - }, - handleCancelButtonTap() { - this.handleClose(); - this.showToast('点击取消按钮'); - }, - showToast(content) { - my.showToast({ content, duration: 1000 }); - }, -}); diff --git a/compiled/alipay/demo/pages/Modal/index.json b/compiled/alipay/demo/pages/Modal/index.json deleted file mode 100644 index f8d1ca9e2..000000000 --- a/compiled/alipay/demo/pages/Modal/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Modal", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-modal": "../../../src/Modal/index", - "ant-button": "../../../src/Button/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Modal/index.less b/compiled/alipay/demo/pages/Modal/index.less deleted file mode 100644 index 933aabbd6..000000000 --- a/compiled/alipay/demo/pages/Modal/index.less +++ /dev/null @@ -1,15 +0,0 @@ -.bodyImg { - width: 424rpx; - height: 528rpx; - border-radius: 8rpx; -} -.bodyAction { - padding-top: 32rpx; - font-size: 48rpx; - text-align: center; - color: #fff; -} - -.list button { - margin-bottom: 8px; -} diff --git a/compiled/alipay/demo/pages/NoticeBar/index.axml b/compiled/alipay/demo/pages/NoticeBar/index.axml deleted file mode 100644 index f140a36ba..000000000 --- a/compiled/alipay/demo/pages/NoticeBar/index.axml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - {{item}} - - - - - - 这条通知可以关闭 - - - - - - 文本溢出时,开启循环滚动。文字不够继续添加文字凑数。 - - - - - - - 文本溢出时,开启循环滚动。文字不够继续添加文字凑数。 - - - - - - 不展示图标 - - - - 自定义左侧图标 - - - 自定义左侧图标图片 - - - 自定义右侧按钮 - - 不再提示 - 查看详情 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NoticeBar/index.js b/compiled/alipay/demo/pages/NoticeBar/index.js deleted file mode 100644 index fd1ec60f7..000000000 --- a/compiled/alipay/demo/pages/NoticeBar/index.js +++ /dev/null @@ -1,20 +0,0 @@ -Page({ - data: { - typeList: ['default', 'error', 'info', 'primary'], - }, - handleTapAction() { - this.showToast('点击按钮'); - }, - handleTapLink() { - this.showToast('link 类型被点击了'); - }, - handleClose() { - this.showToast('点击关闭'); - }, - showToast(content) { - my.showToast({ - content: content, - duration: 1000, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/NoticeBar/index.json b/compiled/alipay/demo/pages/NoticeBar/index.json deleted file mode 100644 index b42e7cbb5..000000000 --- a/compiled/alipay/demo/pages/NoticeBar/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Notice", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-notice": "../../../src/NoticeBar/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NoticeBar/index.less b/compiled/alipay/demo/pages/NoticeBar/index.less deleted file mode 100644 index 44ad7d17a..000000000 --- a/compiled/alipay/demo/pages/NoticeBar/index.less +++ /dev/null @@ -1,7 +0,0 @@ -.extra { - display: flex; -} -.extra > view { - white-space: nowrap; - margin-left: 8rpx; -} diff --git a/compiled/alipay/demo/pages/NumberInput/index.axml b/compiled/alipay/demo/pages/NumberInput/index.axml deleted file mode 100644 index 25ad27c3a..000000000 --- a/compiled/alipay/demo/pages/NumberInput/index.axml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - 剩余额度:{{maxValue}} 全部提现 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberInput/index.js b/compiled/alipay/demo/pages/NumberInput/index.js deleted file mode 100644 index 743947bfa..000000000 --- a/compiled/alipay/demo/pages/NumberInput/index.js +++ /dev/null @@ -1,43 +0,0 @@ -Page({ - data: { - value1: '', - value2: '', - value3: '', - maxValue: 5800, - quickAmounts: ['500', '1000', '2000'] - }, - handleChange1(value) { - this.setData({ - value1: value - }); - }, - handleChange2(value) { - this.setData({ - value2: value - }); - }, - handleChange3(value) { - if (Number(value) > this.data.maxValue) { - my.alert({ - title: '提示', - content: `提现金额不能大于${this.data.maxValue}` - }); - return; - } - this.setData({ - value3: value - }); - }, - handleLinkTap() { - my.alert({ - title: '交易明细', - content: '交易明细' - }); - }, - handleAllWithdraw() { - this.input.update(this.data.maxValue); - }, - handleRef(input) { - this.input = input; - } -}); diff --git a/compiled/alipay/demo/pages/NumberInput/index.json b/compiled/alipay/demo/pages/NumberInput/index.json deleted file mode 100644 index c7a02e727..000000000 --- a/compiled/alipay/demo/pages/NumberInput/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "NumberInput", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-number-input": "../../../src/NumberInput/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberInput/index.less b/compiled/alipay/demo/pages/NumberInput/index.less deleted file mode 100644 index 097a61d4b..000000000 --- a/compiled/alipay/demo/pages/NumberInput/index.less +++ /dev/null @@ -1,5 +0,0 @@ -.link-text { - padding-left: 10rpx; - color: #165dff; - text-decoration: underline; -} diff --git a/compiled/alipay/demo/pages/NumberKeyboard/index.axml b/compiled/alipay/demo/pages/NumberKeyboard/index.axml deleted file mode 100644 index 557c0d0dc..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboard/index.axml +++ /dev/null @@ -1,124 +0,0 @@ - - - 默认键盘 - - 没有小数点 - - 带确认按钮 - - 带关闭箭头 - - 乱序键盘 - - - - 自定义标题 - - - 支付宝安全键盘 - - - 自定义确认按钮 - - - - - - - - - - - {{value8}} - - 0.00 - - - - - - - - - - - {{value9[index] || ''}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboard/index.js b/compiled/alipay/demo/pages/NumberKeyboard/index.js deleted file mode 100644 index ef2dff439..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboard/index.js +++ /dev/null @@ -1,64 +0,0 @@ -Page({ - data: { - visible: false, - visible1: false, - visible2: false, - visible3: false, - visible4: false, - visible5: false, - visible6: false, - visible7: false, - value8: '', - }, - // 默认键盘 - onTap() { - this.setData({ visible: !this.data.visible }); - }, - // 没有小数点 - onTap1() { - this.setData({ visible1: !this.data.visible1 }); - }, - // 带确认按钮 - onTap2() { - this.setData({ visible2: !this.data.visible2 }); - }, - // 带向下箭头 - onTap3() { - this.setData({ visible3: !this.data.visible3 }); - }, - // 乱序键盘 - onTap4() { - this.setData({ visible4: !this.data.visible4 }); - }, - // 带标题 - onTap5() { - this.setData({ visible5: !this.data.visible5 }); - }, - // 自定义标题 - onTap6() { - this.setData({ visible6: !this.data.visible6 }); - }, - // 自定义确认按钮 - onTap7() { - this.setData({ visible7: !this.data.visible7 }); - }, - onNumberFocus() { - this.setData({ visible8: true }); - }, - onChange8(e) { - this.setData({ value8: e ? parseFloat(e) : '' }); - }, - onClose8() { - this.setData({ visible8: false }); - }, - onCodeFocus9() { - this.setData({ visible9: true }); - }, - onChange9(e) { - this.setData({ value9: e }); - e.length === 4 && this.onClose9(); - }, - onClose9() { - this.setData({ visible9: false }); - }, -}); diff --git a/compiled/alipay/demo/pages/NumberKeyboard/index.json b/compiled/alipay/demo/pages/NumberKeyboard/index.json deleted file mode 100644 index 669a8adad..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboard/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "NumberKeyboard", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-number-keyboard": "../../../src/NumberKeyboard/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboard/index.less b/compiled/alipay/demo/pages/NumberKeyboard/index.less deleted file mode 100644 index ca167ae22..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboard/index.less +++ /dev/null @@ -1,122 +0,0 @@ -@import '../../../src/style/themes/theme-mode.less'; -page { - padding-bottom: 500px; -} -.number-keyboard-header { - border-top: 1px solid var(--color-background); - border-bottom: 1px solid var(--color-background); - line-height: 40px; - display: flex; - align-items: center; - justify-content: center; - background-color: var(--color-card); -} - -.number-keyboard-confirm { - width: 100%; - height: 100%; - background-color: var(--color-card); - color: #333; - font-size: 26px; - display: flex; - align-items: center; - justify-content: center; -} - -.number-input { - @keyframes number-input-cursor { - 0% { - opacity: 0; - } - - 50% { - opacity: 1; - } - - 100% { - opacity: 0; - } - } - - .number-content { - height: 24px; - display: flex; - align-items: center; - justify-content: flex-start; - width: calc(100% - 24px); - position: relative; - } - - .number-content-tip { - position: absolute; - left: 2px; - } - - .number-placeholder { - color: #e5e5e5; - } - - .number-light { - margin-left: 2px; - height: calc(100% - 4px); - width: 2px; - border-radius: 2px; - display: inline-block; - vertical-align: middle; - background: #1677ff; - animation: number-input-cursor 1s step-start infinite; - } -} - -.verify-code { - @keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } - } - - .number-code { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - width: 100%; - height: 24px; - } - - .number-code-view { - width: 40px; - height: 40px; - line-height: 40px; - font-size: 24px; - text-align: center; - border: 1px solid #e5e5e5; - border-radius: 4px; - margin-right: 12px; - } - - .number-code-view:last-child { - margin-right: 0; - } - - .number-code-tip { - height: calc(100% - 20px); - width: 2px; - border-radius: 2px; - display: inline-block; - background: #1677ff; - vertical-align: middle; - animation: number-input-cursor 1s step-start infinite; - } - - .number-code-border { - border: 1px solid #1677ff; - box-shadow: 0 0 2px 0 #1677ff; - } -} diff --git a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.axml b/compiled/alipay/demo/pages/NumberKeyboardAmount/index.axml deleted file mode 100644 index e42332018..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.axml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - {{value}} - - 0.00 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.js b/compiled/alipay/demo/pages/NumberKeyboardAmount/index.js deleted file mode 100644 index c0fd5c91b..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.js +++ /dev/null @@ -1,39 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - }, - onAmountFocus() { - this.setData({ visible: true }); - }, - onChange(e) { - // 第一位输入0,第二位输入1,直接展示1 - if (e[0] === '0' && e[1] && e[1] !== '.') { - this.setData({ value: e.slice(1, e.length) }); - return; - } - // 小数点补齐0. - if (e === '.') { - this.setData({ value: '0.' }); - return; - } - // 不允许多个小数点 - const onePoint = e && e[e.length - 1] === '.' && e.length - 1 !== e.indexOf('.'); - // 限制小数点后2位 - const precision2 = e && e.split('.').length > 1 && e.split('.')[1].length === 3; - if (onePoint || precision2) { - this.setData({ value: e.slice(0, e.length - 1) }); - return; - } - this.setData({ value: e }); - }, - onClose() { - // 失去焦点时如果末尾是小数点,自动去掉 - if (this.data.value[this.data.value.length - 1] === '.') { - this.setData({ - value: this.data.value.slice(0, this.data.value.length - 1), - }); - } - this.setData({ visible: false }); - }, -}); diff --git a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.json b/compiled/alipay/demo/pages/NumberKeyboardAmount/index.json deleted file mode 100644 index 552428d7d..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "NumberKeyboard", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "number-keyboard": "../../../src/NumberKeyboard/index", - "list-item": "../../../src/List/ListItem/index", - "list": "../../../src/List/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.less b/compiled/alipay/demo/pages/NumberKeyboardAmount/index.less deleted file mode 100644 index ceeb76353..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardAmount/index.less +++ /dev/null @@ -1,40 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -.number-content { - height: 24px; - display: flex; - align-items: center; - justify-content: flex-start; - width: calc(100% - 24px); - position: relative; -} - -.number-content-tip { - position: absolute; - left: 2px; -} - -.number-placeholder { - color: #e5e5e5; -} - -.number-light { - margin-left: 2px; - height: calc(100% - 4px); - width: 2px; - border-radius: 2px; - display: inline-block; - vertical-align: middle; - background: #1677ff; - animation: number-input-cursor 1s step-start infinite; -} diff --git a/compiled/alipay/demo/pages/NumberKeyboardCode/index.axml b/compiled/alipay/demo/pages/NumberKeyboardCode/index.axml deleted file mode 100644 index 691d9ba2b..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardCode/index.axml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - {{value[index] || ''}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboardCode/index.js b/compiled/alipay/demo/pages/NumberKeyboardCode/index.js deleted file mode 100644 index c28751aa7..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardCode/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - }, - onCodeFocus() { - this.setData({ visible: true }); - }, - onChange(e) { - this.setData({ value: e }); - e.length === 4 && this.onClose(); - }, - onClose() { - this.setData({ visible: false }); - }, -}); diff --git a/compiled/alipay/demo/pages/NumberKeyboardCode/index.json b/compiled/alipay/demo/pages/NumberKeyboardCode/index.json deleted file mode 100644 index 552428d7d..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardCode/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "NumberKeyboard", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "number-keyboard": "../../../src/NumberKeyboard/index", - "list-item": "../../../src/List/ListItem/index", - "list": "../../../src/List/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboardCode/index.less b/compiled/alipay/demo/pages/NumberKeyboardCode/index.less deleted file mode 100644 index adcd1ce86..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardCode/index.less +++ /dev/null @@ -1,50 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -.number-code { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - width: 100%; - height: 24px; -} - -.number-code-view { - width: 40px; - height: 40px; - line-height: 40px; - font-size: 24px; - text-align: center; - border: 1px solid #e5e5e5; - border-radius: 4px; - margin-right: 12px; -} - -.number-code-view:last-child { - margin-right: 0; -} - -.number-code-tip { - height: calc(100% - 20px); - width: 2px; - border-radius: 2px; - display: inline-block; - background: #1677ff; - vertical-align: middle; - animation: number-input-cursor 1s step-start infinite; -} - -.number-code-border { - border: 1px solid #1677ff; - box-shadow: 0 0 2px 0 #1677ff; -} diff --git a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.axml b/compiled/alipay/demo/pages/NumberKeyboardNumber/index.axml deleted file mode 100644 index f5104fc07..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.axml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - {{value}} - - 0.00 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.js b/compiled/alipay/demo/pages/NumberKeyboardNumber/index.js deleted file mode 100644 index 43bfe5da1..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.js +++ /dev/null @@ -1,15 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - }, - onNumberFocus() { - this.setData({ visible: true }); - }, - onChange(e) { - this.setData({ value: e ? parseFloat(e) : '' }); - }, - onClose() { - this.setData({ visible: false }); - }, -}); diff --git a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.json b/compiled/alipay/demo/pages/NumberKeyboardNumber/index.json deleted file mode 100644 index 552428d7d..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "NumberKeyboard", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "number-keyboard": "../../../src/NumberKeyboard/index", - "list-item": "../../../src/List/ListItem/index", - "list": "../../../src/List/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.less b/compiled/alipay/demo/pages/NumberKeyboardNumber/index.less deleted file mode 100644 index ceeb76353..000000000 --- a/compiled/alipay/demo/pages/NumberKeyboardNumber/index.less +++ /dev/null @@ -1,40 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -.number-content { - height: 24px; - display: flex; - align-items: center; - justify-content: flex-start; - width: calc(100% - 24px); - position: relative; -} - -.number-content-tip { - position: absolute; - left: 2px; -} - -.number-placeholder { - color: #e5e5e5; -} - -.number-light { - margin-left: 2px; - height: calc(100% - 4px); - width: 2px; - border-radius: 2px; - display: inline-block; - vertical-align: middle; - background: #1677ff; - animation: number-input-cursor 1s step-start infinite; -} diff --git a/compiled/alipay/demo/pages/PageContainer/index.axml b/compiled/alipay/demo/pages/PageContainer/index.axml deleted file mode 100644 index 28f7f4967..000000000 --- a/compiled/alipay/demo/pages/PageContainer/index.axml +++ /dev/null @@ -1,116 +0,0 @@ - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - - - 后台繁忙 - - - 顶部安全区 - - - 底部安全区 - - - 全局安全区 - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - - - 空内容 - - - 后台繁忙 - - - 自定义 - - - 正常 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/PageContainer/index.js b/compiled/alipay/demo/pages/PageContainer/index.js deleted file mode 100644 index 2d5d0abc3..000000000 --- a/compiled/alipay/demo/pages/PageContainer/index.js +++ /dev/null @@ -1,69 +0,0 @@ -Page({ - data: { - loading: true, - status: 'failed', - safeArea: 'both', - }, - onLoad() { - setTimeout(() => { - this.setData({ - loading: false, - }); - }, 1000); - }, - handleRefresh() { - my.reLaunch({ - url: 'index', - fail(e) { - console.log(e); - }, - }); - }, - handleSwitchToDisconnected() { - this.setData({ - status: 'disconnected', - title: '', - message: '', - image: '', - }); - }, - handleSwitchToEmpty() { - this.setData({ - status: 'empty', - title: '', - message: '', - image: '', - }); - }, - handleSwitchToBusy() { - this.setData({ - status: 'busy', - title: '', - message: '', - image: '', - }); - }, - handleSwitchToCustom() { - this.setData({ - loading: false, - status: '', - title: '自定义标题', - message: '自定义详情', - image: 'https://gw.alipayobjects.com/zos/antfincdn/ZHrcdLPrvN/empty.svg', - }); - }, - handleSwitchToNormal() { - this.setData({ - status: '', - title: '', - message: '', - image: '', - }); - }, - handleToggleSafeArea(e) { - const { position = '' } = e.target.dataset; - this.setData({ - safeArea: position, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/PageContainer/index.json b/compiled/alipay/demo/pages/PageContainer/index.json deleted file mode 100644 index 3d5bd21b3..000000000 --- a/compiled/alipay/demo/pages/PageContainer/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "titleBarColor": "#ffffff", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-page-container": "../../../src/PageContainer/index", - "ant-loading": "../../../src/Loading/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/PageContainer/index.less b/compiled/alipay/demo/pages/PageContainer/index.less deleted file mode 100644 index d676d2e39..000000000 --- a/compiled/alipay/demo/pages/PageContainer/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.content { - padding: 24rpx; -} diff --git a/compiled/alipay/demo/pages/Picker/city.js b/compiled/alipay/demo/pages/Picker/city.js deleted file mode 100644 index 4671c75bc..000000000 --- a/compiled/alipay/demo/pages/Picker/city.js +++ /dev/null @@ -1,1552 +0,0 @@ -export default [ - { - label: '北京', - children: [ - { - label: '北京', - value: '110', - }, - ], - value: '11', - }, - { - label: '河北', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - { - label: '秦皇岛', - value: '182', - }, - { - label: '邯郸', - value: '186', - }, - { - label: '邢台', - value: '185', - }, - { - label: '保定', - value: '187', - }, - { - label: '张家口', - value: '184', - }, - { - label: '承德', - value: '189', - }, - { - label: '廊坊', - value: '183', - }, - { - label: '沧州', - value: '180', - }, - { - label: '衡水', - value: '720', - }, - { - label: '雄安', - value: '782', - }, - ], - value: '18', - }, - { - label: '福建', - children: [ - { - label: '福州', - value: '380', - }, - { - label: '厦门', - value: '390', - }, - { - label: '泉州', - value: '480', - }, - { - label: '漳州', - value: '395', - }, - { - label: '宁德', - value: '386', - }, - { - label: '莆田', - value: '385', - }, - { - label: '南平', - value: '387', - }, - { - label: '三明', - value: '389', - }, - { - label: '龙岩', - value: '384', - }, - ], - value: '38', - }, - { - label: '江西', - children: [ - { - label: '南昌', - value: '750', - }, - { - label: '九江', - value: '755', - }, - { - label: '上饶', - value: '757', - }, - { - label: '抚州', - value: '759', - }, - { - label: '宜春', - value: '756', - }, - { - label: '吉安', - value: '751', - }, - { - label: '赣州', - value: '752', - }, - { - label: '景德镇', - value: '740', - }, - { - label: '萍乡', - value: '758', - }, - { - label: '新余', - value: '753', - }, - { - label: '鹰潭', - value: '754', - }, - ], - value: '75', - }, - { - label: '山东', - children: [ - { - label: '济南', - value: '170', - }, - { - label: '青岛', - value: '166', - }, - { - label: '淄博', - value: '150', - }, - { - label: '枣庄', - value: '157', - }, - { - label: '东营', - value: '156', - }, - { - label: '烟台', - value: '161', - }, - { - label: '潍坊', - value: '155', - }, - { - label: '济宁', - value: '158', - }, - { - label: '泰安', - value: '172', - }, - { - label: '威海', - value: '152', - }, - { - label: '日照', - value: '154', - }, - { - label: '莱芜', - value: '160', - }, - { - label: '临沂', - value: '153', - }, - { - label: '德州', - value: '173', - }, - { - label: '聊城', - value: '174', - }, - { - label: '滨州', - value: '151', - }, - { - label: '菏泽', - value: '159', - }, - ], - value: '17', - }, - { - label: '河南', - children: [ - { - label: '郑州', - value: '760', - }, - { - label: '洛阳', - value: '761', - }, - { - label: '开封', - value: '762', - }, - { - label: '焦作', - value: '763', - }, - { - label: '新乡', - value: '764', - }, - { - label: '许昌', - value: '765', - }, - { - label: '漯河', - value: '766', - }, - { - label: '安阳', - value: '767', - }, - { - label: '商丘', - value: '768', - }, - { - label: '平顶山', - value: '769', - }, - { - label: '周口', - value: '770', - }, - { - label: '驻马店', - value: '771', - }, - { - label: '三门峡', - value: '772', - }, - { - label: '濮阳', - value: '773', - }, - { - label: '鹤壁', - value: '774', - }, - { - label: '济源', - value: '775', - }, - { - label: '信阳', - value: '776', - }, - { - label: '南阳', - value: '777', - }, - ], - value: '76', - }, - { - label: '湖北', - children: [ - { - label: '武汉', - value: '710', - }, - { - label: '宜昌', - value: '711', - }, - { - label: '荆州', - value: '712', - }, - { - label: '黄冈', - value: '714', - }, - { - label: '黄石', - value: '715', - }, - { - label: '襄阳', - value: '716', - }, - { - label: '孝感', - value: '717', - }, - { - label: '鄂州', - value: '718', - }, - { - label: '咸宁', - value: '719', - }, - { - label: '十堰', - value: '721', - }, - { - label: '随州', - value: '723', - }, - { - label: '荆门', - value: '724', - }, - { - label: '仙桃/潜江/天门', - value: '713', - }, - { - label: '恩施', - value: '727', - }, - ], - value: '71', - }, - { - label: '湖南', - children: [ - { - label: '长沙', - value: '741', - }, - { - label: '衡阳', - value: '744', - }, - { - label: '株洲', - value: '742', - }, - { - label: '湘潭', - value: '743', - }, - { - label: '岳阳', - value: '745', - }, - { - label: '邵阳', - value: '792', - }, - { - label: '郴州', - value: '748', - }, - { - label: '常德', - value: '749', - }, - { - label: '益阳', - value: '747', - }, - { - label: '怀化', - value: '795', - }, - { - label: '永州', - value: '796', - }, - { - label: '娄底', - value: '791', - }, - { - label: '湘西', - value: '793', - }, - { - label: '张家界', - value: '794', - }, - ], - value: '74', - }, - { - label: '广东', - children: [ - { - label: '广州', - value: '510', - }, - { - label: '深圳', - value: '540', - }, - { - label: '东莞', - value: '580', - }, - { - label: '佛山', - value: '530', - }, - { - label: '惠州', - value: '570', - }, - { - label: '珠海', - value: '620', - }, - { - label: '中山', - value: '556', - }, - { - label: '江门', - value: '550', - }, - { - label: '汕头', - value: '560', - }, - { - label: '湛江', - value: '520', - }, - { - label: '揭阳', - value: '526', - }, - { - label: '肇庆', - value: '536', - }, - { - label: '清远', - value: '535', - }, - { - label: '韶关', - value: '558', - }, - { - label: '潮州', - value: '531', - }, - { - label: '茂名', - value: '568', - }, - { - label: '河源', - value: '670', - }, - { - label: '汕尾', - value: '525', - }, - { - label: '阳江', - value: '565', - }, - { - label: '梅州', - value: '528', - }, - { - label: '云浮', - value: '538', - }, - ], - value: '51', - }, - { - label: '广西', - children: [ - { - label: '南宁', - value: '591', - }, - { - label: '柳州', - value: '593', - }, - { - label: '桂林', - value: '592', - }, - { - label: '梧州', - value: '594', - }, - { - label: '玉林', - value: '595', - }, - { - label: '百色', - value: '596', - }, - { - label: '钦州', - value: '597', - }, - { - label: '河池', - value: '598', - }, - { - label: '北海', - value: '599', - }, - { - label: '防城港', - value: '590', - }, - { - label: '贵港', - value: '589', - }, - { - label: '贺州', - value: '588', - }, - { - label: '崇左', - value: '600', - }, - { - label: '来宾', - value: '601', - }, - ], - value: '59', - }, - { - label: '天津', - children: [ - { - label: '天津', - value: '130', - }, - ], - value: '13', - }, - { - label: '海南', - children: [ - { - label: '海口', - value: '501', - }, - ], - value: '50', - }, - { - label: '重庆', - children: [ - { - label: '重庆', - value: '831', - }, - ], - value: '83', - }, - { - label: '四川', - children: [ - { - label: '成都', - value: '810', - }, - { - label: '自贡', - value: '818', - }, - { - label: '雅安', - value: '811', - }, - { - label: '绵阳', - value: '824', - }, - { - label: '乐山', - value: '814', - }, - { - label: '德阳', - value: '825', - }, - { - label: '攀枝花', - value: '813', - }, - { - label: '宜宾', - value: '817', - }, - { - label: '阿坝', - value: '829', - }, - { - label: '内江', - value: '816', - }, - { - label: '眉山', - value: '819', - }, - { - label: '资阳', - value: '830', - }, - { - label: '泸州', - value: '815', - }, - { - label: '南充', - value: '822', - }, - { - label: '达州', - value: '820', - }, - { - label: '遂宁', - value: '821', - }, - { - label: '广元', - value: '826', - }, - { - label: '广安', - value: '823', - }, - { - label: '巴中', - value: '827', - }, - { - label: '凉山', - value: '812', - }, - { - label: '甘孜', - value: '828', - }, - ], - value: '81', - }, - { - label: '山西', - children: [ - { - label: '太原', - value: '190', - }, - { - label: '大同', - value: '193', - }, - { - label: '阳泉', - value: '192', - }, - { - label: '长治', - value: '195', - }, - { - label: '晋城', - value: '194', - }, - { - label: '朔州', - value: '199', - }, - { - label: '忻州', - value: '198', - }, - { - label: '晋中', - value: '191', - }, - { - label: '吕梁', - value: '200', - }, - { - label: '临汾', - value: '197', - }, - { - label: '运城', - value: '196', - }, - ], - value: '19', - }, - { - label: '贵州', - children: [ - { - label: '贵阳', - value: '850', - }, - { - label: '遵义', - value: '787', - }, - { - label: '安顺', - value: '789', - }, - { - label: '黔南', - value: '788', - }, - { - label: '黔东南', - value: '786', - }, - { - label: '铜仁', - value: '785', - }, - { - label: '毕节', - value: '851', - }, - { - label: '六盘水', - value: '853', - }, - { - label: '黔西南', - value: '852', - }, - ], - value: '85', - }, - { - label: '云南', - children: [ - { - label: '昆明', - value: '860', - }, - { - label: '德宏', - value: '730', - }, - { - label: '保山', - value: '731', - }, - { - label: '文山', - value: '732', - }, - { - label: '临沧', - value: '733', - }, - { - label: '怒江', - value: '734', - }, - { - label: '迪庆', - value: '735', - }, - { - label: '西双版纳', - value: '736', - }, - { - label: '红河', - value: '861', - }, - { - label: '大理', - value: '862', - }, - { - label: '丽江', - value: '863', - }, - { - label: '楚雄', - value: '864', - }, - { - label: '玉溪', - value: '865', - }, - { - label: '曲靖', - value: '866', - }, - { - label: '昭通', - value: '867', - }, - { - label: '普洱', - value: '869', - }, - ], - value: '86', - }, - { - label: '西藏', - children: [ - { - label: '拉萨', - value: '790', - }, - { - label: '日喀则', - value: '797', - }, - { - label: '山南', - value: '798', - }, - { - label: '林芝', - value: '799', - }, - { - label: '昌都', - value: '800', - }, - { - label: '那曲', - value: '801', - }, - { - label: '阿里', - value: '802', - }, - ], - value: '79', - }, - { - label: '陕西', - children: [ - { - label: '西安', - value: '841', - }, - { - label: '咸阳', - value: '844', - }, - { - label: '渭南', - value: '843', - }, - { - label: '宝鸡', - value: '840', - }, - { - label: '汉中', - value: '849', - }, - { - label: '延安', - value: '842', - }, - { - label: '榆林', - value: '845', - }, - { - label: '铜川', - value: '846', - }, - { - label: '安康', - value: '848', - }, - { - label: '商洛', - value: '847', - }, - ], - value: '84', - }, - { - label: '甘肃', - children: [ - { - label: '兰州', - value: '870', - }, - { - label: '酒泉', - value: '931', - }, - { - label: '庆阳', - value: '873', - }, - { - label: '天水', - value: '877', - }, - { - label: '武威', - value: '874', - }, - { - label: '临夏', - value: '878', - }, - { - label: '白银', - value: '879', - }, - { - label: '定西', - value: '871', - }, - { - label: '平凉', - value: '872', - }, - { - label: '陇南', - value: '960', - }, - { - label: '张掖', - value: '875', - }, - { - label: '嘉峪关', - value: '876', - }, - { - label: '金昌', - value: '930', - }, - { - label: '甘南', - value: '961', - }, - ], - value: '87', - }, - { - label: '青海', - children: [ - { - label: '西宁', - value: '700', - }, - { - label: '海东', - value: '701', - }, - { - label: '格尔木', - value: '702', - }, - { - label: '海西', - value: '704', - }, - { - label: '海北', - value: '706', - }, - { - label: '海南', - value: '705', - }, - { - label: '黄南', - value: '707', - }, - { - label: '果洛', - value: '708', - }, - { - label: '玉树', - value: '709', - }, - ], - value: '70', - }, - { - label: '宁夏', - children: [ - { - label: '银川', - value: '880', - }, - { - label: '石嘴山', - value: '884', - }, - { - label: '吴忠', - value: '883', - }, - { - label: '固原', - value: '885', - }, - { - label: '中卫', - value: '886', - }, - ], - value: '88', - }, - { - label: '新疆', - children: [ - { - label: '乌鲁木齐', - value: '890', - }, - { - label: '昌吉', - value: '891', - }, - { - label: '石河子', - value: '893', - }, - { - label: '奎屯', - value: '892', - }, - { - label: '塔城', - value: '952', - }, - { - label: '克拉玛依', - value: '899', - }, - { - label: '伊犁', - value: '898', - }, - { - label: '博乐', - value: '951', - }, - { - label: '阿勒泰', - value: '953', - }, - { - label: '吐鲁番', - value: '894', - }, - { - label: '哈密', - value: '900', - }, - { - label: '巴音郭楞', - value: '895', - }, - { - label: '阿克苏', - value: '896', - }, - { - label: '喀什', - value: '897', - }, - { - label: '和田', - value: '955', - }, - { - label: '克孜勒苏', - value: '954', - }, - ], - value: '89', - }, - { - label: '内蒙古', - children: [ - { - label: '呼和浩特', - value: '101', - }, - { - label: '包头', - value: '102', - }, - { - label: '乌海', - value: '106', - }, - { - label: '赤峰', - value: '107', - }, - { - label: '呼伦贝尔', - value: '108', - }, - { - label: '兴安盟', - value: '113', - }, - { - label: '通辽', - value: '109', - }, - { - label: '乌兰察布', - value: '103', - }, - { - label: '巴彦淖尔', - value: '105', - }, - { - label: '阿拉善盟', - value: '114', - }, - { - label: '鄂尔多斯', - value: '104', - }, - { - label: '锡林郭勒盟', - value: '111', - }, - ], - value: '10', - }, - { - label: '辽宁', - children: [ - { - label: '沈阳', - value: '910', - }, - { - label: '大连', - value: '940', - }, - { - label: '鞍山', - value: '912', - }, - { - label: '抚顺', - value: '913', - }, - { - label: '本溪', - value: '914', - }, - { - label: '丹东', - value: '915', - }, - { - label: '锦州', - value: '916', - }, - { - label: '营口', - value: '917', - }, - { - label: '阜新', - value: '918', - }, - { - label: '辽阳', - value: '919', - }, - { - label: '铁岭', - value: '911', - }, - { - label: '朝阳', - value: '920', - }, - { - label: '盘锦', - value: '921', - }, - { - label: '葫芦岛', - value: '922', - }, - ], - value: '91', - }, - { - label: '吉林', - children: [ - { - label: '长春', - value: '901', - }, - { - label: '吉林', - value: '902', - }, - { - label: '延边', - value: '909', - }, - { - label: '四平', - value: '903', - }, - { - label: '通化', - value: '905', - }, - { - label: '白城', - value: '907', - }, - { - label: '辽源', - value: '906', - }, - { - label: '松原', - value: '904', - }, - { - label: '白山', - value: '908', - }, - ], - value: '90', - }, - { - label: '黑龙江', - children: [ - { - label: '哈尔滨', - value: '971', - }, - { - label: '齐齐哈尔', - value: '973', - }, - { - label: '牡丹江', - value: '988', - }, - { - label: '佳木斯', - value: '976', - }, - { - label: '绥化', - value: '989', - }, - { - label: '大庆', - value: '981', - }, - { - label: '鸡西', - value: '991', - }, - { - label: '黑河', - value: '990', - }, - { - label: '伊春', - value: '996', - }, - { - label: '双鸭山', - value: '994', - }, - { - label: '鹤岗', - value: '993', - }, - { - label: '七台河', - value: '992', - }, - { - label: '大兴安岭', - value: '995', - }, - ], - value: '97', - }, - { - label: '上海', - children: [ - { - label: '上海', - value: '310', - }, - ], - value: '31', - }, - { - label: '江苏', - children: [ - { - label: '南京', - value: '340', - }, - { - label: '苏州', - value: '450', - }, - { - label: '无锡', - value: '330', - }, - { - label: '常州', - value: '440', - }, - { - label: '扬州', - value: '430', - }, - { - label: '镇江', - value: '343', - }, - { - label: '南通', - value: '358', - }, - { - label: '徐州', - value: '350', - }, - { - label: '泰州', - value: '445', - }, - { - label: '盐城', - value: '348', - }, - { - label: '淮安', - value: '354', - }, - { - label: '连云港', - value: '346', - }, - { - label: '宿迁', - value: '349', - }, - ], - value: '34', - }, - { - label: '浙江', - children: [ - { - label: '杭州', - value: '360', - }, - { - label: '宁波', - value: '370', - }, - { - label: '温州', - value: '470', - }, - { - label: '台州', - value: '476', - }, - { - label: '金华', - value: '367', - }, - { - label: '嘉兴', - value: '363', - }, - { - label: '绍兴', - value: '365', - }, - { - label: '湖州', - value: '362', - }, - { - label: '丽水', - value: '469', - }, - { - label: '衢州', - value: '468', - }, - { - label: '舟山', - value: '364', - }, - ], - value: '36', - }, - { - label: '安徽', - children: [ - { - label: '合肥', - value: '305', - }, - { - label: '安庆', - value: '302', - }, - { - label: '蚌埠', - value: '301', - }, - { - label: '亳州', - value: '318', - }, - { - label: '池州', - value: '317', - }, - { - label: '滁州', - value: '312', - }, - { - label: '阜阳', - value: '306', - }, - { - label: '淮北', - value: '314', - }, - { - label: '淮南', - value: '307', - }, - { - label: '黄山', - value: '316', - }, - { - label: '六安', - value: '304', - }, - { - label: '马鞍山', - value: '300', - }, - { - label: '宿州', - value: '313', - }, - { - label: '铜陵', - value: '308', - }, - { - label: '芜湖', - value: '303', - }, - { - label: '宣城', - value: '311', - }, - ], - value: '30', - }, -]; diff --git a/compiled/alipay/demo/pages/Picker/index.axml b/compiled/alipay/demo/pages/Picker/index.axml deleted file mode 100644 index f051e5600..000000000 --- a/compiled/alipay/demo/pages/Picker/index.axml +++ /dev/null @@ -1,203 +0,0 @@ - - - - - 选择城市 - - - - 选择城市(点击蒙层不关闭) - - - - - - 选择城市 - - 已选择:{{prop.value}} - - - - - 选择深圳 - - - 清空 - - - - - - 选择日期 - - - - - - 请选择时间 - - - - - - - 请选择时间 - - - - - 打开 Picker - - - - - - - 请选择省市 - - - - - - 请选择城市 - - - - - - 请选择城市 - - - - - 选择上海 - - - 清空 - - - - - - - 请选择省市 - - - - - 打开 CascaderPicker - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Picker/index.js b/compiled/alipay/demo/pages/Picker/index.js deleted file mode 100644 index f859317be..000000000 --- a/compiled/alipay/demo/pages/Picker/index.js +++ /dev/null @@ -1,143 +0,0 @@ -import cityList from './city'; -Page({ - data: { - pickerVisible: false, - defaultValue: '上海', - value: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - weekList: [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - columns: [ - [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - [ - { - label: '上午', - value: 'am', - }, - { - label: '下午', - value: 'pm', - }, - ], - ], - cityList, - cascaderValue: ['34', '330'], - cascaderVisible: false, - }, - handleDismiss(e) { - my.showToast({ - content: '取消操作,关闭 picker', - }); - console.log(e); - }, - handleClearControlled() { - this.setData({ - value: '', - }); - }, - handleChangeControlled() { - this.setData({ - value: '深圳', - }); - }, - handleControlledOk(value) { - this.setData({ - value, - }); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, - formatTime(value, column) { - return column.map((c) => c && c.label).join(''); - }, - handleOnOk(value, column) { - console.log('value', value, 'column', column); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleTriggerControlledPicker(visible, e) { - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - pickerVisible: visible, - }); - }, - handleOpenPicker() { - this.setData({ - pickerVisible: true, - }); - }, - // 以下是级联选择的方法 - handleCascaderPickerChange(cascaderValue, selectedOption, e) { - console.log('cityChange', cascaderValue, selectedOption, e); - }, - handleCascaderOnOk(cascaderValue, selectedOption, e) { - console.log('cityOk', cascaderValue, selectedOption, e); - }, - handleCascaderControlledOk(cascaderValue, selectedOption, e) { - this.setData({ cascaderValue: cascaderValue }); - console.log('cityOk', cascaderValue, selectedOption, e); - }, - handleCascaderChangeControlled() { - this.setData({ cascaderValue: ['31', '310'] }); - }, - handleCascaderClearControlled() { - this.setData({ cascaderValue: [] }); - }, - handleCascaderTriggerControlledPicker(visible, e) { - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - cascaderVisible: visible, - }); - }, - handleCascaderOpenPicker() { - this.setData({ - cascaderVisible: true, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Picker/index.json b/compiled/alipay/demo/pages/Picker/index.json deleted file mode 100644 index 77f415636..000000000 --- a/compiled/alipay/demo/pages/Picker/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "defaultTitle": "Picker", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-picker": "../../../src/Picker/index", - "ant-cascader-picker": "../../../src/Picker/CascaderPicker/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-list": "../../../src/List/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Picker/index.less b/compiled/alipay/demo/pages/Picker/index.less deleted file mode 100644 index 7edc1beae..000000000 --- a/compiled/alipay/demo/pages/Picker/index.less +++ /dev/null @@ -1,5 +0,0 @@ -.btn-wrapper { - text-align: center; - padding: 24rpx; -} - diff --git a/compiled/alipay/demo/pages/Popover/index.axml b/compiled/alipay/demo/pages/Popover/index.axml deleted file mode 100644 index fa9b898b6..000000000 --- a/compiled/alipay/demo/pages/Popover/index.axml +++ /dev/null @@ -1,164 +0,0 @@ - - - - - 点我 - - - - - - 点我 - - - - - 点我 - - - - - - - 自定义颜色 - - - - 左侧插槽 - - - - - 右侧插槽 - - - - - 白色背景 - - - - - - 查看说明 - - - - - - - - - - 点我 - {{item}} - - - {{item}} - - - - - - - - - 点我 - - - - - - - - 点击按钮修改visible - - - - change visible - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Popover/index.js b/compiled/alipay/demo/pages/Popover/index.js deleted file mode 100644 index c559a170f..000000000 --- a/compiled/alipay/demo/pages/Popover/index.js +++ /dev/null @@ -1,30 +0,0 @@ -Page({ - data: { - visible: true, - placements: [ - 'top', - 'bottom', - 'left', - 'right', - 'top-left', - 'top-right', - 'bottom-left', - 'bottom-right', - 'left-top', - 'left-bottom', - 'right-top', - 'right-bottom', - ], - }, - onVisibleChange(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleVisibleChange() { - this.setData({ - visible: !this.data.visible, - }); - }, - onTapAction() { - my.showToast({ content: '点击了行动点按钮' }); - }, -}); diff --git a/compiled/alipay/demo/pages/Popover/index.json b/compiled/alipay/demo/pages/Popover/index.json deleted file mode 100644 index 21b11bc65..000000000 --- a/compiled/alipay/demo/pages/Popover/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Popover", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-popover": "../../../src/Popover/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Popover/index.less b/compiled/alipay/demo/pages/Popover/index.less deleted file mode 100644 index 2d4a9c6dd..000000000 --- a/compiled/alipay/demo/pages/Popover/index.less +++ /dev/null @@ -1,34 +0,0 @@ -.custom { - display: flex; - flex-wrap: wrap; -} - -.content { - display: flex; - align-items: center; - justify-content: center; - min-width: 30px; -} - -.custom-child { - margin: 8px; -} - -.ant-popover-white { - .ant-popover-inner { - color: #000000; - } - .ant-icon { - color: #000000; - } -} - -.right-icon.ant-icon { - font-size: 48rpx; - margin-left: 24rpx; -} - -.left-icon.ant-icon { - font-size: 48rpx; - margin-right: 24rpx; -} diff --git a/compiled/alipay/demo/pages/PopoverList/index.axml b/compiled/alipay/demo/pages/PopoverList/index.axml deleted file mode 100644 index 8e20e7600..000000000 --- a/compiled/alipay/demo/pages/PopoverList/index.axml +++ /dev/null @@ -1,21 +0,0 @@ - - - 点我 - - - 气泡位置自适应 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/PopoverList/index.js b/compiled/alipay/demo/pages/PopoverList/index.js deleted file mode 100644 index 02147810d..000000000 --- a/compiled/alipay/demo/pages/PopoverList/index.js +++ /dev/null @@ -1,50 +0,0 @@ -Page({ - data: { - visible: true, - visible2: false, - list: [ - { - text: '扫一扫', - icon: 'ScanningOutline', - showBadge: true, - id: 'scan', - }, - { - text: '付钱/收钱', - icon: 'ReceivePaymentOutline', - showBadge: false, - id: 'pay', - }, - { - text: '乘车码', - icon: 'TransportQRcodeOutline', - showBadge: false, - id: 'code', - }, - { - text: '图片', - iconImage: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', - showBadge: false, - id: 'image', - }, - ], - }, - handleVisibleChange(visible, e) { - console.log(visible, e); - this.setData({ visible }); - }, - handleVisibleChange2(visible, e) { - console.log(visible, e); - this.setData({ visible2: visible }); - }, - handleTapItem(e, item) { - console.log(e, item); - this.setData({ visible: false }); - my.showToast({ content: '点击列表', duration: 1000 }); - }, - handleTapItem2(e, item) { - console.log(e, item); - this.setData({ visible2: false }); - my.showToast({ content: '点击列表', duration: 1000 }); - }, -}); diff --git a/compiled/alipay/demo/pages/PopoverList/index.json b/compiled/alipay/demo/pages/PopoverList/index.json deleted file mode 100644 index f654c9118..000000000 --- a/compiled/alipay/demo/pages/PopoverList/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "PopoverList", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-popover-list": "../../../src/PopoverList/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/PopoverList/index.less b/compiled/alipay/demo/pages/PopoverList/index.less deleted file mode 100644 index 44a0e6fbb..000000000 --- a/compiled/alipay/demo/pages/PopoverList/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.popover { - color: #000; -} diff --git a/compiled/alipay/demo/pages/Popup/index.axml b/compiled/alipay/demo/pages/Popup/index.axml deleted file mode 100644 index 800eb2cfd..000000000 --- a/compiled/alipay/demo/pages/Popup/index.axml +++ /dev/null @@ -1,189 +0,0 @@ - - - - 从屏幕滑出或弹出一块自定义内容区,用于展示弹窗、信息提示、选择输入、切换等内容。 - - - - - - 去开通 - 暂不开通 - - - - - - 去开通 - 暂不开通 - 可在其他地方查看 - - - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - exercitation consequat laboris ad. Quis ad enim fugiat. Aliqua reprehenderit - irure non esse consequat laborum ea ut minim ex ea cillum. Dolore dolore - proident laboris occaecat pariatur eu ad. Velit mollit aliqua do. Sunt enim - tempor deserunt nostrud ut et. Sunt ad sit eiusmod ipsum ad non in sit - veniam. Consectetur do id excepteur et aute. Commodo duis ea sit occaecat - nisi dolore aliquip laborum esse minim. Officia veniam deserunt id cupidatat - consectetur nisi cillum pariatur qui dolor veniam sit. Nostrud elit irure - cupidatat esse ad ipsum. Consectetur culpa et et enim mollit officia in elit - ipsum. Dolor et veniam labore excepteur magna magna in. Dolore voluptate - eiusmod et. Esse fugiat irure excepteur duis tempor minim. Officia enim - incididunt magna dolore exercitation occaecat et do et in duis deserunt - excepteur. Cupidatat magna officia commodo reprehenderit anim qui laborum - duis reprehenderit voluptate quis veniam. Consequat pariatur in magna Lorem - eiusmod cupidatat qui est Lorem tempor qui anim aliquip duis. Laborum - occaecat est laborum qui deserunt incididunt laborum cillum eu nostrud in - deserunt culpa mollit. Nisi reprehenderit non duis qui elit eu dolore - pariatur duis laboris exercitation minim nulla adipisicing et. Fugiat ad - commodo enim eiusmod sint aliquip Lorem. Reprehenderit cillum dolor deserunt - adipisicing commodo qui magna consectetur est ut Lorem sint. Cillum dolor - enim incididunt excepteur cupidatat mollit deserunt deserunt ullamco cillum - nostrud duis excepteur non. Excepteur sit consectetur ut laborum consequat - culpa aute id aute et. Eiusmod Lorem esse pariatur culpa officia minim eu - magna irure. Minim adipisicing quis excepteur irure est exercitation dolore - exercitation id tempor fugiat pariatur eu Lorem. Nostrud incididunt laboris - irure et aliqua reprehenderit anim enim occaecat aliqua. Nostrud adipisicing - nisi enim aliqua enim sint sunt ad qui irure amet aute. Quis esse cillum - commodo laboris adipisicing mollit cillum est amet velit cupidatat proident. - Voluptate adipisicing dolore consequat officia culpa in fugiat consectetur - velit. Minim ex aliqua proident irure. Aliquip magna reprehenderit laborum - elit proident culpa sint occaecat sunt sint adipisicing adipisicing anim. Eu - nisi anim in laboris voluptate. Sit ullamco adipisicing fugiat ad - adipisicing excepteur esse exercitation nostrud ipsum nostrud. Deserunt sunt - irure id mollit anim aliquip ullamco amet laborum nisi. Sit consequat - consequat ullamco voluptate do sit nisi quis laboris tempor amet mollit - sint. Incididunt mollit eu anim eiusmod ea cupidatat veniam aliquip. Tempor - ea elit amet ea. Et proident occaecat id. Sunt sunt cillum ut sunt ea - voluptate ea sit amet minim deserunt pariatur ullamco. Commodo nostrud - excepteur non id dolore minim anim anim tempor qui duis. Quis occaecat - pariatur reprehenderit anim reprehenderit cillum mollit aliqua sit anim - cillum ut. Enim eiusmod quis sit consequat consectetur. Reprehenderit ex - elit sit adipisicing dolor eiusmod occaecat duis culpa. Ex laboris - exercitation occaecat exercitation commodo proident esse. Tempor voluptate - mollit amet ex ea occaecat adipisicing. Minim quis voluptate labore - reprehenderit commodo. Pariatur ex sit aliquip minim ea sunt. Lorem et velit - veniam ut sunt deserunt mollit eu in nostrud tempor. Aliqua nisi duis duis - excepteur et quis quis proident do cillum dolor. Labore cupidatat eiusmod - voluptate cupidatat anim ad do pariatur sunt quis. Occaecat cillum eu non - enim dolor nulla aliqua minim amet tempor irure reprehenderit reprehenderit - laboris quis. Laboris ullamco excepteur ut fugiat sunt. Labore ex culpa - incididunt sint minim velit sunt non et laborum consectetur eu. Ullamco - magna dolore reprehenderit amet do. Nisi exercitation esse deserunt - exercitation deserunt ex eu ea cillum magna adipisicing. Incididunt - adipisicing aute voluptate deserunt fugiat nostrud nostrud. Id nostrud do - cupidatat quis ea sint anim duis labore proident minim excepteur dolor - proident elit. - - - - - 顶部弹出 - - - 底部弹出 - - - 左侧弹出 - - - 右侧弹出 - - 自定义弹框内容 并支持背景图 - 顶部图片 - 超长内容滚动 - - - - 开启过渡动画 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Popup/index.js b/compiled/alipay/demo/pages/Popup/index.js deleted file mode 100644 index 9268e232f..000000000 --- a/compiled/alipay/demo/pages/Popup/index.js +++ /dev/null @@ -1,43 +0,0 @@ -Page({ - data: { - position: '', - basicVisible: false, - animation: true, - scrollVisible: false, - customizeVisible: false, - topImageVisible: false, - }, - onClickBack() { - this.showToast('点击了返回icon'); - }, - handlePopupClose() { - this.setData({ - basicVisible: false, - scrollVisible: false, - customizeVisible: false, - topImageVisible: false, - }); - }, - handleShowBasic(e) { - const { position } = e.target.dataset; - this.setData({ - position, - basicVisible: true, - }); - }, - handleShowScroll() { - this.setData({ scrollVisible: true }); - }, - handleChangeAnimation(checked) { - this.setData({ animation: checked }); - }, - handleShowCustomize() { - this.setData({ customizeVisible: true }); - }, - handleShowTopImage() { - this.setData({ topImageVisible: true }); - }, - showToast(content) { - my.showToast({ content, duration: 1000 }); - }, -}); diff --git a/compiled/alipay/demo/pages/Popup/index.json b/compiled/alipay/demo/pages/Popup/index.json deleted file mode 100644 index 96b4d3d19..000000000 --- a/compiled/alipay/demo/pages/Popup/index.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "defaultTitle": "Popup", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-popup": "../../../src/Popup/index", - "container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index", - "list": "../../../src/List/index", - "list-item": "../../../src/List/ListItem/index", - "switch": "../../../src/Switch/index", - "ant-icon": "../../../src//Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Popup/index.less b/compiled/alipay/demo/pages/Popup/index.less deleted file mode 100644 index cff1ea76b..000000000 --- a/compiled/alipay/demo/pages/Popup/index.less +++ /dev/null @@ -1,34 +0,0 @@ -.list button { - margin-bottom: 8px; -} -.customize-top-image-popup { - .ant-popup-content { - background: none; - } - .ant-popup-transform-bottom { - padding-bottom: 0; - } -} -.customize-content { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: center; - padding: 140rpx 24rpx 0rpx 24rpx; - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); - &-image { - width: 666rpx; - } - &-image1 { - width: 702rpx; - margin-top: 100rpx; - } - &-text { - font-weight: 400; - font-size: 24rpx; - color: #999999; - text-align: center; - padding-top: 30rpx; - } -} diff --git a/compiled/alipay/demo/pages/Postscript/index.axml b/compiled/alipay/demo/pages/Postscript/index.axml deleted file mode 100644 index 5cb83ef1b..000000000 --- a/compiled/alipay/demo/pages/Postscript/index.axml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Postscript/index.js b/compiled/alipay/demo/pages/Postscript/index.js deleted file mode 100644 index 2ccaed5c6..000000000 --- a/compiled/alipay/demo/pages/Postscript/index.js +++ /dev/null @@ -1,45 +0,0 @@ -Page({ - data: { - content: '', - content2: '', - content3: '', - content4: '', - content5: '', - quickInputs: [ - '工资', '班费', '还款', '借款', '代购', '奖金', '生活费' - ], - quickInputs2: [ - '❤️ 钱转你了', '🧽 注意身体', '🍰 生日快乐', '🎁 礼物', '💰 红包', '💐 鲜花', '🎉 恭喜' - ] - }, - handleChange(value) { - this.setData({ - content: value - }); - console.log('handleChange', value); - }, - handleChange2(value) { - this.setData({ - content2: value - }); - console.log('handleChange2', value); - }, - handleChange3(value) { - this.setData({ - content3: value - }); - console.log('handleChange3', value); - }, - handleChange4(value) { - this.setData({ - content4: value - }); - console.log('handleChange4', value); - }, - handleChange5(value) { - this.setData({ - content5: value - }); - console.log('handleChange5', value); - } -}); diff --git a/compiled/alipay/demo/pages/Postscript/index.json b/compiled/alipay/demo/pages/Postscript/index.json deleted file mode 100644 index e20bbcc29..000000000 --- a/compiled/alipay/demo/pages/Postscript/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Postscript", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-postscript": "../../../src/Postscript/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Postscript/index.less b/compiled/alipay/demo/pages/Postscript/index.less deleted file mode 100644 index 103f0ab8d..000000000 --- a/compiled/alipay/demo/pages/Postscript/index.less +++ /dev/null @@ -1,8 +0,0 @@ -@import "../../../src/style/themes/color.less"; - -.custom-postscript { - .ant-postscript-quick-item { - background: rgba(0, 102, 204, 0.1); - color: #0066cc; - } -} diff --git a/compiled/alipay/demo/pages/Progress/index.axml b/compiled/alipay/demo/pages/Progress/index.axml deleted file mode 100644 index 728de3b90..000000000 --- a/compiled/alipay/demo/pages/Progress/index.axml +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - - - - Reduce - - - Increase - - - - - - - - - - - - - - - - - - - - - - - - - - - {{percent5}}GB - - - {{percent5}}步 - - - - - - - - - - - - {{percent2 / 100 * 200}}步 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Progress/index.js b/compiled/alipay/demo/pages/Progress/index.js deleted file mode 100644 index 849a9a3a2..000000000 --- a/compiled/alipay/demo/pages/Progress/index.js +++ /dev/null @@ -1,21 +0,0 @@ -Page({ - data: { - percent1: 10, - percent2: 60, - percent3: 60, - percent4: 60, - percent5: 60, - }, - handleIncrease() { - const newPercent = this.data.percent1 + 20; - this.setData({ - percent1: Math.max(Math.min(100, newPercent), 0), - }); - }, - handleReduce() { - const newPercent = this.data.percent1 - 20; - this.setData({ - percent1: Math.max(Math.min(100, newPercent), 0), - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Progress/index.json b/compiled/alipay/demo/pages/Progress/index.json deleted file mode 100644 index 2f57ed476..000000000 --- a/compiled/alipay/demo/pages/Progress/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "ProgressCircle", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "progress": "../../../src/Progress/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Progress/index.less b/compiled/alipay/demo/pages/Progress/index.less deleted file mode 100644 index b0608a422..000000000 --- a/compiled/alipay/demo/pages/Progress/index.less +++ /dev/null @@ -1,14 +0,0 @@ -.buttonwrapper { - display: flex; - justify-content: center; - padding-top: 20rpx; -} - -.line { - margin-top: 40rpx; - display: flex; - flex-direction: row; - width: 100%; - justify-content: space-evenly; - align-items: center; -} diff --git a/compiled/alipay/demo/pages/Radio/index.axml b/compiled/alipay/demo/pages/Radio/index.axml deleted file mode 100644 index 5c0cc0342..000000000 --- a/compiled/alipay/demo/pages/Radio/index.axml +++ /dev/null @@ -1,92 +0,0 @@ - - - - 基础用法 - - - 初始值 - - - 禁用按钮1 - - 禁用按钮2 - - - - - 自定义颜色 - - - - - 受控模式 - - - - - - 基础用法 - - - - 初始值 - - - - 横向布局 - - - - 禁用模式-所有禁用 - - - - 禁用模式-其中有的禁用 - - - - 受控模式 - - - - 自定义 - - - {{item.index + 1}} {{item.value.label}} - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Radio/index.js b/compiled/alipay/demo/pages/Radio/index.js deleted file mode 100644 index c28e38c70..000000000 --- a/compiled/alipay/demo/pages/Radio/index.js +++ /dev/null @@ -1,33 +0,0 @@ -Page({ - data: { - checked: false, - value: 'banana', - options: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'banana', label: '香蕉' }, - ], - optionsWithDisabled: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'watermelon', label: '西瓜', disabled: true }, - { value: 'banana', label: '香蕉' }, - ], - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(checked) { - this.setData({ - checked, - }); - }, - onRadioGroupChange(value, e) { - console.log(value, e); - }, - handleRadioGroupChange(value) { - this.setData({ - value, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Radio/index.json b/compiled/alipay/demo/pages/Radio/index.json deleted file mode 100644 index 72eea897a..000000000 --- a/compiled/alipay/demo/pages/Radio/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Radio", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-radio": "../../../src/Radio/index", - "ant-radio-group": "../../../src/Radio/RadioGroup/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Radio/index.less b/compiled/alipay/demo/pages/Radio/index.less deleted file mode 100644 index be125936c..000000000 --- a/compiled/alipay/demo/pages/Radio/index.less +++ /dev/null @@ -1,28 +0,0 @@ -.icon { - border: 1px solid #CCCCCC; - border-radius: 50vh; - width: 100%; - height: 100%; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; -} - -.checked { - background-color: red; - color: #fff; - font-size: 14px; -} - -.disabled { - opacity: 0.4; -} - -.line { - margin-top: 40rpx; -} -.title { - color: #999; -} - diff --git a/compiled/alipay/demo/pages/RareWordsKeyboard/index.axml b/compiled/alipay/demo/pages/RareWordsKeyboard/index.axml deleted file mode 100644 index 5c135c1f0..000000000 --- a/compiled/alipay/demo/pages/RareWordsKeyboard/index.axml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - 生僻字? - - - - 默认键盘 - - 不带蒙层 - - 监听输入完成、出错的回调 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/RareWordsKeyboard/index.js b/compiled/alipay/demo/pages/RareWordsKeyboard/index.js deleted file mode 100644 index 549fd8200..000000000 --- a/compiled/alipay/demo/pages/RareWordsKeyboard/index.js +++ /dev/null @@ -1,40 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - visible2: false, - visible3: false, - }, - onInputChange(value) { - this.setData({ value }); - }, - // 默认键盘 - onTap() { - this.setData({ visible: true }); - }, - // 关闭键盘 - onClose() { - this.setData({ visible: false }); - }, - // 不带蒙层 - onTap2() { - this.setData({ visible2: true }); - }, - onClose2() { - this.setData({ visible2: false }); - }, - // 监听各种事件 - onTap3() { - this.setData({ visible3: true }); - }, - onClose3() { - this.setData({ visible3: false }); - }, - onChange(value) { - const curValue = this.data.value; - this.setData({ value: curValue + value }); - }, - onKeyBoardError(err) { - my.showToast({ content: 'onError ' + err.toString() }); - }, -}); diff --git a/compiled/alipay/demo/pages/RareWordsKeyboard/index.json b/compiled/alipay/demo/pages/RareWordsKeyboard/index.json deleted file mode 100644 index 33d338d87..000000000 --- a/compiled/alipay/demo/pages/RareWordsKeyboard/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "RareWordsKeyboard", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-rare-words-keyboard": "../../../src/RareWordsKeyboard/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-input": "../../../src/Input/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/RareWordsKeyboard/index.less b/compiled/alipay/demo/pages/RareWordsKeyboard/index.less deleted file mode 100644 index df8eb81c2..000000000 --- a/compiled/alipay/demo/pages/RareWordsKeyboard/index.less +++ /dev/null @@ -1,12 +0,0 @@ -page { - font-family: PingFang SC, Helvetica Neue, rare-words-font; -} - -.tips { - color: #1677ff; - font-size: 13px; - - &:active { - color: #3086ff; - } -} diff --git a/compiled/alipay/demo/pages/Rate/index.axml b/compiled/alipay/demo/pages/Rate/index.axml deleted file mode 100644 index 2d6e1231a..000000000 --- a/compiled/alipay/demo/pages/Rate/index.axml +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - allowClear: true - - allowClear: false - - - - - - - - - - - - - - - - - - 无 onChange 函数 - - - - - - 8px - - 16px - - - - 30px - - 40px - - - - 基础 - - 渐变 - - - - - - 自定义为HeartFill - - - - 自定义为StarOutline - - - - 自定义为正 - - A - - 自定义为A - - - {{rate.index}} - - - 自定义为索引 - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Rate/index.js b/compiled/alipay/demo/pages/Rate/index.js deleted file mode 100644 index ffcbe6d5c..000000000 --- a/compiled/alipay/demo/pages/Rate/index.js +++ /dev/null @@ -1,14 +0,0 @@ -Page({ - data: { - value: 3, - }, - onChange(value) { - console.log(value); - }, - handleChange(value) { - console.log(value); - this.setData({ - value, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Rate/index.json b/compiled/alipay/demo/pages/Rate/index.json deleted file mode 100644 index e7c6f1a43..000000000 --- a/compiled/alipay/demo/pages/Rate/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "Rate", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-rate": "../../../src/Rate/index", - "ant-stepper": "../../../src/Stepper/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - }, - "allowsBounceVertical": "NO" -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Rate/index.less b/compiled/alipay/demo/pages/Rate/index.less deleted file mode 100644 index 4db73d556..000000000 --- a/compiled/alipay/demo/pages/Rate/index.less +++ /dev/null @@ -1,37 +0,0 @@ -.description { - margin: 4px 0 8px 0; - color: var(--color-text-primary); -} - -.star { - color: rgb(118, 118, 118); -} - -.star-active { - color: red; - -} - -.star-gradient { - background-image: linear-gradient( - to right, - rgb(151, 151, 151), - rgb(255, 255, 255) - ); - -webkit-background-clip: text; - - - color: transparent; -} - -.star-active-gradient { - background-image: linear-gradient(to right, orange, yellow); - -webkit-background-clip: text; - - - color: transparent; -} - -.character { - font-size: 40px; -} diff --git a/compiled/alipay/demo/pages/Result/index.axml b/compiled/alipay/demo/pages/Result/index.axml deleted file mode 100644 index c8c91d517..000000000 --- a/compiled/alipay/demo/pages/Result/index.axml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - 标题插槽 - 描述插槽 - - - - - - - - - 标题插槽 - 描述插槽 - - 其他模块 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Result/index.js b/compiled/alipay/demo/pages/Result/index.js deleted file mode 100644 index 8687ed457..000000000 --- a/compiled/alipay/demo/pages/Result/index.js +++ /dev/null @@ -1,19 +0,0 @@ -Page({ - data: { - buttons: [ - { - text: '主要操作', - type: 'primary', - }, - { - text: '辅助操作', - type: 'default', - }, - ], - }, - handleTabBtn(e) { - my.alert({ - content: `当前点击的是第 ${e + 1} 个按钮:${this.data.buttons[e].text}`, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Result/index.json b/compiled/alipay/demo/pages/Result/index.json deleted file mode 100644 index 9260f2cc8..000000000 --- a/compiled/alipay/demo/pages/Result/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Result", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "result": "../../../src/Result/index", - "button": "../../../src/Button/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Result/index.less b/compiled/alipay/demo/pages/Result/index.less deleted file mode 100644 index bf177dc55..000000000 --- a/compiled/alipay/demo/pages/Result/index.less +++ /dev/null @@ -1,14 +0,0 @@ -button { - margin-bottom: 12px; -} - -.extra { - background: #F0F3F7; - border-radius: 24rpx; - padding-top: 24rpx; - - display: flex; - justify-content: center; - align-items: center; - height: 375rpx; -} diff --git a/compiled/alipay/demo/pages/SafeArea/index.axml b/compiled/alipay/demo/pages/SafeArea/index.axml deleted file mode 100644 index a51ed1525..000000000 --- a/compiled/alipay/demo/pages/SafeArea/index.axml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - 内容_{{index}} - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SafeArea/index.js b/compiled/alipay/demo/pages/SafeArea/index.js deleted file mode 100644 index 47600922f..000000000 --- a/compiled/alipay/demo/pages/SafeArea/index.js +++ /dev/null @@ -1,5 +0,0 @@ -Page({ - data: { - arr: Array.from({ length: 100 }), - }, -}); diff --git a/compiled/alipay/demo/pages/SafeArea/index.json b/compiled/alipay/demo/pages/SafeArea/index.json deleted file mode 100644 index 1dcc30c14..000000000 --- a/compiled/alipay/demo/pages/SafeArea/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "SafeArea", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "safe-area": "../../../src/SafeArea/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SafeArea/index.less b/compiled/alipay/demo/pages/SafeArea/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/SelectContact/contact.js b/compiled/alipay/demo/pages/SelectContact/contact.js deleted file mode 100644 index 50435a5bb..000000000 --- a/compiled/alipay/demo/pages/SelectContact/contact.js +++ /dev/null @@ -1,91 +0,0 @@ -// 推荐联系人 -export const recommendUserInfos = [ - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T1ZmlwXkhdXXXXXXXX', - 'loginId': '138******28', - 'recommendTypeDesc': '转过账', - 'userId': '2088522664435537', - 'displayName': '**兵s', - 'archiveId': '12239c8131423831947419933e26ed198', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T1KLXBXdFXXXXXXXXX', - 'loginId': '180******74', - 'recommendTypeDesc': '好友', - 'userId': '2088422553945892', - 'displayName': '消散(**威)', - 'archiveId': '12239c8131423831947419973e26ed191', - }, - { - 'avatar': '', - 'loginId': '152******87', - 'recommendTypeDesc': '好友', - 'userId': '2088422747013123', - 'displayName': '**恒', - 'archiveId': '12239c8131423831247419973e26ed198', - }, - { - 'avatar': '', - 'displayName': 'kwxyjh(k*)', - 'hasPwd': false, - 'nick': '', - 'realName': 'k*', - 'certified': false, - 'recommendType': 'my_home#FORWARD', - 'userId': '2088402857154680', - 'archiveId': '12239c8131423831947419973e26ed198', - 'loginId': '132******37', - 'recommendTypeDesc': '我的家', - }, -]; -// 全部联系人 -export const contacts = [ - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T1hvVeXclrXXXXXXXX', - 'loginId': 'lyt***@163.com', - 'userId': '2088812025630308', - 'displayName': 'lytmac(*杨)', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '浴粼(**麟)', - 'userId': '2088102589482931', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '啊皮(皮*恒)', - 'userId': '2088102589482931', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '??????(枚*)', - 'userId': '2088102589482931', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '!!!!!!(*世恒)', - 'userId': '2088102589482931', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '消散(**威)', - 'userId': '2088102589482931', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '**兵', - 'userId': '2088102589482931', - }, - { - 'avatar': 'https://tfs.alipayobjects.com/images/partner/T18AxfXodfXXXXXXXX', - 'loginId': 'pan***@alipay.tech', - 'displayName': '**兵', - 'userId': '2088102589482931', - }, -]; diff --git a/compiled/alipay/demo/pages/SelectContact/index.axml b/compiled/alipay/demo/pages/SelectContact/index.axml deleted file mode 100644 index fa1060339..000000000 --- a/compiled/alipay/demo/pages/SelectContact/index.axml +++ /dev/null @@ -1,13 +0,0 @@ - - - - 列表为空 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SelectContact/index.js b/compiled/alipay/demo/pages/SelectContact/index.js deleted file mode 100644 index 8eda7c086..000000000 --- a/compiled/alipay/demo/pages/SelectContact/index.js +++ /dev/null @@ -1,25 +0,0 @@ -import { contacts, recommendUserInfos } from './contact'; -Page({ - data: { - recommendContactsList: recommendUserInfos, - allContactsList: contacts, - }, - onLoad: () => { - // Android 必须设置 canPullDown 为 false,否则滚动会有问题 - my.setCanPullDown({ - canPullDown: false, - }); - }, - onSelect: (user) => { - console.log('user', user); - my.confirm({ - content: JSON.stringify(user), - }); - }, - onDeleteRecommendUserError(error) { - console.error('onDeleteRecommendUserError', error); - }, - onDeleteRecommendUser(userInfo) { - console.log('onDeleteRecommendUser', userInfo); - }, -}); diff --git a/compiled/alipay/demo/pages/SelectContact/index.json b/compiled/alipay/demo/pages/SelectContact/index.json deleted file mode 100644 index 00808536a..000000000 --- a/compiled/alipay/demo/pages/SelectContact/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "SelectContact", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-select-contact": "../../../src/SelectContact/index", - "ant-container": "../../../src/Container/index" - }, - "allowsBounceVertical": "NO" -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SelectContact/index.less b/compiled/alipay/demo/pages/SelectContact/index.less deleted file mode 100644 index 466a78671..000000000 --- a/compiled/alipay/demo/pages/SelectContact/index.less +++ /dev/null @@ -1 +0,0 @@ -@import '../../../src/style/themes/color.less'; diff --git a/compiled/alipay/demo/pages/Selector/index.axml b/compiled/alipay/demo/pages/Selector/index.axml deleted file mode 100644 index b66b6650c..000000000 --- a/compiled/alipay/demo/pages/Selector/index.axml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - 改变选中值为选项三 - - - - - - - - - - - {{item.title}} - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Selector/index.js b/compiled/alipay/demo/pages/Selector/index.js deleted file mode 100644 index f87858116..000000000 --- a/compiled/alipay/demo/pages/Selector/index.js +++ /dev/null @@ -1,99 +0,0 @@ -Page({ - data: { - items1: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - { text: '选项四', value: '4' }, - { text: '选项五', value: '5' }, - { text: '选项六', value: '6' }, - ], - items2: [ - { text: '选项一', subText: '描述文案一', value: '1' }, - { text: '选项二', subText: '描述文案二', value: '2' }, - { text: '选项三', subText: '描述文案三', value: '3' }, - ], - items3: [ - { text: '选项一', subText: '描述文案一', value: '1' }, - { text: '选项二', subText: '描述文案二', value: '2', disabled: true }, - { text: '选项三', subText: '描述文案三', value: '3' }, - ], - value: '1', - currentOpen: -1, - items: [ - { - title: '筛选项一', - options: [ - { - text: '选项一', - value: '1', - }, - { - text: '选项二', - value: '2', - }, - { - text: '选项三', - value: '3', - }, - { - text: '选项四', - value: '4', - }, - { - text: '选项五', - value: '5', - }, - ], - }, - { - title: '筛选项二', - options: [ - { - text: '选项一', - value: '1', - }, - { - text: '选项二', - value: '2', - }, - { - text: '选项三', - value: '3', - }, - ], - }, - ], - }, - handleChangeValue() { - this.setData({ - value: '3', - }); - }, - handleChange(value, items, e) { - this.setData({ - value, - }); - console.log(value, items, e); - }, - onSelectMin(value, item) { - console.log(value, item); - my.alert({ content: '不允许清空' }); - }, - onSelectMax() { - my.alert({ content: '选择已达上限' }); - }, - handleSelectorFilterChange(value, items, e) { - console.log(value, items, e); - }, - onTapItem(e) { - console.log(e); - const { index } = e.currentTarget.dataset; - const { currentOpen } = this.data; - let value = index; - if (currentOpen === index) { - value = -1; - } - this.setData({ currentOpen: value }); - }, -}); diff --git a/compiled/alipay/demo/pages/Selector/index.json b/compiled/alipay/demo/pages/Selector/index.json deleted file mode 100644 index b63f89d24..000000000 --- a/compiled/alipay/demo/pages/Selector/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Selector", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-selector": "../../../src/Selector/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Selector/index.less b/compiled/alipay/demo/pages/Selector/index.less deleted file mode 100644 index b28f6d208..000000000 --- a/compiled/alipay/demo/pages/Selector/index.less +++ /dev/null @@ -1,55 +0,0 @@ -@import (reference) '../../../src/style/themes/index.less'; - -page { - height: 250vh; -} - -.filterDemo { - position: relative; - &-bar { - height: 88 * @rpx; - position: relative; - display: flex; - justify-content: space-between; - background-color: var(--color-card); - box-sizing: border-box; - &-item { - flex: 1; - display: flex; - align-items: center; - justify-content: center; - color: var(--color-text-primary); - font-size: 26 * @rpx; - &-active { - color: var(--color-brand1); - } - &-icon { - margin-left: @size-1; - font-size: 18 * @rpx; - transition: transform 200ms linear; - color: var(--color-text-weak); - &-up { - transform: rotate(180deg); - } - } - } - } - &-items { - position: relative; - overflow: visible; - z-index: 9999; - &-content { - background: var(--color-card); - position: absolute; - left: 0; - top: 0; - width: 100%; - transform-origin: top center; - transition: transform 100ms linear; - transform: scaleY(0); - &-active { - transform: scaleY(1); - } - } - } -} diff --git a/compiled/alipay/demo/pages/Skeleton/index.axml b/compiled/alipay/demo/pages/Skeleton/index.axml deleted file mode 100644 index e18d3a7ae..000000000 --- a/compiled/alipay/demo/pages/Skeleton/index.axml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - We supply a series of design principles, practical patterns and high - quality design resources, to help people create their product prototypes - beautifully and efficiently. - - - - - 显示骨架 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Skeleton/index.js b/compiled/alipay/demo/pages/Skeleton/index.js deleted file mode 100644 index 05c9b92bd..000000000 --- a/compiled/alipay/demo/pages/Skeleton/index.js +++ /dev/null @@ -1,11 +0,0 @@ -Page({ - data: { - showLoading: true, - paragraph: { - rows: 4, - }, - }, - handleToggleShowLoading() { - this.setData({ showLoading: !this.data.showLoading }); - }, -}); diff --git a/compiled/alipay/demo/pages/Skeleton/index.json b/compiled/alipay/demo/pages/Skeleton/index.json deleted file mode 100644 index 0ad098f24..000000000 --- a/compiled/alipay/demo/pages/Skeleton/index.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "defaultTitle": "Skeleton", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "avatar": "../../../src/Avatar/index", - "skeleton": "../../../src/Skeleton/index", - "switch": "../../../src/Switch/index", - "skeleton-avatar": "../../../src/Skeleton/Avatar/index", - "skeleton-title": "../../../src/Skeleton/Title/index", - "skeleton-button": "../../../src/Skeleton/Button/index", - "skeleton-paragraph": "../../../src/Skeleton/Paragraph/index", - "skeleton-input": "../../../src/Skeleton/Input/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Skeleton/index.less b/compiled/alipay/demo/pages/Skeleton/index.less deleted file mode 100644 index 3c0942a24..000000000 --- a/compiled/alipay/demo/pages/Skeleton/index.less +++ /dev/null @@ -1,25 +0,0 @@ -@import '../../../src/style/themes/color.less'; - -page { - padding: 24px; - -} - -.list { - display: flex; - flex-direction: column; -} - -.custom { - margin-bottom: 16px; -} - -.container { - display: flex; - color: @COLOR_TEXT_PRIMARY; - align-items: flex-start; -} - -.content { - padding: 12px 16px 0 16px; -} diff --git a/compiled/alipay/demo/pages/Slider/index.axml b/compiled/alipay/demo/pages/Slider/index.axml deleted file mode 100644 index 277d177bf..000000000 --- a/compiled/alipay/demo/pages/Slider/index.axml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{props.value}}°C - - {{props.value}}°C - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Slider/index.js b/compiled/alipay/demo/pages/Slider/index.js deleted file mode 100644 index f003a9265..000000000 --- a/compiled/alipay/demo/pages/Slider/index.js +++ /dev/null @@ -1,20 +0,0 @@ -Page({ - data: { - value: 80, - }, - onChange(value, e) { - console.log('slider changed:', value, e); - }, - onAfterChange(value, e) { - console.log('当前值:', value, e); - my.showToast({ - content: 'value: ' + value, - }); - }, - handleChange(value, e) { - console.log('slider changed:', value, e); - this.setData({ - value, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Slider/index.json b/compiled/alipay/demo/pages/Slider/index.json deleted file mode 100644 index 76f945f60..000000000 --- a/compiled/alipay/demo/pages/Slider/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Slider", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-slider": "../../../src/Slider/index", - "ant-icon": "../../../src/Icon/index", - "ant-stepper": "../../../src/Stepper/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Slider/index.less b/compiled/alipay/demo/pages/Slider/index.less deleted file mode 100644 index 825129597..000000000 --- a/compiled/alipay/demo/pages/Slider/index.less +++ /dev/null @@ -1,9 +0,0 @@ -.custom-slider-handler { - width: 56rpx; - height: 56rpx; - background: #FFFFFF; - box-shadow: 0 4rpx 10rpx 0 rgba(0, 0, 0, 0.12); - border-radius: 56rpx; - text-align: center; - line-height: 56rpx; -} diff --git a/compiled/alipay/demo/pages/Stepper/index.axml b/compiled/alipay/demo/pages/Stepper/index.axml deleted file mode 100644 index a1f1128e6..000000000 --- a/compiled/alipay/demo/pages/Stepper/index.axml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - value: {{value}} - - - add - - - minus - - - clear - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Stepper/index.js b/compiled/alipay/demo/pages/Stepper/index.js deleted file mode 100644 index ae42784e7..000000000 --- a/compiled/alipay/demo/pages/Stepper/index.js +++ /dev/null @@ -1,46 +0,0 @@ -Page({ - data: {}, - onChange(value) { - console.log('onChange', value); - }, - onFocus(value) { - console.log('onFocus', value); - }, - onConfirm(value) { - console.log('onConfirm', value); - }, - onBlur(value) { - console.log('onBlur', value); - }, - handleChange(value) { - console.log('onChange', value); - this.setData({ - value: value, - }); - }, - add() { - this.setData({ - value: (this.data.value || 0) + 1, - }); - }, - minus() { - this.setData({ - value: (this.data.value || 0) - 1, - }); - }, - clear() { - this.setData({ - value: null, - }); - }, - handleAddValue() { - this.setData({ value: this.data.value + 1 }); - }, - handleMinusValue() { - this.setData({ value: this.data.value - 1 }); - }, - handleDisabledTap(e) { - console.log('禁用点击:', e.target.dataset); - my.showToast({ content: '禁用点击' }); - }, -}); diff --git a/compiled/alipay/demo/pages/Stepper/index.json b/compiled/alipay/demo/pages/Stepper/index.json deleted file mode 100644 index eebc9ad95..000000000 --- a/compiled/alipay/demo/pages/Stepper/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Stepper", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "stepper": "../../../src/Stepper/index", - "container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Stepper/index.less b/compiled/alipay/demo/pages/Stepper/index.less deleted file mode 100644 index 4af57c645..000000000 --- a/compiled/alipay/demo/pages/Stepper/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.list button{ - margin-right: 8px; -} diff --git a/compiled/alipay/demo/pages/Steps/index.axml b/compiled/alipay/demo/pages/Steps/index.axml deleted file mode 100644 index c290048eb..000000000 --- a/compiled/alipay/demo/pages/Steps/index.axml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{item.index + 1}} - - - {{item.value.title}} - {{item.value.description}} - - - - - - - 下一步 - 完成 - - - 上一步 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Steps/index.js b/compiled/alipay/demo/pages/Steps/index.js deleted file mode 100644 index f0e506fd7..000000000 --- a/compiled/alipay/demo/pages/Steps/index.js +++ /dev/null @@ -1,55 +0,0 @@ -Page({ - data: { - current: 0, - items: [ - { - title: '步骤一', - description: '描述信息', - }, - { - title: '步骤二', - description: '描述信息', - }, - { - title: '步骤三', - description: '描述信息', - }, - ], - iconList: ['SmileFill', '', 'StarFill'], - items2: [ - { - title: '步骤一', - description: '内容详情,根据实际文案安排根据实际文案安排', - }, - { - title: '步骤二', - description: '描述信息', - }, - { - title: '步骤三', - description: '', - }, - { - title: '步骤四', - description: '内容详情,根据实际文案安排', - }, - ], - }, - onNextTap() { - if (this.data.current === this.data.items.length - 1) { - my.showToast({ content: '完成', duration: 1000 }); - return; - } - this.setData({ - current: this.data.current + 1, - }); - }, - onPrevTap() { - if (this.data.current === 0) { - return; - } - this.setData({ - current: this.data.current - 1, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Steps/index.json b/compiled/alipay/demo/pages/Steps/index.json deleted file mode 100644 index 18213f93d..000000000 --- a/compiled/alipay/demo/pages/Steps/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Steps", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-steps": "../../../src/Steps/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Steps/index.less b/compiled/alipay/demo/pages/Steps/index.less deleted file mode 100644 index 56d5205c0..000000000 --- a/compiled/alipay/demo/pages/Steps/index.less +++ /dev/null @@ -1,3 +0,0 @@ -button { - margin: 8px; -} diff --git a/compiled/alipay/demo/pages/Sticky/index.axml b/compiled/alipay/demo/pages/Sticky/index.axml deleted file mode 100644 index 3b693489e..000000000 --- a/compiled/alipay/demo/pages/Sticky/index.axml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - 我会吸顶 - - - - - - - 我会吸顶在距离顶部 200px 的地方 - - - - - - - - 我会吸顶在距离顶部 300px 的地方 - 是否吸上了 {{stickyStatus}} - - - - - - - 我会吸顶 - 是否吸上了 {{stickyStatus1}} - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Sticky/index.js b/compiled/alipay/demo/pages/Sticky/index.js deleted file mode 100644 index bba1972aa..000000000 --- a/compiled/alipay/demo/pages/Sticky/index.js +++ /dev/null @@ -1,12 +0,0 @@ -Page({ - data: { - stickyStatus: false, - stickyStatus1: false, - }, - handleStickyChange(status) { - this.setData({ stickyStatus: status }); - }, - handleStickyChange1(status) { - this.setData({ stickyStatus1: status }); - }, -}); diff --git a/compiled/alipay/demo/pages/Sticky/index.json b/compiled/alipay/demo/pages/Sticky/index.json deleted file mode 100644 index 8419fc4bb..000000000 --- a/compiled/alipay/demo/pages/Sticky/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Sticky", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-sticky": "../../../src/Sticky/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Sticky/index.less b/compiled/alipay/demo/pages/Sticky/index.less deleted file mode 100644 index ead3b2656..000000000 --- a/compiled/alipay/demo/pages/Sticky/index.less +++ /dev/null @@ -1,7 +0,0 @@ -#__react-content { - overflow: unset !important; -} - -.ant-container-content { - min-height: 200px; -} diff --git a/compiled/alipay/demo/pages/SwipeAction/index.axml b/compiled/alipay/demo/pages/SwipeAction/index.axml deleted file mode 100644 index e5e8d1dee..000000000 --- a/compiled/alipay/demo/pages/SwipeAction/index.axml +++ /dev/null @@ -1,287 +0,0 @@ - - - - - 基础用法 - - - - 右侧-三个按钮 - - - - - - - - 按钮在左侧 - - - - 左侧-三个按钮 - - - - - - - - 调整按钮数量,最多为3个 - - - - - 右侧-{{index + 1 > 3 ? 3 : index + 1}}个按钮 - - - - - - - - - 去除松开手之后的滑动回弹效果 - - - - 右侧-三个按钮 - - - - - - - - 滑动速度变慢 - - - - 右侧-三个按钮 - - - - - - - - 删除按钮点击二次确认 - - - - 右侧-三个按钮 - - - - - - - - 删除按钮滑动到最大距离触发二次确认 - - - - 右侧-三个按钮 - - - - - - - - 左右两侧都有按钮 - - - - 三个按钮 - - - - - - - - 自定义按钮 - - - - 左右自定义按钮 - - - - 删除 - - - - 确认删除吗? - - - - 重命名 - - - - 确认修改吗? - - - - 重命名 - - - - 确认修改吗? - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeAction/index.js b/compiled/alipay/demo/pages/SwipeAction/index.js deleted file mode 100644 index 44fa0a1f1..000000000 --- a/compiled/alipay/demo/pages/SwipeAction/index.js +++ /dev/null @@ -1,93 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '取消关注', - bgColor: '#CCCCCC', - color: '#fff', - width: 200, - }, - { - text: '免打扰', - bgColor: '#1677FF', - color: '#fff', - width: 170, - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - width: 140, - }, - ], - leftBtns: [ - { - text: '往来记录', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '设为常用', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - rightBtnsWithConfirm: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'tap', - confirmText: '确认删除吗?', - }, - ], - rightBtnsWithMove: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'move', - confirmText: '确认删除吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeAction/index.json b/compiled/alipay/demo/pages/SwipeAction/index.json deleted file mode 100644 index fc4294a13..000000000 --- a/compiled/alipay/demo/pages/SwipeAction/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeAction/index.less b/compiled/alipay/demo/pages/SwipeAction/index.less deleted file mode 100644 index f36cd4762..000000000 --- a/compiled/alipay/demo/pages/SwipeAction/index.less +++ /dev/null @@ -1,60 +0,0 @@ -@import '../../../src/style/themes/color.less'; -@import '../../../src/style/themes/index.less'; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: var(--color-background); - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: var(--color-text-assist); - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: var(--color-card); - text-indent: 1em; - position: relative; - height: 100%; - color: var(--color-text-primary); - &::after { - content: ''; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: var(--color-border); - } - } - } - } -} - -.t-swipe-item-con-btn { - display: flex; - justify-content: center; - align-items: center; -} -.t-swipe-item-con-btn-icon { - font-size: 32px; -} - -.left-slot { - display: flex; - align-items: center; - justify-content: center; - width: 100%; -} diff --git a/compiled/alipay/demo/pages/SwipeAction/slice.sjs b/compiled/alipay/demo/pages/SwipeAction/slice.sjs deleted file mode 100644 index 3f7ef4a8a..000000000 --- a/compiled/alipay/demo/pages/SwipeAction/slice.sjs +++ /dev/null @@ -1,6 +0,0 @@ -function sliceButton(rightBtns, index) { - return rightBtns.slice(0, index + 1); -} -export default { - sliceButton: sliceButton -}; \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionAnimation/index.axml b/compiled/alipay/demo/pages/SwipeActionAnimation/index.axml deleted file mode 100644 index 9bec44611..000000000 --- a/compiled/alipay/demo/pages/SwipeActionAnimation/index.axml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 去除松开手之后的滑动回弹效果 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionAnimation/index.js b/compiled/alipay/demo/pages/SwipeActionAnimation/index.js deleted file mode 100644 index e8765dc37..000000000 --- a/compiled/alipay/demo/pages/SwipeActionAnimation/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionAnimation/index.json b/compiled/alipay/demo/pages/SwipeActionAnimation/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionAnimation/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionAnimation/index.less b/compiled/alipay/demo/pages/SwipeActionAnimation/index.less deleted file mode 100644 index 0d96b751d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionAnimation/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionLeft/index.axml b/compiled/alipay/demo/pages/SwipeActionLeft/index.axml deleted file mode 100644 index 1f0b8d3e8..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeft/index.axml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 按钮在左侧 - - - - 左侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionLeft/index.js b/compiled/alipay/demo/pages/SwipeActionLeft/index.js deleted file mode 100644 index ccede14c8..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeft/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - leftBtns: [ - { - text: '往来记录', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '设为常用', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionLeft/index.json b/compiled/alipay/demo/pages/SwipeActionLeft/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeft/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionLeft/index.less b/compiled/alipay/demo/pages/SwipeActionLeft/index.less deleted file mode 100644 index 0d96b751d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeft/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.axml b/compiled/alipay/demo/pages/SwipeActionLeftRight/index.axml deleted file mode 100644 index 9aa8ea477..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.axml +++ /dev/null @@ -1,26 +0,0 @@ - - - - 左右两侧都有按钮 - - - - 三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.js b/compiled/alipay/demo/pages/SwipeActionLeftRight/index.js deleted file mode 100644 index 988ffaaec..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '往来记录', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '设为常用', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.json b/compiled/alipay/demo/pages/SwipeActionLeftRight/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.less b/compiled/alipay/demo/pages/SwipeActionLeftRight/index.less deleted file mode 100644 index 0d96b751d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionLeftRight/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionMove/index.axml b/compiled/alipay/demo/pages/SwipeActionMove/index.axml deleted file mode 100644 index 33ea5295d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionMove/index.axml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 删除按钮滑动到最大距离触发二次确认 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionMove/index.js b/compiled/alipay/demo/pages/SwipeActionMove/index.js deleted file mode 100644 index e18f981a7..000000000 --- a/compiled/alipay/demo/pages/SwipeActionMove/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'move', - confirmText: '确认删除吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionMove/index.json b/compiled/alipay/demo/pages/SwipeActionMove/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionMove/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionMove/index.less b/compiled/alipay/demo/pages/SwipeActionMove/index.less deleted file mode 100644 index 0d96b751d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionMove/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionNumber/index.axml b/compiled/alipay/demo/pages/SwipeActionNumber/index.axml deleted file mode 100644 index 0ea4ec44d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionNumber/index.axml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - 调整按钮数量,最多为3个 - - - - - 右侧-{{index + 1 > 3 ? 3 : index + 1}}个按钮 - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionNumber/index.js b/compiled/alipay/demo/pages/SwipeActionNumber/index.js deleted file mode 100644 index e8765dc37..000000000 --- a/compiled/alipay/demo/pages/SwipeActionNumber/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionNumber/index.json b/compiled/alipay/demo/pages/SwipeActionNumber/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionNumber/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionNumber/index.less b/compiled/alipay/demo/pages/SwipeActionNumber/index.less deleted file mode 100644 index 0d96b751d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionNumber/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionNumber/slice.sjs b/compiled/alipay/demo/pages/SwipeActionNumber/slice.sjs deleted file mode 100644 index 3f7ef4a8a..000000000 --- a/compiled/alipay/demo/pages/SwipeActionNumber/slice.sjs +++ /dev/null @@ -1,6 +0,0 @@ -function sliceButton(rightBtns, index) { - return rightBtns.slice(0, index + 1); -} -export default { - sliceButton: sliceButton -}; \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionSlot/index.axml b/compiled/alipay/demo/pages/SwipeActionSlot/index.axml deleted file mode 100644 index ca5758c16..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSlot/index.axml +++ /dev/null @@ -1,87 +0,0 @@ - - - - 自定义按钮 - - - - 左右自定义按钮 - - - - 删除 - - - - 确认删除吗? - - - - 重命名 - - - - 确认修改吗? - - - - 重命名 - - - - 确认修改吗? - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionSlot/index.js b/compiled/alipay/demo/pages/SwipeActionSlot/index.js deleted file mode 100644 index f0628bdec..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSlot/index.js +++ /dev/null @@ -1,57 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: 'No Slot', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '重命名', - bgColor: '#FFA91B', - color: '#fff', - slotName: 'reName', - confirmType: 'tap', - confirmText: '确认修改吗?', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - slotName: 'delete', - confirmType: 'tap', - confirmText: '确认删除吗?', - }, - ], - leftBtns: [ - { - text: 'No Slot', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '重命名', - bgColor: '#FFA91B', - color: '#fff', - width: 300, - slotName: 'reName-left', - confirmType: 'tap', - confirmText: '确认修改吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionSlot/index.json b/compiled/alipay/demo/pages/SwipeActionSlot/index.json deleted file mode 100644 index 708a198f7..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSlot/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "Swipe-Action-Slot", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionSlot/index.less b/compiled/alipay/demo/pages/SwipeActionSlot/index.less deleted file mode 100644 index b101da5a9..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSlot/index.less +++ /dev/null @@ -1,65 +0,0 @@ -@import '../../../src/style/themes/index.less'; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - - &::after { - content: ''; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - - &-btn { - display: flex; - justify-content: center; - align-items: center; - - &-icon { - font-size: 32px; - } - } - } - } -} - -.left-slot { - display: flex; - align-items: center; - justify-content: center; - width: 100%; -} diff --git a/compiled/alipay/demo/pages/SwipeActionSpeed/index.axml b/compiled/alipay/demo/pages/SwipeActionSpeed/index.axml deleted file mode 100644 index 5a0c7e67a..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSpeed/index.axml +++ /dev/null @@ -1,26 +0,0 @@ - - - - 滑动速度变慢 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionSpeed/index.js b/compiled/alipay/demo/pages/SwipeActionSpeed/index.js deleted file mode 100644 index e8765dc37..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSpeed/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionSpeed/index.json b/compiled/alipay/demo/pages/SwipeActionSpeed/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSpeed/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionSpeed/index.less b/compiled/alipay/demo/pages/SwipeActionSpeed/index.less deleted file mode 100644 index 0d96b751d..000000000 --- a/compiled/alipay/demo/pages/SwipeActionSpeed/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionTap/index.axml b/compiled/alipay/demo/pages/SwipeActionTap/index.axml deleted file mode 100644 index 1c9061971..000000000 --- a/compiled/alipay/demo/pages/SwipeActionTap/index.axml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 删除按钮点击二次确认 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionTap/index.js b/compiled/alipay/demo/pages/SwipeActionTap/index.js deleted file mode 100644 index 794cb3fb0..000000000 --- a/compiled/alipay/demo/pages/SwipeActionTap/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'tap', - confirmText: '确认删除吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionTap/index.json b/compiled/alipay/demo/pages/SwipeActionTap/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionTap/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionTap/index.less b/compiled/alipay/demo/pages/SwipeActionTap/index.less deleted file mode 100644 index 37940cae2..000000000 --- a/compiled/alipay/demo/pages/SwipeActionTap/index.less +++ /dev/null @@ -1,45 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - height: 130 * @rpx; - line-height: 130 * @rpx; - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/SwipeActionWidth/index.axml b/compiled/alipay/demo/pages/SwipeActionWidth/index.axml deleted file mode 100644 index 6057b2389..000000000 --- a/compiled/alipay/demo/pages/SwipeActionWidth/index.axml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 自定义按钮宽度 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionWidth/index.js b/compiled/alipay/demo/pages/SwipeActionWidth/index.js deleted file mode 100644 index 22d3e2368..000000000 --- a/compiled/alipay/demo/pages/SwipeActionWidth/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - width: 170, - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - width: 170, - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args2; - data = args1; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/alipay/demo/pages/SwipeActionWidth/index.json b/compiled/alipay/demo/pages/SwipeActionWidth/index.json deleted file mode 100644 index 7533bda55..000000000 --- a/compiled/alipay/demo/pages/SwipeActionWidth/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Swipe-Action", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/SwipeActionWidth/index.less b/compiled/alipay/demo/pages/SwipeActionWidth/index.less deleted file mode 100644 index 37940cae2..000000000 --- a/compiled/alipay/demo/pages/SwipeActionWidth/index.less +++ /dev/null @@ -1,45 +0,0 @@ -@import "../../../src/style/themes/index.less"; - -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: @COLOR_BACKGROUND; - &-item { - height: 130 * @rpx; - line-height: 130 * @rpx; - font-size: 32 * @rpx; - color: @COLOR_TEXT_PRIMARY; - &-title { - width: 100%; - height: 90 * @rpx; - line-height: 100 * @rpx; - font-size: 28 * @rpx; - color: @COLOR_TEXT_ASSIST_DEFAULT; - text-indent: 1em; - } - &-con { - height: 130 * @rpx; - line-height: 130 * @rpx; - width: 100%; - &-view { - background-color: @COLOR_CARD; - text-indent: 1em; - position: relative; - height: 100%; - color: @COLOR_TEXT_PRIMARY; - &::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: @COLOR_BORDER; - } - } - } - } -} diff --git a/compiled/alipay/demo/pages/Switch/index.axml b/compiled/alipay/demo/pages/Switch/index.axml deleted file mode 100644 index b115270d7..000000000 --- a/compiled/alipay/demo/pages/Switch/index.axml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - medium: - - - - small: - - - - x-small: - - - - - - - 切换 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Switch/index.js b/compiled/alipay/demo/pages/Switch/index.js deleted file mode 100644 index 983211d64..000000000 --- a/compiled/alipay/demo/pages/Switch/index.js +++ /dev/null @@ -1,19 +0,0 @@ -Page({ - data: { - checked: true, - }, - onChange(checked, e) { - console.log(checked); - }, - handleChange(checked, e) { - this.setData({ - checked, - }); - }, - handleChangeByButton() { - console.log(this.data.checked); - this.setData({ - checked: !this.data.checked, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Switch/index.json b/compiled/alipay/demo/pages/Switch/index.json deleted file mode 100644 index 3ef256c12..000000000 --- a/compiled/alipay/demo/pages/Switch/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "Switch", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-switch": "../../../src/Switch/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Switch/index.less b/compiled/alipay/demo/pages/Switch/index.less deleted file mode 100644 index ae9fed1ad..000000000 --- a/compiled/alipay/demo/pages/Switch/index.less +++ /dev/null @@ -1,10 +0,0 @@ -@import "../../../src/style/themes/color.less"; -.line { - display: flex; - align-items: center; - padding: 12rpx 0; -} -.line > view:nth-of-type(1) { - flex-basis: 80px; - color: @COLOR_TEXT_PRIMARY; -} diff --git a/compiled/alipay/demo/pages/TabBar/index.axml b/compiled/alipay/demo/pages/TabBar/index.axml deleted file mode 100644 index 4d405164d..000000000 --- a/compiled/alipay/demo/pages/TabBar/index.axml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/TabBar/index.js b/compiled/alipay/demo/pages/TabBar/index.js deleted file mode 100644 index 64d46614b..000000000 --- a/compiled/alipay/demo/pages/TabBar/index.js +++ /dev/null @@ -1,76 +0,0 @@ -Page({ - data: { - tabs: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - ], - tabsBadge: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - badge: {}, - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - badge: { type: 'number', text: 9999 }, - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - ], - tabsCount6: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - ], - current: 0, - }, - handleChange(index) { - this.setData({ current: index }); - }, -}); diff --git a/compiled/alipay/demo/pages/TabBar/index.json b/compiled/alipay/demo/pages/TabBar/index.json deleted file mode 100644 index b8588b706..000000000 --- a/compiled/alipay/demo/pages/TabBar/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "TabBar", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "container": "../../../src/Container/index", - "tab-bar": "../../../src/TabBar/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/TabBar/index.less b/compiled/alipay/demo/pages/TabBar/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/demo/pages/Table/index.axml b/compiled/alipay/demo/pages/Table/index.axml deleted file mode 100644 index 4de9f7812..000000000 --- a/compiled/alipay/demo/pages/Table/index.axml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - {{columns.length - props.row.index}} - - - {{props.item.value}}{{props.item.rowsData.key}} - - - - {{props.item.value}} - {{props.item.rowsData.extra}} - - - - {{props.item.value}} - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Table/index.js b/compiled/alipay/demo/pages/Table/index.js deleted file mode 100644 index 4c7c31f23..000000000 --- a/compiled/alipay/demo/pages/Table/index.js +++ /dev/null @@ -1,119 +0,0 @@ -const nameArr = [ - '小明', - '小何', - '小花', - '小美', - '小白', - '小黑', - '小帅', - '阿伟', -]; -const sexArr = ['男', '女']; -const ageArr = ['40', '18', '32', '20', '33', '48', '28', '38']; -const favoriteArr = ['羽毛球', '乒乓球', '篮球', '桌球']; -const addressArr = ['北京', '上海', '浙江', '广州']; -function getRandomNumber(n) { - return Math.floor(Math.random() * n); -} -Page({ - data: { - dataSource: Array.from({ length: 7 }).map((v, i) => ({ - key: i, - name: nameArr[i], - sex: sexArr[getRandomNumber(sexArr.length)], - age: ageArr[i], - extra: '测试', - favorite: favoriteArr[getRandomNumber(favoriteArr.length)], - address: addressArr[getRandomNumber(addressArr.length)], - order: i, - })), - columns: [ - { - title: '序号', - dataIndex: 'order', - key: 'order', - width: 150, - fixed: true, - }, - { - title: '姓名', - dataIndex: 'name', - key: 'name', - width: 150, - fixed: true, - }, - { - title: '年龄', - dataIndex: 'age', - key: 'age', - textAlignRight: true, - width: 150, - sorter: true, - // 自定义排序 - // onSort: async (sorterStatus) => { - // console.info('onSort', sorterStatus); - // const data = Array.from({ length: 3 }).map((v, i) => ({ - // key: i, - // name: randomName[getRandomNumber(randomName.length)], - // favorite: randomFavorite[getRandomNumber(randomFavorite.length)], - // })); - // return await Promise.resolve(data); - // } - }, - { - title: '性别', - dataIndex: 'sex', - key: 'sex', - width: 150, - // fixed: true, - }, - { - title: '爱好', - dataIndex: 'favorite', - key: 'favorite', - width: 250, - }, - { - title: '地址', - dataIndex: 'address', - key: 'address', - width: 250, - }, - ], - fullColumns: [ - { - title: '姓名', - dataIndex: 'name', - key: 'name', - }, - { - title: '年龄', - dataIndex: 'age', - key: 'age', - textAlignRight: true, - sorter: true, - // 自定义排序 - // onSort: async (sorterStatus) => { - // console.info('onSort', sorterStatus); - // const data = Array.from({ length: 3 }).map((v, i) => ({ - // key: i, - // name: randomName[getRandomNumber(randomName.length)], - // favorite: randomFavorite[getRandomNumber(randomFavorite.length)], - // })); - // return await Promise.resolve(data); - // } - }, - { - title: '性别', - dataIndex: 'sex', - key: 'sex', - }, - { - title: '地址', - dataIndex: 'address', - key: 'address', - textAlignRight: true, - }, - ], - }, -}); diff --git a/compiled/alipay/demo/pages/Table/index.json b/compiled/alipay/demo/pages/Table/index.json deleted file mode 100644 index 4aa6dfc52..000000000 --- a/compiled/alipay/demo/pages/Table/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Table", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-table": "../../../src/Table/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Table/index.less b/compiled/alipay/demo/pages/Table/index.less deleted file mode 100644 index 1d830e72e..000000000 --- a/compiled/alipay/demo/pages/Table/index.less +++ /dev/null @@ -1,25 +0,0 @@ -@import '../../../src/style/themes/index.less'; - -// 设置第一列的样式 -.full-table-table { - .mui-table-list-item-value-first { - border-bottom: 2 * @rpx solid #1677ff !important; - } - - // 将所有的都去掉了 - .g-hairline--top::after { - border: none; - } - - .mui-table-list-item-rows { - border-bottom: 2 * @rpx solid #D3D3D3; - } -} - -.table-empty-img { - position: sticky; - left: 50%; - transform: translate(-50%, 0); - width: 200 * @rpx; - height: 200 * @rpx; -} diff --git a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.axml b/compiled/alipay/demo/pages/Tabs/TabsElevator/index.axml deleted file mode 100644 index bd2937423..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.axml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - {{item.title}} - - {{item.content}} - - - - - {{item.value.title}} - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.js b/compiled/alipay/demo/pages/Tabs/TabsElevator/index.js deleted file mode 100644 index c1608abd1..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.js +++ /dev/null @@ -1,95 +0,0 @@ -Page({ - data: { - current: 0, - items: [ - { - title: '第一项', - content: 'Est voluptate sunt consequat laboris proident eu ut qui incididunt sint sint pariatur qui. Ut labore in duis labore cupidatat in ad quis duis aliquip irure occaecat officia reprehenderit consectetur. Enim consequat veniam nulla. Enim do nisi cillum aute pariatur ex dolor mollit ut nisi. Irure non pariatur anim Lorem ad do in elit irure minim exercitation. Dolor aliquip nisi adipisicing sunt adipisicing sunt nisi ad in non laboris in magna dolore. Fugiat aliqua labore elit occaecat consequat. Ipsum officia excepteur anim sint ipsum exercitation laborum. Excepteur exercitation ea occaecat cupidatat et consectetur exercitation non. Incididunt aliqua esse velit nisi ullamco. Do dolore ad ut. Esse ad tempor aliqua cillum consequat occaecat enim dolore enim aliquip aliquip irure. Id aliquip qui nulla dolor dolore et est. Non adipisicing mollit consequat magna sit laborum mollit nulla est consequat. Veniam in eu nisi ex sint deserunt ad sit consequat excepteur qui. Ea est sint adipisicing ea aliqua eiusmod amet pariatur officia ex voluptate. Consectetur in ipsum cillum nulla minim quis aute consequat. Et adipisicing officia nostrud id reprehenderit tempor. Laborum anim aliqua ut enim et pariatur elit tempor tempor incididunt deserunt nulla deserunt enim. Esse deserunt pariatur veniam sunt fugiat irure ullamco excepteur et Lorem. Sit adipisicing nisi consectetur nulla qui sint culpa. In aute cupidatat ad consequat proident est non sint ullamco dolor nisi irure fugiat amet deserunt. Laboris nostrud tempor aute non cillum magna labore ipsum duis ut dolor velit. Qui proident dolor occaecat consequat qui laboris sit est culpa excepteur aliqua pariatur veniam irure voluptate. Cillum adipisicing deserunt nisi quis anim fugiat ipsum incididunt veniam laboris et eiusmod minim. Tempor esse ex reprehenderit occaecat velit non do magna consequat consequat exercitation tempor elit. Ea pariatur irure laborum ipsum reprehenderit sunt sit minim excepteur pariatur magna deserunt aliqua velit non. Culpa irure dolore commodo quis do. Nulla ea consectetur ullamco deserunt laborum consectetur. Amet sunt in esse cupidatat excepteur veniam do. Est quis commodo consequat reprehenderit reprehenderit. Magna laboris dolor dolor laborum. Culpa officia dolor labore aute commodo ex nisi incididunt officia in aute incididunt voluptate. Do nisi dolore ea veniam adipisicing voluptate reprehenderit ea proident aliquip. Labore enim in minim. Aliquip cillum do consequat labore Lorem exercitation. Laborum anim aute in nisi aliqua nulla commodo nostrud laborum. Lorem cillum ut cillum laborum occaecat consequat elit duis. Dolore dolor deserunt nisi dolore laborum sit ea deserunt ipsum dolor ut sit minim. Reprehenderit esse consectetur dolore esse nostrud. Commodo laborum tempor magna cillum Lorem ad qui nisi consequat sit in amet veniam. Ex pariatur eiusmod labore aute id dolor et sunt cupidatat id et non proident enim sint. Duis duis id in et in incididunt Lorem veniam aliquip. Culpa duis deserunt eiusmod laborum labore ea non sit eu ipsum eu.', - }, - { - title: '第二项', - content: 'Excepteur esse nisi excepteur exercitation. Aliquip elit ut officia cillum nisi id. Aute in esse cillum. Enim occaecat cupidatat consequat dolor ex nulla esse non. Non ipsum ullamco veniam proident labore et exercitation dolore esse tempor culpa amet in anim mollit. Do officia proident ullamco ea ipsum reprehenderit irure occaecat proident id culpa dolore Lorem deserunt. Aliquip ut ex dolor ut eiusmod elit et velit sunt ipsum aliquip dolore. Ullamco sit excepteur dolore anim irure duis aute labore ex elit. Lorem pariatur esse in cupidatat nostrud reprehenderit tempor aute quis. Minim eiusmod aute do. Lorem aliquip ea consequat occaecat aliqua duis dolore Lorem elit in anim dolore magna veniam adipisicing. Proident consequat Lorem et. Occaecat nisi id mollit do labore eu consequat aliquip aute nulla fugiat. Irure nisi reprehenderit sint proident commodo dolore. Cillum laboris aliquip labore quis ad. Excepteur labore commodo consectetur quis sunt. Dolor voluptate laboris id et do irure exercitation ex elit consequat dolore exercitation. Id nulla ad sint excepteur occaecat sunt nostrud anim consectetur labore consequat dolor ex in sunt. Laborum elit ad enim do aute ullamco minim culpa mollit fugiat laborum adipisicing. Nostrud velit esse consequat et ea. Et deserunt minim ipsum. Anim dolore velit ex cillum occaecat magna irure culpa aliquip ex laboris duis consequat ipsum incididunt. Anim laborum aliqua tempor excepteur mollit in consequat voluptate veniam dolore. Magna commodo officia officia in anim officia ex. Adipisicing mollit eu aliqua ex elit ipsum dolor incididunt adipisicing minim proident excepteur. Veniam veniam ex occaecat culpa eu consequat quis pariatur quis duis duis. Consectetur commodo eu voluptate pariatur sit sit reprehenderit duis esse veniam ullamco ullamco est. Laboris laborum exercitation anim tempor commodo fugiat. Sit ipsum consectetur pariatur in. Officia irure ipsum culpa irure veniam commodo laborum consequat sit laboris incididunt esse. Est in eiusmod ad ad deserunt consequat adipisicing commodo sit non culpa. Officia ut ex laborum fugiat. Magna sit do ullamco ex aute elit reprehenderit. Voluptate commodo Lorem est incididunt ullamco tempor cupidatat sint magna amet occaecat qui magna. Aliquip consequat pariatur tempor voluptate est pariatur excepteur. Nulla mollit adipisicing do magna proident velit consectetur magna nisi aliquip adipisicing et velit quis ad. Mollit minim elit fugiat tempor non in exercitation cillum quis qui pariatur laborum excepteur in cillum. Enim nostrud nisi consequat deserunt deserunt consequat velit laboris amet magna et eu ipsum. Aliqua cillum elit minim do id exercitation magna. Cupidatat incididunt reprehenderit culpa occaecat ullamco anim dolore. Anim occaecat occaecat esse non occaecat duis et fugiat. Pariatur velit dolor Lorem ullamco laborum deserunt deserunt consectetur consequat deserunt mollit esse. Irure nostrud velit nostrud aliqua ad ea voluptate. Culpa ex officia consectetur eiusmod cupidatat. Nulla Lorem ut ea eu deserunt eiusmod aliqua Lorem quis aute elit. Eiusmod cillum nisi veniam veniam fugiat deserunt adipisicing exercitation amet Lorem. Mollit sit dolore tempor et magna non proident cupidatat anim veniam. Nisi velit est occaecat amet dolor ut reprehenderit mollit culpa dolore ad pariatur. Pariatur qui ex qui excepteur reprehenderit. Mollit consectetur esse incididunt adipisicing dolore.', - }, - { - title: '第三项', - content: 'Aute cillum et eu. Est ut magna sint ex ex adipisicing qui occaecat sint excepteur eiusmod adipisicing id eiusmod. Proident culpa tempor ullamco ad non ex incididunt ullamco tempor quis fugiat commodo consectetur. Id aliquip in labore occaecat ut exercitation mollit ipsum nisi pariatur occaecat ut minim duis enim. Magna cupidatat id do. Voluptate id tempor cillum aliqua mollit quis veniam sit fugiat culpa qui veniam deserunt reprehenderit. Reprehenderit qui est est consequat commodo occaecat id. Do consequat ut incididunt ea ipsum fugiat aliqua dolore velit incididunt. Dolor quis amet mollit fugiat quis ullamco culpa occaecat. Voluptate do ullamco excepteur duis dolor sit enim officia. Nostrud id aute nisi voluptate cupidatat pariatur duis et cillum. Excepteur nisi exercitation labore elit consequat officia non fugiat. Tempor deserunt eu do culpa quis fugiat proident amet qui deserunt eiusmod velit culpa. Nisi officia aliquip culpa pariatur sunt non quis eiusmod aliqua commodo et Lorem duis minim amet. Voluptate enim laborum ex dolore in anim cillum dolore ut officia Lorem ipsum exercitation irure anim. Pariatur quis consequat tempor eu quis tempor aute esse commodo ipsum non enim sunt. Sit laboris amet consequat. Aute sunt qui eiusmod enim amet ut in elit ea pariatur est et consequat. Occaecat adipisicing id ex nostrud labore anim. Ullamco eiusmod dolor et minim fugiat culpa nulla tempor cupidatat reprehenderit sit fugiat duis quis. Sunt est ipsum adipisicing. Do enim ullamco minim tempor dolore consequat. Consequat non nulla proident aute nulla magna et. Labore quis veniam adipisicing irure reprehenderit ipsum ex eu. Labore sint dolore voluptate laborum id ad eu minim aute consectetur adipisicing aliquip exercitation culpa. Ullamco exercitation dolore elit cupidatat elit ex aliqua pariatur duis cillum. Cillum consectetur ipsum cillum dolore. Et commodo id aliquip do sunt ea pariatur ut aliqua proident occaecat aute esse. Deserunt incididunt sit tempor culpa laboris ea minim laboris magna et consequat. Labore do duis cillum. Eiusmod nostrud enim sunt eiusmod consectetur. Irure ex consectetur officia nisi enim consectetur Lorem exercitation adipisicing sit consequat excepteur. Minim velit in ea nulla tempor ad irure laborum est tempor laboris enim ea non laboris. Velit magna fugiat aute laboris. Commodo sunt voluptate laborum labore tempor ullamco voluptate nostrud ea. Reprehenderit fugiat minim nulla fugiat enim sit Lorem. Est aute magna sunt magna labore do Lorem proident. Laboris et anim non aliqua eu laboris fugiat nostrud tempor deserunt ex officia quis dolore ipsum. Aliquip ea sint qui duis culpa non aliquip voluptate consectetur labore velit. Anim do est enim cupidatat ex et ad reprehenderit officia ullamco exercitation dolore. Non esse sint fugiat laborum eu enim aliqua enim nostrud. Lorem occaecat labore amet voluptate Lorem tempor do fugiat fugiat eu pariatur ea excepteur duis. Officia amet ipsum esse sunt anim deserunt. Esse eu officia mollit. Officia ut labore dolore et duis excepteur sunt cillum qui qui enim magna adipisicing. Dolor ipsum est nisi duis minim laboris magna anim ea labore eiusmod anim sunt deserunt. Est Lorem cupidatat officia laborum Lorem incididunt ex et est culpa occaecat et eiusmod exercitation. Qui do nostrud adipisicing dolore incididunt. Ex nostrud velit deserunt dolore cillum anim et exercitation magna qui pariatur consectetur laboris deserunt.', - }, - { - title: '第四项', - content: 'Nisi aliquip nulla et aliquip anim elit reprehenderit veniam. Aute incididunt cupidatat sint enim fugiat est labore. Minim ea do occaecat anim ipsum in deserunt proident magna voluptate mollit. Nisi et fugiat cillum consequat deserunt do magna. Sunt irure laboris ea cupidatat esse tempor irure occaecat cupidatat. Officia adipisicing commodo non minim culpa magna est ullamco eu consequat quis magna nisi tempor. Aute ad anim et et sint nulla proident et magna. Veniam veniam velit culpa non. Enim minim adipisicing amet velit do ea voluptate do cillum ex et excepteur. Reprehenderit dolore nulla nisi aute consectetur qui ut fugiat laboris aliquip velit nisi. Eiusmod nulla exercitation irure esse voluptate est. Consectetur est minim occaecat anim amet. Laboris exercitation id laborum ullamco ut aute irure laboris. Culpa ad irure in mollit deserunt et officia amet pariatur esse ad mollit minim sint officia. Reprehenderit commodo dolore occaecat sint reprehenderit irure esse. Cupidatat ex quis est. Fugiat quis sint deserunt quis culpa reprehenderit reprehenderit dolor ipsum tempor exercitation. Culpa occaecat minim elit incididunt do incididunt fugiat commodo excepteur anim mollit. Ad cillum et tempor do Lorem ut et aliquip ea ut do laborum ex ullamco. Sint dolor Lorem enim incididunt velit ullamco. Eiusmod et nostrud laboris culpa enim laboris. Nulla sunt veniam exercitation ea ut consectetur velit. Enim irure magna et laborum occaecat irure quis labore deserunt. Consectetur amet mollit pariatur ad nisi. Sint excepteur sunt adipisicing eiusmod duis ut. Cillum esse eu ut anim tempor Lorem dolor cillum. Veniam occaecat duis ex commodo excepteur ut consequat nulla ullamco sint fugiat ullamco. Excepteur excepteur nostrud elit. Consectetur dolor dolore reprehenderit ex sint sunt aliqua amet et. Consequat sunt cillum labore irure adipisicing nulla velit. Aliquip deserunt in id amet quis. Ut duis Lorem exercitation ad adipisicing consectetur nostrud sint dolor consequat enim aliquip id. Amet et ullamco exercitation duis eiusmod nisi Lorem. Veniam consectetur incididunt quis aliqua deserunt. Sint in deserunt in laboris labore pariatur laborum minim magna adipisicing mollit non. Dolor dolore in labore labore exercitation laboris laborum elit ex ea nostrud veniam. Est anim duis velit nostrud reprehenderit laborum nisi. Sit consequat aute aliqua consequat anim. Enim et ex reprehenderit et. Quis minim pariatur fugiat voluptate est occaecat commodo cupidatat do nostrud ad dolore pariatur cillum. Dolor eiusmod quis fugiat ullamco et reprehenderit in qui officia aliquip fugiat qui adipisicing. Anim ex proident consequat labore incididunt cillum enim eu exercitation cupidatat dolor commodo sit duis. Deserunt et fugiat dolor laboris. Anim esse voluptate esse excepteur non et culpa labore do quis ad consectetur do cupidatat sint. Ex ea amet id duis adipisicing dolore esse fugiat quis labore commodo minim nisi anim elit. Excepteur reprehenderit labore cillum commodo nisi culpa consectetur ut elit id ex excepteur eu ex. Quis aute et excepteur sit irure duis laborum velit do aliquip sit aliqua consequat duis adipisicing. Occaecat consectetur sint mollit ipsum esse laborum elit ad. Dolore Lorem do excepteur labore laboris duis esse fugiat amet. Voluptate est magna proident proident nisi est duis pariatur ut anim irure nulla anim. Labore adipisicing officia est sunt laborum Lorem occaecat anim. Do voluptate anim cillum ipsum tempor minim nostrud esse. Aliquip aliqua magna ipsum dolore non laborum mollit sint labore. Aliquip est laborum tempor sint laborum incididunt consequat dolor do occaecat commodo in mollit amet.', - }, - { - title: '第五项', - content: 'Sit occaecat reprehenderit quis incididunt elit. Voluptate amet exercitation minim mollit excepteur aliqua ut. Duis duis mollit eiusmod consectetur irure est mollit amet dolor nostrud dolore duis laborum magna. Est anim ipsum velit cillum veniam velit. Commodo eiusmod Lorem quis nisi nostrud deserunt eiusmod sit occaecat eiusmod.', - }, - { - title: '第六项', - content: 'Do nisi tempor incididunt cupidatat magna id. Ullamco consectetur consequat laboris officia occaecat laboris consequat velit irure laboris exercitation aliqua. Laborum elit sit irure eiusmod anim fugiat magna ipsum aliqua esse tempor in. Commodo occaecat Lorem voluptate pariatur commodo proident et et exercitation ex exercitation culpa tempor id. Fugiat dolore aliquip voluptate in. Velit voluptate excepteur incididunt sint sit aliqua et aliquip. Aliqua nisi consequat excepteur eiusmod dolore culpa Lorem.', - }, - ], - scrollTop: 0, - }, - async updateRect() { - this.itemRectList = await Promise.all(this.data.items.map((item, index) => this.getBoundingClientRect(`#tab-item-${index}`))); - this.scrollViewRect = await this.getBoundingClientRect('#scroll-view'); - }, - async onReady() { - await this.updateRect(); - }, - onTap() { - this.tap = true; - const scrollTop = this.itemRectList[this.data.current].top - this.scrollViewRect.top; - this.setData({ - scrollTop: scrollTop + Math.random(), - }); - }, - onChange(current) { - this.tap = true; - this.setData({ - scrollTop: this.itemRectList[current].top - - this.scrollViewRect.top + - Math.random(), - current, - }); - }, - onTouchStart() { - this.tap = false; - }, - onScroll(e) { - if (this.tap) { - return; - } - this.scrollTop = e.detail.scrollTop; - const scrollTop = this.scrollTop + this.itemRectList[0].top; - for (let i = 0; i < this.itemRectList.length - 1; i++) { - const item = this.itemRectList[i]; - if (scrollTop > item.top && - scrollTop < this.itemRectList[i + 1].top && - i !== this.data.current) { - this.setData({ - current: i, - }); - return; - } - } - }, - getBoundingClientRect(id) { - if (typeof my === 'undefined') { - return this.getInstanceBoundingClientRect(this, id); - } - return this.getInstanceBoundingClientRect(my, id); - }, - getInstanceBoundingClientRect(instance, selector) { - return new Promise((resolve) => { - instance - .createSelectorQuery() - .select(selector) - .boundingClientRect() - .exec((ret) => { - if (ret && ret[0]) { - resolve(ret[0]); - } - }); - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.json b/compiled/alipay/demo/pages/Tabs/TabsElevator/index.json deleted file mode 100644 index e8b1fe094..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Tabs", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "tabs": "../../../../src/Tabs/index", - "container": "../../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.less b/compiled/alipay/demo/pages/Tabs/TabsElevator/index.less deleted file mode 100644 index 1d9385a37..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsElevator/index.less +++ /dev/null @@ -1,15 +0,0 @@ - -.content { - padding: 12px; - height: 400px; - background-color: #ffffff; -} - -.item { - margin-bottom: 40px; -} - -.title { - font-weight: bold; - margin-bottom: 8px; -} diff --git a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.axml b/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.axml deleted file mode 100644 index c9030d3c6..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.axml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - {{item.title}} - - {{item.content}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.js b/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.js deleted file mode 100644 index a5370c51b..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.js +++ /dev/null @@ -1,69 +0,0 @@ -Page({ - data: { - current: 0, - items: new Array(20).fill(0).map((_, i) => { - return { - title: `第${i + 1}项`, - content: 'Est voluptate sunt consequat laboris proident eu ut qui incididunt sint sint pariatur qui. Ut labore in duis labore cupidatat in ad quis duis aliquip irure occaecat officia reprehenderit consectetur. Enim consequat veniam nulla. Enim do nisi cillum aute pariatur ex dolor mollit ut nisi. Irure non pariatur anim Lorem ad do in elit irure minim exercitation. Dolor aliquip nisi adipisicing sunt adipisicing sunt nisi ad in non laboris in magna dolore. Fugiat aliqua labore elit occaecat consequat. Ipsum officia excepteur anim sint ipsum exercitation laborum. Excepteur exercitation ea occaecat cupidatat et consectetur exercitation non. Incididunt aliqua esse velit nisi ullamco. Do dolore ad ut. Esse ad tempor aliqua cillum consequat occaecat enim dolore enim aliquip aliquip irure. Id aliquip qui nulla dolor dolore et est. Non adipisicing mollit consequat magna sit laborum mollit nulla est consequat. Veniam in eu nisi ex sint deserunt ad sit consequat excepteur qui. Ea est sint adipisicing ea aliqua eiusmod amet pariatur officia ex voluptate. Consectetur in ipsum cillum nulla minim quis aute consequat. Et adipisicing officia nostrud id reprehenderit tempor. Laborum anim aliqua ut enim et pariatur elit tempor tempor incididunt deserunt nulla deserunt enim. Esse deserunt pariatur veniam sunt fugiat irure ullamco excepteur et Lorem. Sit adipisicing nisi consectetur nulla qui sint culpa. In aute cupidatat ad consequat proident est non sint ullamco dolor nisi irure fugiat amet deserunt. Laboris nostrud tempor aute non cillum magna labore ipsum duis ut dolor velit. Qui proident dolor occaecat consequat qui laboris sit est culpa excepteur aliqua pariatur veniam irure voluptate. Cillum adipisicing deserunt nisi quis anim fugiat ipsum incididunt veniam laboris et eiusmod minim. Tempor esse ex reprehenderit occaecat velit non do magna consequat consequat exercitation tempor elit. Ea pariatur irure laborum ipsum reprehenderit sunt sit minim excepteur pariatur magna deserunt aliqua velit non. Culpa irure dolore commodo quis do. Nulla ea consectetur ullamco deserunt laborum consectetur. Amet sunt in esse cupidatat excepteur veniam do. Est quis commodo consequat reprehenderit reprehenderit. Magna laboris dolor dolor laborum. Culpa officia dolor labore aute commodo ex nisi incididunt officia in aute incididunt voluptate. Do nisi dolore ea veniam adipisicing voluptate reprehenderit ea proident aliquip. Labore enim in minim. Aliquip cillum do consequat labore Lorem exercitation. Laborum anim aute in nisi aliqua nulla commodo nostrud laborum. Lorem cillum ut cillum laborum occaecat consequat elit duis. Dolore dolor deserunt nisi dolore laborum sit ea deserunt ipsum dolor ut sit minim. Reprehenderit esse consectetur dolore esse nostrud. Commodo laborum tempor magna cillum Lorem ad qui nisi consequat sit in amet veniam. Ex pariatur eiusmod labore aute id dolor et sunt cupidatat id et non proident enim sint. Duis duis id in et in incididunt Lorem veniam aliquip. Culpa duis deserunt eiusmod laborum labore ea non sit eu ipsum eu.', - }; - }), - scrollTop: 0, - }, - async updateRect() { - this.itemRectList = await Promise.all(this.data.items.map((item, index) => this.getBoundingClientRect(`#tab-item-${index}`))); - this.scrollViewRect = await this.getBoundingClientRect('#scroll-view'); - }, - async onReady() { - await this.updateRect(); - }, - onChange(current) { - this.tap = true; - this.setData({ - scrollTop: this.itemRectList[current].top - - this.scrollViewRect.top + - Math.random(), - current, - }); - }, - onTouchStart() { - this.tap = false; - }, - onScroll(e) { - if (this.tap) { - return; - } - this.scrollTop = e.detail.scrollTop; - const scrollTop = this.scrollTop + this.itemRectList[0].top; - for (let i = 0; i < this.itemRectList.length; i++) { - const item = this.itemRectList[i]; - if (scrollTop > item.top && - (!this.itemRectList[i + 1] || - scrollTop < this.itemRectList[i + 1].top) && - i !== this.data.current) { - this.setData({ - current: i, - }); - return; - } - } - }, - getBoundingClientRect(id) { - if (typeof my === 'undefined') { - return this.getInstanceBoundingClientRect(this, id); - } - return this.getInstanceBoundingClientRect(my, id); - }, - getInstanceBoundingClientRect(instance, selector) { - return new Promise((resolve) => { - instance - .createSelectorQuery() - .select(selector) - .boundingClientRect() - .exec((ret) => { - if (ret && ret[0]) { - resolve(ret[0]); - } - }); - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.json b/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.json deleted file mode 100644 index e6260ae6d..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "defaultTitle": "Tabs", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-tabs": "../../../../src/Tabs/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.less b/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.less deleted file mode 100644 index ad57be61c..000000000 --- a/compiled/alipay/demo/pages/Tabs/TabsVerticalElevator/index.less +++ /dev/null @@ -1,26 +0,0 @@ -.tabs { - height: 80vh; -} - -.content { - padding: 12px; - height: 100%; -} - -.item { - margin-bottom: 40px; -} - -.title { - font-weight: bold; - margin-bottom: 8px; -} - -.tabs-bar { - width: 80px; -} - -.footer { - background-color: #fff; - height: 20vh; -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/index.axml b/compiled/alipay/demo/pages/Tabs/index.axml deleted file mode 100644 index 718816469..000000000 --- a/compiled/alipay/demo/pages/Tabs/index.axml +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - {{item.value.content}} - - - - - - - - - - - - - - {{item.value.title}} - - {{item.value.title}} - - - - - - - - - - - - - - - - - - - - - - {{items[current].content}} - - - - {{items3[current].content}} - - - current: {{current}} length: {{items3.length}} - - - - 上一个 - - - 下一个 - - - 添加 - - - 减少 - - - - - - - - - - - - {{item.content}} - - - - - - - - - {{items[current].longContent}} - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/index.js b/compiled/alipay/demo/pages/Tabs/index.js deleted file mode 100644 index 7d8a9204d..000000000 --- a/compiled/alipay/demo/pages/Tabs/index.js +++ /dev/null @@ -1,147 +0,0 @@ -Page({ - data: { - current: 0, - items: [ - { - title: '水果', - subTitle: '描述文案', - content: '西瓜', - longContent: 'Est voluptate sunt consequat laboris proident eu ut qui incididunt sint sint pariatur qui. Ut labore in duis labore cupidatat in ad quis duis aliquip irure occaecat officia reprehenderit consectetur. Enim consequat veniam nulla. Enim do nisi cillum aute pariatur ex dolor mollit ut nisi. Irure non pariatur anim Lorem ad do in elit irure minim exercitation. Dolor aliquip nisi adipisicing sunt adipisicing sunt nisi ad in non laboris in magna dolore. Fugiat aliqua labore elit occaecat consequat. Ipsum officia excepteur anim sint ipsum exercitation laborum. Excepteur exercitation ea occaecat cupidatat et consectetur exercitation non. Incididunt aliqua esse velit nisi ullamco. Do dolore ad ut. Esse ad tempor aliqua cillum consequat occaecat enim dolore enim aliquip aliquip irure. Id aliquip qui nulla dolor dolore et est. Non adipisicing mollit consequat magna sit laborum mollit nulla est consequat. Veniam in eu nisi ex sint deserunt ad sit consequat excepteur qui. Ea est sint adipisicing ea aliqua eiusmod amet pariatur officia ex voluptate. Consectetur in ipsum cillum nulla minim quis aute consequat. Et adipisicing officia nostrud id reprehenderit tempor. Laborum anim aliqua ut enim et pariatur elit tempor tempor incididunt deserunt nulla deserunt enim. Esse deserunt pariatur veniam sunt fugiat irure ullamco excepteur et Lorem. Sit adipisicing nisi consectetur nulla qui sint culpa. In aute cupidatat ad consequat proident est non sint ullamco dolor nisi irure fugiat amet deserunt. Laboris nostrud tempor aute non cillum magna labore ipsum duis ut dolor velit. Qui proident dolor occaecat consequat qui laboris sit est culpa excepteur aliqua pariatur veniam irure voluptate. Cillum adipisicing deserunt nisi quis anim fugiat ipsum incididunt veniam laboris et eiusmod minim. Tempor esse ex reprehenderit occaecat velit non do magna consequat consequat exercitation tempor elit. Ea pariatur irure laborum ipsum reprehenderit sunt sit minim excepteur pariatur magna deserunt aliqua velit non. Culpa irure dolore commodo quis do. Nulla ea consectetur ullamco deserunt laborum consectetur. Amet sunt in esse cupidatat excepteur veniam do. Est quis commodo consequat reprehenderit reprehenderit. Magna laboris dolor dolor laborum. Culpa officia dolor labore aute commodo ex nisi incididunt officia in aute incididunt voluptate. Do nisi dolore ea veniam adipisicing voluptate reprehenderit ea proident aliquip. Labore enim in minim. Aliquip cillum do consequat labore Lorem exercitation. Laborum anim aute in nisi aliqua nulla commodo nostrud laborum. Lorem cillum ut cillum laborum occaecat consequat elit duis. Dolore dolor deserunt nisi dolore laborum sit ea deserunt ipsum dolor ut sit minim. Reprehenderit esse consectetur dolore esse nostrud. Commodo laborum tempor magna cillum Lorem ad qui nisi consequat sit in amet veniam. Ex pariatur eiusmod labore aute id dolor et sunt cupidatat id et non proident enim sint. Duis duis id in et in incididunt Lorem veniam aliquip. Culpa duis deserunt eiusmod laborum labore ea non sit eu ipsum eu.', - }, - { - title: '蔬菜', - subTitle: '描述文案', - badge: true, - content: '西红柿', - longContent: 'Excepteur esse nisi excepteur exercitation. Aliquip elit ut officia cillum nisi id. Aute in esse cillum. Enim occaecat cupidatat consequat dolor ex nulla esse non. Non ipsum ullamco veniam proident labore et exercitation dolore esse tempor culpa amet in anim mollit. Do officia proident ullamco ea ipsum reprehenderit irure occaecat proident id culpa dolore Lorem deserunt. Aliquip ut ex dolor ut eiusmod elit et velit sunt ipsum aliquip dolore. Ullamco sit excepteur dolore anim irure duis aute labore ex elit. Lorem pariatur esse in cupidatat nostrud reprehenderit tempor aute quis. Minim eiusmod aute do. Lorem aliquip ea consequat occaecat aliqua duis dolore Lorem elit in anim dolore magna veniam adipisicing. Proident consequat Lorem et. Occaecat nisi id mollit do labore eu consequat aliquip aute nulla fugiat. Irure nisi reprehenderit sint proident commodo dolore. Cillum laboris aliquip labore quis ad. Excepteur labore commodo consectetur quis sunt. Dolor voluptate laboris id et do irure exercitation ex elit consequat dolore exercitation. Id nulla ad sint excepteur occaecat sunt nostrud anim consectetur labore consequat dolor ex in sunt. Laborum elit ad enim do aute ullamco minim culpa mollit fugiat laborum adipisicing. Nostrud velit esse consequat et ea. Et deserunt minim ipsum. Anim dolore velit ex cillum occaecat magna irure culpa aliquip ex laboris duis consequat ipsum incididunt. Anim laborum aliqua tempor excepteur mollit in consequat voluptate veniam dolore. Magna commodo officia officia in anim officia ex. Adipisicing mollit eu aliqua ex elit ipsum dolor incididunt adipisicing minim proident excepteur. Veniam veniam ex occaecat culpa eu consequat quis pariatur quis duis duis. Consectetur commodo eu voluptate pariatur sit sit reprehenderit duis esse veniam ullamco ullamco est. Laboris laborum exercitation anim tempor commodo fugiat. Sit ipsum consectetur pariatur in. Officia irure ipsum culpa irure veniam commodo laborum consequat sit laboris incididunt esse. Est in eiusmod ad ad deserunt consequat adipisicing commodo sit non culpa. Officia ut ex laborum fugiat. Magna sit do ullamco ex aute elit reprehenderit. Voluptate commodo Lorem est incididunt ullamco tempor cupidatat sint magna amet occaecat qui magna. Aliquip consequat pariatur tempor voluptate est pariatur excepteur. Nulla mollit adipisicing do magna proident velit consectetur magna nisi aliquip adipisicing et velit quis ad. Mollit minim elit fugiat tempor non in exercitation cillum quis qui pariatur laborum excepteur in cillum. Enim nostrud nisi consequat deserunt deserunt consequat velit laboris amet magna et eu ipsum. Aliqua cillum elit minim do id exercitation magna. Cupidatat incididunt reprehenderit culpa occaecat ullamco anim dolore. Anim occaecat occaecat esse non occaecat duis et fugiat. Pariatur velit dolor Lorem ullamco laborum deserunt deserunt consectetur consequat deserunt mollit esse. Irure nostrud velit nostrud aliqua ad ea voluptate. Culpa ex officia consectetur eiusmod cupidatat. Nulla Lorem ut ea eu deserunt eiusmod aliqua Lorem quis aute elit. Eiusmod cillum nisi veniam veniam fugiat deserunt adipisicing exercitation amet Lorem. Mollit sit dolore tempor et magna non proident cupidatat anim veniam. Nisi velit est occaecat amet dolor ut reprehenderit mollit culpa dolore ad pariatur. Pariatur qui ex qui excepteur reprehenderit. Mollit consectetur esse incididunt adipisicing dolore.', - }, - { - title: '动物', - subTitle: '描述文案', - content: '蚂蚁', - longContent: 'Aute cillum et eu. Est ut magna sint ex ex adipisicing qui occaecat sint excepteur eiusmod adipisicing id eiusmod. Proident culpa tempor ullamco ad non ex incididunt ullamco tempor quis fugiat commodo consectetur. Id aliquip in labore occaecat ut exercitation mollit ipsum nisi pariatur occaecat ut minim duis enim. Magna cupidatat id do. Voluptate id tempor cillum aliqua mollit quis veniam sit fugiat culpa qui veniam deserunt reprehenderit. Reprehenderit qui est est consequat commodo occaecat id. Do consequat ut incididunt ea ipsum fugiat aliqua dolore velit incididunt. Dolor quis amet mollit fugiat quis ullamco culpa occaecat. Voluptate do ullamco excepteur duis dolor sit enim officia. Nostrud id aute nisi voluptate cupidatat pariatur duis et cillum. Excepteur nisi exercitation labore elit consequat officia non fugiat. Tempor deserunt eu do culpa quis fugiat proident amet qui deserunt eiusmod velit culpa. Nisi officia aliquip culpa pariatur sunt non quis eiusmod aliqua commodo et Lorem duis minim amet. Voluptate enim laborum ex dolore in anim cillum dolore ut officia Lorem ipsum exercitation irure anim. Pariatur quis consequat tempor eu quis tempor aute esse commodo ipsum non enim sunt. Sit laboris amet consequat. Aute sunt qui eiusmod enim amet ut in elit ea pariatur est et consequat. Occaecat adipisicing id ex nostrud labore anim. Ullamco eiusmod dolor et minim fugiat culpa nulla tempor cupidatat reprehenderit sit fugiat duis quis. Sunt est ipsum adipisicing. Do enim ullamco minim tempor dolore consequat. Consequat non nulla proident aute nulla magna et. Labore quis veniam adipisicing irure reprehenderit ipsum ex eu. Labore sint dolore voluptate laborum id ad eu minim aute consectetur adipisicing aliquip exercitation culpa. Ullamco exercitation dolore elit cupidatat elit ex aliqua pariatur duis cillum. Cillum consectetur ipsum cillum dolore. Et commodo id aliquip do sunt ea pariatur ut aliqua proident occaecat aute esse. Deserunt incididunt sit tempor culpa laboris ea minim laboris magna et consequat. Labore do duis cillum. Eiusmod nostrud enim sunt eiusmod consectetur. Irure ex consectetur officia nisi enim consectetur Lorem exercitation adipisicing sit consequat excepteur. Minim velit in ea nulla tempor ad irure laborum est tempor laboris enim ea non laboris. Velit magna fugiat aute laboris. Commodo sunt voluptate laborum labore tempor ullamco voluptate nostrud ea. Reprehenderit fugiat minim nulla fugiat enim sit Lorem. Est aute magna sunt magna labore do Lorem proident. Laboris et anim non aliqua eu laboris fugiat nostrud tempor deserunt ex officia quis dolore ipsum. Aliquip ea sint qui duis culpa non aliquip voluptate consectetur labore velit. Anim do est enim cupidatat ex et ad reprehenderit officia ullamco exercitation dolore. Non esse sint fugiat laborum eu enim aliqua enim nostrud. Lorem occaecat labore amet voluptate Lorem tempor do fugiat fugiat eu pariatur ea excepteur duis. Officia amet ipsum esse sunt anim deserunt. Esse eu officia mollit. Officia ut labore dolore et duis excepteur sunt cillum qui qui enim magna adipisicing. Dolor ipsum est nisi duis minim laboris magna anim ea labore eiusmod anim sunt deserunt. Est Lorem cupidatat officia laborum Lorem incididunt ex et est culpa occaecat et eiusmod exercitation. Qui do nostrud adipisicing dolore incididunt. Ex nostrud velit deserunt dolore cillum anim et exercitation magna qui pariatur consectetur laboris deserunt.', - }, - ], - items2: [ - { - title: '水果', - subTitle: '描述文案', - content: '西瓜', - }, - { - title: '蔬菜', - subTitle: '描述文案', - content: '西红柿', - disabled: true, - }, - { - title: '动物', - subTitle: '描述文案', - content: '蚂蚁', - }, - ], - items3: [], - }, - onLoad() { - const items3 = new Array(6).fill(null).map((_, index) => { - return { - title: `Tab ${index}`, - content: `Content of tab ${index}`, - }; - }); - this.setData({ - items3, - }); - }, - onChange(current) { - this.setData({ - current, - }); - }, - handleChange(current) { - this.setData({ - current, - }); - }, - onPlus() { - this.alert('plus'); - }, - alert(content) { - my.alert({ - title: content, - }); - }, - onPrevTap() { - if (this.data.items.length === 0) { - return; - } - const current = this.data.current === 0 - ? this.data.items.length - 1 - : this.data.current - 1; - this.setData({ - current, - }); - }, - onNextTap() { - if (this.data.items3.length === 0) { - return; - } - const current = this.data.current >= this.data.items3.length - 1 - ? 0 - : this.data.current + 1; - this.setData({ - current, - }); - }, - onAddTap() { - const items3 = [...this.data.items3]; - items3.push({ - title: `Tab ${items3.length}`, - content: `Content of tab ${items3.length}`, - }); - this.setData({ - items3, - current: items3.length - 1, - }); - }, - onMinusTap() { - if (this.data.items3.length === 1) { - return; - } - const items3 = [...this.data.items3]; - items3.splice(items3.length - 1, 1); - this.setData({ - items3, - current: Math.min(this.data.current, items3.length - 1), - }); - }, - async updateRect() { - this.itemRectList = await Promise.all(this.data.items.map((item, index) => this.getBoundingClientRect(`#tab-item-${index}`))); - this.scrollViewRect = await this.getBoundingClientRect('#scroll-view'); - }, - async onReady() { - await this.updateRect(); - }, - onTouchStart() { - this.tap = false; - }, - onScroll(e) { - if (this.tap) { - return; - } - this.scrollTop = e.detail.scrollTop; - const scrollTop = this.scrollTop + this.itemRectList[0].top; - for (let i = 0; i < this.itemRectList.length; i++) { - const item = this.itemRectList[i]; - if (scrollTop > item.top && - (!this.itemRectList[i + 1] || - scrollTop < this.itemRectList[i + 1].top) && - i !== this.data.current) { - this.setData({ - current: i, - }); - return; - } - } - }, -}); diff --git a/compiled/alipay/demo/pages/Tabs/index.json b/compiled/alipay/demo/pages/Tabs/index.json deleted file mode 100644 index 5e879ea8c..000000000 --- a/compiled/alipay/demo/pages/Tabs/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "defaultTitle": "Tabs", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "container": "../../../src/Container/index", - "tabs": "../../../src/Tabs/index", - "badge": "../../../src/Badge/index", - "icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tabs/index.less b/compiled/alipay/demo/pages/Tabs/index.less deleted file mode 100644 index 0111c9106..000000000 --- a/compiled/alipay/demo/pages/Tabs/index.less +++ /dev/null @@ -1,16 +0,0 @@ -page { - padding-bottom: 40rpx; -} - -.buttons { - margin-top: 20px; - display: flex; - justify-content: center; - gap: 8px; -} - -.sticky-tabs { - position: sticky; - top: -1px; - z-index: 999; -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tag/index.axml b/compiled/alipay/demo/pages/Tag/index.axml deleted file mode 100644 index 08adad879..000000000 --- a/compiled/alipay/demo/pages/Tag/index.axml +++ /dev/null @@ -1,80 +0,0 @@ - - - 标签 - - - - default - - success - - - warning - - - danger - - - - - - - fill - - - outline - - - fill-light - - - - - - - 标签 - - - 标签 - - - 标签 - - - 标签 - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tag/index.js b/compiled/alipay/demo/pages/Tag/index.js deleted file mode 100644 index 718c2c8dc..000000000 --- a/compiled/alipay/demo/pages/Tag/index.js +++ /dev/null @@ -1,5 +0,0 @@ -Page({ - data: { - image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', - }, -}); diff --git a/compiled/alipay/demo/pages/Tag/index.json b/compiled/alipay/demo/pages/Tag/index.json deleted file mode 100644 index c630cff3e..000000000 --- a/compiled/alipay/demo/pages/Tag/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Tag", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-tag": "../../../src/Tag/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Tag/index.less b/compiled/alipay/demo/pages/Tag/index.less deleted file mode 100644 index a306def7f..000000000 --- a/compiled/alipay/demo/pages/Tag/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.myTag { - margin-right: 16rpx; -} diff --git a/compiled/alipay/demo/pages/Toast/index.axml b/compiled/alipay/demo/pages/Toast/index.axml deleted file mode 100644 index bcbb845b1..000000000 --- a/compiled/alipay/demo/pages/Toast/index.axml +++ /dev/null @@ -1,190 +0,0 @@ - - - - 简短文字 - - - 过长文字 - - - - - 成功提示 - - - 失败提示 - - - 警告提示 - - - 自定义图标 - - - 自定义图片 - - - 加载态 - - - 支付宝 - - - - - 提示持续3s - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Toast/index.js b/compiled/alipay/demo/pages/Toast/index.js deleted file mode 100644 index 20b6f0ba1..000000000 --- a/compiled/alipay/demo/pages/Toast/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - toast1Show: false, - toast2Show: false, - toast3Show: false, - toast4Show: false, - toast5Show: false, - toast6Show: false, - toast7Show: false, - toast8Show: false, - toast9Show: false, - toast10Show: false, - }, - handleShowToast(e) { - const { index } = e.target.dataset; - this.setData({ - toast1Show: false, - toast2Show: false, - toast3Show: false, - toast4Show: false, - toast5Show: false, - toast6Show: false, - toast7Show: false, - toast10Show: false, - }); - this.setData({ - [`toast${index}Show`]: true - }); - console.log(this.data); - }, - handleCloseToast(e) { - const { index } = e.target.dataset; - this.setData({ - [`toast${index}Show`]: false - }); - } -}); diff --git a/compiled/alipay/demo/pages/Toast/index.json b/compiled/alipay/demo/pages/Toast/index.json deleted file mode 100644 index 0ae116083..000000000 --- a/compiled/alipay/demo/pages/Toast/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Toast", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-toast": "../../../src/Toast/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Toast/index.less b/compiled/alipay/demo/pages/Toast/index.less deleted file mode 100644 index f682dc342..000000000 --- a/compiled/alipay/demo/pages/Toast/index.less +++ /dev/null @@ -1,8 +0,0 @@ -.image { - width: 80rpx; - height: 80rpx; -} - -.button { - margin-left: 12px; -} diff --git a/compiled/alipay/demo/pages/Typography/index.axml b/compiled/alipay/demo/pages/Typography/index.axml deleted file mode 100644 index ac611db2e..000000000 --- a/compiled/alipay/demo/pages/Typography/index.axml +++ /dev/null @@ -1,120 +0,0 @@ - - - - 简短文字 - - - 简短文字中等加粗 - - - 简短文字重度加粗 - - - 简短文字 - - - 简短文字 - - - 完整展示:Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. - - - 超出 3 行的内容省略展示:Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. - - - - - 链接禁用 - - - 链接 - - - 复制 - - - 删除 - - - 编辑 - - - 定位 - - - 分享 - - - 分享试试 - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Typography/index.js b/compiled/alipay/demo/pages/Typography/index.js deleted file mode 100644 index 495043faa..000000000 --- a/compiled/alipay/demo/pages/Typography/index.js +++ /dev/null @@ -1,20 +0,0 @@ -Page({ - data: {}, - handleTap(e) { - const { type, text } = e.currentTarget.dataset; - if (type === 'copy') { - my.setClipboard({ - text, - success() { - my.showToast({ type: 'success', content: `复制成功` }); - }, - }); - return; - } - my.alert({ content: `点击${type}` }); - }, - handleDisabledTap(e) { - const { type } = e.currentTarget.dataset; - my.alert({ content: `禁用状态下点击${type}` }); - }, -}); diff --git a/compiled/alipay/demo/pages/Typography/index.json b/compiled/alipay/demo/pages/Typography/index.json deleted file mode 100644 index 7680c8ddb..000000000 --- a/compiled/alipay/demo/pages/Typography/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultTitle": "Typography", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "ant-typography": "../../../src/Typography/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Typography/index.less b/compiled/alipay/demo/pages/Typography/index.less deleted file mode 100644 index 4e1c25d2a..000000000 --- a/compiled/alipay/demo/pages/Typography/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.typography { - margin-bottom: 16px; -} diff --git a/compiled/alipay/demo/pages/Voucher/index.axml b/compiled/alipay/demo/pages/Voucher/index.axml deleted file mode 100644 index 4f5defe83..000000000 --- a/compiled/alipay/demo/pages/Voucher/index.axml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - 已过期 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Voucher/index.js b/compiled/alipay/demo/pages/Voucher/index.js deleted file mode 100644 index 23c22c36e..000000000 --- a/compiled/alipay/demo/pages/Voucher/index.js +++ /dev/null @@ -1,105 +0,0 @@ -Page({ - data: { - dataSource: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '50', - threshold: '满500可用', - actionAreaInfo: { - disabled: false, - text: '去兑换', - }, - }, - ], - dataSource1: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '50.5', - threshold: '满500可用', - actionAreaInfo: { - disabled: true, - text: '去兑换', - }, - }, - ], - dataSource2: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '150.55', - threshold: '满500可用', - actionAreaInfo: { - imageUrl: 'https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*6ru_T531wmgAAAAAAAAAAAAADtF8AQ/original', - }, - }, - ], - dataSource2A: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '8.8', - moneyUnit: '折', - threshold: '满500可用', - actionAreaInfo: { - imageUrl: 'https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*6ru_T531wmgAAAAAAAAAAAAADtF8AQ/original', - }, - }, - ], - dataSource3: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '50.5', - threshold: '满500可用', - actionAreaInfo: { - disabled: false, - text: '去使用', - }, - }, - ], - dataSource4: [ - { - disabled: true, - title: '主标题文案主标题文案', - desc: '有效期:2023.12.18', - money: '50.99', - threshold: '满50可用', - }, - ], - // 多列 - dataSource5: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '0.5', - }, - ], - dataSource6: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '150.55', - }, - ], - dataSource7: [ - { - title: '主标题文案主标题文案', - desc: '副标题文案副标题文案', - money: '2.88', - moneyUnit: '折', - }, - ], - }, - onTap(item, event) { - my.alert({ - content: `onTap item: ${JSON.stringify(item)} \n event: ${JSON.stringify(event)}`, - }); - }, - onVoucherTap(item, event) { - my.alert({ - content: `onVoucherTap item: ${JSON.stringify(item)} \n event: ${JSON.stringify(event)}`, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/Voucher/index.json b/compiled/alipay/demo/pages/Voucher/index.json deleted file mode 100644 index 06aeaf2aa..000000000 --- a/compiled/alipay/demo/pages/Voucher/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Voucher", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "voucher": "../../../src/Voucher/index", - "ant-checkbox": "../../../src/Checkbox/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/Voucher/index.less b/compiled/alipay/demo/pages/Voucher/index.less deleted file mode 100644 index 8b569da87..000000000 --- a/compiled/alipay/demo/pages/Voucher/index.less +++ /dev/null @@ -1,34 +0,0 @@ -page { - padding-bottom: 24rpx; - - .ant-checkbox-item { - margin: 0; - } - .ant-checkbox-item-wrap { - width: 32rpx; - height: 32rpx; - flex: 0 0 32rpx; - } - .ant-checkbox-item-base { - margin: 0; - } - .ant-checkbox-item-content { - display: none; - } - .ant-checkbox-item-fake-checkedIcon-icon { - font-size: 21rpx; - } -} - -.slot-demo { - padding-right: 24rpx; - font-size: 26rpx; - line-height: 37rpx; - color: #666; - font-weight: 500; -} - -.multiple-column-slot-demo { - padding-top: 5rpx; - padding-right: 12rpx; -} diff --git a/compiled/alipay/demo/pages/index/index.axml b/compiled/alipay/demo/pages/index/index.axml deleted file mode 100644 index 833c9d3f2..000000000 --- a/compiled/alipay/demo/pages/index/index.axml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - Ant Design Mini - - - - 探索移动端小程序的极致体验 - - - - - - - - - - - - - - {{item.name}} - {{item.nameZN}} - - - - - - - - - {{item.type}} - - - - {{itemList.name}} - - Update - - - {{itemList.nameZN}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/demo/pages/index/index.js b/compiled/alipay/demo/pages/index/index.js deleted file mode 100644 index aa5c33a8d..000000000 --- a/compiled/alipay/demo/pages/index/index.js +++ /dev/null @@ -1,55 +0,0 @@ -//@ts-ignore -import { componentList, allComponents } from '../../utils/constants'; -Page({ - data: { - componentList, - finding: false, - searchResult: [], - }, - onShow() { - this.setData({ - finding: false, - searchResult: [], - }); - }, - onClearSearch() { - this.setData({ - finding: false, - searchResult: [], - }); - }, - onSearch(e) { - if (e.length > 0) { - const result = []; - allComponents.forEach((searchKey) => { - if (searchKey.name.toLowerCase().match(e)) { - result.push(searchKey); - } - }); - this.setData({ - finding: true, - searchResult: result, - }); - } - else { - this.setData({ - finding: false, - searchResult: [], - }); - } - }, - listPress(e) { - console.log('11'); - if (typeof my === 'undefined') { - console.log('navigateTo', e.currentTarget.dataset.url); - //@ts-ignore - wx.navigateTo({ - url: '/demo' + e.currentTarget.dataset.url, - }); - return; - } - my.navigateTo({ - url: e.currentTarget.dataset.url, - }); - }, -}); diff --git a/compiled/alipay/demo/pages/index/index.json b/compiled/alipay/demo/pages/index/index.json deleted file mode 100644 index e1e1700d9..000000000 --- a/compiled/alipay/demo/pages/index/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "defaultTitle": "", - "usingComponents": { - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-tag": "../../../src/Tag/index", - "ant-icon": "../../../src/Icon/index", - "ant-input": "../../../src/Input/index" - }, - "transparentTitle": "always" -} \ No newline at end of file diff --git a/compiled/alipay/demo/pages/index/index.less b/compiled/alipay/demo/pages/index/index.less deleted file mode 100644 index 520f1dcc5..000000000 --- a/compiled/alipay/demo/pages/index/index.less +++ /dev/null @@ -1,52 +0,0 @@ -page { - width: 100vw; - height: 100vh; - overflow-y: scroll; -} - -.list { - margin-bottom: 24rpx; -} - -.demo-header { - padding-top: 100rpx; - display: flex; - flex-direction: column; - position: relative; - height: 460rpx; - margin-bottom: 66rpx; - align-items: center; - justify-content: center; - color: white; - width: 100vw; - text-align: center; - background: rgb(1, 112, 254); -} - -.side-image { - position: absolute; - right: 0; - bottom: 0; - height: 180rpx; - opacity: 0.3; -} - -.demo-header-title { - font-size: 32px; - font-weight: bold; - color: white; - margin-bottom: 16rpx; -} - -.input-container { - position: absolute; - width: 100%; - top: 560rpx; - padding: 0 24rpx; - box-sizing: border-box; - transform: translateY(-50%); -} - -.input { - padding: 16rpx; -} diff --git a/compiled/alipay/demo/utils/constants.js b/compiled/alipay/demo/utils/constants.js deleted file mode 100644 index dbeaa4c92..000000000 --- a/compiled/alipay/demo/utils/constants.js +++ /dev/null @@ -1,383 +0,0 @@ -export const componentList = [ - { - type: '通用', - list: [ - { - name: 'Button', - nameZN: '按钮', - path: '/pages/Button/index', - }, - { - name: 'Icon', - nameZN: '图标', - path: '/pages/Icon/index', - }, - { - name: 'Sticky', - nameZN: '黏性吸附', - path: '/pages/Sticky/index', - }, - ], - }, - { - type: '导航', - list: [ - { - name: 'TabBar', - nameZN: 'TabBar底部标签栏', - path: '/pages/TabBar/index', - }, - { - name: 'Tabs', - nameZN: '标签页', - path: '/pages/Tabs/index', - }, - { - name: 'TabsElevator', - nameZN: '标签页-电梯模式', - path: '/pages/Tabs/TabsElevator/index', - }, - { - name: 'TabsVerticalElevator', - nameZN: '标签页-纵向电梯模式', - path: '/pages/Tabs/TabsVerticalElevator/index', - }, - ], - }, - { - type: '信息展示', - list: [ - { - name: 'Card', - nameZN: '基础卡片', - path: '/pages/Card/index', - }, - { - name: 'Avatar', - nameZN: '头像', - path: '/pages/Avatar/index', - }, - { - name: 'IndexBarControl', - nameZN: '索引-控制', - path: '/pages/IndexBarControl/index', - }, - { - name: 'Collapse', - nameZN: '折叠面板', - path: '/pages/Collapse/index', - }, - { - name: 'Grid', - nameZN: '宫格', - path: '/pages/Grid/index', - }, - { - name: 'List', - nameZN: '列表', - path: '/pages/List/index', - }, - { - name: 'SwipeAction', - nameZN: '滑动操作', - path: '/pages/SwipeAction/index', - }, - { - name: 'Steps', - nameZN: '步骤条', - path: '/pages/Steps/index', - }, - { - name: 'GuideTour', - nameZN: '新手引导', - path: '/pages/GuideTour/index', - }, - { - name: 'Tag', - nameZN: ' 标签', - path: '/pages/Tag/index', - }, - { - name: 'Progress', - nameZN: '进度条', - path: '/pages/Progress/index', - }, - { - name: 'Divider', - nameZN: '分割线', - path: '/pages/Divider/index', - }, - { - name: 'Table', - nameZN: '表格', - path: '/pages/Table/index', - }, - ], - }, - { - type: '信息录入', - list: [ - { - name: 'Checkbox', - nameZN: '复选框', - path: '/pages/Checkbox/index', - }, - { - name: 'Checklist', - nameZN: '可勾选列表', - path: '/pages/Checklist/index', - }, - { - name: 'Form', - nameZN: '表单', - path: '/pages/Form/index', - }, - { - name: 'Input', - nameZN: '输入框', - path: '/pages/Input/index', - }, - { - name: 'InputCustom', - nameZN: '输入框-自定义', - path: '/pages/InputCustom/index', - }, - { - name: 'InputTextarea', - nameZN: '输入框-textarea', - path: '/pages/InputTextarea/index', - }, - { - name: 'InputSearchBar', - nameZN: '输入框-搜索框', - path: '/pages/InputSearchBar/index', - }, - { - name: 'Picker', - nameZN: '选择器', - path: '/pages/Picker/index', - }, - { - name: 'DatePicker', - nameZN: '时间选择器', - path: '/pages/DatePicker/index', - }, - { - name: 'Radio', - nameZN: '单选框', - path: '/pages/Radio/index', - }, - { - name: 'Selector', - nameZN: '选择组', - path: '/pages/Selector/index', - }, - { - name: 'Slider', - nameZN: '滑动输入条', - path: '/pages/Slider/index', - }, - { - name: 'Stepper', - nameZN: '步进器', - path: '/pages/Stepper/index', - }, - { - name: 'Switch', - nameZN: '开关', - path: '/pages/Switch/index', - }, - { - name: 'ImageUpload', - nameZN: '图片上传', - path: '/pages/ImageUpload/index', - }, - { - name: 'Rate', - nameZN: '星级', - path: '/pages/Rate/index', - }, - { - name: 'RareWordsKeyboard', - nameZN: '生僻字输入键盘', - path: '/pages/RareWordsKeyboard/index', - }, - { - name: 'Calendar', - nameZN: '日历', - path: '/pages/Calendar/index', - }, - { - name: 'NumberKeyboard', - nameZN: '数字键盘-基本使用', - path: '/pages/NumberKeyboard/index', - }, - { - name: 'NumberKeyboardAmount', - nameZN: '数字键盘-金额输入框', - path: '/pages/NumberKeyboardAmount/index', - }, - { - name: 'NumberKeyboardCode', - nameZN: '数字键盘-验证码输入框', - path: '/pages/NumberKeyboardCode/index', - }, - { - name: 'NumberKeyboardNumber', - nameZN: '数字键盘-数字输入框', - path: '/pages/NumberKeyboardNumber/index', - }, - { - name: 'Postscript', - nameZN: '资金附言', - path: '/pages/Postscript/index', - }, - { - name: 'NumberInput', - nameZN: '金额输入框', - path: '/pages/NumberInput/index', - }, - ], - }, - { - type: '反馈', - list: [ - { - name: 'ActionSheet', - nameZN: '动作面板', - path: '/pages/ActionSheet/index', - }, - { - name: 'Loading', - nameZN: '加载中', - path: '/pages/Loading/index', - }, - { - name: 'Skeleton', - nameZN: '骨架屏', - path: '/pages/Skeleton/index', - }, - { - name: 'Dialog', - nameZN: '弹窗', - path: '/pages/Dialog/index', - }, - { - name: 'Popover', - nameZN: '气泡卡片', - path: '/pages/Popover/index', - }, - { - name: 'PopoverList', - nameZN: '气泡菜单', - path: '/pages/PopoverList/index', - }, - { - name: 'Popup', - nameZN: '弹出层', - path: '/pages/Popup/index', - }, - { - name: 'Result', - nameZN: '操作结果', - path: '/pages/Result/index', - }, - { - name: 'Empty', - nameZN: '空状态', - path: '/pages/Empty/index', - }, - { - name: 'Toast', - nameZN: '轻提示', - path: '/pages/Toast/index', - }, - { - name: 'Feedback', - nameZN: '信息反馈', - path: '/pages/Feedback/index', - }, - ], - }, - { - type: '引导提示', - list: [ - { - name: 'Badge', - nameZN: '徽标', - path: '/pages/Badge/index', - }, - { - name: 'NoticeBar', - nameZN: '通告栏', - path: '/pages/NoticeBar/index', - }, - ], - }, - { - type: '业务组件', - list: [ - { - name: 'Countdown', - nameZN: '倒计时', - path: '/pages/Countdown/index', - }, - { - name: 'Voucher', - nameZN: '优惠券', - path: '/pages/Voucher/index', - }, - { - name: 'SelectContact', - nameZN: '选人组件', - path: '/pages/SelectContact/index', - }, - ], - }, - { - type: '实验性', - list: [ - { - name: 'AutoResize', - nameZN: '文本自适应', - path: '/pages/AutoResize/index', - }, - { - name: 'ConfigProvider', - nameZN: '全局容器', - path: '/pages/ConfigProvider/index', - }, - { - name: 'PageContainer', - nameZN: '页面容器', - path: '/pages/PageContainer/index', - }, - { - name: 'Typography', - nameZN: '排版', - path: '/pages/Typography/index', - }, - { - name: 'SafeArea', - nameZN: '安全区', - path: '/pages/SafeArea/index', - }, - ], - }, - { - type: '待废弃', - list: [ - { - name: 'Container', - nameZN: '容器', - path: '/pages/Container/index', - }, - { - name: 'Modal', - nameZN: '对话框', - path: '/pages/Modal/index', - }, - ], - }, -]; -export const allComponents = componentList.reduce((re, v) => [...re, ...v.list], []); diff --git a/compiled/alipay/src/ActionSheet/index.axml b/compiled/alipay/src/ActionSheet/index.axml deleted file mode 100644 index 2a6b277e4..000000000 --- a/compiled/alipay/src/ActionSheet/index.axml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - {{title}} - - - - - - - - - {{item.text}} - - - {{item.description}} - - - - - - - - - {{cancelText}} - - - - \ No newline at end of file diff --git a/compiled/alipay/src/ActionSheet/index.en.md b/compiled/alipay/src/ActionSheet/index.en.md deleted file mode 100644 index e36167045..000000000 --- a/compiled/alipay/src/ActionSheet/index.en.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# ActionSheet - -Actions menu panel that pops up from the bottom. Triggered by a user action, providing a set of two or more options related to the action, allowing the user to complete the action without leaving the field. Compared with the dialog box, the position of the action panel is more suitable for the scene of one-handed operation in the era of large screen. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-action-sheet": "antd-mini/es/ActionSheet/index" -#endif -#if WECHAT - "ant-action-sheet": "antd-mini/ActionSheet/index" -#endif -} -``` - -## Code example - -### Basic use - -> `ant-action-sheet` Components must pass `visible` Property controls the show/hide state.`actions` property passes in the data to drive the options rendering. - -```xml - - - - Open Panel - -``` - -```js -Page({ - data: { - visible: true, - actions: [ - { - text: 'copy', - key: 'copy', - }, - { - text: 'modify', - key: 'modify', - }, - ], - }, - handleOpen() { - this.setData({ - visible: true, - }); - }, - handleClose(e) { - this.setData({ - visible: false, - }); - }, - handleAction(item, index, e) { -#if ALIPAY - if (item.key === 'delete') { - my.confirm({ - content: 'are you sure?', - }); - return; - } - my.alert({ content: `you clicked ${item.key}` }); -#endif -#if WECHAT - const [clickItem, clickIndex] = item.detail; - wx.showToast({ title: `you clicked ${clickItem.key}(${clickIndex})` }); -#endif - }, -}); -``` - -### Option Status - -> [actions](#actionsheetitem) Each of the provided `icon` `danger` `description` `disabled` Used to set the option state. - -```xml - -``` - -```js -Page({ - data: { - actions: [ - { - text: 'copy', - key: 'copy', - description: 'select copy content', - }, - { - text: 'modify', - key: 'modify', - disabled: true, - }, - { - text: 'delete', - key: 'delete', - danger: true, - }, - { - text: 'backup', - key: 'backup', - description: 'select backup content', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*I0oNS4RCQzUAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'save', - key: 'save', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*BNczQ7hmp2gAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'sync', - key: 'sync', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*eRaVSrV56dIAAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| actions | Panel Options List | [ActionSheetItem](#actionsheetitem)[] | [] | -| cancelText | Cancel Button Text | string | Cancel | -| className | Class Name | string | - | -| style | Style | string | - | -| title | Title | string | - | -| visible | Whether to expand | boolean | false | -| zIndex | Pop-up Level | number | 998 | -| #if ALIPAY onClose | Trigger on shutdown | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onAction | Triggered when option is clicked, not triggered when disabled | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:close | Trigger on shutdown | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:action | Triggered when option is clicked, not triggered when disabled | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### ActionSheetItem - -| Property | Description | Type | Default Value | -| ----------- | ------------ | ------- | ------ | -| text | Text | string | - | -| icon | Icons | - | - | -| danger | Whether dangerous mode | boolean | false | -| description | Description | string | - | -| disabled | Disable | boolean | false | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --actionsheet-danger-color |
#ff3141
|
#ff4a58
| Hazardous color | -| --actionsheet-title-color |
#999999
|
#616161
| Title Color | -| --actionsheet-item-color |
#333333
|
#c5cad1
| Item Color | -| --actionsheet-item-active-bg |
#eeeeee
|
#2b2b2b
| Entries Activate Background Color | -| --activesheet-item-cancel-bg |
#f5f5f5
|
#121212
| Entries cancel background color | diff --git a/compiled/alipay/src/ActionSheet/index.json b/compiled/alipay/src/ActionSheet/index.json deleted file mode 100644 index e1a7501d8..000000000 --- a/compiled/alipay/src/ActionSheet/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/alipay/src/ActionSheet/index.less b/compiled/alipay/src/ActionSheet/index.less deleted file mode 100644 index da1ad2649..000000000 --- a/compiled/alipay/src/ActionSheet/index.less +++ /dev/null @@ -1,96 +0,0 @@ -@import (reference) './variable.less'; -@import (reference) '../style/mixins/hairline.less'; - -@actionsheetPrefix: ant-actionsheet; -.@{actionsheetPrefix} { - padding-left: 24 * @rpx; - padding-right: 24 * @rpx; - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); - &-title-wrap { - text-align: center; - position: relative; - margin: 0 -24 * @rpx; - } - &-title-content { - display: inline-block; - text-align: left; - padding: 36 * @rpx 30 * @rpx; - font-size: 30 * @rpx; - color: @actionsheet-title-color; - .hairline('bottom', @actionsheet-item-active-bg); - } - &-list { - margin: 0 -24 * @rpx; - } - &-list-item { - color: @actionsheet-item-color; - padding: 32 * @rpx 30 * @rpx; - text-align: center; - position: relative; - font-size: 36 * @rpx; - .hairline('bottom', @actionsheet-item-active-bg); - &-title-danger { - color: @actionsheet-danger-color; - font-weight: bold; - } - &-description { - color: @actionsheet-title-color; - font-size: 28 * @rpx; - line-height: 40 * @rpx; - margin-top: 8 * @rpx; - } - &-active { - background-color: @actionsheet-item-active-bg; - } - &:last-child { - &&:after { - display: none; - } - } - } - &-list-item-disabled { - .@{actionsheetPrefix}-list-item-icon, - .@{actionsheetPrefix}-list-item-content { - opacity: @opacity-disabled; - } - } - - &-cancel-gap { - height: 16 * @rpx; - background: @activesheet-item-cancel-bg; - margin: 0 -24 * @rpx; - } - - &-cancel { - color: @actionsheet-item-color; - padding: 32 * @rpx 30 * @rpx; - font-size: 36 * @rpx; - text-align: center; - margin: 0 -24 * @rpx; - &:active { - background-color: @actionsheet-item-active-bg; - } - } -} - -.@{actionsheetPrefix}-icon { - .@{actionsheetPrefix}-title-wrap { - text-align: left; - } - .@{actionsheetPrefix}-list-item { - display: flex; - align-items: center; - &-icon { - height: @actionsheet-icon-height; - flex: 0 0 @actionsheet-icon-width; - margin-right: 24 * @rpx; - background-size: contain; - background-position: center center; - background-repeat: no-repeat; - } - &-content { - text-align: left; - } - } -} diff --git a/compiled/alipay/src/ActionSheet/index.md b/compiled/alipay/src/ActionSheet/index.md deleted file mode 100644 index 76eeb9643..000000000 --- a/compiled/alipay/src/ActionSheet/index.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# ActionSheet 动作面板 - -从底部弹出的动作菜单面板。由用户操作触发,提供一组与操作相关的两个或多个选项,让用户在不离场的情况下完成操作。相比于对话框,动作面板的位置更适合于在大屏幕时代单手操作的场景。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-action-sheet": "antd-mini/es/ActionSheet/index" -#endif -#if WECHAT - "ant-action-sheet": "antd-mini/ActionSheet/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `ant-action-sheet` 组件必须通过 `visible` 属性控制显示/隐藏状态。`actions` 属性传入数据驱动选项渲染。 - -```xml - - - - 打开面板 - -``` - -```js -Page({ - data: { - visible: true, - actions: [ - { - text: 'copy', - key: 'copy', - }, - { - text: 'modify', - key: 'modify', - }, - ], - }, - handleOpen() { - this.setData({ - visible: true, - }); - }, - handleClose(e) { - this.setData({ - visible: false, - }); - }, - handleAction(item, index, e) { -#if ALIPAY - if (item.key === 'delete') { - my.confirm({ - content: 'are you sure?', - }); - return; - } - my.alert({ content: `you clicked ${item.key}` }); -#endif -#if WECHAT - const [clickItem, clickIndex] = item.detail; - wx.showToast({ title: `you clicked ${clickItem.key}(${clickIndex})` }); -#endif - }, -}); -``` - -### 选项状态 - -> [actions](#actionsheetitem) 的每一项提供 `icon` `danger` `description` `disabled` 用来设置选项状态。 - -```xml - -``` - -```js -Page({ - data: { - actions: [ - { - text: 'copy', - key: 'copy', - description: 'select copy content', - }, - { - text: 'modify', - key: 'modify', - disabled: true, - }, - { - text: 'delete', - key: 'delete', - danger: true, - }, - { - text: 'backup', - key: 'backup', - description: 'select backup content', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*I0oNS4RCQzUAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'save', - key: 'save', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*BNczQ7hmp2gAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'sync', - key: 'sync', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*eRaVSrV56dIAAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| actions | 面板选项列表 | [ActionSheetItem](#actionsheetitem)[] | [] | -| cancelText | 取消按钮文字 | string | 取消 | -| className | 类名 | string | - | -| style | 样式 | string | - | -| title | 标题 | string | - | -| visible | 是否展开 | boolean | false | -| zIndex | 弹窗层级 | number | 998 | -| #if ALIPAY onClose | 关闭时触发 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onAction | 点击选项时触发,禁用状态下不会触发 | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:close | 关闭时触发 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:action | 点击选项时触发,禁用状态下不会触发 | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### ActionSheetItem - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ------------ | ------- | ------ | -| text | 文本 | string | - | -| icon | 图标 | - | - | -| danger | 是否危险模式 | boolean | false | -| description | 描述 | string | - | -| disabled | 是否禁用 | boolean | false | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --actionsheet-danger-color |
#ff3141
|
#ff4a58
| 危险颜色 | -| --actionsheet-title-color |
#999999
|
#616161
| 标题颜色 | -| --actionsheet-item-color |
#333333
|
#c5cad1
| 条目颜色 | -| --actionsheet-item-active-bg |
#eeeeee
|
#2b2b2b
| 条目激活背景色 | -| --activesheet-item-cancel-bg |
#f5f5f5
|
#121212
| 条目取消背景色 | diff --git a/compiled/alipay/src/ActionSheet/index.sjs b/compiled/alipay/src/ActionSheet/index.sjs deleted file mode 100644 index 8e776abb7..000000000 --- a/compiled/alipay/src/ActionSheet/index.sjs +++ /dev/null @@ -1,8 +0,0 @@ -function isIconMode(actions) { - return actions.some(function (action) { - return !!action.icon; - }); -} -export default { - isIconMode: isIconMode -}; \ No newline at end of file diff --git a/compiled/alipay/src/ActionSheet/index.ts b/compiled/alipay/src/ActionSheet/index.ts deleted file mode 100644 index df5da530b..000000000 --- a/compiled/alipay/src/ActionSheet/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { - Component, - IPlatformEvent, - triggerEventOnly, - triggerEventValues, -} from '../_util/simply'; -import { ActionSheetDefaultProps, IActionItem } from './props'; - -Component(ActionSheetDefaultProps, { - onAction(e: IPlatformEvent) { - const { item, index } = e.currentTarget.dataset as { - item: IActionItem; - index: number; - }; - if (item?.disabled) return; - - triggerEventOnly(this, 'close', e); - triggerEventValues(this, 'action', [item, index], e); - }, - onClose(e: IPlatformEvent) { - triggerEventOnly(this, 'close', e); - }, -}); diff --git a/compiled/alipay/src/ActionSheet/props.ts b/compiled/alipay/src/ActionSheet/props.ts deleted file mode 100644 index f26d48985..000000000 --- a/compiled/alipay/src/ActionSheet/props.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface IActionItem { - text: string; - icon: string; - description?: string; - danger?: boolean; - disabled?: boolean; -} -/** - * @description 头像,可展示头像以及用户名等简要信息。 - */ -export interface IActionSheetProps extends IBaseProps { - /** - * @description 标题 - * @default "" - */ - title: string; - - /** - * @description 面板选项列表 - * @default [] - */ - actions: IActionItem[]; - - /** - * @description 取消按钮文字 - * @default [] - */ - cancelText: string; - - /** - * @description 是否显示 - * @default false - */ - visible: boolean; - - zIndex: number; - - /** - * @description 点击选项时触发,禁用或加载状态下不会触发 - */ - - onAction: (aciton: IActionItem, index: number, e) => void; - - /** - * @description 关闭时触发 - */ - - onClose: (e) => void; -} - -export const ActionSheetDefaultProps: Partial = { - title: '', - actions: [], - cancelText: '取消', - visible: false, - // 弹窗层级 - zIndex: 998, -}; diff --git a/compiled/alipay/src/ActionSheet/variable.less b/compiled/alipay/src/ActionSheet/variable.less deleted file mode 100644 index 30009219f..000000000 --- a/compiled/alipay/src/ActionSheet/variable.less +++ /dev/null @@ -1,13 +0,0 @@ -@import (reference) '../style/themes/index.less'; -@import (reference) '../style/variables.less'; - -@actionsheet-danger-color: var(--actionsheet-danger-color, @COLOR_RED); -@actionsheet-icon-width: 48 * @rpx; -@actionsheet-icon-height: 48 * @rpx; -@actionsheet-title-color: var(--actionsheet-title-color, @COLOR_TEXT_ASSIST); -@actionsheet-item-color: var(--actionsheet-item-color, @COLOR_TEXT_PRIMARY); -@actionsheet-item-active-bg: var(--actionsheet-item-active-bg, @COLOR_BORDER); -@activesheet-item-cancel-bg: var( - --activesheet-item-cancel-bg, - @COLOR_BACKGROUND -); diff --git a/compiled/alipay/src/Alphabet/index.axml b/compiled/alipay/src/Alphabet/index.axml deleted file mode 100644 index a428cfc26..000000000 --- a/compiled/alipay/src/Alphabet/index.axml +++ /dev/null @@ -1,25 +0,0 @@ - - - {{item}} - - {{item}} - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Alphabet/index.json b/compiled/alipay/src/Alphabet/index.json deleted file mode 100644 index 32640e0dc..000000000 --- a/compiled/alipay/src/Alphabet/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} \ No newline at end of file diff --git a/compiled/alipay/src/Alphabet/index.less b/compiled/alipay/src/Alphabet/index.less deleted file mode 100644 index 8d40c9cf6..000000000 --- a/compiled/alipay/src/Alphabet/index.less +++ /dev/null @@ -1,51 +0,0 @@ -.alphabet-container { - position: absolute; - top: 50%; - right: 0; - width: 28rpx; - min-height: 48px; - padding-left: 12rpx; - text-align: center; - transform: translate(0, -50%); - - &-item { - position: relative; - display: flex; - width: 14px; - height: 14px; - font-size: 10px; - line-height: 14rpx; - color: #999; - text-align: center; - border-radius: 14rpx; - align-items: center; - justify-content: center; - - &-tip { - position: absolute; - left: -180rpx; - width: 100rpx; - height: 100rpx; - font-size: 56rpx; - line-height: 100rpx; - color: white; - text-align: center; - background: rgb(204, 204, 204); - border-radius: 100rpx; - } - - &-triangle { - position: absolute; - left: -94.66rpx; - width: 0; - height: 0; - border: 35.35rpx solid transparent; - border-left: 35.35rpx solid rgb(204, 204, 204); - } - } - - &-active { - color: white; - background: #1677ff; - } -} diff --git a/compiled/alipay/src/Alphabet/index.ts b/compiled/alipay/src/Alphabet/index.ts deleted file mode 100644 index 415daff56..000000000 --- a/compiled/alipay/src/Alphabet/index.ts +++ /dev/null @@ -1,84 +0,0 @@ -let d = false; - -Component({ - data: { - /** 按下触摸点的高度 */ - touchClientY: 0, - - /** 选中字母的下标 */ - touchKeyIndex: -1, - - /** 选中的字母 */ - touchKey: '', - - /** 每个字母的高度 */ - itemScrollHeight: 16, - - /** 是否正在滚动 */ - moving: false, - }, - - props: { - /** 字母表 */ - alphabet: [], - - /** 滚动到子元素,值应为某子元素的 id。当滚动到该元素时,元素顶部对齐滚动区域顶部 */ - // eslint-disable-next-line @typescript-eslint/no-unused-vars - onScrollIntoView: (_item: string) => { - return _item; - }, - }, - - methods: { - onTouchStart(e: any) { - if (this.data.moving) return; - - const point = (e && Array.isArray(e.touches) && e.touches[0]) || {}; - const { item, index } = e.target.dataset.item; - const { clientY } = point; - - this.setData({ - touchClientY: clientY, - touchKeyIndex: index, - moving: true, - touchKey: this.props.alphabet[index], - }); - this.onAlphabetClick(item); - // @ts-ignore jsapi - my.vibrateShort(); - }, - - onTouchMove(e: any) { - const point = e.changedTouches[0]; - const movePageY = point.clientY; - const { touchClientY, touchKeyIndex, touchKey, itemScrollHeight } = this.data; - const { alphabet } = this.props; - const movingHeight = Math.abs(movePageY - touchClientY); - const movingNum = parseInt(`${movingHeight / itemScrollHeight}`, 10); - const newIndex = movePageY < touchClientY ? touchKeyIndex - movingNum : touchKeyIndex + movingNum; - - if (d || !alphabet[newIndex] || touchKey === alphabet[newIndex]) return; - - d = true; - this.setData({ touchKey: alphabet[newIndex] }, () => { - d = false; - }); - // @ts-ignore jsapi - my.vibrateShort(); - this.onAlphabetClick(alphabet[newIndex]); - }, - - onTouchEnd() { - if (!this.data.moving) return; - - setTimeout(() => this.setData({ moving: false }), 200); - this.setData({ touchKeyIndex: -1, touchKey: '' }); - }, - - onAlphabetClick(item: string) { - const { onScrollIntoView } = this.props; - - onScrollIntoView && onScrollIntoView(item); - }, - }, -}); diff --git a/compiled/alipay/src/AutoResize/index.axml b/compiled/alipay/src/AutoResize/index.axml deleted file mode 100644 index ab4012e39..000000000 --- a/compiled/alipay/src/AutoResize/index.axml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/AutoResize/index.en.md b/compiled/alipay/src/AutoResize/index.en.md deleted file mode 100644 index 4cd697e80..000000000 --- a/compiled/alipay/src/AutoResize/index.en.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -nav: - path: /components -group: - title: Other - order: 16 -toc: 'content' ---- - -# AutoResize - -When multi-language adaptation of existing components is required, this component can be used in the original layout to complete the adaptation of different lengths of text in the component; - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-auto-resize": "antd-mini/es/AutoResize/index" -#endif -#if WECHAT - "ant-auto-resize": "antd-mini/AutoResize/index" -#endif -} -``` - -## Code example - - - -## API - -| Property | Description | Type | Default Value | -| ----------- | ----------------------------------------------------------------------------------------------------------------------- | ------- | ------ | -| text | Text to be passed in, used to calculate the width | string | - | -| minFontSize | The minimum font size limit can be set according to the business. | number | 30 | -| maxFontSize | The original design font size of the area, the maximum size cannot exceed this font size. | number | 36 | -| wrap | Whether to support line feed | boolean | false | -| ratio | Copy width ratio, calculated `maxFontSize / ratio * length of copy`, there are scenes where the English characters are long but the container width is enough to display, but the font is reduced, which can be increased at this time. | diff --git a/compiled/alipay/src/AutoResize/index.json b/compiled/alipay/src/AutoResize/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/AutoResize/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/AutoResize/index.less b/compiled/alipay/src/AutoResize/index.less deleted file mode 100644 index a04c8fa6e..000000000 --- a/compiled/alipay/src/AutoResize/index.less +++ /dev/null @@ -1 +0,0 @@ -@import (reference) './variable.less'; diff --git a/compiled/alipay/src/AutoResize/index.md b/compiled/alipay/src/AutoResize/index.md deleted file mode 100644 index e6b0dd7c8..000000000 --- a/compiled/alipay/src/AutoResize/index.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -nav: - path: /components -group: - title: 实验性 - order: 16 -toc: 'content' ---- - -# AutoResize 文本自适应 - -当需要对现有组件做多语言适配时,可以在原布局中使用本组件,以完成不同长度的文本在组件中的适配;通过计算当前文字的长宽和当前文案所处的容器长宽自动进行适配,且支持通过ratio来计算放大比例; - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-auto-resize": "antd-mini/es/AutoResize/index" -#endif -#if WECHAT - "ant-auto-resize": "antd-mini/AutoResize/index" -#endif -} -``` - -## 代码示例 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ----------------------------------------------------------------------------------------------------------------------- | ------- | ------ | -| text | 要传入的文本,用来计算宽度 | string | - | -| minFontSize | 最小字号限制,可以根据业务自行设置 | number | 30 | -| maxFontSize | 该区域的原设计字号,最大不能超过该字号 | number | 36 | -| wrap | 是否支持换行 | boolean | false | -| ratio | 文案宽度比,计算方式为 `maxFontSize / ratio * 文案长度`,有场景英文字符长但容器宽度足够显示,却缩小了字体,此时可以增大 | diff --git a/compiled/alipay/src/AutoResize/index.ts b/compiled/alipay/src/AutoResize/index.ts deleted file mode 100644 index 48fc62709..000000000 --- a/compiled/alipay/src/AutoResize/index.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { Component, getValueFromProps } from '../_util/simply'; -import { AutoResizeDefaultProps } from './props'; - -Component( - AutoResizeDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - async getBoundingClientRect(query: string) { - return await getInstanceBoundingClientRect(this.getInstance(), query); - }, - adjustFontSize() { - // 用createSelectorQuery来获取容器尺寸信息 - this.getBoundingClientRect('.ant-autoresize-fontsize-container').then( - (rect) => { - if (!rect) return; - const [text, maxFontSize, ratio] = getValueFromProps(this, [ - 'text', - 'maxFontSize', - 'ratio', - ]); - // 假设自适应逻辑是基于容器宽度来设置字号 - const containerWidth = rect.width; - const textLength = text.length; - - /** 判断是否还有空隙 总宽度 - 字体宽度 > 0 */ - const hasSpace = - containerWidth - (maxFontSize / ratio) * textLength > 0; - - if (!hasSpace) { - this.checkTextOverflow(); - } - } - ); - }, - // 检查是否超长 - checkTextOverflow() { - // 子组件插槽的类名是default-slot - Promise.all([ - this.getBoundingClientRect('.ant-autoresize-slot'), - this.getBoundingClientRect('.ant-autoresize-fontsize-container'), - ]).then((rects) => { - const textRect = rects[0]; - const containerRect = rects[1]; - if (textRect && containerRect) { - const [wrap, minFontSize] = getValueFromProps(this, [ - 'wrap', - 'minFontSize', - ]); - let newStyle = ''; - // 如果容器宽度小于文本宽度,且容器高度支持换行,则换行; - // wrap为true时,文案超长会换行,注意样式如margin-top重叠 - if (containerRect.height / 2 > textRect.height || wrap) { - newStyle = `font-size: ${minFontSize}rpx; overflow: visible; white-space: pre-wrap; word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;`; - } else { - // 如果不支持换行,则直接出现省略号; - newStyle = `font-size: ${minFontSize}rpx; max-width: ${textRect.width}px; width: ${textRect.width}px; overflow: hidden; display: inline-block; text-overflow: ellipsis; white-space: nowrap; -webkit-box-orient: vertical;`; - } - // 设置样式... - this.setData({ - wrapAndEllipsisStyle: newStyle, - }); - } - }); - }, - }, - { - /** 换行或省略号样式 */ - wrapAndEllipsisStyle: '', - }, - undefined, - { - didMount() { - this.adjustFontSize(); - }, - } -); diff --git a/compiled/alipay/src/AutoResize/props.ts b/compiled/alipay/src/AutoResize/props.ts deleted file mode 100644 index 48275fb68..000000000 --- a/compiled/alipay/src/AutoResize/props.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { IBaseProps } from '../_util/base'; - -/** - * @description 文本自适应,用于未知长度的文案需要自适应宽度的场景。 - */ - -export interface IAutoResizeProps extends IBaseProps { - /** - * @description 要传入的文本,用来计算宽度 - */ - text?: string; - /** - * @description 最小字号限制, 可以根据业务自行设置 - * @default 30 - */ - minFontSize?: number; - /** - * @description 是否禁用 - * @default 36 - */ - maxFontSize?: number; - /** - * @description 是否支持换行 - * @default false - */ - wrap: boolean; - /** - * @description 文案宽度比,计算方式为maxFontSize / ratio * 文案长度, - * 有场景英文字符长但容器宽度足够显示,却缩小了字体,此时可以增大ratio使用maxFontSize字号 - * @default 2 - */ - ratio?: number; -} - -export const AutoResizeDefaultProps: Partial = { - text: '', - minFontSize: 30, - maxFontSize: 36, - wrap: false, - ratio: 2, -}; diff --git a/compiled/alipay/src/AutoResize/variable.less b/compiled/alipay/src/AutoResize/variable.less deleted file mode 100644 index 16ba6d9d3..000000000 --- a/compiled/alipay/src/AutoResize/variable.less +++ /dev/null @@ -1,2 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; diff --git a/compiled/alipay/src/Avatar/index.axml b/compiled/alipay/src/Avatar/index.axml deleted file mode 100644 index fe1d9a493..000000000 --- a/compiled/alipay/src/Avatar/index.axml +++ /dev/null @@ -1,13 +0,0 @@ - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Avatar/index.en.md b/compiled/alipay/src/Avatar/index.en.md deleted file mode 100644 index 51c660374..000000000 --- a/compiled/alipay/src/Avatar/index.en.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: content ---- - -# Avatar - -When you need to show the characteristics of people or things more intuitively. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-avatar": "antd-mini/es/Avatar/index" -#endif -#if WECHAT - "ant-avatar": "antd-mini/Avatar/index" -#endif -} -``` - -## Code example - -### Basic use -```xml - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -|---------|----------|------|-----------| -| className | Class Name | string | - | -| size | size, optional `x-small`、`small`、`medium`、`large` | string | `medium` | -| src | avatar address | string | Gray built-in picture | -| style | Style | string | - | diff --git a/compiled/alipay/src/Avatar/index.json b/compiled/alipay/src/Avatar/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Avatar/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Avatar/index.less b/compiled/alipay/src/Avatar/index.less deleted file mode 100644 index 629ee18d3..000000000 --- a/compiled/alipay/src/Avatar/index.less +++ /dev/null @@ -1,33 +0,0 @@ -@import (reference) './variable.less'; - -@avatarPrefix: ant-avatar; - -.@{avatarPrefix} { - display: inline-flex; - align-items: center; - &-image { - width: @avatar-size-medium; - height: @avatar-size-medium; - border-radius: @avatar-img-radius; - // 头像大小设置 - &-x-small { - width: @avatar-size-x-small; - height: @avatar-size-x-small; - } - &-small { - width: @avatar-size-small; - height: @avatar-size-small; - } - &-medium { - width: @avatar-size-medium; - height: @avatar-size-medium; - } - &-large { - width: @avatar-size-large; - height: @avatar-size-large; - } - } - &-circle { - border-radius: 100vh; - } -} diff --git a/compiled/alipay/src/Avatar/index.md b/compiled/alipay/src/Avatar/index.md deleted file mode 100644 index ff7995fde..000000000 --- a/compiled/alipay/src/Avatar/index.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: content ---- - -# Avatar 头像 - -需要更加直观地展现人物或事物特征时。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-avatar": "antd-mini/es/Avatar/index" -#endif -#if WECHAT - "ant-avatar": "antd-mini/Avatar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 -```xml - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -|---------|----------|------|-----------| -| className | 类名 | string | - | -| size | 大小,可选 `x-small`、`small`、`medium`、`large` | string | `medium` | -| src | 头像地址 | string | 灰色内置图片 | -| style | 样式 | string | - | diff --git a/compiled/alipay/src/Avatar/index.sjs b/compiled/alipay/src/Avatar/index.sjs deleted file mode 100644 index dac6d3cf2..000000000 --- a/compiled/alipay/src/Avatar/index.sjs +++ /dev/null @@ -1,12 +0,0 @@ -function getClass(size) { - var list = ['x-small', 'small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-avatar-image-".concat(size); - } - return 'ant-avatar-image-medium'; -} -var defaultSrc = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTIwcHgiIGhlaWdodD0iMTIwcHgiIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPuS/oeaBr+Wxleekujo0MC/lpLTlg49BdmF0YXIv5Y2V5Zu+OjEv5bC65a+4OuWkpzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNOCwwIEwxMTIsMCBDMTE2LjQxODI3OCwtOC4xMTYyNDUwMWUtMTYgMTIwLDMuNTgxNzIyIDEyMCw4IEwxMjAsMTEyIEMxMjAsMTE2LjQxODI3OCAxMTYuNDE4Mjc4LDEyMCAxMTIsMTIwIEw4LDEyMCBDMy41ODE3MjIsMTIwIDUuNDEwODMwMDFlLTE2LDExNi40MTgyNzggMCwxMTIgTDAsOCBDLTUuNDEwODMwMDFlLTE2LDMuNTgxNzIyIDMuNTgxNzIyLDguMTE2MjQ1MDFlLTE2IDgsMCBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i5aS05YOPIj4KICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICA8dXNlIGlkPSJNYXNrIiBmaWxsPSIjRUVFRUVFIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8cGF0aCBkPSJNNjAuNzc4Mjk5MywyMS44MTgxODE4IEw1OS4yMjE2NTIzLDIxLjgxODE4MTggTDU4LjU3ODQzNTksMjEuODI5OTY0MSBMNTguNTc4NDM1NywyMS44Mjk5NjQxIEM0OS44MDIxNTI3LDIyLjE3NDgzNiA0Mi44NjQ3OTEzLDI5LjQxMDY0NyA0Mi44NjUyMDQzLDM4LjIxOTE2MzMgTDQyLjg2NTIwNDMsNDcuNDI0MDc1MSBMNDIuODg1NzYzNyw0OC4yMzQxMDc0IEw0Mi44ODU3NjI3LDQ4LjIzNDA4NTYgQzQzLjA5MDQ4MjMsNTIuNTUwMjgwNCA0NC45MjExODc0LDU2LjYyNzYzNTUgNDguMDA3OTc5LDU5LjY0MjI3OTQgTDUyLjExMTA1ODEsNjMuNjUxMjA1MiBMNTIuMzc1MzkzNiw2My45NDI4MTY3IEM1Mi44NzQ2OTQ0LDY0LjU1MjU0OTcgNTMuMTQ3ODQxMSw2NS4zMTgzOTg0IDUzLjE0Nzg0MTEsNjYuMTEzNzA2NiBMNTMuMTQ3ODQxMSw2Ni42NzMzNjQ1IEw1My4xMjE0MDc2LDY3LjA3NjkwODEgTDUzLjEyMTQwNzYsNjcuMDc2OTA3OSBDNTIuOTg3ODc0NSw2OC4xNTYyNzIxIDUyLjMzMDE4ODEsNjkuMDk5MzI3MyA1MS4zNjUwNDk2LDY5LjU5NTM3MDUgTDI1LjU1MTE3Myw4Mi44MzI3NjM1IEwyNS4xMDQ3MzkzLDgzLjA4MzEzNjUgTDI1LjEwNDczOTUsODMuMDgzMTM2NCBDMjMuMDY0NzcxNSw4NC4zMjk4MTQgMjEuODE5NDYyMiw4Ni41NTIwMDEgMjEuODE4MTgxOCw4OC45NDc3ODUyIEwyMS44MTgxODE4LDkwLjA5NjU1NzcgTDIxLjgzNTgwNDIsOTAuNTM4MzkzMiBDMjIuMDU5MDIwNCw5My4yODk1NTEzIDI0LjM1NTgwMjcsOTUuNDU0NTQ1NSAyNy4xNTc3NTksOTUuNDU0NTQ1NSBMOTIuODQyMjQxLDk1LjQ1NDU0NTUgTDkyLjg0MjI0MSw5NS40NTQ1NDU1IEM5NS43OTAwNjM3LDk1LjQ1NDU0NTUgOTguMTgwMTkzNiw5My4wNTg4MDI3IDk4LjE4MTgxODIsOTAuMTAyNDM5NiBMOTguMTgxODE4Miw4OC45NTM2NjcyIEM5OC4xODE4MTgyLDg2LjM3MDQwNjYgOTYuNzQyNjYyOCw4NC4wMDUxMDkxIDk0LjQ0ODgwODgsODIuODMyNzY3NSBMNjguNjM0OTMyMyw2OS41OTUzNzQ1IEw2OC42MzQ5MzIsNjkuNTk1Mzc0NCBDNjcuNTM5NzExNSw2OS4wMzM5NjU3IDY2Ljg1MDk3MDIsNjcuOTAzOTcyNyA2Ni44NTIxNDA0LDY2LjY3MDQyMyBMNjYuODUyMTQwNCw2Ni4xMTA3NjUxIEM2Ni44NTIxNDA0LDY1LjE4NTg1NTYgNjcuMjI4MDg0Nyw2NC4yOTkyMzk0IDY3Ljg4ODkyMzUsNjMuNjUxMjE4NSBMNzEuOTkyMDAyNSw1OS42NDIyOTI3IEw3MS45OTIwMDI5LDU5LjY0MjI5MjQgQzc1LjI3ODYwMTksNTYuNDMxNjgwNiA3Ny4xMzIxODU3LDUyLjAyNTQyMDQgNzcuMTMxODU1Myw0Ny40MjQwNjIyIEw3Ny4xMzE4NTUzLDM4LjIxOTE1MDQgTDc3LjEzMTg1NTMsMzguMjE5MTUxIEM3Ny4xMzE4NTUzLDI5LjE2MTE2MzMgNjkuODEwMTE5OCwyMS44MTgxODE4IDYwLjc3ODI5ODcsMjEuODE4MTgxOCBMNjAuNzc4Mjk5MywyMS44MTgxODE4IFoiIGlkPSLlvaLnirYiIGZpbGw9IiNDQ0NDQ0MiIGZpbGwtcnVsZT0ibm9uemVybyIgbWFzaz0idXJsKCNtYXNrLTIpIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4='; -export default { - getClass: getClass, - defaultSrc: defaultSrc -}; \ No newline at end of file diff --git a/compiled/alipay/src/Avatar/index.ts b/compiled/alipay/src/Avatar/index.ts deleted file mode 100644 index 189b28c8b..000000000 --- a/compiled/alipay/src/Avatar/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -import { AvatarDefaultProps } from './props'; - -Component(AvatarDefaultProps); diff --git a/compiled/alipay/src/Avatar/props.ts b/compiled/alipay/src/Avatar/props.ts deleted file mode 100644 index afe12353f..000000000 --- a/compiled/alipay/src/Avatar/props.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 头像,可展示头像以及用户名等简要信息。 - */ -export interface IAvatarProps extends IBaseProps { - /** - * @description 尺寸,x-small(80*80) small(88*88) medium(104*104) large(120*120) - * @default "medium" - */ - size: 'x-small' | 'small' | 'medium' | 'large'; - /** - * @description 头像地址,默认为灰色的内置图片 - */ - src: string; -} - -export const AvatarDefaultProps: Partial = { - size: 'medium', - src: '', -}; diff --git a/compiled/alipay/src/Avatar/variable.less b/compiled/alipay/src/Avatar/variable.less deleted file mode 100644 index ef98fbd5e..000000000 --- a/compiled/alipay/src/Avatar/variable.less +++ /dev/null @@ -1,12 +0,0 @@ -@import (reference) '../style/themes/index.less'; - -// 头像圆角 -@avatar-img-radius: 50vh; -// 头像大小 80rpx -@avatar-size-x-small: 36 * @rpx; -// 头像大小 88rpx -@avatar-size-small: 60 * @rpx; -// 头像大小 104rpx -@avatar-size-medium: 92 * @rpx; -// 头像大小 120rpx -@avatar-size-large: 140 * @rpx; diff --git a/compiled/alipay/src/Badge/index.axml b/compiled/alipay/src/Badge/index.axml deleted file mode 100644 index e2325b1e9..000000000 --- a/compiled/alipay/src/Badge/index.axml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - 99+ - - {{text}} - - - {{text}} - - - {{text}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Badge/index.en.md b/compiled/alipay/src/Badge/index.en.md deleted file mode 100644 index 3dbba74c4..000000000 --- a/compiled/alipay/src/Badge/index.en.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Badge - -A logo that displays a red dot, number, or text. Used to remind the user of pending matters or new updated quantities. Use when you need to display numbers, text, or little red dots in the upper right corner. It is suitable for prompting new messages, functions or services for productization, attracting users' attention through conspicuous visual forms and prompting them to perform related operations. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-badge": "antd-mini/es/Badge/index" -#endif -#if WECHAT - "ant-badge": "antd-mini/Badge/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - -``` - -### with border - -```xml - -``` - -### Custom background and location - -```xml - - -``` - -### Set Offset - -```xml - - - -``` - -### Custom Content - -```xml - - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------- | -| bgColor | Custom background color, CSS color value | string | - | -| className | Class name of the component root node | string | - | -| offsetX | Horizontal offset | string | '-50%' | -| offsetY | Offset in vertical direction | string | '-50%' | -| position | Position of the logo relative to the container, options include:`top-left`、`top-right`、`top-center`、`left`、`right`、`bottom-left`、`bottom-center` and `bottom-right` | string | `top-right` | -| stroke | Does the logo have a stroke | boolean | false | -| style | Custom Style | object | - | -| text | Logo content. Empty means that only red dots are displayed. It can be numbers or text. If the number exceeds 99, it will be displayed `...` | string \| number \| slot | - | -| type | Logo type, options include:`dot`(red dot),`number`(Number type, more than 99 will be automatically converted),`text`(text bubbles) and `bubble`(Bubble form, with arrow) | string | `dot` | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --badge-text-color |
#ffffff
|
#ffffff
| Badge Text Color | -| --badge-background-color |
#ff3141
|
#ff4a58
| Badge background color | diff --git a/compiled/alipay/src/Badge/index.json b/compiled/alipay/src/Badge/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Badge/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Badge/index.less b/compiled/alipay/src/Badge/index.less deleted file mode 100644 index 162995b64..000000000 --- a/compiled/alipay/src/Badge/index.less +++ /dev/null @@ -1,69 +0,0 @@ -@import (reference) './variable.less'; - -@badgePrefix: ant-badge; - -.@{badgePrefix} { - display: inline-block; - position: relative; - - &-content { - position: absolute; - display: flex; - height: 28 * @rpx; - align-self: center; - align-items: center; - font-size: 18 * @rpx; - padding: 4 * @rpx 8 * @rpx; - box-sizing: border-box; - word-break: keep-all; - justify-content: center; - top: 0; - left: 100%; - transform: translate(-50%, -50%); - - &-stroke { - border: 2 * @rpx solid @badge-text-color; - } - - &-text { - padding-left: 4 * @rpx; - - &:empty { - display: none; - } - .ant-badge-icon-container:empty ~ & { - padding-left: 0; - } - } - - .ant-icon { - font-size: 18 * @rpx; - color: @badge-text-color; - } - - &-not-dot { - min-width: 28 * @rpx; - height: 28 * @rpx; - border-radius: 28 * @rpx; - display: flex; - background-color: @badge-background-color; - } - } - - &-dot { - width: 20 * @rpx; - height: 20 * @rpx; - border-radius: 50%; - background-color: @badge-background-color; - - &-stroke { - border: 2 * @rpx solid @badge-text-color; - } - } - - &-number, - &-text, - &-bubble { - color: @badge-text-color; - } -} diff --git a/compiled/alipay/src/Badge/index.md b/compiled/alipay/src/Badge/index.md deleted file mode 100644 index daea642f3..000000000 --- a/compiled/alipay/src/Badge/index.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Badge 徽标 - -徽标,显示红点、数字或文字。用于提醒用户,有待处理的事项或者新的更新数量。当需要在右上角展示数字、文字或小红点时使用。适合于提示产品化的新消息、功能或服务等内容,通过显眼的视觉形式吸引用户注意,并促使其进行相关操作。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-badge": "antd-mini/es/Badge/index" -#endif -#if WECHAT - "ant-badge": "antd-mini/Badge/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - -``` - -### 带边框 - -```xml - -``` - -### 自定义背景和位置 - -```xml - - -``` - -### 设置偏移 - -```xml - - - -``` - -### 自定义内容 - -```xml - - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------- | -| bgColor | 自定义背景色,CSS 色值 | string | - | -| className | 组件根节点的类名 | string | - | -| offsetX | 水平方向偏移量 | string | '-50%' | -| offsetY | 垂直方向的偏移量 | string | '-50%' | -| position | 徽标相对于容器的位置,选项包括:`top-left`、`top-right`、`top-center`、`left`、`right`、`bottom-left`、`bottom-center` 和 `bottom-right` | string | `top-right` | -| stroke | 徽标是否带有描边 | boolean | false | -| style | 自定义样式 | object | - | -| text | 徽标内容,为空代表仅展示红点;可以是数字或文字;若是数字且超过 99,则显示为 `...` | string \| number \| slot | - | -| type | 徽标类型,选项包括:`dot`(红点)、`number`(数字类型,超过 99 会自动转换)、`text`(文字气泡)和 `bubble`(气泡形态,带有箭头) | string | `dot` | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --badge-text-color |
#ffffff
|
#ffffff
| Badge 文字颜色 | -| --badge-background-color |
#ff3141
|
#ff4a58
| Badge 背景颜色 | diff --git a/compiled/alipay/src/Badge/index.sjs b/compiled/alipay/src/Badge/index.sjs deleted file mode 100644 index b22851cab..000000000 --- a/compiled/alipay/src/Badge/index.sjs +++ /dev/null @@ -1,54 +0,0 @@ -function setPositionStyle(position) { - var offsetX = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-50%'; - var offsetY = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-50%'; - var transformStyle = "transform: translate(calc(".concat(offsetX, "), calc(").concat(offsetY, "));"); - switch (position) { - case 'top-left': - return "top: 0; left: 0; ".concat(transformStyle); - case 'top-center': - return "top: 0; left: 50%; ".concat(transformStyle); - case 'top-right': - return "top: 0; left: 100%; ".concat(transformStyle); - case 'left': - return "top: 50%; left: 0; ".concat(transformStyle); - case 'right': - return "top: 50%; left: 100%; ".concat(transformStyle); - case 'bottom-left': - return "top: 100%; left: 0; ".concat(transformStyle); - case 'bottom-center': - return "top: 100%; left: 50%; ".concat(transformStyle); - case 'bottom-right': - return "top: 100%; left: 100%; ".concat(transformStyle); - default: - return "top: 0; left: 0; ".concat(transformStyle); - } -} -function setBubbleStyle(type, position) { - if (type !== 'bubble') return ''; - switch (position) { - case 'top-left': - return 'border-bottom-right-radius: 0;'; - case 'top-right': - return 'border-bottom-left-radius: 0;'; - case 'bottom-left': - return 'border-top-right-radius: 0;'; - case 'bottom-right': - return 'border-top-left-radius: 0;'; - default: - return ''; - } -} -function getOverCount(text) { - var overCount = false; - if (typeof text === 'number') { - if (text >= 100) { - overCount = true; - } - } - return overCount; -} -export default { - setPositionStyle: setPositionStyle, - setBubbleStyle: setBubbleStyle, - getOverCount: getOverCount -}; \ No newline at end of file diff --git a/compiled/alipay/src/Badge/index.ts b/compiled/alipay/src/Badge/index.ts deleted file mode 100644 index 414f0aa04..000000000 --- a/compiled/alipay/src/Badge/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -import { BadgeFunctionalProps } from './props'; - -Component(BadgeFunctionalProps) diff --git a/compiled/alipay/src/Badge/props.ts b/compiled/alipay/src/Badge/props.ts deleted file mode 100644 index 7a36afd74..000000000 --- a/compiled/alipay/src/Badge/props.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 徽标,红点、数字或文字。用于告诉用户待处理的事物或更新数。 - */ - -export interface IBadgeProps extends IBaseProps { - /** - * @description badge 类型 - * @default dot - */ - type: 'dot' | 'number' | 'text' | 'bubble'; - /** - * @description 红点内容,为空时表示只显示红点;可以是数字,也可以是文字;如果是数字,超过 99 会自动变成 ... - */ - text: string | number; - /** - * @description 相对于 children 所在访问,left-top(左上角) top-right(右上角) - * @default "top-right" - */ - position: - | 'top-left' - | 'top-center' - | 'top-right' - | 'left' - | 'right' - | 'bottom-left' - | 'bottom-center' - | 'bottom-right'; - /** - * @description 水平方向偏移量(字符串类型,需要带上像素单位) - * @default "-50%" - */ - offsetX: string; - /** - * @description 垂直方向偏移量(字符串类型,需要带上像素单位) - * @default "-50%" - */ - offsetY: number | string; - /** - * @description 是否有描边 - * @default false - */ - stroke: boolean; - /** - * @description 背景色 - */ - bgColor: string; -} - -export const BadgeDefaultProps: Partial = { - position: 'top-right', - stroke: false, - type: 'dot', - bgColor: '', -}; - -export const BadgeFunctionalProps: Partial = { - type: 'dot', - text: null, - position: 'top-right', - offsetX: null, - offsetY: null, - stroke: false, - bgColor: '', -}; diff --git a/compiled/alipay/src/Badge/variable.less b/compiled/alipay/src/Badge/variable.less deleted file mode 100644 index 2245182ad..000000000 --- a/compiled/alipay/src/Badge/variable.less +++ /dev/null @@ -1,7 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 字体颜色,同时作用于 stroke 边框 -@badge-text-color: var(--badge-text-color, @COLOR_WHITE); -// 背景颜色 -@badge-background-color: var(--badge-background-color, @COLOR_RED); diff --git a/compiled/alipay/src/Button/index.axml b/compiled/alipay/src/Button/index.axml deleted file mode 100644 index fd81d0c68..000000000 --- a/compiled/alipay/src/Button/index.axml +++ /dev/null @@ -1,36 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/alipay/src/Button/index.en.md b/compiled/alipay/src/Button/index.en.md deleted file mode 100644 index 015ef6c68..000000000 --- a/compiled/alipay/src/Button/index.en.md +++ /dev/null @@ -1,161 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# Button - -Used to start an immediate operation. Marks a (or encapsulates a set of) operation commands that trigger the corresponding business logic in response to user click behavior. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-button": "antd-mini/es/Button/index" -#endif -#if WECHAT - "ant-button": "antd-mini/Button/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml -#if ALIPAY -Alipay -#endif -#if WECHAT -WeChat -#endif -Main button -Secondary button -Text Button -With auxiliary copy button - Disable -Loading Status -Danger -``` - -### Inline Button - -```xml -Inline Button -Button Size-Large -Button Size-Medium -Button Size-Small -Danger -``` - -### Button with icon - -```xml -Button with icon -Button with icon -Button with icon -Button with icon -Button with icon -``` - -### More Customizations - -```xml -Custom Size -Custom Fillet -``` - -```css -.custom-size { - font-size: 22rpx; -} -.round { - border-radius: 50rpx; -} -``` - -### Demo Code - - - -## API - -### Button - -The following table describes the API properties for the Button component: - -| Property | Description | Type | Default Value | -| --------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------- | --------- | -| type | Button type, optional `primary`、`default`、`text` | string | `default` | -| danger | Whether it is a danger button | boolean | false | -| disabled | Whether it is an invalid button | boolean | false | -| activeClassName | Class name when pressed | string | - | -| className | Class Name | string | - | -| style | Style | string | - | -| inline | Inline button | boolean | false | -| icon | Icon on the left side of the button | string | - | -| loading | Whether it is loading or not, it cannot be clicked during loading. | boolean | - | -| size | Button size. Only in `inline` Effective under, optional `small`、`medium`、`large` | string | `medium` | -| subText | Secondary text, displayed on the second line.`inline` DOWN NOT EFFECTIVE | string | - | -| #if ALIPAY catchTap | Click the button to trigger this callback, non-bubbling | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTap | Click the button to trigger this callback | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onDisabledTap | Click Departure Callback when disabled (not supported by WeChat) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT catch:tap | Click the button to trigger this callback, non-bubbling | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tap | Click the button to trigger this callback | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:disabledtap | Click Departure Callback when disabled (not supported by WeChat) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --button-disabled-opacity | 0.4 | 0.4 | Button Disable Transparency | -| --button-color |
#1677FF
|
#3086FF
| Button Color | -| --button-background-color |
#FFFFFF
|
#1a1a1a
| Button background color | -| --button-border-color |
#1677FF
|
#3086ff
| Button border color | -| --button-primary-border-color |
#1677FF
|
#3086FF
| Main button border color | -| --button-primary-background-color |
#1677FF
|
#3086FF
| Main button background color | -| --button-primary-color |
#FFFFFF
|
#FFFFFF
| Main button color | -| --button-primary-aide-border-color |
#E7F1FF
|
#0D2543
| Primary Secondary Button Border Color | -| --button-primary-aide-color |
#1677FF
|
#3086FF
| Primary Auxiliary Button Color | -| --button-default-aide-border-color |
#F5F5F5
|
#121212
| Default Secondary Button Border Color | -| --button-default-aide-background-color |
#FFFFFF
|
#1a1a1a
| Default Auxiliary Button Background Color | -| --button-default-aide-color |
#333333
|
#C5CAD1
| Default Auxiliary Button Color | -| --button-primary-danger-background-color |
#FF3141
|
#FF4A58
| Primary Danger Button Background Color | -| --button-primary-danger-border-color |
#FF3141
|
#FF4A58
| Primary Hazard Button Border Color | -| --button-primary-danger-color |
#FFFFFF
|
#FFFFFF
| Primary Hazard Button Color | -| --button-default-danger-background-color |
#FFFFFF
|
#1a1a1a
| Default Hazard Button Background Color | -| --button-default-danger-border-color |
#FF3141
|
#FF4A58
| Default Hazard Button Border Color | -| --button-default-danger-color |
#FF3141
|
#FF4A58
| Default Hazard Button Color | -| --button-text-danger-color |
#FF3141
|
#FF4A58
| Hazard button text color | -| --button-danger-default-color |
#FF3141
|
#FF4A58
| Hazard Button Default Color | -| --button-active-bg |
rgba(255, 255, 255, 0.08)
|
rgba(255, 255, 255, 0.08)
| Button to activate background color | - -### More Properties - -The following are additional properties that the Button component supports: - -- `public-id` -- `open-type` -- `scope` -- `form-type` -- `onGetAuthorize` -- `onFollowLifestyle` -- `onError` -- `onGetUserInfo` -- `onGetPhoneNumber` - -For specific attribute descriptions, please refer to the official documents of Alipay applet. - -[Button Component Property Description](https://opendocs.alipay.com/mini/component/button#%E5%B1%9E%E6%80%A7%E8%AF%B4%E6%98%8E) diff --git a/compiled/alipay/src/Button/index.json b/compiled/alipay/src/Button/index.json deleted file mode 100644 index f6bbf1425..000000000 --- a/compiled/alipay/src/Button/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "loading": "../Loading/index", - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Button/index.less b/compiled/alipay/src/Button/index.less deleted file mode 100644 index 0c360faf2..000000000 --- a/compiled/alipay/src/Button/index.less +++ /dev/null @@ -1,157 +0,0 @@ -@import (reference) './variable.less'; - -@buttonPrefix: ant-button; - -.@{buttonPrefix} { - position: relative; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - height: auto; - line-height: normal; - padding: @button-padding; - border-radius: 50vh; - border: 0 none; - box-sizing: border-box; - font-size: @button-font-size; - z-index: 2; - - &-large { - font-size: @button-large-font-size; - padding: @button-padding; - } - - &-medium { - font-size: @button-medium-font-size; - padding: @button-medium-padding; - } - - &-small { - font-size: @button-small-font-size; - padding: @button-small-padding; - } - - &-primary { - color: @button-primary-color; - background-color: @button-primary-background-color; - box-shadow: inset 0 0 0 @button-border-size @button-primary-background-color; - } - - &-default { - color: @button-color; - background-color: @button-background-color; - box-shadow: inset 0 0 0 @button-border-size @button-border-color; - } - - &-capsule { - color: @button-primary-color; - background-color: @button-default-aide-border-color; - box-shadow: none; - } - &-primary-aide { - background-color: @button-primary-aide-background-color; - box-shadow: inset 0 0 0 @button-border-size - @button-primary-aide-border-color; - color: @button-color; - } - - &-default-aide { - color: @button-default-aide-color; - background-color: @button-default-aide-background-color; - box-shadow: inset 0 0 0 @button-border-size - @button-default-aide-border-color; - } - - &-text { - color: @button-color; - background-color: transparent; - box-shadow: none; - } - - &-primary-danger { - color: @button-primary-danger-color; - background-color: @button-primary-danger-background-color; - box-shadow: inset 0 0 0 @button-border-size - @button-primary-danger-border-color; - } - - &-default-danger { - color: @button-default-danger-color; - background-color: @button-default-danger-background-color; - box-shadow: inset 0 0 0 @button-border-size - @button-default-danger-border-color; - } - - &-text-danger { - color: @button-text-danger-color; - background-color: transparent; - box-shadow: none; - } - - &-text-active { - background-color: @button-active-bg; - } - - &-active { - filter: brightness(0.92); - } - - &-disabled { - opacity: @button-disabled-opacity; - } - - &-wrap { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - } - - &-content-text-margin { - margin-left: @h-spacing-standard; - } - &-content-text { - &:empty { - margin-left: 0; - width: 0; - opacity: 0; - &::after { - content: '\00a0'; - } - } - } - - &-content-subtext { - font-size: @button-subtext-size; - opacity: 0.6; - } - - &-content-loading-container { - display: flex; - justify-content: center; - align-items: center; - width: 33px; - height: 16px; - margin-left: 8px; - } - - &-content-loading { - position: relative; - } - - &-inline { - display: inline-block; - border-radius: @button-corner-radius; - - .@{buttonPrefix}-content-loading-container { - width: @button-icon-size; - height: @button-icon-size; - } - - .@{buttonPrefix}-content-loading { - transform: scale(0.5); - } - } - -} diff --git a/compiled/alipay/src/Button/index.md b/compiled/alipay/src/Button/index.md deleted file mode 100644 index 1d09a7275..000000000 --- a/compiled/alipay/src/Button/index.md +++ /dev/null @@ -1,161 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# Button 按钮 - -用于开始一个即时操作。标记了一个(或封装一组)操作命令,响应用户点击行为,触发相应的业务逻辑。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-button": "antd-mini/es/Button/index" -#endif -#if WECHAT - "ant-button": "antd-mini/Button/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml -#if ALIPAY -支付宝 -#endif -#if WECHAT -微信 -#endif -主要按钮 -次要按钮 -文本按钮 -带辅助文案按钮 - 禁用 -加载状态 -危险 -``` - -### 行内按钮 - -```xml -行内按钮 -按钮尺寸-大 -按钮尺寸-中 -按钮尺寸-小 -危险 -``` - -### 带图标按钮 - -```xml -带图标按钮 -带图标按钮 -带图标按钮 -带图标按钮 -带图标按钮 -``` - -### 更多自定义 - -```xml -自定义大小 -自定义圆角 -``` - -```css -.custom-size { - font-size: 22rpx; -} -.round { - border-radius: 50rpx; -} -``` - -### Demo 代码 - - - -## API - -### Button - -以下表格介绍了 Button 组件的 API 属性: - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------- | --------- | -| type | 按钮类型,可选 `primary`、`default`、`text` | string | `default` | -| danger | 是否为危险按钮 | boolean | false | -| disabled | 是否为失效按钮 | boolean | false | -| activeClassName | 按下时的类名 | string | - | -| className | 类名 | string | - | -| style | 样式 | string | - | -| inline | 是否为内联按钮 | boolean | false | -| icon | 按钮左侧图标 | string | - | -| loading | 是否加载中,加载中时不可点击 | boolean | - | -| size | 按钮大小。仅在 `inline` 下生效,可选 `small`、`medium`、`large` | string | `medium` | -| subText | 辅助文字,显示在第二行。`inline` 下不生效 | string | - | -| #if ALIPAY catchTap | 点击按钮,触发此回调,非冒泡 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTap | 点击按钮,触发此回调 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onDisabledTap | 禁用时点击出发回调(微信不支持) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT catch:tap | 点击按钮,触发此回调,非冒泡 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tap | 点击按钮,触发此回调 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:disabledtap | 禁用时点击出发回调(微信不支持) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --button-disabled-opacity | 0.4 | 0.4 | 按钮禁用透明度 | -| --button-color |
#1677FF
|
#3086FF
| 按钮颜色 | -| --button-background-color |
#FFFFFF
|
#1a1a1a
| 按钮背景颜色 | -| --button-border-color |
#1677FF
|
#3086ff
| 按钮边框颜色 | -| --button-primary-border-color |
#1677FF
|
#3086FF
| 主要按钮边框颜色 | -| --button-primary-background-color |
#1677FF
|
#3086FF
| 主要按钮背景颜色 | -| --button-primary-color |
#FFFFFF
|
#FFFFFF
| 主要按钮颜色 | -| --button-primary-aide-border-color |
#E7F1FF
|
#0D2543
| 主要辅助按钮边框颜色 | -| --button-primary-aide-color |
#1677FF
|
#3086FF
| 主要辅助按钮颜色 | -| --button-default-aide-border-color |
#F5F5F5
|
#121212
| 默认辅助按钮边框颜色 | -| --button-default-aide-background-color |
#FFFFFF
|
#1a1a1a
| 默认辅助按钮背景颜色 | -| --button-default-aide-color |
#333333
|
#C5CAD1
| 默认辅助按钮颜色 | -| --button-primary-danger-background-color |
#FF3141
|
#FF4A58
| 主要危险按钮背景颜色 | -| --button-primary-danger-border-color |
#FF3141
|
#FF4A58
| 主要危险按钮边框颜色 | -| --button-primary-danger-color |
#FFFFFF
|
#FFFFFF
| 主要危险按钮颜色 | -| --button-default-danger-background-color |
#FFFFFF
|
#1a1a1a
| 默认危险按钮背景颜色 | -| --button-default-danger-border-color |
#FF3141
|
#FF4A58
| 默认危险按钮边框颜色 | -| --button-default-danger-color |
#FF3141
|
#FF4A58
| 默认危险按钮颜色 | -| --button-text-danger-color |
#FF3141
|
#FF4A58
| 危险按钮文字颜色 | -| --button-danger-default-color |
#FF3141
|
#FF4A58
| 危险按钮默认颜色 | -| --button-active-bg |
rgba(255, 255, 255, 0.08)
|
rgba(255, 255, 255, 0.08)
| 按钮激活背景颜色 | - -### 更多属性 - -以下是 Button 组件支持的其他属性: - -- `public-id` -- `open-type` -- `scope` -- `form-type` -- `onGetAuthorize` -- `onFollowLifestyle` -- `onError` -- `onGetUserInfo` -- `onGetPhoneNumber` - -具体的属性说明,请参考支付宝小程序的官方文档。 - -[Button 组件属性说明](https://opendocs.alipay.com/mini/component/button#%E5%B1%9E%E6%80%A7%E8%AF%B4%E6%98%8E) diff --git a/compiled/alipay/src/Button/index.sjs b/compiled/alipay/src/Button/index.sjs deleted file mode 100644 index 965611333..000000000 --- a/compiled/alipay/src/Button/index.sjs +++ /dev/null @@ -1,24 +0,0 @@ -function getClass(size) { - var list = ['small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-button-".concat(size); - } - return 'ant-button-medium'; -} -function getHoverClass(loading, type, activeClassName) { - if (loading) { - return ''; - } - var className = 'ant-button-active'; - if (type === 'text') { - className += ' ant-button-text-active'; - } - if (activeClassName) { - className += ' ' + activeClassName; - } - return className; -} -export default { - getClass: getClass, - getHoverClass: getHoverClass -}; \ No newline at end of file diff --git a/compiled/alipay/src/Button/index.ts b/compiled/alipay/src/Button/index.ts deleted file mode 100644 index 990278765..000000000 --- a/compiled/alipay/src/Button/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ -import fmtEvent from '../_util/fmtEvent'; -import { ButtonDefaultProps } from './props'; - -Component({ - props: ButtonDefaultProps, - methods: { - onTap(e) { - const { onTap, disabled, loading, onDisabledTap } = this.props; - if (disabled && onDisabledTap) { - const event = fmtEvent(this.props, e); - onDisabledTap(event); - } - if (onTap && !disabled && !loading) { - const event = fmtEvent(this.props, e); - return onTap(event); - } - }, - catchTap(e) { - const { catchTap, disabled, loading, onDisabledTap } = this.props; - if (disabled && onDisabledTap) { - const event = fmtEvent(this.props, e); - onDisabledTap(event); - } - if (catchTap && !disabled && !loading) { - const event = fmtEvent(this.props, e); - return catchTap(event); - } - }, - onGetAuthorize(e) { - if (this.props.onGetAuthorize) { - this.props.onGetAuthorize(fmtEvent(this.props, e)); - } - }, - onFollowLifestyle(e) { - if (this.props.onFollowLifestyle) { - this.props.onFollowLifestyle(fmtEvent(this.props, e)); - } - }, - onError(e) { - if (this.props.onError) { - this.props.onError(fmtEvent(this.props, e)); - } - }, - onGetUserInfo(e) { - if (this.props.onGetUserInfo) { - this.props.onGetUserInfo(fmtEvent(this.props, e)); - } - }, - onGetPhoneNumber(e) { - if (this.props.onGetPhoneNumber) { - this.props.onGetPhoneNumber(fmtEvent(this.props, e)); - } - }, - }, -}); diff --git a/compiled/alipay/src/Button/props.ts b/compiled/alipay/src/Button/props.ts deleted file mode 100644 index fa8fdda35..000000000 --- a/compiled/alipay/src/Button/props.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { IBaseProps } from '../_util/base'; - -/** - * @description 按钮,用户只需单击一下即可执行操作并做出选择。 - * 常用于表单提交、界面跳转、模块引导点击。具体用法和小程序框架中 button 保持一致,在 button 基础上做了样式的封装。 - * 封装后的按钮可改变按钮形态、增加 loading,以及内置了几种不同样式的按钮。 - */ - -export interface IButtonProps extends IBaseProps { - /** - * @description 按钮类型 - * @default default - */ - type?: 'default' | 'primary' | 'text'; - /** - * @description 按钮是否是辅助按钮 只有 default 和 primary 按钮才消费该参数 - * @default false - */ - aide?: boolean; - /** - * @description 是否禁用 - * @default false - */ - disabled?: boolean; - /** - * @description 按下时的类名 - */ - activeClassName?: string; - /** - * @description 辅助文字,显示在第二行 - */ - subText?: string; - /** - * @description 内联,不撑满父级宽度 - * @default false - */ - inline?: boolean; - /** - * @description 内联尺寸 - * @default medium - */ - size?: 'small' | 'medium' | 'large'; - /** - * @description 按钮左侧图标 - */ - icon?: string; - /** - * @description 是否加载中,加载中时不可点击 - * @default false - */ - loading?: boolean; - /** - * @description 是否为危险按钮,危险按钮的颜色会变成红色 - * @default false - */ - danger?: boolean; - /** - * @description 按钮原生类型,在表单提交时有效 - * @default button - */ - formType?: 'button' | 'submit' | 'reset'; - /** - * @description 点击回调 - */ - onTap?: (event: any) => void; - /** - * @description 点击回调 - */ - catchTap?: (event: any) => void; - /** - * @description 禁用时点击回调 - */ - onDisabledTap?: (event: any) => void; - /** - * @description 生活号 id,必须是当前小程序同主体且已关联的生活号,open-type="lifestyle" 时有效。 - */ - publicId?: string; - /** - * @description 开放能力。 - */ - openType?: string; - /** - * @description 当 openType 为 getAuthorize 时有效。 - */ - scope?: string; - - onGetAuthorize?: (event: any) => void; - onFollowLifestyle?: (event: any) => void; - onError?: (event: any) => void; - onGetUserInfo?: (event: any) => void; - onGetPhoneNumber?: (event: any) => void; -} - -export const ButtonDefaultProps: Partial = { - type: 'default', - formType: 'button', - size: 'medium', - aide: false, -}; diff --git a/compiled/alipay/src/Button/variable.less b/compiled/alipay/src/Button/variable.less deleted file mode 100644 index a340d5585..000000000 --- a/compiled/alipay/src/Button/variable.less +++ /dev/null @@ -1,135 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -/* size | 按钮内间距 */ -@button-padding: var(--button-padding, @size-3); - -/* size | 大按钮内间距 */ -@button-large-padding: var(--button-large-padding, @size-3); - -/* size | 中按钮内间距 */ -@button-medium-padding: var(--button-medium-padding-top, @size-2) - var(--button-medium-padding-left, @size-3); - -/* size | 小按钮内间距 */ -@button-small-padding: var(--button-small-padding-top, @size-1) - var(--button-small-padding-left, @size-3); - -/* corner-radius| 按钮圆角 */ -@button-corner-radius: @corner-radius-circle; - -/* font-size | 副标题字号 */ -@button-subtext-size: var(--button-subtext-size, @sizeFont2); - -/* color | 按钮边框宽度 */ -@button-border-size: var(--button-border-size, @border-width-standard); - -/* opacity | disable状态不透明度 */ -@button-disabled-opacity: var(--button-disabled-opacity, @OPACITY_DISABLE); - -/* color | 默认按钮文字色 */ -@button-color: var(--button-color, @COLOR_BRAND1); - -/* color | 默认按钮背景色 */ -@button-background-color: var(--button-background-color, @COLOR_WHITE_CHANGE); - -/* color | 默认按钮边框色 */ -@button-border-color: var(--button-border-color, @COLOR_BRAND2); - -/* color |primary按钮背景色 */ -@button-primary-background-color: var( - --button-primary-background-color, - @COLOR_BRAND1 -); - -/* color |primary按钮边框色 */ -@button-primary-border-color: var(--button-primary-border-color, @COLOR_BRAND1); - -/* color |primary按钮文字色 */ -@button-primary-color: var(--button-primary-color, @COLOR_WHITE); - -/* color |primary辅助按钮边框色 */ -@button-primary-aide-border-color: var( - --button-primary-aide-border-color, - @COLOR_WATHET -); - -/* color |primary辅助按钮边框色 */ -@button-primary-aide-background-color: var(--color-wathet, @COLOR_WATHET); - -/* color |primary辅助按钮文字色 */ -@button-primary-aide-color: var(--button-primary-aide-color, @COLOR_BRAND1); - -/* color |default辅助按钮边框色 */ -@button-default-aide-border-color: var( - --button-default-aide-border-color, - @COLOR_BORDER_GREYCARD -); - -/* color |default辅助按钮边框色 */ -@button-default-aide-background-color: var( - --button-default-aide-background-color, - @COLOR_WHITE_CHANGE -); - -/* color |default辅助按钮文字色 */ -@button-default-aide-color: var( - --button-default-aide-color, - @COLOR_TEXT_PRIMARY -); - -/* color |primary danger按钮背景色 */ -@button-primary-danger-background-color: var( - --button-primary-danger-background-color, - @COLOR_RED -); - -/* color |primary danger按钮边框色 */ -@button-primary-danger-border-color: var( - --button-primary-danger-border-color, - @COLOR_RED -); - -/* color |primary danger按钮文字色 */ -@button-primary-danger-color: var(--button-primary-danger-color, @COLOR_WHITE); - -/* color |default danger 按钮背景色 */ -@button-default-danger-background-color: var( - --button-default-danger-background-color, - @COLOR_WHITE -); - -/* color |default danger按钮边框色 */ -@button-default-danger-border-color: var( - --button-default-danger-border-color, - @COLOR_RED -); - -/* color |default danger按钮文字色 */ -@button-default-danger-color: var(--button-default-danger-color, @COLOR_RED); - -/* color |text danger按钮文字色 */ -@button-text-danger-color: var(--button-text-danger-color, @COLOR_RED); - -/* color |danger-ghost按钮文字色 */ -@button-danger-default-color: var(--button-danger-default-color, @COLOR_RED); -/* color |active按钮文字色 */ - -@button-active-bg: var(--button-active-bg, @COLOR_WHITE_FADED); - -@button-inline-size: var(--button-inline-size, @sizeFont5); - -/* 图标尺寸 */ -@button-icon-size: var(--button-icon-size, @sizeIconFont); - -/* font-size | 默认按钮字号 */ -@button-font-size: var(--button-font-size, @sizeFont8); - -/* font-size | 大按钮字号 */ -@button-large-font-size: var(--button-large-font-size, @sizeFont8); - -/* font-size | 中按钮字号 */ -@button-medium-font-size: var(--button-medium-font-size, @sizeFont7); - -/* font-size | 小按钮字号 */ -@button-small-font-size: var(--button-small-font-size, @sizeFont5); diff --git a/compiled/alipay/src/Calendar/helper.sjs b/compiled/alipay/src/Calendar/helper.sjs deleted file mode 100644 index 10d3806a2..000000000 --- a/compiled/alipay/src/Calendar/helper.sjs +++ /dev/null @@ -1,84 +0,0 @@ -function keys(obj) { - if (typeof Object.keys === 'function') { - return Object.keys(obj); - } -} -function getClassName(value, index, showSelectableDatesOnly) { - var isSelected = value.isSelected, - isSelectedBegin = value.isSelectedBegin, - isSelectedEnd = value.isSelectedEnd, - isRowBegin = value.isRowBegin, - isRowEnd = value.isRowEnd, - inThisMonth = value.inThisMonth, - isToday = value.isToday, - disabled = value.disabled, - className = value.className, - isRange = value.isRange; - var classNames = { - disabled: disabled, - today: inThisMonth && isToday, - selected: inThisMonth && isSelected, - 'selected-begin': inThisMonth && isSelectedBegin, - 'selected-end': inThisMonth && isSelectedEnd, - 'selected-row-begin': inThisMonth && isRowBegin && isSelected, - 'selected-row-end': inThisMonth && isRowEnd && isSelected, - hidden: !inThisMonth || showSelectableDatesOnly && !isRange, - 'row-end': index % 7 === 6 - }; - var result = "ant-calendar-cell ".concat(className || ''); - keys(classNames).forEach(function (key) { - if (classNames[key]) { - result += " ant-calendar-cell-".concat(key); - } - }); - return result; -} -function getSpaceClassName(index, items) { - var isNotEnd = index % 7 !== 6; - var nextItem = items[index + 1]; - var nextSelected = nextItem && nextItem.isSelected && nextItem.inThisMonth; - var isSelected = items[index].isSelected; - var classNames = { - active: isNotEnd && isSelected && nextSelected - }; - var result = 'ant-calendar-cell-space'; - keys(classNames).forEach(function (key) { - if (classNames[key]) { - result += " ant-calendar-cell-space-".concat(key); - } - }); - return result; -} -function getMarkCellClassName(index, items) { - if (items[index].length - 1 === index) { - return "ant-calendar-mark-cell ant-calendar-mark-cell-last"; - } - return 'ant-calendar-mark-cell'; -} -function isDisplay(index, items) { - // 找到需要当前月需要展示的日期最大最小索引 - var _items_reduce = items.reduce(function (res, item) { - // !item.inThisMonth 被隐藏掉的日期 - // !item.isRange 不在传入范围内的日期 - if (!(!item.inThisMonth || !item.isRange)) { - if (res.minIndex === null || res.maxIndex === null) { - res.minIndex = item.index; - res.maxIndex = item.index; - } - res.minIndex = Math.min(res.minIndex, item.index); - res.maxIndex = Math.max(res.maxIndex, item.index); - } - return res; - }, { - minIndex: null, - maxIndex: null - }); - if (_items_reduce.maxIndex === null || _items_reduce.maxIndex === null) return true; - return index >= Math.floor(_items_reduce.minIndex / 7) * 7 && index < Math.ceil(_items_reduce.maxIndex / 7) * 7; -} -export default { - getSpaceClassName: getSpaceClassName, - getClassName: getClassName, - getMarkCellClassName: getMarkCellClassName, - isDisplay: isDisplay -}; \ No newline at end of file diff --git a/compiled/alipay/src/Calendar/index.axml b/compiled/alipay/src/Calendar/index.axml deleted file mode 100644 index 9cf6c3ca1..000000000 --- a/compiled/alipay/src/Calendar/index.axml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - {{item}} - - - - - - - - - {{monthList[headerState].title}} - - - - - - - - - - {{currentMonth.title}} - - - - - - - - - - - {{item.top.label}} - - - {{item.date}} - - - - {{item.bottom.label}} - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Calendar/index.en.md b/compiled/alipay/src/Calendar/index.en.md deleted file mode 100644 index 9a6b1243e..000000000 --- a/compiled/alipay/src/Calendar/index.en.md +++ /dev/null @@ -1,337 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Calendar - -Calendar Component - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-calendar": "antd-mini/es/Calendar/index" -#endif -#if WECHAT - "ant-calendar": "antd-mini/Calendar/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - -``` - -### Custom Top - -```xml - - Custom Top - -``` - -### Custom Date Cell - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell) { - const isOdd = dayjs(cell.time).date() % 2 === 1; - const isNotBeginEnd = !cell.isSelectedBegin && !cell.isSelectedEnd; - const isWeekend = dayjs(cell.time).day() > 4; - let topClassName; - if (isNotBeginEnd) { - topClassName = isOdd ? 'odd' : 'even'; - } - return { - top: { - className: topClassName, - label: isOdd ? '奇数' : '偶数', - }, - bottom: { - label: isWeekend ? '周末' : '', - }, - }; -} -function demoMonthFormatter(month) { - return { - ...month, - }; -} -``` - -### Dynamic control, only three days before and after the selection are allowed - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell, value) { - if (Array.isArray(value) && value.length == 1) { - const current = value[0]; - return { - disabled: dayjs(cell.time).diff(dayjs(current), 'days') > 3, - bottom: - dayjs(cell.time).diff(dayjs(current), 'days') > 3 - ? { - label: '不可选', - } - : undefined, - }; - } - return {}; -} -``` - -### Controlled Mode - -```xml - - - Last day - - - Next day - - - Scroll to specified date - -``` - -```js -Page({ - data: { - demo9: { - visible: true, - value: nowDate, - }, - demo9HandleChange(value) { - this.setData({ - 'demo9.value': value, - }); - }, - demo9HandlePreviousDay() { - this.setData({ - 'demo9.value': this.data.demo9.value - 1000 * 24 * 3600, - }); - }, - demo9HandleNextDay() { - this.setData({ - 'demo9.value': this.data.demo9.value + 1000 * 24 * 3600, - }); - }, - demo9HandleScrollIntoView() { - this.ref.scrollIntoView(nowDate); - }, - }, -}); -``` - -### Demo Code - - - -## API - -The following are the properties and descriptions of the Calendar component: - -| Property | Description | Type | Default Value | -| ----------------------- | ---------------------------------------------- | ----------------------------------------------------------- | ----------- | -| defaultValue | Initial value | CalendarValue | None | -| value | The date selected by the calendar, which is the controlled mode when passed in. | CalendarValue | None | -| selectionMode | Set the selection mode, single selection or continuous interval, the default is `range` | `single` \| `range` | `range` | -| monthRange | Month range, default to the last 3 months | `[number, number]` | Last 3 Months | -| weekStartsOn | The week column displays the day of the week as the first day. The default is `Sunday` | `Sunday` \| `Monday` | `Sunday` | -| onFormatter | Use to set custom data for cells | (cell: CellState, currentValue: CalendarValue) => CellState | None | -| onMonthFormatter | Custom data for setting the month | (month: any) => CellState | None | -| localeText | International copywriting | Partial`` | None | -| changedScrollIntoView | Whether to scroll the view after the selected value is changed | boolean | None | -| showSelectableDatesOnly | Show only dates in the selectable range | boolean | false | -| #if ALIPAY onChange | Date Change Callback | (date: CalendarValue) => void | None | -| #if WECHAT bind:change | Date Change Callback | (date: CalendarValue) => void | None | - -### Type - -**CalendarValue** The value type of the calendar, which is a number or a tuple of numbers `number | [number,number]`, which represents a single selection or continuous date interval. The timestamp in milliseconds. - -**CellState** Defines the various states of the calendar cell. - -```typescript -interface CellState { - /** - * 是否禁用 - */ - disabled: boolean; - /** - * 日历单元格的顶部内容 - */ - top?: { label: string; className?: string }; - /** - * 日历单元格的底部内容 - */ - bottom?: { label: string; className?: string }; - /** - * 时间戳 - */ - time: number; - /** - * 日期 - */ - date: number; - /** - * 是否选中 - */ - isSelected: boolean; -} -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --calendar-cell-disabled-opacity | 0.4 | 0.4 | Calendar cell transparency disabled | -| --calendar-weekday-names-bg |
#f8f8f8
|
#f8f8f8
| Calendar Week Name Background Color | -| --calendar-default-color |
#333333
|
#c5cad1
| Calendar default color | -| --calendar-selected-color |
rgba(22, 119, 255, 0.1)
|
rgba(22, 119, 255, 0.1)
| Calendar selected color | -| --calendar-assist-color |
#999999
|
#616161
| Calendar Auxiliary Color | -| --calendar-selected-end-color |
#ffffff
|
#ffffff
| Calendar selected end color | -| --calendar-selected-color |
#1677ff
|
#3086ff
| Calendar selected color | - -## FAQ - -### How do I set the default start and end times? - -By `defaultValue` You can set a default time.`defaultValue` The type of is `CalendarValue`。 - -`CalendarValue` The type of is `number | [number, number]`, representing the date of a single choice or continuous interval. It is a timestamp in milliseconds. - -For example, if we want to set the default start time to today and end time to seven days later, we can `defaultValue` Pass in the following code: - -```ts -[dayjs().startOf('date'), dayjs().add(7, 'days').startOf('date')]; -``` - -### By `onFormatter` Set custom data for cells - -We can pass `onFormatter` method to set the custom data for the cell,`onFormatter` The format of is `(cell: CellState, currentValue: CalendarValue) => CellState`。 - -This function gets the state of each cell and the current value. By returning new cell data, we can customize the state of the cell. - -Here are some common usage scenarios: - -#### How to make the time before the day not optional? - -In the Alipay applet, we can set it through the method on the page, and we need to pass in a method name string in the axml file. - -The axml file: - -```xml - -``` - -ts file: - -```ts -import dayjs from 'dayjs'; - -Page({ - handleFormat(cell: CellState) { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, -}); -``` - -In the WeChat applet, we can also set it through the function in data. At this time, we need to pass in a variable name in the wxml file. - -wxml file: - -```xml - -``` - -ts file: - -```ts -import dayjs from 'dayjs'; - -Page({ - data: { - handleFormat: (cell: CellState) => { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, - }, -}); -``` diff --git a/compiled/alipay/src/Calendar/index.json b/compiled/alipay/src/Calendar/index.json deleted file mode 100644 index 406972c87..000000000 --- a/compiled/alipay/src/Calendar/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-auto-resize": "../AutoResize/index" - } -} diff --git a/compiled/alipay/src/Calendar/index.less b/compiled/alipay/src/Calendar/index.less deleted file mode 100644 index 0f013496c..000000000 --- a/compiled/alipay/src/Calendar/index.less +++ /dev/null @@ -1,175 +0,0 @@ -@import (reference) './variable.less'; - -@checkboxItemPrefix: ant-calendar; - -.@{checkboxItemPrefix} { - color: @calendar-default-color; - position: relative; - display: flex; - flex-direction: column; - height: 100%; - - &-body { - flex: 1; - } - - &-sticky { - position: absolute; - top: 0px; - left: 0px; - max-height: @calendar-month-title-height; - width: 100%; - overflow: hidden; - top: @calendar-weekday-names-height; - z-index: @calendar-sticky-title-z-index; - } - - &-mark { - height: @calendar-weekday-names-height; - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; - box-sizing: border-box; - font-size: @calendar-weekday-names-font-size; - padding: 0 @calendar-cells-padding; - - & &-cell { - flex: 1; - text-align: center; - width: calc((100% - 6 * @calendar-cell-space-size) / 7); - margin-right: @calendar-cell-space-size; - } - & &-cell-last { - margin-right: 0; - } - } - - &-title { - color: @calendar-default-color; - font-size: @font-size-title; - height: @calendar-month-title-height; - line-height: @calendar-month-title-height; - padding-left: @calendar-weekday-names-left-padding; - margin-bottom: @calendar-weekday-names-bottom-margin; - background: @calendar-weekday-names-background-color; - } - - &-cells { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: flex-start; - align-items: stretch; - padding: 0 @calendar-cells-padding; - } - - &-cell-space { - width: @calendar-cell-space-size; - height: @calendar-cell-height; - } - &-cell-space-active { - background: @calendar-selected-color; - } - - &-cell { - box-sizing: border-box; - width: calc((100% - 6 * @calendar-cell-space-size) / 7); - height: @calendar-cell-height; - margin-bottom: @calendar-cell-bottom-margin; - position: relative; - - &-container { - box-sizing: border-box; - padding-top: @calendar-cell-top-padding; - height: 100%; - } - - &-top { - color: @calendar-assist-color; - text-align: center; - font-size: @calendar-cell-top-font-size; - height: @calendar-cell-top-height; - - &-text { - white-space: nowrap; - } - } - - &-center { - text-align: center; - height: @calendar-cell-center-height; - font-size: @calendar-cell-center-font-size; - } - - &-bottom { - color: @calendar-assist-color; - text-align: center; - font-size: @calendar-cell-bottom-font-size; - height: @calendar-cell-bottom-height; - } - - &-selected { - background: @calendar-selected-color; - } - - &-selected-begin { - border-top-left-radius: @corner-radius-md; - border-bottom-left-radius: @corner-radius-md; - background: @calendar-selected-color; - } - - &-selected-end { - border-top-right-radius: @corner-radius-md; - border-bottom-right-radius: @corner-radius-md; - color: @calendar-selected-end-color; - } - - &-selected-row-end { - border-top-right-radius: @corner-radius-md; - border-bottom-right-radius: @corner-radius-md; - } - - &-selected-row-begin { - border-top-left-radius: @corner-radius-md; - border-bottom-left-radius: @corner-radius-md; - } - - &-selected-begin &-container { - background: @calendar-selected-color; - border-radius: @corner-radius-md; - color: @calendar-selected-end-color; - } - - &-selected-end &-container { - background: @calendar-selected-color; - border-radius: @corner-radius-md; - color: @calendar-selected-end-color; - } - - &-selected-end &-top { - color: @calendar-selected-end-color; - } - - &-selected-begin &-top { - color: @calendar-selected-end-color; - } - - &-selected-end &-bottom { - color: @calendar-selected-end-color; - } - - &-selected-begin &-bottom { - color: @calendar-selected-end-color; - } - } - - &-cell-disabled { - opacity: @calendar-cell-disabled-opacity; - } - - &-cell-hidden { - opacity: 0; - pointer-events: none; - } -} diff --git a/compiled/alipay/src/Calendar/index.md b/compiled/alipay/src/Calendar/index.md deleted file mode 100644 index 26232b498..000000000 --- a/compiled/alipay/src/Calendar/index.md +++ /dev/null @@ -1,337 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Calendar 日历 - -日历组件 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-calendar": "antd-mini/es/Calendar/index" -#endif -#if WECHAT - "ant-calendar": "antd-mini/Calendar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - -``` - -### 自定义顶部 - -```xml - - 自定义顶部 - -``` - -### 自定义日期单元格 - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell) { - const isOdd = dayjs(cell.time).date() % 2 === 1; - const isNotBeginEnd = !cell.isSelectedBegin && !cell.isSelectedEnd; - const isWeekend = dayjs(cell.time).day() > 4; - let topClassName; - if (isNotBeginEnd) { - topClassName = isOdd ? 'odd' : 'even'; - } - return { - top: { - className: topClassName, - label: isOdd ? '奇数' : '偶数', - }, - bottom: { - label: isWeekend ? '周末' : '', - }, - }; -} -function demoMonthFormatter(month) { - return { - ...month, - }; -} -``` - -### 动态控制,只允许选择前后三天 - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell, value) { - if (Array.isArray(value) && value.length == 1) { - const current = value[0]; - return { - disabled: dayjs(cell.time).diff(dayjs(current), 'days') > 3, - bottom: - dayjs(cell.time).diff(dayjs(current), 'days') > 3 - ? { - label: '不可选', - } - : undefined, - }; - } - return {}; -} -``` - -### 受控模式 - -```xml - - - 上一天 - - - 下一天 - - - 滚动到指定日期 - -``` - -```js -Page({ - data: { - demo9: { - visible: true, - value: nowDate, - }, - demo9HandleChange(value) { - this.setData({ - 'demo9.value': value, - }); - }, - demo9HandlePreviousDay() { - this.setData({ - 'demo9.value': this.data.demo9.value - 1000 * 24 * 3600, - }); - }, - demo9HandleNextDay() { - this.setData({ - 'demo9.value': this.data.demo9.value + 1000 * 24 * 3600, - }); - }, - demo9HandleScrollIntoView() { - this.ref.scrollIntoView(nowDate); - }, - }, -}); -``` - -### Demo 代码 - - - -## API - -以下为日历组件的属性及描述: - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ---------------------------------------------- | ----------------------------------------------------------- | ----------- | -| defaultValue | 初始值 | CalendarValue | 无 | -| value | 日历选择的日期,传入后即为受控模式 | CalendarValue | 无 | -| selectionMode | 设置选择模式,单选或者连续区间,默认为 `range` | `single` \| `range` | `range` | -| monthRange | 月份范围,默认为最近 3 个月 | `[number, number]` | 最近 3 个月 | -| weekStartsOn | 星期栏,以周几作为第一天显示。默认为 `Sunday` | `Sunday` \| `Monday` | `Sunday` | -| onFormatter | 用于设置单元格的自定义数据 | (cell: CellState, currentValue: CalendarValue) => CellState | 无 | -| onMonthFormatter | 用于设置月份的自定义数据 | (month: any) => CellState | 无 | -| localeText | 国际化文案 | Partial`` | 无 | -| changedScrollIntoView | 选中值改变后是否滚动视图 | boolean | 无 | -| showSelectableDatesOnly | 只展示在可选范围内的日期 | boolean | false | -| #if ALIPAY onChange | 日期变化回调 | (date: CalendarValue) => void | 无 | -| #if WECHAT bind:change | 日期变化回调 | (date: CalendarValue) => void | 无 | - -### 类型 - -**CalendarValue** : 日历的值类型,为数字或数字元组 `number | [number,number]`,表示单选或连续日期区间。单位为毫秒的时间戳。 - -**CellState** : 定义了日历单元格的各种状态。 - -```typescript -interface CellState { - /** - * 是否禁用 - */ - disabled: boolean; - /** - * 日历单元格的顶部内容 - */ - top?: { label: string; className?: string }; - /** - * 日历单元格的底部内容 - */ - bottom?: { label: string; className?: string }; - /** - * 时间戳 - */ - time: number; - /** - * 日期 - */ - date: number; - /** - * 是否选中 - */ - isSelected: boolean; -} -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --calendar-cell-disabled-opacity | 0.4 | 0.4 | 日历单元格禁用透明度 | -| --calendar-weekday-names-bg |
#f8f8f8
|
#f8f8f8
| 日历星期名称背景颜色 | -| --calendar-default-color |
#333333
|
#c5cad1
| 日历默认颜色 | -| --calendar-selected-color |
rgba(22, 119, 255, 0.1)
|
rgba(22, 119, 255, 0.1)
| 日历选中颜色 | -| --calendar-assist-color |
#999999
|
#616161
| 日历辅助颜色 | -| --calendar-selected-end-color |
#ffffff
|
#ffffff
| 日历选中结束颜色 | -| --calendar-selected-color |
#1677ff
|
#3086ff
| 日历选中颜色 | - -## FAQ - -### 如何设置默认的开始与结束时间? - -通过 `defaultValue` 可以设置默认的时间。`defaultValue` 的类型是 `CalendarValue`。 - -`CalendarValue` 的类型是 `number | [number, number]`,代表单选或者连续区间的日期。它是一个时间戳,单位是毫秒。 - -例如,如果我们想设置默认的开始时间为今天,结束时间为七天后,我们可以在 `defaultValue` 中传入以下代码: - -```ts -[dayjs().startOf('date'), dayjs().add(7, 'days').startOf('date')]; -``` - -### 通过 `onFormatter` 设置单元格的自定义数据 - -我们可以通过 `onFormatter` 方法设置单元格的自定义数据,`onFormatter` 的格式是 `(cell: CellState, currentValue: CalendarValue) => CellState`。 - -这个函数会获取每个单元格的状态以及当前的值。通过返回新的单元格数据,我们可以自定义单元格的状态。 - -以下是一些常见的使用场景: - -#### 如何让当天之前的时间不可选? - -在支付宝小程序中,我们可以通过页面上的方法设置,需要在 axml 文件中传入一个方法名字符串。 - -axml 文件: - -```xml - -``` - -ts 文件: - -```ts -import dayjs from 'dayjs'; - -Page({ - handleFormat(cell: CellState) { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, -}); -``` - -在微信小程序,我们也可以通过 data 中的函数来设置,此时在 wxml 文件中需要传入一个变量名。 - -wxml 文件: - -```xml - -``` - -ts 文件: - -```ts -import dayjs from 'dayjs'; - -Page({ - data: { - handleFormat: (cell: CellState) => { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, - }, -}); -``` diff --git a/compiled/alipay/src/Calendar/index.ts b/compiled/alipay/src/Calendar/index.ts deleted file mode 100644 index e7e0aa898..000000000 --- a/compiled/alipay/src/Calendar/index.ts +++ /dev/null @@ -1,248 +0,0 @@ -import { effect } from '@preact/signals-core'; -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import mixinValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, -} from '../_util/simply'; -import i18nController from '../_util/store'; -import { CalendarDefaultProps, CalendarValue, CellState } from './props'; -import { - getMonthListFromRange, - getScrollIntoViewId, - getSelectionModeFromValue, - renderCells, -} from './utils'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - CalendarDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - async getBoundingClientRect(query: string) { - return await getInstanceBoundingClientRect(this.getInstance(), query); - }, - scrollIntoView(value) { - this.updateScrollIntoViewId(getScrollIntoViewId(value)); - }, - clickCell(e) { - const time = e.currentTarget.dataset.time; - const clickDate = dayjs(time.time); - if (time.disabled) { - return; - } - const value = this.getValue(); - const selectionModeFromValue = getSelectionModeFromValue(value); - const selectionMode = - getValueFromProps(this, 'selectionMode') ?? - selectionModeFromValue ?? - 'range'; - if (selectionMode === 'range') { - if (Array.isArray(value)) { - if (value.length === 1) { - const current = value[0]; - if (dayjs(clickDate.toDate().getTime()).isBefore(dayjs(current))) { - this.updateValue([clickDate.toDate().getTime()]); - } else { - this.updateValue([value[0], clickDate.toDate().getTime()]); - } - } else { - this.updateValue([clickDate.toDate().getTime()]); - } - } else { - this.updateValue([clickDate.toDate().getTime()]); - } - } else if (selectionMode === 'single') { - this.updateValue(clickDate.toDate().getTime()); - } - }, - setCurrentMonth(e) { - this.setData({ headerState: e.month }); - }, - measurement() { - const { elementSize } = this.data; - // 组件如果内嵌在 slot 里, 一定会被渲染出来, 但是此时 cellHight 为 0 - // 此时需要重新计算 - if (!elementSize || elementSize.cellHight === 0) { - this.measurementFn(); - } - }, - measurementFn() { - Promise.all([ - this.getBoundingClientRect('.ant-calendar-body-container'), - this.getBoundingClientRect('.ant-calendar-cells'), - this.getBoundingClientRect('.ant-calendar-title-container'), - ]) - .then(([bodyContainer, cellContainer, Title]) => { - // 滚动的时候 top 和 bottom 等尺寸会变 - // 所以只能依赖 height 来计算 - const paddingHeight = - bodyContainer.height - cellContainer.height - Title.height; - const monthTitleHeight = Title.height + paddingHeight; - const cellHight = - cellContainer.height / (this.data.monthList[0].cells.length / 7); - this.setData({ - elementSize: { - monthTitleHeight, - cellHight, - paddingHeight, - }, - }); - }) - .catch(() => { - this.setData({ elementSize: null }); - }); - }, - - // scroll 触发滚动之后需要重置 scrollIntoViewId - updateScrollIntoViewId(id) { - this.setData({ scrollIntoViewId: id }); - const timer = setTimeout(() => { - this.setData({ scrollIntoViewId: '' }); - clearTimeout(timer); - }); - }, - - updateValue(newValue: CalendarValue) { - triggerEvent(this, 'change', newValue); - if (!this.isControlled()) { - this.update(newValue); - } - }, - updateData() { - const [monthRange, pweekStartsOn, onFormatter, onMonthFormatter] = - getValueFromProps(this, [ - 'monthRange', - 'weekStartsOn', - 'onFormatter', - 'onMonthFormatter', - ]); - const localeText = Object.assign({}, this.data.locale?.calendar); - const markItems = [...(localeText.weekdayNames ?? [])]; - const weekStartsOn = pweekStartsOn; - if (weekStartsOn === 'Sunday') { - const item = markItems.pop(); - if (item) markItems.unshift(item); - } - const value = this.getValue(); - const start = dayjs(monthRange?.[0]).startOf('d'); - const end = dayjs(monthRange?.[1]).startOf('d'); - const monthRangeList = getMonthListFromRange(start, end); - const monthList = monthRangeList.map((p) => { - let cells = renderCells( - p, - weekStartsOn, - value, - localeText, - // 如果monthRange传入异常,用内置的时间范围 - start.isAfter(end) || start.isSame(end) - ? [monthRangeList[0], dayjs(monthRangeList[1]).endOf('month')] - : [start, end] - ); - if (onFormatter && typeof onFormatter === 'function') { - cells = cells.map((o): CellState => { - const { - time, - top, - bottom, - disabled, - isSelectedBegin, - isSelectedEnd, - isSelected, - className, - isRange, - } = o; - const newState = - onFormatter( - { - time, - top: top ? { ...top } : undefined, - bottom: bottom ? { ...bottom } : undefined, - disabled, - isSelectedBegin, - isSelectedEnd, - isSelected, - className, - isRange, - }, - value - ) ?? {}; - const result = { ...o }; - if (typeof newState === 'object') { - // 只允许修改的字段字段 - ['top', 'bottom', 'disabled', 'className'].forEach((key) => { - if (key in newState) { - result[key] = newState[key]; - } - }); - } - return result; - }); - } - let month = { - title: p.format(localeText.format), - className: '', - cells, - }; - if (onMonthFormatter && typeof onMonthFormatter === 'function') { - month = { ...month, ...onMonthFormatter(p) }; - } - return month; - }); - this.setData({ markItems, monthList }); - }, - }, - { - elementSize: null, - markItems: [], - monthList: [], - headerState: 0, - scrollIntoViewId: '', - }, - [mixinValue()], - { - didMount() { - this.updateData(); - this.measurementFn(); - // 初始化默认值时,滚动到选中位置 - const [value, defaultValue] = getValueFromProps(this, [ - 'value', - 'defaultValue', - ]); - if (this.isControlled()) { - this.updateScrollIntoViewId(getScrollIntoViewId(value)); - } else { - defaultValue && - this.updateScrollIntoViewId(getScrollIntoViewId(defaultValue)); - } - }, - didUpdate(prevProps, prevData) { - if (!this.isEqualValue(prevData)) { - // 滚动到已选的位置 - const changedScrollIntoView = getValueFromProps( - this, - 'changedScrollIntoView' - ); - changedScrollIntoView && - this.updateScrollIntoViewId(getScrollIntoViewId(this.getValue())); - } - if (!equal(prevProps, this.props) || !this.isEqualValue(prevData)) { - this.updateData(); - } - }, - } -); diff --git a/compiled/alipay/src/Calendar/props.ts b/compiled/alipay/src/Calendar/props.ts deleted file mode 100644 index 361fa97ee..000000000 --- a/compiled/alipay/src/Calendar/props.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { IBaseProps } from '../_util/base'; -import { defaultMonthRange } from './utils'; - -export interface CalendarDate { - year: number; - month: number; - date: number; -} - -export interface LocaleText { - /** - * 星期的名称。从周一到周日 - * 默认为 ['一', '二', '三', '四', '五', '六', '日'] - */ - weekdayNames: string[]; - /** - * 月份标题的格式。 除中文/英文外默认为'MM/YYYY', - */ - format: string; - /** - * 今日的文案。 默认为 '今日' - */ - today: string; - /** - * 开始的文案。 默认为 '开始' - */ - start: string; - /** - * 结束的文案。 默认为 '结束' - */ - startAndEnd: string; - /** - * 开始/结束的文案。 默认为 '开始/结束' - */ - end: string; -} - -export interface CellState { - /** - * 类名 - */ - className?: string; - /** - * 是否被禁止 - */ - disabled: boolean; - /** - * 日历单元格的顶部内容 - */ - top?: { label: string; className?: string }; - /** - * 日历单元格的底部内容 - */ - bottom?: { label: string; className?: string }; - /** - * 时间戳 - */ - time: number; - /** - * 日期 - */ - date: number; - /** - * 是否被选择 - */ - isSelected: boolean; - /** - * 是否是选择区间的开始 - */ - isSelectedBegin: boolean; - /** - * 是否是选择区间的结束 - */ - isSelectedEnd: boolean; - /** - * 是否是每一行的第一个 - */ - isRowBegin: boolean; - isRowEnd: boolean; - inThisMonth: boolean; - /** - * 是否在传入范围内 - */ - isRange: boolean; - index: number; -} - -export type CalendarValue = number | number[]; -export type SelectionMode = 'single' | 'range'; - -export interface ICalendarProps extends IBaseProps { - /** - * 初始值 - */ - defaultValue?: CalendarValue; - /** - * 日历选择的日期,受控模式 - */ - value?: CalendarValue; - /** - * 设置选择模式,单选或者连续区间, 默认为 'range' - */ - selectionMode?: SelectionMode; - /** - * 月份范围,默认为最近 3 个月 - * 格式为时间戳 - * @default [本月第一天的时间戳, 3个月后第一天的时间戳] - */ - monthRange?: [number, number]; - /** - * 星期栏,以周几作为第一天显示,默认为 'Sunday' - */ - weekStartsOn?: 'Sunday' | 'Monday'; - /** - * 选中值改变后滚动视图 - */ - changedScrollIntoView?: boolean; - /** - * 只展示在可选范围内的日期 - */ - showSelectableDatesOnly?: boolean; - /** - * 日期变化回调 - */ - onChange?: (date: CalendarValue) => void; - /** - * onFormatter 用于设置单元格的自定义数据 - * @param cell 原始数据 - * @param currentValue 当前的 value - * @returns 返回新的数据 - */ - onFormatter?: ( - cell: Pick< - CellState, - | 'className' - | 'disabled' - | 'top' - | 'bottom' - | 'time' - | 'isSelectedBegin' - | 'isSelectedEnd' - | 'isSelected' - >, - currentValue: CalendarValue - ) => Pick; - /** - * onMonthFormatter 用于设置月份的自定义数据 - * @param month 原始数据 - * @returns 返回新的数据 - */ - onMonthFormatter?: (month) => { title?: string; className?: string }; -} - -export const CalendarDefaultProps = { - defaultValue: null, - value: null, - selectionMode: 'range', - monthRange: defaultMonthRange(), - weekStartsOn: 'Sunday', - onFormatter: null, - onMonthFormatter: null, - changedScrollIntoView: null, - showSelectableDatesOnly: false, - onChange() {}, -}; diff --git a/compiled/alipay/src/Calendar/scroll.sjs b/compiled/alipay/src/Calendar/scroll.sjs deleted file mode 100644 index 91a64e854..000000000 --- a/compiled/alipay/src/Calendar/scroll.sjs +++ /dev/null @@ -1,45 +0,0 @@ -function handleScroll(event, ownerComponent) { - var currentScroll = event.detail.scrollTop; - var dataset = event.instance.getDataset(); - var elementSize = dataset.elementsize, - monthList = dataset.monthlist; - if (!elementSize) { - return; - } - // 组件如果内嵌在 slot 里, 一定会被渲染出来, 但是此时 cellHight 为 0 - if (elementSize.cellHight === 0) { - ownerComponent.callMethod('measurement'); - return; - } - var instance = ownerComponent.selectComponent('.ant-calendar-sticky-title'); - var sticky = ownerComponent.selectComponent('.ant-calendar-sticky'); - if (sticky) { - sticky.setStyle({ - display: currentScroll < 0 ? 'none' : 'block' - }); - } - var monthHeight = elementSize.monthTitleHeight; - var paddingHeight = elementSize.paddingHeight; - var cellHeight = elementSize.cellHight; - var heightList = monthList.map(function (p) { - return monthHeight + cellHeight * p.cells.length / 7; - }); - for (var i = 0; i < heightList.length; i++) { - if (currentScroll < heightList[i]) { - var topHeight = currentScroll - heightList[i] + monthHeight - paddingHeight; - topHeight = Math.max(topHeight, 0); - instance.setStyle({ - transform: "translateY(-".concat(topHeight, "px)") - }); - ownerComponent.callMethod('setCurrentMonth', { - month: topHeight > monthHeight * 0.8 ? i + 1 : i - }); - break; - } else { - currentScroll = currentScroll - heightList[i]; - } - } -} -export default { - handleScroll: handleScroll -}; \ No newline at end of file diff --git a/compiled/alipay/src/Calendar/utils.ts b/compiled/alipay/src/Calendar/utils.ts deleted file mode 100644 index f90291f23..000000000 --- a/compiled/alipay/src/Calendar/utils.ts +++ /dev/null @@ -1,187 +0,0 @@ -import dayjs, { Dayjs } from 'dayjs'; -import { isoWeekday } from '../_util/dayjs/iso-weekday'; -import { CalendarValue, CellState, LocaleText, SelectionMode } from './props'; - -export function getMonthListFromRange(start: Dayjs, end: Dayjs): Dayjs[] { - if (start.isAfter(end)) - throw new Error(`Start time can't be later than end time.`); - const result = []; - let current = start.date(1); - while (!current.isAfter(end)) { - result.push(current.date(1)); - current = current.add(1, 'month'); - } - return result; -} - -export function defaultMonthRange(): [number, number] { - const start = dayjs().startOf('date'); - const end = dayjs().startOf('date').add(2, 'month'); - return [start.toDate().getTime(), end.toDate().getTime()]; -} - -/** - * - * @param month 月份的某一天 - * @param weekStartsOn 日历以星期几开始 - * @returns 获取当月日历所有的日子 - */ -export function getDate(month: Dayjs, weekStartsOn: string): Dayjs[] { - const startOfMonth = month.date(1); - const cells: Dayjs[] = []; - let iterator: Dayjs = startOfMonth - .subtract(isoWeekday(startOfMonth) % 7, 'day') - .startOf('day'); - if (weekStartsOn === 'Monday') { - iterator = iterator.add(1, 'day'); - if ( - iterator.isSame(startOfMonth, 'month') && - !iterator.isSame(startOfMonth.startOf('date'), 'date') - ) { - iterator = iterator.add(-7, 'days'); - } - } - const diffDay = startOfMonth.date(1).add(1, 'month').diff(iterator, 'day'); - const lintCount = Math.ceil(diffDay / 7); - while (cells.length < lintCount * 7) { - cells.push(iterator); - iterator = iterator.add(1, 'day'); - } - return cells; -} - -export function renderCells( - cellsMonth: Dayjs, - weekStartsOn: string, - value: CalendarValue, - localeText: LocaleText, - monthRangeList: Dayjs[] -): CellState[] { - const [rangeStartDate, rangeEndDate] = monthRangeList; - - let rowBeginDay = 0; - let rowEndDay = 6; - if (weekStartsOn === 'Monday') { - rowBeginDay = 1; - rowEndDay = 0; - } - const dates = getDate(cellsMonth, weekStartsOn); - if (!value) { - return dates.map((d, index): CellState => { - const isToday = dayjs().isSame(d, 'day'); - const isRowBegin = - d.isSame(cellsMonth.startOf('month'), 'date') || - d.day() === rowBeginDay; - const isRowEnd = - d.isSame(cellsMonth.endOf('month'), 'date') || d.day() === rowEndDay; - - let top: CellState['top']; - if (isToday) { - top = { - label: localeText.today, - }; - } - - return { - index, - disabled: false, - time: d.toDate().getTime(), - date: d.get('date'), - isSelected: false, - isSelectedBegin: false, - top, - isSelectedEnd: false, - inThisMonth: d.month() === cellsMonth.month(), - isRowBegin, - isRowEnd, - isRange: - (d.isSame(rangeStartDate) || d.isAfter(rangeStartDate)) && - (d.isSame(rangeEndDate) || d.isBefore(rangeEndDate)), - }; - }); - } - - let selectBegin: Dayjs; - let selectEnd: Dayjs; - - if (Array.isArray(value)) { - selectBegin = dayjs(value[0]); - selectEnd = dayjs(value[1] ?? value[0]); - } else { - selectBegin = dayjs(value); - selectEnd = dayjs(value); - } - - return dates.map((d, index): CellState => { - const isToday = dayjs().isSame(d, 'day'); - const isRowBegin = - d.isSame(cellsMonth.startOf('month'), 'date') || d.day() === rowBeginDay; - const isRowEnd = - d.isSame(cellsMonth.endOf('month'), 'date') || d.day() === rowEndDay; - - const isSelectedBegin = selectBegin.isSame(d, 'day'); - const isSelectedEnd = selectEnd.isSame(d, 'day'); - const isSelected = - (!!selectBegin.isBefore(d, 'day') && !!selectEnd.isAfter(d, 'day')) || - isSelectedBegin || - isSelectedEnd; - const inThisMonth = d.month() === cellsMonth.month(); - const time = d.toDate().getTime(); - let topLabel = isToday ? localeText.today : ''; - if (Array.isArray(value)) { - if (isSelectedBegin) { - if (isSelectedEnd && value.length === 2) { - topLabel = localeText.startAndEnd; - } else { - topLabel = localeText.start; - } - } else { - if (isSelectedEnd) { - topLabel = localeText.end; - } - } - } - - return { - index, - disabled: false, - time, - date: d.get('date'), - isSelected, - isSelectedBegin, - top: { label: topLabel }, - isSelectedEnd, - inThisMonth, - isRowBegin, - isRowEnd, - isRange: - (d.isSame(rangeStartDate) || d.isAfter(rangeStartDate)) && - (d.isSame(rangeEndDate) || d.isBefore(rangeEndDate)), - }; - }); -} - -export function getSelectionModeFromValue( - value?: CalendarValue -): SelectionMode { - if (Array.isArray(value)) { - return 'range'; - } - if (typeof value === 'number') { - return 'single'; - } - return null; -} - -// 获取滚动视图的元素id -export function getScrollIntoViewId(value: CalendarValue) { - // 已选中时间滚动到可视区域内(微信不支持id为数字开头) - return `id_${ - value && - dayjs(Array.isArray(value) ? value[0] : value) - .startOf('d') - .subtract(7, 'd') // 需要定位的地方往前推7天,让已选中时间定位到中间位置 - .toDate() - .getTime() - }`; -} diff --git a/compiled/alipay/src/Calendar/variable.less b/compiled/alipay/src/Calendar/variable.less deleted file mode 100644 index 2174feb21..000000000 --- a/compiled/alipay/src/Calendar/variable.less +++ /dev/null @@ -1,43 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -/* size | 按钮内间距 */ -@calendar-cell-top-height: 25 * @rpx; -@calendar-cell-top-font-size: 18 * @rpx; -@calendar-cell-bottom-height: 25 * @rpx; -@calendar-cell-bottom-font-size: 18 * @rpx; -@calendar-cell-center-height: 45 * @rpx; -@calendar-cell-center-font-size: 32 * @rpx; -@calendar-cell-top-padding: 7 * @rpx; -@calendar-cell-space-size: 10 * @rpx; -@calendar-cell-bottom-margin: 8 * @rpx; -@calendar-cell-height: (25 + 25 + 45 + 7 + 8) * @rpx; - -@calendar-cells-padding: 16 * @rpx; - -@calendar-sticky-title-z-index: 1000; -@calendar-month-title-height: 82 * @rpx; - -@calendar-weekday-names-height: 88 * @rpx; -@calendar-weekday-names-font-size: 28 * @rpx; -@calendar-weekday-names-bottom-margin: 8 * @rpx; -@calendar-weekday-names-left-padding: @size-5; - -@calendar-cell-disabled-opacity: var( - --calendar-cell-disabled-opacity, - @opacity-disabled -); -@calendar-weekday-names-background-color: var( - --calendar-weekday-names-bg, - #f8f8f8 -); - -@calendar-default-color: var(--calendar-default-color, @COLOR_TEXT_PRIMARY); - -@calendar-selected-color: var(--calendar-selected-color, @COLOR_BRAND1_FADED_1); - -@calendar-assist-color: var(--calendar-assist-color, @COLOR_TEXT_ASSIST); - -@calendar-selected-end-color: var(--calendar-selected-end-color, @COLOR_WHITE); - -@calendar-selected-color: var(--calendar-selected-color, @COLOR_BRAND1); diff --git a/compiled/alipay/src/Card/index.axml b/compiled/alipay/src/Card/index.axml deleted file mode 100644 index f003995d2..000000000 --- a/compiled/alipay/src/Card/index.axml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - {{title}} - - - - - {{operateText}} - - - - {{finalFoldStatus ? '展开' : '收起'}} - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Card/index.en.md b/compiled/alipay/src/Card/index.en.md deleted file mode 100644 index 143d92eb2..000000000 --- a/compiled/alipay/src/Card/index.en.md +++ /dev/null @@ -1,162 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Card - -Base card container. When you need to carry text, lists, pictures, paragraphs and other content, use Card card containers to facilitate users to browse. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-card": "antd-mini/es/Card/index" -#endif -#if WECHAT - "ant-card": "antd-mini/Card/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - - - I am the card content - - -``` - -### Content Separator - -```xml - - - Title Content with Split Line - - -``` - -### Title ceiling - -```xml - - - Simulate a long card content - - -``` - -### Card Foldable - -```xml - - - Content area can be expanded/collapsed - - -``` - -### Custom Action Buttons - -```xml - - - Custom - - - I am the card content - - -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ---------------------------- | ------------------------------------------------------------------- | --------------------------- | ------ | -| className | Container className | string | - | -| config | Card Configuration | [ICardConfig](#ICardConfig) | - | -| title | Card Title | string | - | -| divider | Whether there is a dividing line | boolean | false | -| needFold | Whether a foldable card is required, the operateText needs to be empty, otherwise it needs to be manually unfolded and stowed. | boolean | false | -| foldStatus | Whether it is collapsed or not, passing true will cause it to be collapsed, regardless of whether the needFold is true or not. | boolean | false | -| headSticky | Does the title need ceiling | boolean | false | -| stickyTransparentTitle | Whether the ceiling is on the transparent head page, if so, the height of the transparent head will be calculated automatically. | boolean | false | -| stickyTop | How much distance should the title be from the top when it is sucked | string | - | -| operateText | Default title bar right action button text | string | - | -| #if ALIPAY onOperateClick | Default title bar right operation button click callback | () => void | - | -| #if ALIPAY onFoldChange | Default title bar right collapse expand button click callback | () => void | - | -| #if ALIPAY onTitleSticky | Whether the title area is the callback when the ceiling changes. | (status) => void | - | -| #if WECHAT bind:operateclick | Default title bar right operation button click callback | () => void | - | -| #if WECHAT bind:foldchange | Default title bar right collapse expand button click callback | () => void | - | -| #if WECHAT bind:titlesticky | Whether the title area is the callback when the ceiling changes. | (status) => void | - | - -### ICardConfig - -| Configuration Item | Description | Type | Default Value | -| ----------- | ------------------------------------- | ------ | ------ | -| foldTapArea | Collapse behavior trigger area, optional`btn`、`header` | string | 'btn' | - -## Slot - -| Name | Description | -| ----------- | -------------------- | -| Default Slot | Card Content | -| headerTitle | Custom Title Bar Left Header | -| headerRight | Customize the right content of the title bar | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --ant-card-bg |
#ffffff
|
#1a1a1a
| Card background color | -| --ant-card-header-title-color |
#333333
|
#c5cad1
| Card head title color | -| --ant-card-header-link-color |
#999999
|
#616161
| Card Head Link Color | -| --ant-card-fold-btn-color |
#1677ff
|
#3086ff
| Card Fold Button Color | diff --git a/compiled/alipay/src/Card/index.json b/compiled/alipay/src/Card/index.json deleted file mode 100644 index 9e3b52be0..000000000 --- a/compiled/alipay/src/Card/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-sticky": "../Sticky/index", - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Card/index.less b/compiled/alipay/src/Card/index.less deleted file mode 100644 index da989bebd..000000000 --- a/compiled/alipay/src/Card/index.less +++ /dev/null @@ -1,63 +0,0 @@ -@import (reference) './variable.less'; - -@cardPrefix: ant-card; - -.@{cardPrefix} { - border-radius: 24 * @rpx; - background-color: @ant-card-bg; - - &-header { - display: flex; - padding: 24 * @rpx; - justify-content: space-between; - &-title { - color: @ant-card-header-title-color; - line-height: 45 * @rpx; - font-size: 32 * @rpx; - } - &-right { - &-link { - display: flex; - align-items: center; - font-size: 28 * @rpx; - color: @ant-card-link-color; - } - } - - &:empty { - margin-bottom: 0; - } - - &-fold { - &-btn { - font-size: 26 * @rpx; - color: @ant-card-fold-btn-color; - } - &-icon { - font-size: 26 * @rpx; - margin-left: 8 * @rpx; - color: @ant-card-fold-btn-color; - } - } - } - - .ant-card-divider { - margin: 0 24 * @rpx; - height: 1px; - &-with-line { - } - } - - .ant-card-content { - padding: 24 * @rpx; - transition: all 0.2s ease-in-out; - will-change: max-height; - - &-collapse { - max-height: 0; - padding-top: 0; - padding-bottom: 0; - overflow: hidden; - } - } -} diff --git a/compiled/alipay/src/Card/index.md b/compiled/alipay/src/Card/index.md deleted file mode 100644 index 1f06ebfae..000000000 --- a/compiled/alipay/src/Card/index.md +++ /dev/null @@ -1,162 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Card 卡片 - -基础的卡片容器。当需要承载文字、列表、图片、段落等内容时,使用 Card 卡片容器以方便用户浏览。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-card": "antd-mini/es/Card/index" -#endif -#if WECHAT - "ant-card": "antd-mini/Card/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - - - 我是卡片内容 - - -``` - -### 内容分隔线 - -```xml - - - 标题内容间带分割线 - - -``` - -### 标题吸顶 - -```xml - - - 模拟一个长卡片内容 - - -``` - -### 卡片可折叠 - -```xml - - - 内容区域可展开/收起 - - -``` - -### 自定义操作按钮 - -```xml - - - 自定义 - - - 我是卡片内容 - - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------------- | ------------------------------------------------------------------- | --------------------------- | ------ | -| className | 容器 className | string | - | -| config | 卡片配置 | [ICardConfig](#ICardConfig) | - | -| title | 卡片标题 | string | - | -| divider | 是否有分割线 | boolean | false | -| needFold | 是否需要可折叠卡片,需要 operateText 为空,否则需要手动进行展开收起 | boolean | false | -| foldStatus | 是否折叠,传 true 会导致收起,不管 needFold 是否为 true | boolean | false | -| headSticky | 标题是否需要吸顶 | boolean | false | -| stickyTransparentTitle | 吸顶是否在透明头页面,是的话会自动算透明头高度 | boolean | false | -| stickyTop | 标题吸顶时要吸在距离顶部多少的位置 | string | - | -| operateText | 默认标题栏右侧操作按钮文本 | string | - | -| #if ALIPAY onOperateClick | 默认标题栏右侧操作按钮点击回调 | () => void | - | -| #if ALIPAY onFoldChange | 默认标题栏右侧折叠展开按钮点击回调 | () => void | - | -| #if ALIPAY onTitleSticky | title 区域是否吸顶变化时的回调 | (status) => void | - | -| #if WECHAT bind:operateclick | 默认标题栏右侧操作按钮点击回调 | () => void | - | -| #if WECHAT bind:foldchange | 默认标题栏右侧折叠展开按钮点击回调 | () => void | - | -| #if WECHAT bind:titlesticky | title 区域是否吸顶变化时的回调 | (status) => void | - | - -### ICardConfig - -| 配置项 | 说明 | 类型 | 默认值 | -| ----------- | ------------------------------------- | ------ | ------ | -| foldTapArea | 折叠行为触发区域,可选`btn`、`header` | string | 'btn' | - -## 插槽 - -| 名称 | 说明 | -| ----------- | -------------------- | -| 默认插槽 | 卡片内容 | -| headerTitle | 自定义标题栏左侧标题 | -| headerRight | 自定义标题栏右侧内容 | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --ant-card-bg |
#ffffff
|
#1a1a1a
| 卡片背景颜色 | -| --ant-card-header-title-color |
#333333
|
#c5cad1
| 卡片头部标题颜色 | -| --ant-card-header-link-color |
#999999
|
#616161
| 卡片头部链接颜色 | -| --ant-card-fold-btn-color |
#1677ff
|
#3086ff
| 卡片折叠按钮颜色 | diff --git a/compiled/alipay/src/Card/index.ts b/compiled/alipay/src/Card/index.ts deleted file mode 100644 index 8758ff9bc..000000000 --- a/compiled/alipay/src/Card/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { - Component, - getValueFromProps, - triggerEvent, - triggerEventOnly, -} from '../_util/simply'; -import { CardDefaultProps } from './props'; -Component( - CardDefaultProps, - { - // 点击展开收起按钮 - handleTapFoldBtn(e) { - const { finalConfig = {}, finalFoldStatus } = this.data; - if (finalConfig.foldTapArea === 'btn') { - this.setData({ - finalFoldStatus: !finalFoldStatus, - }); - triggerEvent(this, 'foldChange', !finalFoldStatus, e); - } - }, - // 点击标题整栏 - handleTapCardHeader(e) { - const { finalConfig = {}, finalFoldStatus } = this.data; - if (finalConfig.foldTapArea === 'header' && this.props.needFold) { - this.setData({ - finalFoldStatus: !finalFoldStatus, - }); - triggerEvent(this, 'foldChange', !finalFoldStatus, e); - } - }, - // 点击更多 - handleTapLink(e) { - triggerEventOnly(this, 'operateClick', e); - }, - // 处理title的sticky状态变化 - handleStickyChange(status) { - triggerEvent(this, 'titleSticky', status); - }, - }, - { - finalFoldStatus: false, - }, - undefined, - { - onInit() { - const [foldStatus, config] = getValueFromProps(this, [ - 'foldStatus', - 'config', - ]); - this.setData({ - finalFoldStatus: foldStatus, - finalConfig: { - ...CardDefaultProps.config, - ...config, - }, - }); - }, - didUpdate(prevProps) { - const foldStatus = getValueFromProps(this, 'foldStatus'); - if (prevProps.foldStatus !== foldStatus) { - this.setData({ - finalFoldStatus: foldStatus, - }); - } - }, - } -); diff --git a/compiled/alipay/src/Card/props.ts b/compiled/alipay/src/Card/props.ts deleted file mode 100644 index 211d4ea34..000000000 --- a/compiled/alipay/src/Card/props.ts +++ /dev/null @@ -1,37 +0,0 @@ -export interface ICardProps { - className?: string; // 容器的 class - config?: ICardConfig; // 卡片的配置项 - title?: string; // 卡片标题 - operateText?: string; // 默认头部右侧操作按钮文本 - needFold?: boolean; // 卡片是否可以折叠,如果为 true,还需要不传 operateText 才可以出折叠按钮,或者通过配置让折叠操作区为整个 titlebar - foldStatus?: boolean; // true展开 false收起态。不传就是非受控组件,传了就是受控组件 - headSticky?: boolean; // 标题是否需要吸顶 - stickyTransparentTitle?: boolean; // 吸顶是否在透明头页面,是的话会自动算透明头高度 - stickyTop?: string; // 透传给sticky组件用于决定title区域的吸顶位置 - - onOperateClick?: (e) => void; // 默认头部右侧操作按钮点击回调 - onFoldChange?: () => void; // 展开收起态发生变化时的回调 - onTitleSticky?: (status) => void; // title区域是否吸顶变化时的回调 -} - -export interface ICardConfig { - foldTapArea?: 'btn' | 'header'; // 折叠操作点击范围 -} - -export const CardDefaultProps: ICardProps = { - className: '', - config: { - foldTapArea: 'btn', - }, - title: '', - operateText:'', - needFold: false, - foldStatus: false, - headSticky: false, - stickyTransparentTitle: false, - stickyTop: '', - - onOperateClick: () => {}, - onFoldChange: () => {}, - onTitleSticky: (status: boolean) => status, -}; diff --git a/compiled/alipay/src/Card/variable.less b/compiled/alipay/src/Card/variable.less deleted file mode 100644 index 5c4a45c68..000000000 --- a/compiled/alipay/src/Card/variable.less +++ /dev/null @@ -1,12 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@ant-card-bg: var(--ant-card-bg, @COLOR_WHITE); - -@ant-card-header-title-color: var(--ant-card-header-title-color, @COLOR_TEXT_PRIMARY); - -@ant-card-link-color: var(--ant-card-header-title-color, @COLOR_TEXT_ASSIST); - -@ant-card-fold-btn-color: var(--ant-card-fold-btn-color, @COLOR_BRAND1); - - diff --git a/compiled/alipay/src/Checkbox/CheckboxGroup/index.axml b/compiled/alipay/src/Checkbox/CheckboxGroup/index.axml deleted file mode 100644 index 2bd47640d..000000000 --- a/compiled/alipay/src/Checkbox/CheckboxGroup/index.axml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - {{item.label}} - - - - - - - - - - - - {{item.label}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Checkbox/CheckboxGroup/index.json b/compiled/alipay/src/Checkbox/CheckboxGroup/index.json deleted file mode 100644 index c7460b750..000000000 --- a/compiled/alipay/src/Checkbox/CheckboxGroup/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "list": "../../List/index", - "list-item": "../../List/ListItem/index", - "ant-checkbox": "../index" - } -} diff --git a/compiled/alipay/src/Checkbox/CheckboxGroup/index.less b/compiled/alipay/src/Checkbox/CheckboxGroup/index.less deleted file mode 100644 index 28be5f6b1..000000000 --- a/compiled/alipay/src/Checkbox/CheckboxGroup/index.less +++ /dev/null @@ -1,50 +0,0 @@ -@import (reference) '../variable.less'; - -@checkGroupPrefix: ant-checkbox-group; - -.@{checkGroupPrefix} { - &-horizontal { - .@{checkGroupPrefix}-body { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - - .ant-list-item-line { - padding-right: 0; - } - - .ant-checkbox-item { - flex-flow: 0; - } - - .ant-list-item-line::after { - display: none; - } - } - } - - &-header:empty, - &-footer:empty { - display: none; - } - - &-header, - &-footer { - display: flex; - align-items: center; - padding: @v-spacing-standard @v-spacing-large; - line-height: 1.4; - font-size: 30 * @rpx; - color: @checkbox-header-color; - } - - &-body { - position: relative; - overflow: hidden; - .ant-checkbox-item-content { - .ant-checkbox-group-item-label-default:not(:nth-child(1)) { - display: none; - } - } - } -} diff --git a/compiled/alipay/src/Checkbox/CheckboxGroup/index.ts b/compiled/alipay/src/Checkbox/CheckboxGroup/index.ts deleted file mode 100644 index f7508e9b2..000000000 --- a/compiled/alipay/src/Checkbox/CheckboxGroup/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { CheckboxGroupDefaultProps } from './props'; -import mixinValue from '../../mixins/value'; - -Component( - CheckboxGroupDefaultProps, - { - onChange(args, e) { - if (getValueFromProps(this, 'disabled')) { - return; - } - let event; - event = e; - let currentValue = this.getValue(); - const { index } = event.currentTarget.dataset; - const selectValue = getValueFromProps(this, 'options')[index].value; - if (currentValue.indexOf(selectValue) > -1) { - currentValue = currentValue.filter((v) => v !== selectValue); - } else { - currentValue = [...currentValue, selectValue]; - } - if (!this.isControlled()) { - this.update(currentValue); - } - triggerEvent(this, 'change', currentValue, e); - }, - }, - null, - [ - mixinValue({ - transformValue(val) { - const value = val || []; - return { - needUpdate: true, - value, - }; - }, - }), - ] -); diff --git a/compiled/alipay/src/Checkbox/CheckboxGroup/props.ts b/compiled/alipay/src/Checkbox/CheckboxGroup/props.ts deleted file mode 100644 index dffe264dd..000000000 --- a/compiled/alipay/src/Checkbox/CheckboxGroup/props.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -export interface ICheckboxGroupProps extends IBaseProps { - value: string[]; - defaultValue: string[]; - disabled?: boolean; - position: 'horizontal' | 'vertical'; - color: string; - options: { - label?: string; - value?: string; - disabled?: boolean; - }[]; - onChange?: (value: string[], e: any) => void; -} - -export const CheckboxGroupDefaultProps: Partial = { - value: null, - defaultValue: [], - disabled: false, - position: 'vertical', - color: '', - options: [], -}; diff --git a/compiled/alipay/src/Checkbox/index.axml b/compiled/alipay/src/Checkbox/index.axml deleted file mode 100644 index 4cf5bfd5e..000000000 --- a/compiled/alipay/src/Checkbox/index.axml +++ /dev/null @@ -1,35 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/alipay/src/Checkbox/index.en.md b/compiled/alipay/src/Checkbox/index.en.md deleted file mode 100644 index a0bd1e7dc..000000000 --- a/compiled/alipay/src/Checkbox/index.en.md +++ /dev/null @@ -1,264 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Checkbox - -Multiple selection in a set of options. When used alone, it can represent a switch between two states, and `switch` Similar. The difference is that switching `switch` will directly trigger a state change, while `checkbox` Generally used for status markers and needs to be coordinated with the submit operation. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-checkbox": "antd-mini/es/Checkbox/index", - "ant-checkbox-group": "antd-mini/es/CheckboxGroup/index" -#endif -#if WECHAT - "ant-checkbox": "antd-mini/Checkbox/index", - "ant-checkbox-group": "antd-mini/CheckboxGroup/index" -#endif -} -``` - -## Code example - -### Basic use - -> By `checked` Checked state of the binding check box. - -```xml -#if ALIPAY -Basic usage -#endif -#if WECHAT -Basic usage -#endif -``` - -```js -Page({ - data: { - checked: false, - }, - handleCheckedChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### Grouping - -```xml -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data:{ - value: ['banana'], - options: [ - { value: 'apple', label: 'Apple' }, - { value: 'orange', label: 'Orange' }, - { value: 'banana', label: 'Banana' }, - ], - }, - handleValueChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### Custom Grouping - -> `van-checkbox` Cooperation `list` Use together to support custom grouping selection - -```xml -#if ALIPAY - - - - - - {{item.title}} - - - - - -#endif -#if WECHAT - - - - - {{item.title}} - - - - -#endif -``` - -```js -Page({ - data: { - customOptions: [ - { - title: 'Group one', - list: [ - { - title: 'Option one', - value: '1', - }, - ], - }, - { - title: 'Group two', - list: [ - { - title: 'Option two', - value: '2', - }, - ], - }, - ], - customValue: [], - }, - handleCustomChange(checked, e) { - let value = this.data.customValue; - -#if WECHAT - const event = checked; - if (event.detail) { - value = value.concat(event.target.dataset.value); - } else { - value = value.filter((v) => v !== event.target.dataset.value); - } -#endif - -#if ALIPAY - if (checked) { - value = value.concat(e.target.dataset.value); - } else { - value = value.filter((v) => v !== e.target.dataset.value); - } -#endif - - this.setData({ customValue: value }); - console.log(value); - }, -}); -``` - -## Demo Code - - - -## API - -#### Checkbox - -| Property | Description | Type | Default Value | -| ---------------------- | ----------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| checked | Whether selected | boolean | - | -| className | Class Name | string | - | -| color | Selected color, same as CSS color value | string | - | -| defaultChecked | Is selected by default | boolean | - | -| disabled | Disable | boolean | false | -| style | Style | string | - | -| #if ALIPAY onChange | Trigger callback when selection status changes | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | Trigger callback when selection status changes | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -#### CheckboxGroup - -| Property | Description | Type | Default Value | -| ---------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ---------- | -| className | Class Name | string | - | -| color | Selected color, same as CSS color value | string | - | -| defaultValue | Default selected value | `string[]` | - | -| disabled | Disable | boolean | false | -| label | Label area slot, receiving value (current item optional item), index (index) | slot | - | -| options | Specify options | `{label: string; value: string; disabled: boolean}[]` | - | -| position | layout, optional `horizontal`、`vertical` | string | `vertical` | -| style | Style | string | - | -| value | The value of the CheckboxGroup to determine whether the child element is checked. | `string[]` | - | -| #if ALIPAY onChange | Check to trigger this function when status changes | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | Check to trigger this function when status changes | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --checkbox-header-color |
#999999
|
#616161
| Check Box Title Color | -| --checkbox-border-color |
#cccccc
|
#474747
| Check Box Border Color | -| --checkbox-background-color |
#1677ff
|
#3086ff
| Checkbox Background Color | -| --checkbox-disabled-background |
#f5f5f5
|
#121212
| Check box Disable background color | -| --checkbox-text-color |
#333333
|
#c5cad1
| Check Box Text Color | -| --checkbox-fake-icon-background-color |
#ffffff
|
#1a1a1a
| Check Box Fake Icon Background Color | diff --git a/compiled/alipay/src/Checkbox/index.json b/compiled/alipay/src/Checkbox/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Checkbox/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Checkbox/index.less b/compiled/alipay/src/Checkbox/index.less deleted file mode 100644 index 2689a600c..000000000 --- a/compiled/alipay/src/Checkbox/index.less +++ /dev/null @@ -1,92 +0,0 @@ -@import (reference) './variable.less'; - -@checkboxItemPrefix: ant-checkbox-item; - -.@{checkboxItemPrefix} { - color: @checkbox-text-color; - margin-right: 16 * @rpx; - - - &-container { - display: flex; - align-items: center; - } - - &-content { - padding-left: 10 * @rpx; - text-align: left; - } - &-wrap { - position: relative; - width: @checkbox-size; - height: @checkbox-size; - flex: 0 0 @checkbox-size; - } - &-base { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 0; - } - &-fake { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - overflow: hidden; - pointer-events: none; - display: flex; - justify-content: center; - align-items: center; - &-icon { - background-color: @checkbox-fake-icon-background-color; - border: @checkbox-border-width solid @checkbox-border-color; - border-radius: @checkbox-corner-radius; - width: 100%; - height: 100%; - box-sizing: border-box; - } - &-checkedIcon { - border-radius: @checkbox-corner-radius; - background-color: @checkbox-background-color; - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; - &-icon { - color: @COLOR_WHITE; - font-size: 28 * @rpx; - } - } - &-disbaledIcon { - box-sizing: border-box; - border: @checkbox-border-width solid @checkbox-border-color; - border-radius: @checkbox-corner-radius; - width: 100%; - height: 100%; - background-color: @checkbox-disabled-background; - } - &-disabledCheckedIcon { - box-sizing: border-box; - border: @checkbox-border-width solid @checkbox-border-color; - background-color: @checkbox-disabled-background; - border-radius: @checkbox-corner-radius; - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; - &-icon { - color: @checkbox-border-color; - font-size: 28 * @rpx; - } - } - } - &-disabled { - opacity: @opacity-disabled; - } -} diff --git a/compiled/alipay/src/Checkbox/index.md b/compiled/alipay/src/Checkbox/index.md deleted file mode 100644 index b4f7aacfe..000000000 --- a/compiled/alipay/src/Checkbox/index.md +++ /dev/null @@ -1,264 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Checkbox 复选框 - -在一组可选项中进行多选。单独使用时可以表示两种状态之间的切换,与 `switch` 类似。区别在于,切换 `switch` 会直接触发状态改变,而 `checkbox` 一般用于状态标记,需要与提交操作配合。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-checkbox": "antd-mini/es/Checkbox/index", - "ant-checkbox-group": "antd-mini/es/CheckboxGroup/index" -#endif -#if WECHAT - "ant-checkbox": "antd-mini/Checkbox/index", - "ant-checkbox-group": "antd-mini/CheckboxGroup/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> 通过 `checked` 绑定复选框的勾选状态。 - -```xml -#if ALIPAY -Basic usage -#endif -#if WECHAT -Basic usage -#endif -``` - -```js -Page({ - data: { - checked: false, - }, - handleCheckedChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### 分组 - -```xml -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data:{ - value: ['banana'], - options: [ - { value: 'apple', label: 'Apple' }, - { value: 'orange', label: 'Orange' }, - { value: 'banana', label: 'Banana' }, - ], - }, - handleValueChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### 自定义分组 - -> `van-checkbox` 配合 `list` 一起使用,即可支持自定义分组选择 - -```xml -#if ALIPAY - - - - - - {{item.title}} - - - - - -#endif -#if WECHAT - - - - - {{item.title}} - - - - -#endif -``` - -```js -Page({ - data: { - customOptions: [ - { - title: 'Group one', - list: [ - { - title: 'Option one', - value: '1', - }, - ], - }, - { - title: 'Group two', - list: [ - { - title: 'Option two', - value: '2', - }, - ], - }, - ], - customValue: [], - }, - handleCustomChange(checked, e) { - let value = this.data.customValue; - -#if WECHAT - const event = checked; - if (event.detail) { - value = value.concat(event.target.dataset.value); - } else { - value = value.filter((v) => v !== event.target.dataset.value); - } -#endif - -#if ALIPAY - if (checked) { - value = value.concat(e.target.dataset.value); - } else { - value = value.filter((v) => v !== e.target.dataset.value); - } -#endif - - this.setData({ customValue: value }); - console.log(value); - }, -}); -``` - -## Demo 代码 - - - -## API - -#### Checkbox - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ----------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| checked | 是否选中 | boolean | - | -| className | 类名 | string | - | -| color | 选中的颜色,同 CSS 色值 | string | - | -| defaultChecked | 默认是否选中 | boolean | - | -| disabled | 是否禁用 | boolean | false | -| style | 样式 | string | - | -| #if ALIPAY onChange | 选中状态改变时触发回调 | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中状态改变时触发回调 | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -#### CheckboxGroup - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ---------- | -| className | 类名 | string | - | -| color | 选中的颜色,同 CSS 色值 | string | - | -| defaultValue | 默认选中的值 | `string[]` | - | -| disabled | 是否禁用 | boolean | false | -| label | label 区插槽,接收 value(当前项可选项 item)、index(索引) | slot | - | -| options | 指定可选项 | `{label: string; value: string; disabled: boolean}[]` | - | -| position | 布局,可选 `horizontal`、`vertical` | string | `vertical` | -| style | 样式 | string | - | -| value | CheckboxGroup 的值,决定子元素是否勾选 | `string[]` | - | -| #if ALIPAY onChange | 勾选状态变化时触发此函数 | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 勾选状态变化时触发此函数 | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --checkbox-header-color |
#999999
|
#616161
| 复选框标题颜色 | -| --checkbox-border-color |
#cccccc
|
#474747
| 复选框边框颜色 | -| --checkbox-background-color |
#1677ff
|
#3086ff
| 复选框背景颜色 | -| --checkbox-disabled-background |
#f5f5f5
|
#121212
| 复选框禁用背景颜色 | -| --checkbox-text-color |
#333333
|
#c5cad1
| 复选框文本颜色 | -| --checkbox-fake-icon-background-color |
#ffffff
|
#1a1a1a
| 复选框假图标背景颜色 | diff --git a/compiled/alipay/src/Checkbox/index.sjs b/compiled/alipay/src/Checkbox/index.sjs deleted file mode 100644 index cf0f22db9..000000000 --- a/compiled/alipay/src/Checkbox/index.sjs +++ /dev/null @@ -1,21 +0,0 @@ -function getClassName(checked, disabled) { - if (!checked && !disabled) { - return 'icon'; - } - if (checked && !disabled) { - return 'checkedIcon'; - } - if (!checked && disabled) { - return 'disbaledIcon'; - } - if (checked && disabled) { - return 'disabledCheckedIcon'; - } -} -function getCheckboxChecked(item, value) { - return (value || []).indexOf(item.value) > -1; -} -export default { - getClassName: getClassName, - getCheckboxChecked: getCheckboxChecked -}; \ No newline at end of file diff --git a/compiled/alipay/src/Checkbox/index.ts b/compiled/alipay/src/Checkbox/index.ts deleted file mode 100644 index 9a625acb0..000000000 --- a/compiled/alipay/src/Checkbox/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { CheckboxDefaultProps } from './props'; -import { Component, triggerEvent } from '../_util/simply'; -import mixinValue from '../mixins/value'; - -Component( - CheckboxDefaultProps, - { - onChange(e) { - const value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - }, - null, - [ - mixinValue({ - valueKey: 'checked', - defaultValueKey: 'defaultChecked', - }), - ] -); diff --git a/compiled/alipay/src/Checkbox/props.ts b/compiled/alipay/src/Checkbox/props.ts deleted file mode 100644 index 338c194f6..000000000 --- a/compiled/alipay/src/Checkbox/props.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 复选框,表单组件。 - */ - -export interface ICheckboxProps extends IBaseProps { - value?: any; - checked: boolean; - defaultChecked?: boolean; - disabled: boolean; - color: string; - onChange?: (checked: boolean, e: any) => void; -} - -export const CheckboxDefaultProps: Partial = { - value: null, - checked: null, - defaultChecked: null, - disabled: false, - color: '', -}; diff --git a/compiled/alipay/src/Checkbox/variable.less b/compiled/alipay/src/Checkbox/variable.less deleted file mode 100644 index 981d5e9c2..000000000 --- a/compiled/alipay/src/Checkbox/variable.less +++ /dev/null @@ -1,34 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// header 颜色 -@checkbox-header-color: var(--checkbox-header-color, @COLOR_TEXT_ASSIST); - -/* size | 大小 */ -@checkbox-size: @icon-size-sm; - -/* corner-radius | 圆角 */ -@checkbox-corner-radius: @corner-radius-circle; - -/* border-width | 边框宽度 */ -@checkbox-border-width: @border-width-standard; - -/* color | 边框颜色 */ -@checkbox-border-color: var(--checkbox-border-color, @COLOR_TEXT_WEAK); - -/* color | check状态背景色 */ -@checkbox-background-color: var(--checkbox-background-color, @COLOR_BRAND1); - -/* color | disabled状态背景色 */ -@checkbox-disabled-background: var( - --checkbox-disabled-background, - @COLOR_GREY_CARD -); - -// text 颜色 -@checkbox-text-color: var(--checkbox-text-color, @COLOR_TEXT_PRIMARY); -// fake-icn 颜色 -@checkbox-fake-icon-background-color: var( - --checkbox-fake-icon-background-color, - @COLOR_CARD -); diff --git a/compiled/alipay/src/Checklist/ChecklistItem/index.axml b/compiled/alipay/src/Checklist/ChecklistItem/index.axml deleted file mode 100644 index 98f2cfd40..000000000 --- a/compiled/alipay/src/Checklist/ChecklistItem/index.axml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Checklist/ChecklistItem/index.json b/compiled/alipay/src/Checklist/ChecklistItem/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Checklist/ChecklistItem/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Checklist/ChecklistItem/index.less b/compiled/alipay/src/Checklist/ChecklistItem/index.less deleted file mode 100644 index 281f7cb70..000000000 --- a/compiled/alipay/src/Checklist/ChecklistItem/index.less +++ /dev/null @@ -1,77 +0,0 @@ -@import (reference) '../variable.less'; -@import (reference) '../../style/mixins/hairline.less'; - -@checklistItemPrefix: ant-checklist-item; - -.@{checklistItemPrefix} { - background-color: @check-list-item-background-color; - - &-hover { - background-color: @check-list-item-hover-background-color; - } - - &-content { - display: flex; - align-items: center; - padding: @v-spacing-large @h-spacing-large; - color: @check-list-item-content-color; - &-disabled { - opacity: @opacity-disabled; - } - } - - &-content-box { - flex: 1; - } - - &-content-box-nut { - display: flex; - align-items: center; - } - - &-image { - width: @size-9; - height: @size-9; - border-radius: @corner-radius-md; - } - - &-text { - flex: 1; - margin-left: @h-spacing-large; - - &-no-image { - margin-left: 0; - } - - &-title { - color: @check-list-item-title-color; - font-size: @font-size-list; - line-height: 48 * @rpx; - } - - &-description { - font-size: @font-size-content; - color: @check-list-item-description-color; - margin-top: 2 * @rpx; - line-height: 36 * @rpx; - } - } - - &-checked { - &-disabled { - opacity: @opacity-disabled; - } - } - - &:last-child { - .ant-checklist-item-line { - display: none; - } - } - - &-line { - margin-left: @h-spacing-large; - position: relative; - .hairline('bottom', @check-list-item-hover-background-color); - } -} diff --git a/compiled/alipay/src/Checklist/ChecklistItem/index.ts b/compiled/alipay/src/Checklist/ChecklistItem/index.ts deleted file mode 100644 index be617d4b0..000000000 --- a/compiled/alipay/src/Checklist/ChecklistItem/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { ChecklistItemDefaultProps } from './props'; - -Component(ChecklistItemDefaultProps, { - onChecklistItemClick() { - triggerEvent(this, 'change', getValueFromProps(this, 'item')); - }, -}); diff --git a/compiled/alipay/src/Checklist/ChecklistItem/props.ts b/compiled/alipay/src/Checklist/ChecklistItem/props.ts deleted file mode 100644 index 118385318..000000000 --- a/compiled/alipay/src/Checklist/ChecklistItem/props.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IBaseProps } from '../../_util/base'; -import { ChecklistItem } from '../props'; - -/** - * @description 可勾选列表单项 - */ - -export interface IChecklistItemProps extends IBaseProps { - item: ChecklistItem; - checked: boolean; - /** - * @description 当项选项值改变时触发 - */ - onChange: (item: ChecklistItem) => void; -} - -export const ChecklistItemDefaultProps: Partial = { - item: null, - checked: false, -}; diff --git a/compiled/alipay/src/Checklist/index.axml b/compiled/alipay/src/Checklist/index.axml deleted file mode 100644 index 7d8af49e7..000000000 --- a/compiled/alipay/src/Checklist/index.axml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - {{item.title}} - - - {{item.description}} - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Checklist/index.en.md b/compiled/alipay/src/Checklist/index.en.md deleted file mode 100644 index f5c62b766..000000000 --- a/compiled/alipay/src/Checklist/index.en.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Checklist - -The check operation of the list. - -- Select one or more in a group of list items. -- To use a checkable list, you need to check at least one item by default to make it easier for users to understand that the list can be checked. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-checklist": "antd-mini/es/Checklist/index", -#endif -#if WECHAT - "ant-checklist": "antd-mini/Checklist/index", -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChange(v, items, e) { - console.log('当前选中的Value为:', v, items, e); - }, -}); -``` - -### Controlled and Multiple Selection - -> Incoming `multiple` Property supports multiple selection mode. `value` property and `onChange` Events are used together to achieve state control. - -```xml - -``` - -```js -Page({ - data: { - value: [1, 2], - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ value }); -#endif -#if WECHAT - this.setData({ value: value.detail[0] }); -#endif - }, -}); -``` - -### Custom - -> You can customize the check icon and style through the slot. - -```xml - - - - - - title: {{ props.item.title }} - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| className | Class Name | string | - | -| content | CheckListItem a custom content area scope slot that receives the item parameter | slot | - | -| defaultValue | Data selected by default | string \| number \| (string \| number)[] | - | -| icon | Customize the selected Icon slot | slot | - | -| multiple | Whether multiple selection is supported | boolean | false | -| options | Configure options for each column | [ChecklistItem](#checklistitem)[] | [] | -| style | Style | string | - | -| value | Selected data | string \| number \| (string \| number)[] | - | -| #if ALIPAY onChange | Trigger a callback when the selected item changes | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | Trigger a callback when the selected item changes | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### ChecklistItem - -| Parameters | Description | Type | Default Value | -| ----------- | -------- | ------- | ------ | -| description | Description | string | - | -| disabled | Disable | boolean | false | -| image | Picture | string | - | -| readonly | Read-only | boolean | false | -| title | Title | string | - | -| value | Value | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --checklist-background-color |
#1677ff
|
#3086ff
| List background color | -| --check-list-item-background-color |
#ffffff
|
#1a1a1a
| List Item Background Color | -| --check-list-item-hover-background-color |
#eeeeee
|
#2b2b2b
| List item hover background color | -| --check-list-item-content-color |
#333333
|
#c5cad1
| List Item Content Color | -| --check-list-item-description-color |
#999999
|
#616161
| List Item Description Color | diff --git a/compiled/alipay/src/Checklist/index.json b/compiled/alipay/src/Checklist/index.json deleted file mode 100644 index 402e290e9..000000000 --- a/compiled/alipay/src/Checklist/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-checklist-item": "./ChecklistItem/index", - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Checklist/index.less b/compiled/alipay/src/Checklist/index.less deleted file mode 100644 index 5aeb56646..000000000 --- a/compiled/alipay/src/Checklist/index.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) './variable.less'; - -@checklistPrefix: ant-checklist; - -.@{checklistPrefix} { - &-body { - position: relative; - overflow: hidden; - } - - &-item-check-icon { - font-size: @font-size-title; - color: @checklist-background-color; - } -} diff --git a/compiled/alipay/src/Checklist/index.md b/compiled/alipay/src/Checklist/index.md deleted file mode 100644 index ddf08f5e7..000000000 --- a/compiled/alipay/src/Checklist/index.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Checklist 可勾选列表 - -列表的勾选操作。 - -- 在一组列表项中选择一个或多个。 -- 可勾选列表的使用需要默认至少勾选一项,方便用户了解列表是可以勾选的。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-checklist": "antd-mini/es/Checklist/index", -#endif -#if WECHAT - "ant-checklist": "antd-mini/Checklist/index", -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChange(v, items, e) { - console.log('当前选中的值为:', v, items, e); - }, -}); -``` - -### 受控和多选 - -> 传入 `multiple` 属性支持多选模式。 `value` 属性和 `onChange` 事件配合使用实现状态受控。 - -```xml - -``` - -```js -Page({ - data: { - value: [1, 2], - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ value }); -#endif -#if WECHAT - this.setData({ value: value.detail[0] }); -#endif - }, -}); -``` - -### 自定义 - -> 可以通过插槽,自定义勾选图标以及样式 - -```xml - - - - - - title: {{ props.item.title }} - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| className | 类名 | string | - | -| content | CheckListItem 自定义内容区作用域插槽,接收 item 参数 | slot | - | -| defaultValue | 默认选中数据 | string \| number \| (string \| number)[] | - | -| icon | 自定义选中 Icon 插槽 | slot | - | -| multiple | 是否支持多选 | boolean | false | -| options | 配置每一列的选项 | [ChecklistItem](#checklistitem)[] | [] | -| style | 样式 | string | - | -| value | 选中数据 | string \| number \| (string \| number)[] | - | -| #if ALIPAY onChange | 选中项发生变化时,触发回调 | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 选中项发生变化时,触发回调 | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### ChecklistItem - -| 参数 | 说明 | 类型 | 默认值 | -| ----------- | -------- | ------- | ------ | -| description | 描述 | string | - | -| disabled | 是否禁用 | boolean | false | -| image | 图片 | string | - | -| readonly | 是否只读 | boolean | false | -| title | 标题 | string | - | -| value | 值 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --checklist-background-color |
#1677ff
|
#3086ff
| 清单背景颜色 | -| --check-list-item-background-color |
#ffffff
|
#1a1a1a
| 清单项背景颜色 | -| --check-list-item-hover-background-color |
#eeeeee
|
#2b2b2b
| 清单项悬停背景颜色 | -| --check-list-item-content-color |
#333333
|
#c5cad1
| 清单项内容颜色 | -| --check-list-item-description-color |
#999999
|
#616161
| 清单项描述颜色 | diff --git a/compiled/alipay/src/Checklist/index.sjs b/compiled/alipay/src/Checklist/index.sjs deleted file mode 100644 index 8ff9578f1..000000000 --- a/compiled/alipay/src/Checklist/index.sjs +++ /dev/null @@ -1,9 +0,0 @@ -function getChecked(value, values, multiple) { - if (!multiple) { - return value === values; - } - return (values || []).indexOf(value) > -1; -} -export default { - getChecked: getChecked -}; \ No newline at end of file diff --git a/compiled/alipay/src/Checklist/index.ts b/compiled/alipay/src/Checklist/index.ts deleted file mode 100644 index 287a066f3..000000000 --- a/compiled/alipay/src/Checklist/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { - Component, - triggerEventValues, - getValueFromProps, -} from '../_util/simply'; -import { ChecklistDefaultProps } from './props'; -import mixinValue from '../mixins/value'; - -Component( - ChecklistDefaultProps, - { - onChange(item) { - const [multiple, options] = getValueFromProps(this, [ - 'multiple', - 'options', - ]); - let value; - value = item.value; - if (multiple) { - let currentValue = this.getValue(); - if (currentValue.indexOf(value) > -1) { - currentValue = currentValue.filter((v) => v !== value); - } else { - currentValue = [...currentValue, value]; - } - if (!this.isControlled()) { - this.update(currentValue); - } - triggerEventValues(this, 'change', [ - currentValue, - options.filter((v) => currentValue.indexOf(v.value) > -1), - ]); - } else { - if (!this.isControlled()) { - this.update(value); - } - triggerEventValues(this, 'change', [ - value, - options.find((v) => v.value === value), - ]); - } - }, - }, - null, - [ - mixinValue({ - transformValue(val) { - const value = val || []; - return { - needUpdate: true, - value, - }; - }, - }), - ] -); diff --git a/compiled/alipay/src/Checklist/props.ts b/compiled/alipay/src/Checklist/props.ts deleted file mode 100644 index d7afb9aed..000000000 --- a/compiled/alipay/src/Checklist/props.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 可勾选列表 - */ - -export interface ChecklistItem { - /** - * @description 可勾选项的描述文案 - */ - description?: string; - - /** - * @description 可勾选项的图片地址 - */ - image?: string; - - /** - * @description 可勾选项的标题文案 - */ - title: string; - - /** - * @description 可勾选项的值 - */ - value: string | number; - - disabled?: boolean; - readonly?: boolean; -} - -export interface IChecklistProps extends IBaseProps { - /** - * @description 默认值 - */ - value: Array | string | number; - /** - * @description 默认值 - */ - defaultValue: Array | string | number; - - /** - * @description 是否支持多选 - * @default false - */ - multiple: boolean; - - /** - * @description 可勾选列表数据配置选项内容 - */ - options: Array; - - /** - * @description 可勾选列表值改变时触发 - */ - onChange: ( - v: Array | string | number, - item: ChecklistItem | Array, - e: Record - ) => void; -} - -export const ChecklistDefaultProps: Partial = { - value: null, - defaultValue: null, - options: [], - multiple: false, -}; diff --git a/compiled/alipay/src/Checklist/variable.less b/compiled/alipay/src/Checklist/variable.less deleted file mode 100644 index b8885866e..000000000 --- a/compiled/alipay/src/Checklist/variable.less +++ /dev/null @@ -1,32 +0,0 @@ -@import (reference) '../style/themes/index.less'; -@import (reference) '../style/variables.less'; - -/* check-list */ -/* background-color | 背景色 */ -@checklist-background-color: var(--checklist-background-color, @COLOR_BRAND1); - -@check-list-item-title-color: var(--check-list-item-title-color, @COLOR_TEXT_PRIMARY); - -/* check-list-item */ -/* background-color | 背景色 */ -@check-list-item-background-color: var( - --check-list-item-background-color, - @COLOR_CARD -); - -@check-list-item-hover-background-color: var( - --check-list-item-hover-background-color, - @COLOR_BORDER -); - -/* text-color | 字体颜色 */ -@check-list-item-content-color: var( - --check-list-item-content-color, - @COLOR_TEXT_PRIMARY -); - -/* text-color | 字体颜色 */ -@check-list-item-description-color: var( - --check-list-item-description-color, - @COLOR_TEXT_ASSIST -); diff --git a/compiled/alipay/src/Collapse/index.axml b/compiled/alipay/src/Collapse/index.axml deleted file mode 100644 index ff38f6410..000000000 --- a/compiled/alipay/src/Collapse/index.axml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - {{item.title}} - - - - - - {{brief}} - - - - - - - - - - - - - - - {{item.content}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Collapse/index.en.md b/compiled/alipay/src/Collapse/index.en.md deleted file mode 100644 index b388b82ea..000000000 --- a/compiled/alipay/src/Collapse/index.en.md +++ /dev/null @@ -1,215 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Collapse - -A content area that can be collapsed/expanded. - -- Group and hide complex areas to keep the page tidy. -- An accordion is a special type of folding panel that allows only a single content area to expand. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-collapse": "antd-mini/es/Collapse/index" -#endif -#if WECHAT - "ant-collapse": "antd-mini/Collapse/index" -#endif -} -``` - -## Code example - -### Demo Code - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - onChange(current) { - console.log(current); - }, -}); -``` - -### Accordion mode - -```xml - -``` - -### List Item Control - -```xml - - Add items - - - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - addItems() { - const items = [ - ...this.data.items, - { - title: this.data.items.length, - content: 'dynamic item content', - }, - ]; - this.setData({ - items, - current: [this.data.items.length], - }); - }, -}); -``` - -### With Checkbox - -```xml -#if ALIPAY - - - - - - {{item.value.title}} - - - - {{item.value.content}} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Collapse In微信暂时不支持 Slot -#endif -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------ | ------ | -| accordion | Accordion mode, only one content is expanded | boolean | false | -| className | Class Name | string | - | -| content | Content area slot, receiving value, index | slot | - | -| current | Current expanded index | number[] | - | -| defaultCurrent | Default index for current expansion | number[] | [] | -| items | Collapse Panel List | [CollapseItem](#collapseitem)[] | [] | -| style | Style | string | - | -| title | Header slot, receiving value, index | slot | - | -| #if ALIPAY onChange | Toggle Panel Callback | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | Toggle Panel Callback | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### CollapseItem - -| Property | Description | Type | Default Value | -| --------- | -------- | ------- | ------ | -| content | Content | string | - | -| disabled | Disable | boolean | false | -| title | Title | string | - | -| className | Class Name | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------- | -| --collapse-title-background-color |
#ffffff
|
#1a1a1a
| Collapse Panel Title Background Color | -| --collapse-title-color |
#333333
|
#c5cad1
| Collapse Panel Title Color | -| --collapse-title-icon-color |
#cccccc
|
#474747
| Collapse Panel Title Icon Color | -| --collapse-content-background-color |
#ffffff
|
#1a1a1a
| Collapse Panel Content Background Color | -| --collapse-border-color |
#eeeeee
|
#2b2b2b
| Collapse Panel Border Color | -| --collapse-node-text-color |
#999999
|
#616161
| Collapse Panel Node Text Color | -| --collapse-container-background-color |
#ffffff
|
#1a1a1a
| Folding panel container background color | diff --git a/compiled/alipay/src/Collapse/index.json b/compiled/alipay/src/Collapse/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Collapse/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Collapse/index.less b/compiled/alipay/src/Collapse/index.less deleted file mode 100644 index e7fc5aa9c..000000000 --- a/compiled/alipay/src/Collapse/index.less +++ /dev/null @@ -1,134 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@collapsePrefix: ant-collapse-item; - -.@{collapsePrefix} { - &-disabled { - .ant-collapse-item-title-node, - .ant-collapse-item-brief-container { - opacity: 0.4; - } - .@{collapsePrefix}-title:active { - background: @collapse-title-background-color; - transition: 0s; - } - } - &-line { - display: flex; - flex: 1; - border-bottom: 1px solid @collapse-border-color; - padding: @collapse-title-padding; - } - &-title { - position: relative; - display: flex; - text-align: justify; - align-items: center; - justify-content: space-between; - line-height: 48 * @rpx; - font-size: @collapse-title-size; - color: @collapse-title-color; - background-color: @collapse-title-background-color; - transition: all 300ms linear; - box-sizing: border-box; - &-node { - display: flex; - flex: 1; - max-width: 100%; - font-size: 34 * @rpx; - color: @collapse-title-color; - } - &-arrow { - color: @collapse-title-icon-color; - } - - &-icon { - width: 44 * @rpx; - height: 44 * @rpx; - overflow: hidden; - margin-right: 24 * @rpx; - - .ant-icon { - font-size: 40 * @rpx; - } - - & image { - width: 44 * @rpx; - height: 44 * @rpx; - } - } - - &:active { - background-color: @collapse-border-color; - transition: 0s; - } - } - - &-brief { - &-container { - display: flex; - .ant-icon { - font-size: 40 * @rpx; - } - } - - &-node { - display: flex; - flex: 1; - font-size: 30 * @rpx; - color: @collapse-node-text-color; - margin-right: 8 * @rpx; - } - } - - &-content { - color: @collapse-title-color; - border-bottom: 1px solid @collapse-border-color; - box-sizing: border-box; - padding: 24 * @rpx; - &-container { - background: @collapse-container-background-color; - } - &-wrap { - will-change: height; - overflow: hidden; - - &-active { - animation: trigger1 0.2s; - } - - &-non-active { - animation: trigger2 0.2s; - } - - &-transition { - transition: height 0.2s ease-in-out; - } - - &-first { - height: 0; - } - } - } -} - -@keyframes trigger1 { - 0% { - content: ''; - } - - 100% { - content: ''; - } -} - -@keyframes trigger2 { - 0% { - content: ''; - } - - 100% { - content: ''; - } -} diff --git a/compiled/alipay/src/Collapse/index.md b/compiled/alipay/src/Collapse/index.md deleted file mode 100644 index 61f6cd1d1..000000000 --- a/compiled/alipay/src/Collapse/index.md +++ /dev/null @@ -1,215 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Collapse 折叠面板 - -可以折叠/展开的内容区域。 - -- 对复杂区域进行分组和隐藏,保持页面的整洁。 -- 手风琴是一种特殊的折叠面板,只允许单个内容区域展开。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-collapse": "antd-mini/es/Collapse/index" -#endif -#if WECHAT - "ant-collapse": "antd-mini/Collapse/index" -#endif -} -``` - -## 代码示例 - -### Demo 代码 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - onChange(current) { - console.log(current); - }, -}); -``` - -### 手风琴模式 - -```xml - -``` - -### 列表项控制 - -```xml - - 添加items - - - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - addItems() { - const items = [ - ...this.data.items, - { - title: this.data.items.length, - content: 'dynamic item content', - }, - ]; - this.setData({ - items, - current: [this.data.items.length], - }); - }, -}); -``` - -### 带 Checkbox - -```xml -#if ALIPAY - - - - - - {{item.value.title}} - - - - {{item.value.content}} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Collapse 在微信暂时不支持 Slot -#endif -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------ | ------ | -| accordion | 是否是手风琴模式,仅一个内容被展开 | boolean | false | -| className | 类名 | string | - | -| content | 内容区插槽,接收 value、index | slot | - | -| current | 当前展开的索引 | number[] | - | -| defaultCurrent | 当前展开的默认索引 | number[] | [] | -| items | 折叠面板列表 | [CollapseItem](#collapseitem)[] | [] | -| style | 样式 | string | - | -| title | 标题插槽,接收 value、index | slot | - | -| #if ALIPAY onChange | 切换面板的回调 | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 切换面板的回调 | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### CollapseItem - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------- | ------- | ------ | -| content | 内容 | string | - | -| disabled | 是否禁用 | boolean | false | -| title | 标题 | string | - | -| className | 类名 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------- | -| --collapse-title-background-color |
#ffffff
|
#1a1a1a
| 折叠面板标题背景颜色 | -| --collapse-title-color |
#333333
|
#c5cad1
| 折叠面板标题颜色 | -| --collapse-title-icon-color |
#cccccc
|
#474747
| 折叠面板标题图标颜色 | -| --collapse-content-background-color |
#ffffff
|
#1a1a1a
| 折叠面板内容背景颜色 | -| --collapse-border-color |
#eeeeee
|
#2b2b2b
| 折叠面板边框颜色 | -| --collapse-node-text-color |
#999999
|
#616161
| 折叠面板节点文本颜色 | -| --collapse-container-background-color |
#ffffff
|
#1a1a1a
| 折叠面板容器背景颜色 | diff --git a/compiled/alipay/src/Collapse/index.sjs b/compiled/alipay/src/Collapse/index.sjs deleted file mode 100644 index 8ea76ea17..000000000 --- a/compiled/alipay/src/Collapse/index.sjs +++ /dev/null @@ -1,23 +0,0 @@ -function isActive(current, index, disabled) { - if (disabled) { - return false; - } - return (current || []).indexOf(index) >= 0; -} -function getStyleHeight(index, contentHeight, disabled) { - if (disabled) { - return 'height: 0px'; - } - var height = contentHeight[index]; - if (height === '') { - return ''; - } - if (height) { - return "height: ".concat(height); - } - return 'height: 0px'; -} -export default { - isActive: isActive, - getStyleHeight: getStyleHeight -}; \ No newline at end of file diff --git a/compiled/alipay/src/Collapse/index.ts b/compiled/alipay/src/Collapse/index.ts deleted file mode 100644 index bf10bf886..000000000 --- a/compiled/alipay/src/Collapse/index.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { CollapseDefaultProps } from './props'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import createValue from '../mixins/value'; - -Component( - CollapseDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - async getBoundingClientRectWithBuilder(builder: (id: string) => string) { - return await getInstanceBoundingClientRect( - this.getInstance(), - builder(this.$id ? `-${this.$id}` : '') - ); - }, - formatCurrent(val: number[], props) { - let current = [...(val || [])]; - const items = props.items; - current = current.filter((item) => { - if (!items[item] || items[item].disabled) { - return false; - } - return true; - }); - if (props.accordion) { - current = current.length > 0 ? [current[0]] : []; - } - return [...current]; - }, - onChange(e) { - const itemIndex = parseInt(e.currentTarget.dataset.index, 10); - const [items, accordion] = getValueFromProps(this, [ - 'items', - 'accordion', - ]); - if (items[itemIndex] && items[itemIndex].disabled) { - return; - } - const arr = this.getValue(); - let current = [...arr]; - const index = current.indexOf(itemIndex); - if (index >= 0) { - current.splice(index, 1); - } else { - if (accordion) { - current = [itemIndex]; - } else { - current.push(itemIndex); - current.sort(); - } - } - if (!this.isControlled()) { - this.update(current); - } - triggerEvent(this, 'change', current, e); - }, - async updateContentHeight(prevCurrent: number[], nextCurrent: number[]) { - const prevCurrentArray = prevCurrent; - const nextCurrentArray = nextCurrent; - const expandArray = []; - const closeArray = []; - nextCurrentArray.forEach((item) => { - if (prevCurrentArray.indexOf(item) < 0) { - expandArray.push(item); - } - }); - prevCurrentArray.forEach((item) => { - if (nextCurrentArray.indexOf(item) < 0) { - closeArray.push(item); - } - }); - const items = getValueFromProps(this, 'items'); - let contentHeight = await Promise.all( - items.map(async (item, index) => { - if ( - expandArray.indexOf(index) >= 0 || - closeArray.indexOf(index) >= 0 - ) { - const { height } = await this.getBoundingClientRectWithBuilder( - (id) => `.ant-collapse-item-content${id}-${index}` - ); - return `${height}px`; - } - return this.data.contentHeight[index]; - }) - ); - if (closeArray.length === 0) { - this.setData({ - contentHeight, - }); - } else { - this.setData({ - contentHeight, - }); - setTimeout(() => { - contentHeight = contentHeight.map((item, index) => { - if (closeArray.indexOf(index) >= 0) { - return '0px'; - } - return item; - }); - this.setData({ - contentHeight, - }); - }, 10); - } - }, - resetContentHeight(e) { - const index = parseInt(e.currentTarget.dataset.index, 10); - if (this.getValue().indexOf(index) < 0) { - return; - } - const contentHeight = [...this.data.contentHeight]; - contentHeight[index] = ''; - this.setData({ - contentHeight, - }); - }, - }, - { - contentHeight: [], - hasChange: false, - }, - [ - createValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - transformValue(current, extra) { - const value = this.formatCurrent( - current, - extra ? extra.nextProps : getValueFromProps(this) - ); - return { - needUpdate: true, - value, - }; - }, - }), - ], - { - didUpdate(prevProps, prevData) { - console.log( - prevProps.items !== this.props.items, - !this.isEqualValue(prevData) - ); - if ( - prevProps.items !== this.props.items || - !this.isEqualValue(prevData) - ) { - this.updateContentHeight(this.getValue(prevData), this.getValue()); - } - }, - didMount() { - const current = this.getValue(); - const contentHeight = this.props.items.map((item, index) => { - if (current.indexOf(index) >= 0) { - return ''; - } - return '0px'; - }); - this.setData({ - hasChange: true, - contentHeight, - }); - }, - - } -); diff --git a/compiled/alipay/src/Collapse/props.ts b/compiled/alipay/src/Collapse/props.ts deleted file mode 100644 index 70b5e8ec3..000000000 --- a/compiled/alipay/src/Collapse/props.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 手风琴 - */ -export interface ICollapseProps extends IBaseProps { - /** - * @description 是否是手风琴模式,仅一个内容被展开 - */ - - /** - * @description 选中 - */ - current?: number[]; - - /** - * @description 选中初始值 - */ - defaultCurrent?: number[]; - - /** - * @description accordion模式 - */ - accordion?: boolean; - - /** - * @description 列表 - */ - items?: { - title?: string; - content?: string; - disabled?: boolean; - className?: string; - }[]; - - /** - * @description collapse 切换时的回调 - */ - - onChange?: (current: number[] | undefined, e: Record) => void; -} - -export const CollapseDefaultProps: ICollapseProps = { - current: null, - defaultCurrent: [], - accordion: false, - items: [], -}; diff --git a/compiled/alipay/src/Collapse/variable.less b/compiled/alipay/src/Collapse/variable.less deleted file mode 100644 index b19befa75..000000000 --- a/compiled/alipay/src/Collapse/variable.less +++ /dev/null @@ -1,36 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 每一项的高度 -@collapse-title-height: 96 * @rpx; -// 左右边距 -@collapse-title-padding: @h-spacing-large; -// 背景色 -@collapse-title-background-color: var( - --collapse-title-background-color, - @COLOR_CARD -); -// 字体颜色 -@collapse-title-color: var(--collapse-title-color, @COLOR_TEXT_PRIMARY); -// 字体大小 -@collapse-title-size: @font-size-list; -// 箭头大小 -@collapse-title-icon-size: 36 * @rpx; -// 箭头颜色 -@collapse-title-icon-color: var(--collapse-title-icon-color, @COLOR_TEXT_WEAK); -// 内容背景色 -@collapse-content-background-color: var( - --collapse-content-background-color, - @COLOR_CARD -); - -// border色 -@collapse-border-color: var(--collapse-border-color, @COLOR_BORDER); -// node字体颜色 -@collapse-node-text-color: var(--collapse-node-text-color, @COLOR_TEXT_ASSIST); - -// container背景颜色 -@collapse-container-background-color: var( - --collapse-container-background-color, - @COLOR_WHITE_CHANGE -); diff --git a/compiled/alipay/src/ConfigProvider/darkTheme.ts b/compiled/alipay/src/ConfigProvider/darkTheme.ts deleted file mode 100644 index 768e69a8a..000000000 --- a/compiled/alipay/src/ConfigProvider/darkTheme.ts +++ /dev/null @@ -1,430 +0,0 @@ -export const cssVariables = { - // primary - 'color-brand1': '#3086ff', - 'color-border-faded': 'rgba(48, 134, 255, 0.9)', - 'color-brand2': '#0a0a0a', - // secondary - 'color-link': '#3f5980', - 'color-wathet': '#0d2543', - 'color-orange': '#e65a2b', - 'color-yellow': '#ffa930', - 'color-green': '#34b368', - 'color-red': '#ff4a58', - - // neutral - 'color-text-primary': '#c5cad1', - 'color-text-secondary': '#808080', - 'color-text-assist': '#616161', - 'color-text-weak': '#474747', - 'color-text-weak-faded': 'rgba(71, 71, 71, 0.6)', - 'color-border': '#2b2b2b', - 'color-border-greycard': '#444444', - 'color-background2': '#121212', - 'color-background': '#121212', - 'color-card': '#1a1a1a', - 'color-card2': '#222222', - 'color-white-card': '#2b2b2b', - 'color-grey-card': '#2b2b2b', - 'color-black-card': '#525252', - 'color_text_secondary': '#808080', - - // reverse - 'color-white': '#ffffff', - 'color-black': '#000000', - 'color-black-fade': 'rgba(0, 0, 0, 1)', - 'color-white-dynamic': '#c5cad1', - 'color-white-change': '#000000', - 'color-black-change': '#ffffff', - - // 以下没在颜色系统中 - 'color-golden-2': '#fff3d9', - 'color-golden-3': '#fff9ed', - - 'color-tangerine-1': '#ff6010', - 'color-tangerine-2': '#ffece3', - 'color-grey-2': '#444444', - 'color-text-warning': '#ff3b30', - 'color-orange-1': '#ff8f1f', - 'color-orange-2': '#ffefdf', - 'color-pomonagreen-1': '#00b578', - 'color-pomonagree-2': '#d4fff1', - - // radius - 'size-radius-xs': '8rpx', - 'size-radius-s': '16rpx', - 'size-radius-m': '24rpx', - 'size-radius-l': '32rpx', - 'size-radius-xl': '40rpx', - 'size-radius-xxl': '48rpx', - - // space - 'size-space-page-margin': '16rpx', - 'size-space1': '4rpx', - - // opacity - 'opacity-press': '0.08', - 'opacity-disabled': '0.4', - 'opacity-mask': '0.55', - 'opacity-module': '0.9', - - // font-size - 'size-font1': '22rpx', - 'size-font2': '24rpx', - 'size-font3': '26rpx', - 'size-font4': '28rpx', - 'size-font5': '30rpx', - 'size-font6': '32rpx', - 'size-font7': '34rpx', - 'size-font8': '36rpx', - 'size-font9': '40rpx', - 'size-font10': '48rpx', - 'size-font11': '56rpx', - 'size-font12': '64rpx', - - // popoverList - 'popover-content-bg': 'rgba(255, 255, 255, 0.45)', - 'popover-content-color': '#c5cad1', - - // button - 'button-disabled-opacity': '0.4', - 'button-color': '#ff4040', - 'button-background-color': '#000000', - 'button-border-color': '#0a0a0a', - 'button-primary-border-color': '#3086ff', - 'button-primary-background-color': '#000000', - 'button-primary-color': '#ffffff', - 'button-primary-aide-border-color': '#0d2543', - 'button-primary-aide-color': '#3086ff', - 'button-default-aide-border-color': '#121212', - 'button-default-aide-background-color': '#000000', - 'button-default-aide-color': '#c5cad1', - 'button-primary-danger-background-color': '#ff4a58', - 'button-primary-danger-border-color': '#ff4a58', - 'button-primary-danger-color': '#ffffff', - 'button-default-danger-background-color': '#ffffff', - 'button-default-danger-border-color': '#ff4a58', - 'button-default-danger-color': '#ff4a58', - 'button-text-danger-color': '#ff4a58', - 'button-danger-default-color': '#ff4a58', - 'button-active-bg': 'rgba(255, 255, 255, 0.08)', - - // actionsheet - 'actionsheet-danger-color': '#ff4a58', - 'actionsheet-title-color': '#616161', - 'actionsheet-item-color': '#c5cad1', - 'actionsheet-item-active-bg': '#2b2b2b', - 'activesheet-item-cancel-bg': '#121212', - - // icon - 'icon-color': '#c5cad1', - - // tabbar - 'tabbar-bg': '#1a1a1a', - 'tabbar-item-color': '#808080', - 'tabbar-active-color': '#3086ff', - - // tabs - 'tabs-basic-color': '#c5cad1', - 'tabs-weaken-color': '#616161', - 'tabs-inverse-color': '#1a1a1a', - 'tabs-active-color': '#3086ff', - 'tabs-active-decorate-color': '#3086ff', - 'tabs-underline-border-color': '#2b2b2b', - 'tabs-plus-color': '#000000', - 'tabs-capsule-title-bg': '#121212', - 'tabs-subtitle-color': '#ffffff', - 'tabs-count-color': '#474747', - 'tabs-badge-size': '28rpx', - - // feedBack - 'feedback-text-color': '#c5cad1', - 'feedback-background-color': 'rgba(216, 216, 216, 0.42)', - 'feedback-mask-color': 'rgba(0, 0, 0, 0.25)', - 'feedback-content-background-color': '#ffffff', - 'feedback-list-background-color': '#121212', - 'feedback-list-text-color': '#c5cad1', - - // calendar - 'calendar-cell-disabled-opacity': '0.4', - 'calendar-weekday-names-bg': '#f8f8f8', - 'calendar-default-color': '#c5cad1', - 'calendar-selected-color': 'rgba(22, 119, 255, 0.1)', - 'calendar-assist-color': '#616161', - 'calendar-selected-end-color': '#ffffff', - - // collapse - 'collapse-title-background-color': '#1a1a1a', - 'collapse-title-color': '#c5cad1', - 'collapse-title-icon-color': '#474747', - 'collapse-content-background-color': '#1a1a1a', - 'collapse-border-color': '#2b2b2b', - 'collapse-node-text-color': '#616161', - 'collapse-container-background-color': '#000000', - - // container - 'container-header-color': '#c5cad1', - 'container-background-color': '#1a1a1a', - - // divider - 'divider-text-color': '#c5cad1', - 'divider-border-color': '#444444', - - // empty - 'empty-text-color': '#c5cad1', - 'empty-asisst-text-color': '#616161', - - // grid - 'ant-grid-title-color': '#c5cad1', - 'ant-grid-description-color': '#616161', - 'ant-grid-border-color': '#2b2b2b', - - // guide-tour - 'guide-tour-text-color': '#ffffff', - 'guide-tour-clear-color': '#616161', - 'guide-tour-dot-color': '#616161', - 'guide-tour-border-color': '#2b2b2b', - 'guide-tour-btn-color': '#c5cad1', - - // indexbar - 'index-bar-tip-background-color': '#474747', - 'index-bar-text-color': '#ffffff', - 'index-bar-assist-color': '#616161', - 'index-bar-active-color': '#3086ff', - - // input - 'input-item-color': '#c5cad1', - 'input-item-placeholder-color': '#474747', - 'input-item-clear-color': '#616161', - 'input-background-color': '#1a1a1a', - - // list - 'list-header-color': '#616161', - 'list-footer-color': '#616161', - 'list-background-color': '#1a1a1a', - 'list-content-color': '#c5cad1', - 'list-extra-brief-color': '#616161', - 'list-item-border-color': '#2b2b2b', - 'list-item-text-color': '#474747', - - // progress - 'progress-stroke-color': '#3086ff', - 'progress-trail-color': '#121212', - 'progress-success-color': '#34b368', - 'progress-indicator-color': '#c5cad1', - 'progress-exception-color': '#ff4a58', - 'progress-assist-color': '#616161', - - // steps - 'steps-non-active-bg': '#444444', - 'steps-title-color': '#c5cad1', - 'steps-desc-color': '#616161', - 'steps-default-bg': '#3086ff', - 'steps-finish-bg': '#ff4a58', - - // swipe-action - 'swipe-action-color': '#ffffff', - - // tag - 'tag-primary-color': '#3086ff', - 'tag-warning-color': '#e65a2b', - 'tag-danger-color': '#ff4a58', - 'tag-success-color': '#34b368', - 'tag-primary-light-color': '#0d2543', - 'tag-warning-light-color': '#ffefdf', - 'tag-danger-light-color': '#ffece3', - 'tag-success-light-color': '#d4fff1', - 'tag-base-color': '#ffffff', - 'tag-primary-color-faded': 'rgba(22, 119, 255, 0.3)', - 'tag-warning-color-faded': 'rgba(255, 100, 48, 0.7)', - 'tag-danger-color-faded': 'rgba(255, 49, 65, 0.7)', - 'tag-success-color-faded': 'rgba(34, 179, 94, 0.7)', - - // checkbox - 'checkbox-header-color': '#616161', - 'checkbox-border-color': '#474747', - 'checkbox-background-color': '#3086ff', - 'checkbox-disabled-background': '#121212', - 'checkbox-text-color': '#c5cad1', - 'checkbox-fake-icon-background-color': '#1a1a1a', - - // checkboxList - 'checklist-background-color': '#3086ff', - 'check-list-item-background-color': '#1a1a1a', - 'check-list-item-hover-background-color': '#2b2b2b', - 'check-list-item-content-color': '#c5cad1', - 'check-list-item-description-color': '#616161', - - // data-picker - 'range-picker-shadow-color': '#000000', - 'range-picker-item-color': '#c5cad1', - 'range-picker-active-color': '#3086ff', - 'range-picker-placeholder-color': '#474747', - 'range-picker-shadow-color-faded': 'rgba(0, 0, 0, 0.9)', - - // form - 'form-text-color': '#474747', - 'form-item-color': '#808080', - 'form-item-bg': '#1a1a1a', - 'form-error-color': '#ff4a58', - 'form-extra-color': '#616161', - 'form-asterisk-color': '#ff3b30', - - // imageUpload - 'image-upload-wrapper-background': '#121212', - 'image-upload-cover-background': 'rgba(0, 0, 0, 0.4)', - 'image-upload-text-color': '#ffffff', - 'image-upload-background-color': '#1a1a1a', - - // loading - 'loading-text-color': '#454955', //铁黑 - 'loading-icon-light-color': '#999', - - // mask - 'mask-background-color': 'rgba(0, 0, 0, 0.55)', - - // numberKeyboard - 'number-key-board-active-background-color': '#d3d3d3', - 'number-key-board-text-color': '#c5cad1', - 'number-key-board-none-text-color': '#616161', - 'number-key-board-iphonex-safe-background-color': '#1a1a1a', - 'number-key-board-background-color': '#121212', - 'number-key-board-border-color': '#2b2b2b', - 'number-key-board-transfer-color': '#3086ff', - - // picker - 'picker-item-color': '#c5cad1', - 'picker-header-action-color': '#3086ff', - 'picker-placeholder-color': '#474747', - 'picker-header-color': '#2b2b2b', - 'picker-content-background-color': '#1a1a1a', - 'picker-mask-bg-faded-95': 'rgba(255, 255, 255, 0.05)', - 'picker-mask-bg-faded-60': 'rgba(255, 255, 255, 0.4)', - - // radio - 'radio-header-color': '#616161', - 'radio-border-color': '#474747', - 'radio-background-color': '#3086ff', - 'radio-disabled-background': '#121212', - 'radio-text-color': '#c5cad1', - 'radio-fake-icon-background-color': '#1a1a1a', - 'radio-icon-color': '#ffffff', - - // popoverList - 'popover-list-content-bg': 'rgba(0, 0, 0, 0.93)', - 'popover-list-content-color': '#c5cad1', - 'popover-list-badge-color': '#ff411c', - - // rare-words - 'rare-words-bg': 'rgba(0, 0, 0, 0.45)', - 'rare-keyboard-bg': '#4a4a4a', - 'rare-words-keyboard-color': '#c5cad1', - 'rare-words-border-color': '#2b2b2b', - 'rare-words-kb-bg': '#121212', - 'rare-words-pinyin-key-color': '#ffffff', - 'rare-words-inner-bg': '#474747', - 'rare-words-active-color': '#3086ff', - 'rare-words-pinyin-color': '#121212', - 'rare-words-keyboard-bg': '#4a4a4a', - 'rare-words-item-tips-color': '#808080', - - // selector - 'selector-background-color': '#1a1a1a', - 'selector-item-background': '#121212', - 'selector-item-active-background': '#0d2543', - 'selector-item-color': '#c5cad1', - 'selector-item-sub-color': '#616161', - - // slide - 'slide-block-shadow': 'rgba(0, 0, 0, 0.12)', - 'slider-default-primary-color': '#3086ff', - 'slider-track-bg': '#1a1a1a', - 'slider-fill-bg': '#121212', - 'slider-number-color': '#c5cad1', - 'slide-block-bg': '#ffffff', - 'slide-back-bg': '#121212', - - // stepper - 'stepper-handler-tap-bg': '#ddd', - 'stepper-handler-border-color': '#444444', - 'stepper-border-color': '#444444', - 'stepper-background-color': '#ffffff', - 'stepper-hover-bg': 'rgba(0, 0, 0, 0.92)', - - // switch - 'switch-fill': '#3086ff', - 'switch-border-color': '#2b2b2b', - 'switch-loading-color': '#3086ff', - 'switch-handle-bg': '#ffffff', - 'switch-inner-color': '#616161', - - // modal - 'modal-background-color': '#1a1a1a', - 'modal-title-color': '#c5cad1', - 'modal-content-color': '#c5cad1', - 'modal-close-text-color': '#616161', - - // popover - 'color-background-popover': '#404040', //popover默认底色 - 'popover-bg': '#1a1a1a', - 'popover-text-color': '#000000', - 'popover-inner-color': '#ff4a58', - - // popup - 'popup-background': '#1a1a1a', - 'popup-color': '#c5cad1', - 'popup-assit-color': '#616161', - 'popup-mask-close-bg': 'rgba(0, 0, 0, 1)', - - // rate - 'rate-active-icon': '#ffa930', - 'rate-icon-color': '#2b2b2b', - - // result - 'result-main-background': '#1a1a1a', - 'result-title-color': '#000000', - 'result-desc-color': '#c5cad1', - 'result-success-color': '#3086ff', - 'result-error-color': '#ff3b30', - 'result-warning-color': '#ff8f1f', - 'result-wait-color': '#00b578', - - // skeleton - 'skeleton-animation-25': '#2b2b2b', - 'skeleton-animation-37': 'rgba(204, 204, 204, 0.6)', - 'skeleton-animation-63': '#2b2b2b', - - // toast - 'toast-default-bg': 'rgba(0, 0, 0, 0.75)', - 'toast-default-color': '#ffffff', - // badge - 'badge-text-color': '#ffffff', - 'badge-background-color': '#ff4a58', - - // notice-bar - 'notice-background-color': '#fff9ed', - 'notice-border-color': '#fff3d9', - 'notice-color': '#ff6010', - 'notice-error-border-color': '#fff3d9', - 'notice-error-color': '#ffffff', - 'notice-error-background-color': '#ff4a58', - 'notice-primary-border-color': 'rgba(22, 119, 255, 0.72)', - 'notice-primary-color': '#3086ff', - 'notice-primary-background-color': 'rgba(208, 228, 255, 1)', - 'notice-info-text-color': '#ffffff', - 'notice-info-background-color': '#808080', - - // page-container - 'page-container-background-color': '#121212', - - // typography - 'typography-container-color': '#c5cad1', - - // table - 'table-item-color': '#c5cad1', - 'table-item-bg': '#1a1a1a', - 'table-shadow-color': 'rgba(5, 5, 5, 0.06)', - 'table-empty-bg': '#c5cad1', - - // sticky - 'sticky-check-bg': 'rgba(238, 238, 238, 0)', -}; diff --git a/compiled/alipay/src/ConfigProvider/index.axml b/compiled/alipay/src/ConfigProvider/index.axml deleted file mode 100644 index f2a177423..000000000 --- a/compiled/alipay/src/ConfigProvider/index.axml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/compiled/alipay/src/ConfigProvider/index.en.md b/compiled/alipay/src/ConfigProvider/index.en.md deleted file mode 100644 index 70dffff02..000000000 --- a/compiled/alipay/src/ConfigProvider/index.en.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -nav: - path: /components -group: - title: Other - order: 16 -toc: 'content' ---- - -# ConfigProvider - -For global configuration of Antd-Mini components, provide theme customization, internationalization support. - -can pass `ConfigProvider` component to globally configure Antd-Mini components, including: - -- Setting the theme globally,[CSS Variables](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties) To organize styles, by overwriting these CSS variables, you can customize the theme, dynamically switch the theme and other effects; -- Global settings internationalization, through the setting of Locales to achieve multi-language support; - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-config-provider": "antd-mini/es/ConfigProvider/index" -#endif -#if WECHAT - "ant-config-provider": "antd-mini/ConfigProvider/index" -#endif -} -``` - -## Code example - -### Theme customization - -#### Override via CSS - -You can override these CSS variables directly in the code, and the style of the Button component will change accordingly: - -#### Covered by ConfigProvider - -ConfigProvider components provide the ability to override CSS variables, you need to wrap a ConfigProvider component in the root node and configure some theme variables through the theme property. - -### Internationalization - -Antd-Mini provides ConfigProvider components for global configuration of internationalized copy. Currently supports the following 18 languages, does not support RTL capability; - -- 简体中文 | zh-CN -- 繁体中文(中国台湾) | zh-TW -- 繁体中文(中国香港) | zh-HK -- 阿拉伯语(沙特阿拉伯 )| ar-SA -- 英语(美式) | en-US -- 朝鲜语(韩国)| ko-KR -- 德语(德国)| de-DE -- 俄语(俄罗斯)| ru-RU -- 法语(法国)| fr-FR -- 西班牙语(西班牙)| es-ES -- 意大利语(意大利)| it-IT -- 马来语(马来西亚)| ms-MY -- Indonesian | in-ID -- 泰语(泰国)| th-TH -- 葡萄牙语(巴西)| pt-BR -- 日语(日本)| ja-JP -- Turkish (Turkey) | tr-TR -- Vietnamese | vi-VN - -### Code example - - - -### Add Language Pack - -If you can't find the language pack you need, you are welcome to create a new language pack based on the English language pack and send us a Pull Request. - -## API - -The following is `ConfigProvider` Parameter list for the component: - -| Property | Description | Type | Default Value | -| --------- | ------------ | ------------------------ | ------- | -| theme | Set Theme | `light|dark` | `light` | -| themeVars | Provide Subject Variables | `Record` | `-` | -| locale | Set up a multi-language package | `BaseLang` | `zhCN` | diff --git a/compiled/alipay/src/ConfigProvider/index.json b/compiled/alipay/src/ConfigProvider/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/ConfigProvider/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/ConfigProvider/index.less b/compiled/alipay/src/ConfigProvider/index.less deleted file mode 100644 index a3df572c1..000000000 --- a/compiled/alipay/src/ConfigProvider/index.less +++ /dev/null @@ -1,13 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@containerPrefix: ant-container; - -.@{containerPrefix} { - border-radius: @container-radius; - margin-bottom: 24 * @rpx; -} - -.ant-config-provider { - margin-top: 24px; -} diff --git a/compiled/alipay/src/ConfigProvider/index.md b/compiled/alipay/src/ConfigProvider/index.md deleted file mode 100644 index 718140106..000000000 --- a/compiled/alipay/src/ConfigProvider/index.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -nav: - path: /components -group: - title: 实验性 - order: 16 -toc: 'content' ---- - -# ConfigProvider 全局容器 - -用于全局配置 Antd-Mini 组件,提供主题定制,国际化支持。 - -可以通过 `ConfigProvider` 组件来全局配置 Antd-Mini 组件,包括: - -- 全局设置主题,通过[CSS 变量](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties) 来组织样式,通过覆盖这些 CSS 变量,可以实现定制主题、动态切换主题等效果; -- 全局设置国际化,通过设置 Locales 来实现多语言支持; - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-config-provider": "antd-mini/es/ConfigProvider/index" -#endif -#if WECHAT - "ant-config-provider": "antd-mini/ConfigProvider/index" -#endif -} -``` - -## 代码示例 - -### 主题定制 - -#### 通过 CSS 覆盖 - -你可以直接在代码中覆盖这些 CSS 变量,Button 组件的样式会随之发生改变: - -#### 通过 ConfigProvider 覆盖 - -ConfigProvider 组件提供了覆盖 CSS 变量的能力,你需要在根节点包裹一个 ConfigProvider 组件,并通过 theme 属性来配置一些主题变量。 - -### 国际化 - -Antd-Mini 提供了 ConfigProvider 组件用于全局配置国际化文案。目前支持以下 18 种语言,暂不支持 RTL 能力; - -- 简体中文 | zh-CN -- 繁体中文(中国台湾) | zh-TW -- 繁体中文(中国香港) | zh-HK -- 阿拉伯语(沙特阿拉伯 )| ar-SA -- 英语(美式) | en-US -- 朝鲜语(韩国)| ko-KR -- 德语(德国)| de-DE -- 俄语(俄罗斯)| ru-RU -- 法语(法国)| fr-FR -- 西班牙语(西班牙)| es-ES -- 意大利语(意大利)| it-IT -- 马来语(马来西亚)| ms-MY -- 印尼语 | in-ID -- 泰语(泰国)| th-TH -- 葡萄牙语(巴西)| pt-BR -- 日语(日本)| ja-JP -- 土耳其语(土耳其)| tr-TR -- 越南语| vi-VN - -### 代码示例 - - - -### 增加语言包 - -如果你找不到你需要的语言包,欢迎你在 英文语言包 的基础上创建一个新的语言包,并给我们发一个 Pull Request。 - -## API - -以下是 `ConfigProvider` 组件的参数列表: - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ------------ | ------------------------ | ------- | -| theme | 设置主题 | `light|dark` | `light` | -| themeVars | 提供主题变量 | `Record` | `-` | -| locale | 设置多语言包 | `BaseLang` | `zhCN` | diff --git a/compiled/alipay/src/ConfigProvider/index.ts b/compiled/alipay/src/ConfigProvider/index.ts deleted file mode 100644 index d9c7b2504..000000000 --- a/compiled/alipay/src/ConfigProvider/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { effect } from '@preact/signals-core'; -import kebabCase from 'lodash.kebabcase'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, -} from '../_util/simply'; -import i18nController from '../_util/store'; -import { cssVariables } from './darkTheme'; -import { ConfigProviderDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - localeState: ({ store }) => store.currentLocale.value, - themeState: ({ store }) => store.currentTheme.value, - }, - }, - ConfigProviderDefaultProps, - { - update() { - const [theme, themeVars, locale] = getValueFromProps(this, [ - 'theme', - 'themeVars', - 'locale', - ]); - // 初始化读取locale并更新store数据 - i18nController.switchLocale(locale); - // 如果设置了主题,则切换主题,覆写themeVars - if (theme) { - i18nController.switchTheme(theme); - } - this.convertThemeVarsToCSSVars(themeVars); - }, - /** - * 主题生成 css vars - * 如果写死深色主题,则覆盖掉原来的颜色 - * @param themeVars - * @returns - */ - convertThemeVarsToCSSVars(themeVars: Record) { - let cssVars = ''; - let copyThemeVars = {}; - if (this.data.themeState === 'dark') { - copyThemeVars = { ...cssVariables, ...themeVars }; - } - if (this.data.themeState === 'light') { - copyThemeVars = { ...themeVars }; - } - Object.keys(copyThemeVars).forEach((key) => { - cssVars = `${cssVars}--${kebabCase(key)}: ${copyThemeVars[key]};`; - }); - this.setData({ - cssVarStyle: cssVars, - }); - }, - }, - { - cssVarStyle: '', - }, - [], - { - onInit() { - this.update(); - }, - } -); diff --git a/compiled/alipay/src/ConfigProvider/props.ts b/compiled/alipay/src/ConfigProvider/props.ts deleted file mode 100644 index d27fbc740..000000000 --- a/compiled/alipay/src/ConfigProvider/props.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { Locale } from '../_locale/index'; -import zhCN from '../_locale/zh-CN'; -import { IBaseProps } from '../_util/base'; -/** - * @description 全局配置 - */ - -export interface IConfigProviderProps extends IBaseProps { - /** - * @description 类名 - */ - className?: string; - /** - * @description 样式 - */ - style?: string; - /** - * @description 主题 - */ - theme?: 'dark' | 'light'; - /** - * @description 主题定制 - */ - themeVars?: Record; - /** - * @description 国际化文案 - */ - locale?: Locale; -} - -export const ConfigProviderDefaultProps: IConfigProviderProps = { - className: '', - style: '', - theme: 'light', - themeVars: {}, - locale: zhCN, -}; diff --git a/compiled/alipay/src/ConfigProvider/variable.less b/compiled/alipay/src/ConfigProvider/variable.less deleted file mode 100644 index 8f3e4350f..000000000 --- a/compiled/alipay/src/ConfigProvider/variable.less +++ /dev/null @@ -1,12 +0,0 @@ -@import (reference) '../style/themes/index.less'; - -// 字体颜色 -@container-header-color: @COLOR_TEXT_PRIMARY; -// 字体大小 -@container-header-size: 32 * @rpx; -// 边距 -@container-spacing: @h-spacing-large; -// 圆角 -@container-radius: @corner-radius-lg; -// 背景 -@container-background-color: @COLOR_CARD; diff --git a/compiled/alipay/src/Container/index.axml b/compiled/alipay/src/Container/index.axml deleted file mode 100644 index 0d3e5b1da..000000000 --- a/compiled/alipay/src/Container/index.axml +++ /dev/null @@ -1,16 +0,0 @@ - - - - {{title}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Container/index.en.md b/compiled/alipay/src/Container/index.en.md deleted file mode 100644 index a03c8360e..000000000 --- a/compiled/alipay/src/Container/index.en.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -nav: - path: /components -group: - title: To Discard - order: 99 -toc: 'content' ---- - -# Container - -Not recommended, this component will be obsolete. recommend use [Card](/components/card) Components with the latest design specifications and richer functionality. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-container": "antd-mini/es/Container/index" -#endif -#if WECHAT - "ant-container": "antd-mini/Container/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - -``` - -### Custom Title - -```xml - - - - - Title - - - Right Content - - -``` - -### - -### Demo Code - - - -## API - -The following is `Container` Parameter list for the component: - -| Property | Description | Type | Default Value | -| ----------- | ---------------- | ------------ | ------ | -| className | Class Name | string | - | -| headerRight | Contents on the right side of the head | slot | - | -| headerInBox | Whether the title is in the container | boolean | true | -| style | Style | string | - | -| title | Title | string\|slot | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --container-header-color |
#333333
|
#c5cad1
| Container head color | -| --container-color-text-assist |
#999999
|
#616161
| Secondary Text Color | -| --container-background-color |
#ffffff
|
#1a1a1a
| Container background color | diff --git a/compiled/alipay/src/Container/index.json b/compiled/alipay/src/Container/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Container/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Container/index.less b/compiled/alipay/src/Container/index.less deleted file mode 100644 index 601fb5340..000000000 --- a/compiled/alipay/src/Container/index.less +++ /dev/null @@ -1,56 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@containerPrefix: ant-container; - -.@{containerPrefix} { - border-radius: @container-radius; - padding-bottom: 24 * @rpx; - &-headerInBox { - background-color: @container-background-color; - .@{containerPrefix}-header { - padding: 0 @container-spacing; - .@{containerPrefix}-header-title, - .@{containerPrefix}-header-right { - position: relative; - .hairline('bottom'); - } - } - } - &-content { - padding: @container-spacing; - background-color: @container-background-color; - border-radius: @container-radius; - color: @container-header-color; - } - &-header { - display: flex; - &-title { - font-size: @container-header-size; - font-weight: bold; - color: @container-header-color; - display: flex; - align-items: center; - height: 96 * @rpx; - flex: 1; - &:empty { - display: none; - } - } - - &-right { - color: @container-header-right-color; - display: flex; - align-items: center; - height: 96 * @rpx; - justify-content: flex-end; - &:empty { - display: none; - } - } - .@{containerPrefix}-header-title:empty - + .@{containerPrefix}-header-right:not(:empty) { - flex: 1; - } - } -} diff --git a/compiled/alipay/src/Container/index.md b/compiled/alipay/src/Container/index.md deleted file mode 100644 index 9b7c74b25..000000000 --- a/compiled/alipay/src/Container/index.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -nav: - path: /components -group: - title: 待废弃 - order: 99 -toc: 'content' ---- - -# Container 容器 - -不建议使用,此组件即将废弃。推荐使用 [Card](/components/card) 组件,拥有最新设计规范和更丰富功能。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-container": "antd-mini/es/Container/index" -#endif -#if WECHAT - "ant-container": "antd-mini/Container/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - -``` - -### 自定义标题 - -```xml - - - - - 标题 - - - 右侧内容 - - -``` - -### - -### Demo 代码 - - - -## API - -以下是 `Container` 组件的参数列表: - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ---------------- | ------------ | ------ | -| className | 类名 | string | - | -| headerRight | 头部右侧内容 | slot | - | -| headerInBox | 标题是否在容器中 | boolean | true | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --container-header-color |
#333333
|
#c5cad1
| 容器头部颜色 | -| --container-color-text-assist |
#999999
|
#616161
| 辅助文本颜色 | -| --container-background-color |
#ffffff
|
#1a1a1a
| 容器背景颜色 | diff --git a/compiled/alipay/src/Container/index.ts b/compiled/alipay/src/Container/index.ts deleted file mode 100644 index 36949bcac..000000000 --- a/compiled/alipay/src/Container/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ContainerDefaultProps } from './props'; -import '../_util/assert-component2'; - -Component({ - - props: ContainerDefaultProps, -}); diff --git a/compiled/alipay/src/Container/props.ts b/compiled/alipay/src/Container/props.ts deleted file mode 100644 index 8dd4d22eb..000000000 --- a/compiled/alipay/src/Container/props.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { IBaseProps, IconType } from '../_util/base'; -/** - * @description 容器,依据最佳实践统一了元素的间距、圆角,并可根据具体情况选择使用 title 内容。 - */ - -export interface IContainerProps extends IBaseProps { - /** - * @description 标题 - */ - title?: string; - /** - * @description 标题是否在容器内 - * @default true - */ - headerInBox?: boolean; - /** - * @description 类名 - */ - className?: string; - /** - * @description 样式 - */ - style?: string; -} - -export const ContainerDefaultProps: IContainerProps = { - headerInBox: true, -}; diff --git a/compiled/alipay/src/Container/variable.less b/compiled/alipay/src/Container/variable.less deleted file mode 100644 index ef319c06f..000000000 --- a/compiled/alipay/src/Container/variable.less +++ /dev/null @@ -1,18 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 字体颜色 -@container-header-color: var(--container-header-color, @COLOR_TEXT_PRIMARY); -// 字体颜色 -@container-header-right-color: var( - --container-color-text-assist, - @COLOR_TEXT_ASSIST -); -// 字体大小 -@container-header-size: 32 * @rpx; -// 边距 -@container-spacing: @h-spacing-large; -// 圆角 -@container-radius: @corner-radius-lg; -// 背景 -@container-background-color: var(--container-background-color, @COLOR_CARD); diff --git a/compiled/alipay/src/Countdown/index.axml b/compiled/alipay/src/Countdown/index.axml deleted file mode 100644 index 137a8cc20..000000000 --- a/compiled/alipay/src/Countdown/index.axml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - {{countdownDay}} - - - - - {{countdownHour}} - - - - {{countdownMin}} - - - - {{countdownSec}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Countdown/index.en.md b/compiled/alipay/src/Countdown/index.en.md deleted file mode 100644 index a3309ec88..000000000 --- a/compiled/alipay/src/Countdown/index.en.md +++ /dev/null @@ -1,102 +0,0 @@ ---- -nav: - path: /components -group: - title: Bizness Components - order: 15 -toc: content ---- - -# Countdown - -Need to show the countdown scene. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-countdown": "antd-mini/es/Countdown/index" -#endif -#if WECHAT - "ant-countdown": "antd-mini/Countdown/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - Remaining Time - I started buying it. - -``` - -```js -Page({ - data: { - countdownDay: +new Date() + 500000000, - }, - handleCountdownChange(e) { - console.log('倒计时变化', JSON.stringify(e)); - }, - handleCountdownEnd() { - console.log('倒计时结束'); - }, -}); -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ------------------------------- | ------------------------------------ | ------------------- | ---------- | -| className | Container className | `string` | - | -| countdownEndTime | End timestamp | `string`\| `number` | - | -| countdownStartTime | Start timestamp | `string`\| `number` | Current timestamp | -| time | Choose one from the countdownEndTime, in seconds | `number` | 0 | -| autoShowDay | Less than one day automatically does not show days | `boolean` | true | -| countdownType | Extra-long countdown requires display days | `string` | - | -| #if ALIPAY onCountdownChange | Callback when the countdown changes | `Function` | - | -| #if ALIPAY onCountdownFinish | Countdown End Callback | `Function` | - | -| #if WECHAT bind:countdownchange | Callback when the countdown changes | `Function` | - | -| #if WECHAT bind:countdownfinish | Countdown End Callback | `Function` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --ant-countdown-color |
#666666
|
#808080
| Countdown Color | -| --ant-countdown-number-color |
#ffffff
|
#000000
| Countdown Digital Color | -| --ant-countdown-number-bg |
#1677ff
|
#3086ff
| Countdown digital background color | - -## Slot - -| Name | Description | -| ------ | ---------- | -| - | Default Slot | -| prefix | Countdown Head | -| suffix | Countdown Tail | diff --git a/compiled/alipay/src/Countdown/index.json b/compiled/alipay/src/Countdown/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Countdown/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Countdown/index.less b/compiled/alipay/src/Countdown/index.less deleted file mode 100644 index 005283778..000000000 --- a/compiled/alipay/src/Countdown/index.less +++ /dev/null @@ -1,62 +0,0 @@ -@import (reference) './variable.less'; - -@countdownPrefix: ant-countdown; - -.@{countdownPrefix} { - font-size: 26 * @rpx; - line-height: 37 * @rpx; - color: @ant-countdown-color; - display: inline-flex; - align-items: center; - &-time { - // 对视觉稿完美还原,需要加这个 - transform: translateY(1 * @rpx); - &-prefix { - padding-right: 2 * @rpx; - } - &-day { - } - &-colon { - // 为了还原视觉稿这里使用的是中文冒号,还需要一些微调 - margin-right: -18 * @rpx; - margin-left: -3 * @rpx; - transform: translateY(1 * @rpx); - } - &-num { - box-sizing: border-box; - display: inline-flex; - align-items: center; - justify-content: center; - min-width: 40 * @rpx; - padding: 0 4 * @rpx; - height: 40 * @rpx; - margin: 0 6 * @rpx; - border-radius: 6 * @rpx; - font-size: 26 * @rpx; - line-height: 37 * @rpx; - color: @ant-countdown-number-color; - letter-spacing: 0; - background-color: @ant-countdown-number-bg; - } - } -} - -@keyframes ds-countdown { - 0% { content: "9"; } - 10% { content: "8"; } - 20% { content: "7"; } - 30% { content: "6"; } - 40% { content: "5"; } - 50% { content: "4"; } - 60% { content: "3"; } - 70% { content: "2"; } - 80% { content: "1"; } - 90% { content: "0"; } - 100% { content: "9"; } -} - -.ds-countdown::after { - display: inline-block; - animation: ds-countdown 1s infinite; - content: "9"; -} diff --git a/compiled/alipay/src/Countdown/index.md b/compiled/alipay/src/Countdown/index.md deleted file mode 100644 index 543b4adbd..000000000 --- a/compiled/alipay/src/Countdown/index.md +++ /dev/null @@ -1,102 +0,0 @@ ---- -nav: - path: /components -group: - title: 业务组件 - order: 15 -toc: content ---- - -# Countdown 倒计时 - -需要展示倒计时的场景。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-countdown": "antd-mini/es/Countdown/index" -#endif -#if WECHAT - "ant-countdown": "antd-mini/Countdown/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - 剩余时间 - 就开始抢购啦 - -``` - -```js -Page({ - data: { - countdownDay: +new Date() + 500000000, - }, - handleCountdownChange(e) { - console.log('倒计时变化', JSON.stringify(e)); - }, - handleCountdownEnd() { - console.log('倒计时结束'); - }, -}); -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------------- | ------------------------------------ | ------------------- | ---------- | -| className | 容器 className | `string` | - | -| countdownEndTime | 结束时间戳 | `string`\| `number` | - | -| countdownStartTime | 起始时间戳 | `string`\| `number` | 当前时间戳 | -| time | 与 countdownEndTime 二选一,单位为秒 | `number` | 0 | -| autoShowDay | 小于一天自动不展示天 | `boolean` | true | -| countdownType | 超长倒计时需要展示天数 | `string` | - | -| #if ALIPAY onCountdownChange | 倒计时变化时的回调 | `Function` | - | -| #if ALIPAY onCountdownFinish | 倒计时结束回调 | `Function` | - | -| #if WECHAT bind:countdownchange | 倒计时变化时的回调 | `Function` | - | -| #if WECHAT bind:countdownfinish | 倒计时结束回调 | `Function` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --ant-countdown-color |
#666666
|
#808080
| 倒计时颜色 | -| --ant-countdown-number-color |
#ffffff
|
#000000
| 倒计时数字颜色 | -| --ant-countdown-number-bg |
#1677ff
|
#3086ff
| 倒计时数字背景颜色 | - -## 插槽 - -| 名称 | 说明 | -| ------ | ---------- | -| - | 默认插槽 | -| prefix | 倒计时头部 | -| suffix | 倒计时尾部 | diff --git a/compiled/alipay/src/Countdown/index.ts b/compiled/alipay/src/Countdown/index.ts deleted file mode 100644 index 91c578488..000000000 --- a/compiled/alipay/src/Countdown/index.ts +++ /dev/null @@ -1,187 +0,0 @@ -import dayjs from 'dayjs'; -import duration from 'dayjs/plugin/duration'; -import { - Component, - getValueFromProps, - triggerEvent, - triggerEventOnly, -} from '../_util/simply'; -import { CountdownDefaultProps } from './props'; - -dayjs.extend(duration); - -Component( - CountdownDefaultProps, - { - init() { - const [ - countdownStartTime, - countdownEndTime, - countdownType, - time, - autoShowDay, - ] = getValueFromProps(this, [ - 'countdownStartTime', - 'countdownEndTime', - 'countdownType', - 'time', - 'autoShowDay', - ]); - const timeNum = isNaN(Number(time)) ? 0 : Number(time); - - const defaultEndTime = +new Date() + timeNum * 1000; - const currentTimeStr = `${countdownStartTime || +new Date()}`; - const endTimeStr = `${countdownEndTime || defaultEndTime}`; - - // 如果服务端给的是秒级别的时间戳,自动补3个0转成毫秒的 - const finalCurrentTimeStr = `${currentTimeStr}${ - currentTimeStr.length === 10 ? '000' : '' - }`; - const finalEndTimeStr = `${endTimeStr}${ - endTimeStr.length === 10 ? '000' : '' - }`; - const finalStartTime = parseInt(finalCurrentTimeStr, 10); - const finalEndTime = parseInt(finalEndTimeStr, 10); - - this.setData({ - showDay: autoShowDay ? this.data.countdownDay !== '0' : true, - }); - - this.countdown(finalStartTime, finalEndTime, (remainTime) => { - if (remainTime < 1) { - // 小于1s了,说明倒计时该结束了 - triggerEventOnly(this, 'countdownFinish'); - this.setData({ - showDecisecond: false, - }); - } - - const durationTime = dayjs.duration(remainTime); - - const day = Math.floor(durationTime.asDays()).toString(); - - let hour = ''; - if (countdownType === 'day') { - hour = durationTime.format('HH'); - } else { - const hoursNum = Math.floor(durationTime.asHours()); - hour = `${hoursNum < 10 ? '0' : ''}${hoursNum > 0 ? hoursNum : '0'}`; - } - - const min = durationTime.format('mm'); - const sec = durationTime.format('ss'); - - this.setData({ - countdownDay: day, - countdownHour: hour, - countdownMin: min, - countdownSec: sec, - }); - - triggerEvent(this, 'countdownChange', { - remainTime, - day, - hour, - min, - sec, - }); - }); - }, - countdown( - startTimestamp: number, - endTimestamp: number, - callback: (remainingTime: number) => void - ) { - // if (isNaN(startTimestamp) || isNaN(endTimestamp)) { - // return; - // } - const currentTime = Date.now(); // 当前时间戳 - if ( - currentTime - Math.round(startTimestamp) < 10000 && - Math.round(startTimestamp) - currentTime < 10000 - ) { - // 如果服务端下发的startTime时间戳和本机的时间戳相差10s以内,以本地时间戳为准 - const getRemainingTime = (): number => { - // 本地时间戳与服务端时间戳差距在10s以内都属于正常的,可以直接用本地时间。 - let remainingTime; - const newCurrentTime = +new Date(); - - // 判断是否到达结束时间 - if (newCurrentTime >= endTimestamp) { - remainingTime = 0; - } else { - remainingTime = endTimestamp - newCurrentTime; - } - return remainingTime; - }; - - const updateCountdown = () => { - const remainingTime = getRemainingTime(); - - // 调用setData方法更新UI - callback(remainingTime); - if (remainingTime > 0) { - // 若还有剩余时间,延迟1秒后递归调用自身 - this.timer = setTimeout(updateCountdown, 1000); - } - }; - - // 预先调一次 - const remainingTime = getRemainingTime(); - callback(remainingTime); - - if (remainingTime === 0) { - // 如果第一次就是0,可以直接停了 - return; - } - - // 初始化倒计时 - updateCountdown(); - } else { - // 否则以服务端时间为准,直接算出当前剩余时间,按秒循环即可 - const remainingTime = endTimestamp - startTimestamp; - const totalCount = Math.round(remainingTime / 1000); - let count = 0; - - // 立刻调一次 - callback(remainingTime - count * 1000); - - // 每秒调一次,循环count次 - this.intervalId = setInterval(() => { - if (count >= totalCount) { - clearInterval(this.intervalId); - } else { - count++; - // console.log('111111', remainingTime, count, remainingTime - count * 1000) - callback(remainingTime - count * 1000); - } - }, 1000); - } - }, - }, - { - countdownDay: null, // 注意这些倒计时相关的都应该是字符串 - countdownHour: null, // 倒计时小时 注意都用字符串,避免0被判false的问题 - countdownMin: null, // 倒计时分钟 - countdownSec: null, // 倒计时秒 - showDecisecond: true, // 倒计时结束时不展示秒后一位(厘秒) - }, - undefined, - { - onInit() { - this.init(); - }, - didUnmount() { - clearInterval(this.intervalId); - clearTimeout(this.timer); - }, - didUpdate(prevProps) { - const autoShowDay = getValueFromProps(this, 'autoShowDay'); - if (prevProps.autoShowDay !== autoShowDay) { - this.setData({ - showDay: autoShowDay ? this.data.countdownDay !== '0' : true, - }); - } - }, - } -); diff --git a/compiled/alipay/src/Countdown/props.ts b/compiled/alipay/src/Countdown/props.ts deleted file mode 100644 index 6799cf029..000000000 --- a/compiled/alipay/src/Countdown/props.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface ICountdownProps { - className?: string; // 容器的 class - countdownEndTime?: string; // 倒计时结束时间戳 - countdownStartTime?: string; // 倒计时开始的时间戳 - time?: number; // 数字格式的倒计时时间长度,优先级比时间戳低 - countdownType?: '' | 'day'; // 倒计时类型,目前支持普通的和天维度的 - autoShowDay?: boolean; // 自动展示"天" - onCountdownChange?: () => void; // 倒计时变化时的回调 - onCountdownFinish?: () => void; // 倒计时结束回调 -} - -export const CountdownDefaultProps: ICountdownProps = { - className: '', - time: 0, - countdownStartTime: '', - countdownEndTime: '', // 倒计时结束时间戳 - countdownType: '', - autoShowDay: true, - onCountdownChange: () => {}, // 倒计时变化时的回调 - onCountdownFinish: () => {}, // 倒计时结束回调 -}; diff --git a/compiled/alipay/src/Countdown/variable.less b/compiled/alipay/src/Countdown/variable.less deleted file mode 100644 index f014015a6..000000000 --- a/compiled/alipay/src/Countdown/variable.less +++ /dev/null @@ -1,6 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@ant-countdown-color: var(--ant-countdown-color, @COLOR_TEXT_SECONDARY); -@ant-countdown-number-color: var(--ant-countdown-number-color, @COLOR_WHITE_CHANGE); -@ant-countdown-number-bg: var(--ant-countdown-number-bg, @COLOR_BRAND1); diff --git a/compiled/alipay/src/DatePicker/RangePicker/index.axml b/compiled/alipay/src/DatePicker/RangePicker/index.axml deleted file mode 100644 index 5093519c1..000000000 --- a/compiled/alipay/src/DatePicker/RangePicker/index.axml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - {{splitCharacter}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/DatePicker/RangePicker/index.json b/compiled/alipay/src/DatePicker/RangePicker/index.json deleted file mode 100644 index 17acecb6d..000000000 --- a/compiled/alipay/src/DatePicker/RangePicker/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../../Icon/index", - "ant-picker": "../../Picker/index" - } -} diff --git a/compiled/alipay/src/DatePicker/RangePicker/index.less b/compiled/alipay/src/DatePicker/RangePicker/index.less deleted file mode 100644 index 4b4808b78..000000000 --- a/compiled/alipay/src/DatePicker/RangePicker/index.less +++ /dev/null @@ -1,53 +0,0 @@ -@import (reference) '../variable.less'; -@import '../../style/mixins/hairline.less'; - -@pickerPrefix: ant-range-picker; -.@{pickerPrefix} { - &-confirm-disabled { - .ant-picker-header-confirm { - pointer-events: none; - opacity: 0.6; - } - } - &-selector { - display: flex; - align-items: center; - justify-content: space-between; - height: 104 * @rpx; - padding: 24 * @rpx 24 * @rpx 0; - box-sizing: border-box; - &-item { - width: 310 * @rpx; - height: 64 * @rpx; - padding: 0 16 * @rpx 0 24 * @rpx; - box-sizing: border-box; - border-radius: 8 * @rpx; - display: flex; - justify-content: space-between; - align-items: center; - box-shadow: inset 0 1 * @rpx 6 * @rpx 0 fade(@COLOR_BLACK_CHANGE, 10); - color: @range-picker-item-color; - &-active { - .hairline-radius(@range-picker-active-color,16*@rpx); - color: @range-picker-active-color; - .@{pickerPrefix}-selector-item-icon { - color: @range-picker-active-color; - } - } - &-value { - font-size: 28 * @rpx; - } - &-placeholder { - font-size: 28 * @rpx; - color: @range-picker-placeholder-color; - } - &-icon { - color: @range-picker-placeholder-color; - font-size: 32 * @rpx; - } - } - &-split { - color: @range-picker-placeholder-color; - } - } -} diff --git a/compiled/alipay/src/DatePicker/RangePicker/index.ts b/compiled/alipay/src/DatePicker/RangePicker/index.ts deleted file mode 100644 index bbf5e5162..000000000 --- a/compiled/alipay/src/DatePicker/RangePicker/index.ts +++ /dev/null @@ -1,365 +0,0 @@ -import { effect } from '@preact/signals-core'; -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import computed from '../../mixins/computed'; -import mixinValue from '../../mixins/value'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { - getDateByValue, - getRangeData, - getValidValue, - getValueByDate, -} from '../util'; -import { DateRangePickerDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - DateRangePickerDefaultProps, - { - // visible受控判断 - isVisibleControlled() { - return 'visible' in getValueFromProps(this); - }, - computed() { - const { currentStartDate, currentEndDate, pickerType } = this.data; - const format = getValueFromProps(this, 'format'); - - if (pickerType) - return { - currentStartValueStr: currentStartDate - ? dayjs(currentStartDate).format(format) - : '', - currentEndValueStr: currentEndDate - ? dayjs(currentEndDate).format(format) - : '', - }; - }, - getMin(min) { - return min ? dayjs(min as any) : dayjs().subtract(10, 'year'); - }, - - getMax(max) { - return max ? dayjs(max as any) : dayjs().add(10, 'year'); - }, - // didUpdate、弹窗打开、切换pickerType触发 - setCurrentValue(currentProps) { - const { pickerVisible } = this; // 隐藏状态下从CValue触发,展开状态使用当前数据 - const { precision } = currentProps; - const { pickerType, columns } = this.data; - const realValue = this.getValue(); - let { currentStartDate, currentEndDate } = this.data; - const currentStartDateByCValue = realValue?.[0] || null; - const currentEndDateByCValue = realValue?.[1] || null; - - // 展开状态,说明在切换pickerType - if (pickerVisible) { - if (pickerType === 'start') { - if (!currentStartDate) { - currentStartDate = currentEndDate; - } - } else { - // pickerType=end start已存在 - // 结束时间默认选中开始 - if (!currentEndDate) { - currentEndDate = currentStartDate; - } - } - } else { - // 否则是在从cValue初始化 - currentStartDate = currentStartDateByCValue; - currentEndDate = currentEndDateByCValue; - // 开始默认取优先取当前时间,不在时间范围内取开始时间 - if (!currentStartDate) { - const min = this.getMin(currentProps.min).toDate(); - const { max } = currentProps; - currentStartDate = new Date(); - if ( - (min && dayjs(currentStartDate).isBefore(min, precision)) || - (max && dayjs(currentStartDate).isAfter(max, precision)) || - (currentEndDateByCValue && - currentStartDate > currentEndDateByCValue) - ) { - currentStartDate = min; - } - } - } - const currentValue = getValueByDate( - pickerType === 'start' ? currentStartDate : currentEndDate, - precision - ); - const newColumns = this.generateData(currentValue, currentProps); - if (!equal(newColumns, columns)) { - this.setData({ columns: newColumns }, () => { - this.setData({ - currentStartDate, - currentEndDate, - currentValue, - formattedValueText: this.onFormat(), - }); - }); - } else { - this.setData({ - currentStartDate, - currentEndDate, - currentValue, - formattedValueText: this.onFormat(), - }); - } - }, - /** - * 生成选项数据,didmound、picker change、打开弹窗、切换picker type触发 - */ - generateData(currentValue, currentProps) { - const { precision, min: propsMin, max: propsMax } = currentProps; - const min = this.getMin(propsMin); - const max = this.getMax(propsMax); - if (max < min) { - return []; - } - let currentPickerDay = dayjs(); - if (currentValue.length > 0) { - currentPickerDay = dayjs(getDateByValue(currentValue)); - } - if (currentPickerDay < min || currentPickerDay > max) { - currentPickerDay = min; - } - - const newColumns = getRangeData( - precision, - min, - max, - currentPickerDay, - this.onFormatLabel.bind(this) - ); - return newColumns; - }, - - onChange(selectedIdx) { - let [selectedIndex] = resolveEventValues(getValidValue(selectedIdx)); - const [format, precision, pmax, pmin] = getValueFromProps(this, [ - 'format', - 'precision', - 'max', - 'min', - ]); - let date = getDateByValue(selectedIndex); - const min = this.getMin(pmin); - const max = this.getMax(pmax); - if (dayjs(date).isBefore(min)) { - date = min.toDate(); - selectedIndex = getValueByDate(date, precision); - } - if (dayjs(date).isAfter(max)) { - date = max.toDate(); - selectedIndex = getValueByDate(date, precision); - } - const { pickerType, columns, currentEndDate, currentStartDate } = - this.data; - const newData: any = { - currentValue: selectedIndex, - formattedValueText: this.onFormat(), - }; - if (pickerType === 'start') { - newData.currentStartDate = date; - if (currentEndDate && dayjs(date).isAfter(currentEndDate)) { - newData.currentEndDate = null; - } - } else { - newData.currentEndDate = date; - if (currentStartDate && dayjs(date).isBefore(currentStartDate)) { - newData.currentStartDate = null; - } - } - const newColumns = this.generateData( - selectedIndex, - getValueFromProps(this) - ); - if (!equal(newColumns, columns)) { - this.setData( - { - columns: newColumns, - }, - () => { - this.setData(newData); - triggerEventValues(this, 'pickerChange', [ - pickerType, - date, - dayjs(date).format(format), - ]); - } - ); - } else { - this.setData(newData); - triggerEventValues(this, 'pickerChange', [ - pickerType, - date, - dayjs(date).format(format), - ]); - } - }, - - onCancel(e) { - triggerEventOnly(this, 'cancel', e); - }, - - onOk() { - const format = getValueFromProps(this, 'format'); - const { currentStartDate, currentEndDate } = this.data; - const realValue = [currentStartDate, currentEndDate] as any; - if (!this.isControlled()) { - this.update(realValue); - } - triggerEventValues(this, 'ok', [ - realValue, - realValue.map((v) => dayjs(v).format(format)), - ]); - }, - onFormatLabel(type, value) { - const onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - const formatValueByProps = onFormatLabel && onFormatLabel(type, value); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return String(formatValueByProps); - } - return this.defaultFormatLabel(type, value); - }, - defaultFormatLabel(type, value) { - const suffixMap = { - year: '年', - month: '月', - day: '日', - hour: '时', - minute: '分', - second: '秒', - }; - return `${value}${suffixMap[type]}`; - }, - defaultFormat(date, valueStrs) { - const [format, splitCharacter] = getValueFromProps(this, [ - 'format', - 'splitCharacter', - ]); - if (format && valueStrs && valueStrs[0] && valueStrs[1]) { - return valueStrs.join(`${splitCharacter}`); - } - return ''; - }, - onFormat() { - const [onFormat, format] = getValueFromProps(this, [ - 'onFormat', - 'format', - ]); - const realValue = this.getValue(); - const formatValueByProps = - onFormat && - onFormat( - realValue, - realValue - ? realValue.map((v) => (v ? dayjs(v).format(format) : null)) - : null - ); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat( - realValue, - realValue - ? realValue.map((v) => (v ? dayjs(v).format(format) : null)) - : null - ); - }, - /** - * 显示/隐藏切换 - * @param visible - */ - onVisibleChange(visible) { - if (!this.isVisibleControlled() && visible) { - this.setData({ pickerType: 'start' }); - this.setCurrentValue(getValueFromProps(this)); - this.pickerVisible = visible; - } - triggerEvent(this, 'visibleChange', resolveEventValue(visible)); - }, - onChangeCurrentPickerType(e) { - const { type } = e.currentTarget.dataset; - const { pickerType } = this.data; - if (type !== pickerType) { - this.setData({ - pickerType: type, - }); - this.setCurrentValue(getValueFromProps(this)); - } - }, - }, - { - currentValue: [], // 当前picker选中值,didmount、弹窗打开、切换开始结束、picker变化时更新 - columns: [], // 当前可选项,didmound、弹窗打开、切换开始结束、picker变化时更新 - pickerType: 'start' as 'start' | 'end', - currentStartDate: null, // 展开时开始时间,date格式,有value,则取value[0],否则取当天,需要判断当天是否在可选范围内 - currentEndDate: null, // 展开时开始时间,date格式,有value,则取value[1],否则取开始时间 - forceUpdate: 0, // 强制更新picker组件,已知需处理的情况:value超限,但是需要更新format,由于picker的参数均未变化,无法触发picker的渲染 - formattedValueText: '', - }, - [ - mixinValue({ - transformValue(value) { - return { - value: - value && value[0] && value[1] - ? [dayjs(value[0]).toDate(), dayjs(value[1]).toDate()] - : undefined, - needUpdate: true, - }; - }, - }), - computed(), - ], - { - pickerVisible: false, - didMount() { - this.pickerVisible = false; - const [visible, defaultVisible] = getValueFromProps(this, [ - 'visible', - 'defaultVisible', - ]); - this.setData({ - visible: this.isVisibleControlled() ? visible : defaultVisible, - formattedValueText: this.onFormat(), - }); - }, - - didUpdate(prevProps, prevData) { - const currentProps = getValueFromProps(this); - const visible = getValueFromProps(this, 'visible'); - if (this.isVisibleControlled() && !equal(prevProps.visible, visible)) { - this.setData({ visible }); - this.setCurrentValue(currentProps); - this.pickerVisible = visible; - } - - if (!this.isEqualValue(prevData)) { - this.setData({ - forceUpdate: this.data.forceUpdate + 1, - formattedValueText: this.onFormat(), - }); - if (this.pickerVisible) { - // 展开状态才更新picker的数据,否则下次triggerVisible触发 - this.setCurrentValue(currentProps); - } - } - }, - } -); diff --git a/compiled/alipay/src/DatePicker/RangePicker/props.ts b/compiled/alipay/src/DatePicker/RangePicker/props.ts deleted file mode 100644 index 8fc8186b9..000000000 --- a/compiled/alipay/src/DatePicker/RangePicker/props.ts +++ /dev/null @@ -1,180 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -export type PickerValue = [Date, Date]; -/** - * @description 对话框 - */ -export interface IDateRangePickerProps extends IBaseProps { - visible?: boolean; - defaultVisible?: boolean; - /** - * @desciption 动画类型 - * @default "transform" - */ - animationType: 'transform' | 'position'; - /** - * @description 时间格式化显示,例如YYYY-MM-DD - */ - format: string; - /** - * @description 最小值 - * @default 十年前 - */ - min: Date; - /** - * @description 最大值 - * @default 十年后 - */ - max: Date; - /** - * @description 当前数据 - */ - value: PickerValue; - /** - * @description 默认值 - */ - defaultValue: PickerValue; - /** - * @description 标题 - */ - title: string; - /** - * @description 确定按钮文案 - * @default "确定" - */ - okText: string; - /** - * @description 取消文案 - * @default "取消" - */ - cancelText: string; - /** - * @description 提示文案 - * @default '请选择' - */ - placeholder: string; - /** - * @description 是否禁用 - */ - disabled?: boolean; - /** - *@description 选中框样式 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorStyle?: string; - - /** - *@description 选中框类名 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorClassName?: string; - - /** - * @description 蒙层的样式。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskStyle?: string; - - /** - * @description 蒙层的类名。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskClassName?: string; - /** - * @description 点击确认回调 - */ - onOk?: ( - date: PickerValue, - dateStr: [string, string], - e: Record - ) => void; - /** - * @description 点击取消回调 - */ - onCancel?: (e: Record) => void; - /** - * @description 发生滚动即触发, 与 onChange 点击 ok 后触发不同 - */ - onPickerChange?: ( - type: 'start' | 'end', - date: Date, - dateStr: string, - e: Record - ) => void; - /** - * @description 精度 - * @default 'day' - */ - precision: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second'; - - /** - * @description 选中值的文本显示格式 - */ - onFormat?: (date: PickerValue, dateStr: [string, string]) => string; - /** - * @description 切换显示隐藏 - */ - onVisibleChange?: (visible, e: Record) => void; - /** - * @description 显示连接符 - * @default '-'' - */ - splitCharacter: string; - /** - * @description 开始时间提示文案 - * @default '未选择' - */ - startPlaceholder: string; - /** - * @description 结束时间提示文案 - * @default '未选择' - */ - endPlaceholder: string; - /** - * @description 点击蒙层是否可以关闭 - * @default false - */ - maskClosable: boolean; - /** - * @description 弹出框类名 - */ - popClassName: string; - /** - * @description 弹出框样式 - */ - popStyle: string; - /** - * 自定义每列展示的内容 - * @param type - * @param value - */ - onFormatLabel?( - type: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second', - value: number - ): string; -} - -export const DateRangePickerDefaultProps: Partial = { - visible: null, - defaultVisible: null, - animationType: 'transform', - format: 'YYYY/MM/DD', - min: null, - max: null, - value: null, - defaultValue: null, - title: '', - okText: null, - cancelText: null, - placeholder: null, - precision: 'day', - splitCharacter: '-', - startPlaceholder: null, - endPlaceholder: null, - maskClosable: true, - popClassName: '', - popStyle: '', - disabled: false, - onFormatLabel: null, - onFormat: null, -}; diff --git a/compiled/alipay/src/DatePicker/index.axml b/compiled/alipay/src/DatePicker/index.axml deleted file mode 100644 index 0f72e8021..000000000 --- a/compiled/alipay/src/DatePicker/index.axml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/DatePicker/index.en.md b/compiled/alipay/src/DatePicker/index.en.md deleted file mode 100644 index 9797dda35..000000000 --- a/compiled/alipay/src/DatePicker/index.en.md +++ /dev/null @@ -1,350 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# DatePicker - -Compared to native `my.datePicker`, to achieve the same iOS and Android experience. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-date-picker": "antd-mini/es/DatePicker/index", - "ant-range-picker": "antd-mini/es/DatePicker/RangePicker/index" -#endif -#if WECHAT - "ant-date-picker": "antd-mini/DatePicker/index", - "ant-range-picker": "antd-mini/DatePicker/RangePicker/index" -#endif -} -``` - -## Code example - -### Basic use - -> `defaultValue` property is`dayjs` A timestamp or object that can be parsed. - -```xml - -``` - -```js -Page({ - data: { - min: new Date('2019/01/15').getTime(), - max: new Date('2023/08/20').getTime(), - defaultDate: new Date('2019/02/02').getTime(), - }, - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleDismiss(e) { - console.log('e', e); - }, - handleOk(date, format, e) { - console.log('onOk', date, format, e); - }, -}); -``` - -### precision control - -> `precision` Property to control the time precision of the selection.`format` property is used to format the displayed `value` Value. - -```xml - - - -``` - -### Disable state - -> `disabled` Property is used to control the disabled state. - -```xml - -``` - -### Customize the rendering of each column in the selection panel - -> Incoming Function `onFormatLabel` , the return value is the data you want to render for each column in the selection panel. - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - handleFormatLabel(type, value) { - return String(value); - }, -#endif - }, - handleFormatLabel(type, value) { - return String(value); - }, -}); -``` - -### Controlled Mode - -> control the selected value, which requires `value` property and `onOk` Events are used together. The control panel displays the closed state, which requires `visible` property and `onVisibleChange` Events are used together. - -```xml - -``` - -```js -Page({ - data: { - pickerVisible: false, - pickerValue: new Date('2019/02/02').getTime(), - }, - - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleControlledOk(value) { -#if WECHAT - this.setData({ - // 微信只支持传递时间戳 - pickerValue: value.detail.getTime(), - }); -#endif -#if ALIPAY - this.setData({ - pickerValue: value, - }); -#endif - }, - handleTriggerControlledPicker(visible, e) { -#if WECHAT - console.log('handleTriggerControlledPicker', visible); - this.setData({ - pickerVisible: visible.detail, - }); -#endif -#if ALIPAY - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - pickerVisible: visible, - }); -#endif - }, -}); -``` - -### Time Range Selection - -> Introduction `ant-range-picker` component, you can have the ability to select a time range. - -```xml - -``` - -```js -Page({ - data: { - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleRangeOk(date, format, e) { - console.log('onRangeOk', date, format, e); - }, -}); -``` - -## Demo Code - - - -## API - -### DatePicker - -| Property | Description | Type | Default Value | -| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | Animation type, optional `transform` `position`, the default is used `transform` Animation performance is better. Due to bug in the basic library of small programs, the pop-up window `picker-view` Shadow style may have style problems under iOS and can be temporarily switched `position` Resolve. | string | `transform` | -| className | Class Name | string | - | -| defaultValue | Time selected by default | Date | - | -| disabled | Disable | boolean | false | -| cancelText | Cancel Copy | string | "Cancel" | -| content | Custom Content Slots | slot | - | -| format | Time format display, the format is the same [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | Check Box Style | string | - | -| indicatorClassName | Class name of the check box | string | - | -| maskClassName | Class name of the layer | string | - | -| maskClosable | Click whether the layer can be closed | boolean | true | -| maskStyle | Mat Style | string | - | -| max | Maximum | Date | Ten years later | -| min | Minimum | Date | Ten years ago | -| okText | Confirm Button Copy | string | "OK" | -| placeholder | Prompt Copy | string | "Please select" | -| popClassName | Pop-up Box Class Name | string | - | -| popStyle | Pop-up Style | string | - | -| precision | Select precision, optional `year` `month` `day` `hour` `minute` `second` | string | `day` | -| prefix | Prefix | slot | - | -| style | Style | string | - | -| suffix | Suffix | slot | - | -| title | Pop-up Title | string \| slot | - | -| value | Selected time | Date | - | -| visible | Whether to display | boolean | false | -| defaultVisible | Display by default | boolean | false | -| onFormat | Text display format of the selected value | (date: Date, dateStr: string) => string | - | -| onFormatLabel | Customize the content displayed in each column, silently | -| #if ALIPAY onOk | Click the OK button to trigger the callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | The selected item changes, triggering a callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| Add year, month, day, hour, minute and second units | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if ALIPAY onVisibleChange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | Click the OK button to trigger the callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | The selected item changes, triggering a callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| Add year, month, day, hour, minute and second units | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if WECHAT bind:visiblechange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### RangePicker - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | Animation type, optional `transform` `position`, the default is used `transform` Animation performance is better. Due to bug in the basic library of small programs, the pop-up window `picker-view` Shadow style may have style problems under iOS and can be temporarily switched `position` Resolve. | string | `transform` | -| className | Class Name | string | - | -| defaultValue | Time range selected by default | [Date, Date] | - | -| disabled | Disable | boolean | false | -| cancelText | Cancel Copy | string | "Cancel" | -| content | Custom Content Slots | slot | - | -| endPlaceholder | End Time Prompt Copy | string | "Not selected" | -| format | Time format display, the format is the same [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | Check Box Style | string | - | -| indicatorClassName | Class name of the check box | string | - | -| maskClassName | Class name of the layer | string | - | -| maskClosable | Click whether the layer can be closed | boolean | true | -| maskStyle | Mat Style | string | - | -| max | Maximum | Date | Ten years later | -| min | Minimum | Date | Ten years ago | -| okText | Confirm Button Copy | string | "OK" | -| placeholder | Prompt Copy | string | "Please select" | -| popClassName | Pop-up Box Class Name | string | - | -| popStyle | Pop-up Style | string | - | -| precision | Select precision, optional `year` `month` `day` `hour` `minute` | string | `day` | -| splitCharacter | Display Connector | string | - | -| startPlaceholder | Start Time Prompt Copy | string | "Not selected" | -| prefix | Prefix | slot | - | -| style | Style | string | - | -| suffix | Suffix | slot | - | -| title | Pop-up Title | string \| slot | - | -| value | Selected time range | [Date, Date] | - | -| visible | Whether to display | boolean | false | -| defaultVisible | Display by default | boolean | false | -| onFormat | Text display format of the selected value | (date: [Date, Date], dateStr: [string, string]) => string | - | -| onFormatLabel | Customize the content displayed in each column, and add the year, month, day, hour, minute, and second units by default. | (type: `year` \| `month` \| `day` \| `hour` \| `minute`, value: number) => string | - | -| #if ALIPAY onOk | Click the OK button to trigger the callback | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | The selected item changes, triggering a callback | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | Click the OK button to trigger the callback | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | The selected item changes, triggering a callback | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -## How to obtain `YYYY-MM-DD` Time in format - -The time returned by the DatePicker component is in the format `Date` type, if you need to convert `YYYY-MM-DD` format, you can use [dayjs](https://day.js.org/docs/zh-CN/display/format) make the conversion. - -```xml - -``` - -```javascript -Page({ - handleOk(date) { - const dateStr = dayjs(date).format('YYYY-MM-DD'); - console.log(dateStr); - }, -}); -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------------------------- | -| --range-picker-shadow-color |
#000000
|
#000000
| Range Selector Shadow Color | -| --range-picker-item-color |
#333333
|
#c5cad1
| Range selector item color | -| --range-picker-active-color |
#1677ff
|
#3086ff
| Range Selector Activity Color | -| --range-picker-placeholder-color |
#cccccc
|
#474747
| Range selector placeholder color | -| --range-picker-shadow-color-faded |
rgba(0, 0, 0, 0.9)
|
rgba(0, 0, 0, 0.9)
| Range Selector Shadow Color (Faded) | diff --git a/compiled/alipay/src/DatePicker/index.json b/compiled/alipay/src/DatePicker/index.json deleted file mode 100644 index ac7a29b19..000000000 --- a/compiled/alipay/src/DatePicker/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-picker": "../Picker/index" - } -} diff --git a/compiled/alipay/src/DatePicker/index.less b/compiled/alipay/src/DatePicker/index.less deleted file mode 100644 index 8b1378917..000000000 --- a/compiled/alipay/src/DatePicker/index.less +++ /dev/null @@ -1 +0,0 @@ - diff --git a/compiled/alipay/src/DatePicker/index.md b/compiled/alipay/src/DatePicker/index.md deleted file mode 100644 index a7f0afdc7..000000000 --- a/compiled/alipay/src/DatePicker/index.md +++ /dev/null @@ -1,350 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# DatePicker 时间选择器 - -相比于原生 `my.datePicker`,实现了 iOS 与 Android 端体验一致。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-date-picker": "antd-mini/es/DatePicker/index", - "ant-range-picker": "antd-mini/es/DatePicker/RangePicker/index" -#endif -#if WECHAT - "ant-date-picker": "antd-mini/DatePicker/index", - "ant-range-picker": "antd-mini/DatePicker/RangePicker/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `defaultValue` 属性为`dayjs` 能够解析的时间戳或对象。 - -```xml - -``` - -```js -Page({ - data: { - min: new Date('2019/01/15').getTime(), - max: new Date('2023/08/20').getTime(), - defaultDate: new Date('2019/02/02').getTime(), - }, - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleDismiss(e) { - console.log('e', e); - }, - handleOk(date, format, e) { - console.log('onOk', date, format, e); - }, -}); -``` - -### 精度控制 - -> `precision` 属性可以控制选择的时间精度。`format` 属性用来格式化展示的 `value` 值。 - -```xml - - - -``` - -### 禁用状态 - -> `disabled` 属性用来控制禁用状态。 - -```xml - -``` - -### 自定义选择面板中每列的渲染 - -> 传入函数 `onFormatLabel` ,返回值则是选择面板中每列想要渲染的数据 - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - handleFormatLabel(type, value) { - return String(value); - }, -#endif - }, - handleFormatLabel(type, value) { - return String(value); - }, -}); -``` - -### 受控模式 - -> 控制选择的值,需要 `value` 属性和 `onOk` 事件配合使用。控制面板显示关闭状态,需要 `visible` 属性和 `onVisibleChange` 事件配合使用。 - -```xml - -``` - -```js -Page({ - data: { - pickerVisible: false, - pickerValue: new Date('2019/02/02').getTime(), - }, - - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleControlledOk(value) { -#if WECHAT - this.setData({ - // 微信只支持传递时间戳 - pickerValue: value.detail.getTime(), - }); -#endif -#if ALIPAY - this.setData({ - pickerValue: value, - }); -#endif - }, - handleTriggerControlledPicker(visible, e) { -#if WECHAT - console.log('handleTriggerControlledPicker', visible); - this.setData({ - pickerVisible: visible.detail, - }); -#endif -#if ALIPAY - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - pickerVisible: visible, - }); -#endif - }, -}); -``` - -### 时间范围选择 - -> 引入 `ant-range-picker` 组件,即可拥有时间范围选择能力。 - -```xml - -``` - -```js -Page({ - data: { - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleRangeOk(date, format, e) { - console.log('onRangeOk', date, format, e); - }, -}); -``` - -## Demo 代码 - - - -## API - -### DatePicker - -| 属性 | 说明 | 类型 | 默认值 | -| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | 动画类型,可选 `transform` `position`,默认使用 `transform` 动画性能更好。由于小程序基础库 bug,弹窗内 `picker-view` 阴影样式在 iOS 下可能存在样式问题,可暂切换为 `position` 解决。 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的时间 | Date | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | "取消" | -| content | 自定义内容插槽 | slot | - | -| format | 时间格式化显示,格式同 [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层样式 | string | - | -| max | 最大值 | Date | 十年后 | -| min | 最小值 | Date | 十年前 | -| okText | 确认按钮文案 | string | "确定" | -| placeholder | 提示文案 | string | "请选择" | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| precision | 选择精度,可选 `year` `month` `day` `hour` `minute` `second` | string | `day` | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的时间 | Date | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式 | (date: Date, dateStr: string) => string | - | -| onFormatLabel | 自定义每列展示的内容,默 | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | 选中项发生变化,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| 认添加年、月、日、时、分、秒单位 | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | 选中项发生变化,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| 认添加年、月、日、时、分、秒单位 | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### RangePicker - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | 动画类型,可选 `transform` `position`,默认使用 `transform` 动画性能更好。由于小程序基础库 bug,弹窗内 `picker-view` 阴影样式在 iOS 下可能存在样式问题,可暂切换为 `position` 解决。 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的时间范围 | [Date, Date] | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | "取消" | -| content | 自定义内容插槽 | slot | - | -| endPlaceholder | 结束时间提示文案 | string | "未选择" | -| format | 时间格式化显示,格式同 [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层样式 | string | - | -| max | 最大值 | Date | 十年后 | -| min | 最小值 | Date | 十年前 | -| okText | 确认按钮文案 | string | "确定" | -| placeholder | 提示文案 | string | "请选择" | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| precision | 选择精度,可选 `year` `month` `day` `hour` `minute` | string | `day` | -| splitCharacter | 显示连接符 | string | - | -| startPlaceholder | 开始时间提示文案 | string | "未选择" | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的时间范围 | [Date, Date] | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式 | (date: [Date, Date], dateStr: [string, string]) => string | - | -| onFormatLabel | 自定义每列展示的内容,默认添加年、月、日、时、分、秒单位 | (type: `year` \| `month` \| `day` \| `hour` \| `minute`, value: number) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | 选中项发生变化,触发回调 | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | 选中项发生变化,触发回调 | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -## 如何获取 `YYYY-MM-DD` 格式的时间 - -DatePicker 组件返回的时间格式为 `Date` 类型,如果需要转换为 `YYYY-MM-DD` 格式,可以使用 [dayjs](https://day.js.org/docs/zh-CN/display/format) 进行转换。 - -```xml - -``` - -```javascript -Page({ - handleOk(date) { - const dateStr = dayjs(date).format('YYYY-MM-DD'); - console.log(dateStr); - }, -}); -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------------------------- | -| --range-picker-shadow-color |
#000000
|
#000000
| 范围选择器阴影颜色 | -| --range-picker-item-color |
#333333
|
#c5cad1
| 范围选择器项颜色 | -| --range-picker-active-color |
#1677ff
|
#3086ff
| 范围选择器活动项颜色 | -| --range-picker-placeholder-color |
#cccccc
|
#474747
| 范围选择器占位符颜色 | -| --range-picker-shadow-color-faded |
rgba(0, 0, 0, 0.9)
|
rgba(0, 0, 0, 0.9)
| 范围选择器阴影颜色(褪色) | diff --git a/compiled/alipay/src/DatePicker/index.ts b/compiled/alipay/src/DatePicker/index.ts deleted file mode 100644 index 1d7c3b3c7..000000000 --- a/compiled/alipay/src/DatePicker/index.ts +++ /dev/null @@ -1,264 +0,0 @@ -import { - Component, - triggerEvent, - triggerEventOnly, - triggerEventValues, - getValueFromProps, -} from '../_util/simply'; -import { resolveEventValue, resolveEventValues } from '../_util/platform'; -import { DatePickerDefaultProps } from './props'; -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import { - getRangeData, - getDateByValue, - getValueByDate, - getValidValue, -} from './util'; -import mixinValue from '../mixins/value'; - -Component( - DatePickerDefaultProps, - { - // visible受控判断 - isVisibleControlled() { - return 'visible' in getValueFromProps(this); - }, - // 当前选中的picker值,处理无cValue时的情况,优先取当前时间,不在时间范围内取开始时间 - getCurrentValueWithCValue(currentProps) { - const realValue = this.getValue(); - const { min, max, precision } = currentProps; - if (realValue) { - return getValueByDate(realValue, precision); - } else { - const now = new Date(); - if ( - !(min && dayjs(now).isBefore(dayjs(min as any), precision)) && - !(max && dayjs(now).isAfter(dayjs(max as any), precision)) - ) { - return getValueByDate(now, precision); - } else { - return getValueByDate(this.getMin(min).toDate(), precision); - } - } - }, - - getMin(min) { - return min ? dayjs(min as any) : dayjs().subtract(10, 'year'); - }, - - getMax(max) { - return max ? dayjs(max as any) : dayjs().add(10, 'year'); - }, - /** - * didUpdate、弹窗打开触发 - */ - setCurrentValue(currentProps) { - const currentValue = this.getCurrentValueWithCValue(currentProps); - const newColumns = this.generateData(currentValue, currentProps); - if (!equal(newColumns, this.data.columns)) { - this.setData( - { - columns: newColumns, - }, - () => { - this.setData({ - currentValue, - formattedValueText: this.onFormat(), - }); - } - ); - } - }, - - // 生成选项数据,didmound、picker change、打开弹窗触发 - generateData(currentValue, currentProps) { - const { precision, min: propsMin, max: propsMax } = currentProps; - const min = this.getMin(propsMin); - const max = this.getMax(propsMax); - if (max < min) { - return []; - } - let currentPickerDay = dayjs(); - if (currentValue.length > 0) { - currentPickerDay = dayjs(getDateByValue(currentValue)); - } - if (currentPickerDay < min || currentPickerDay > max) { - currentPickerDay = min; - } - const newColumns = getRangeData( - precision, - min, - max, - currentPickerDay, - this.onFormatLabel.bind(this) - ); - return newColumns; - }, - onFormatLabel(type, value) { - const onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - const formatValueByProps = onFormatLabel && onFormatLabel(type, value); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return String(formatValueByProps); - } - return this.defaultFormatLabel(type, value); - }, - defaultFormatLabel(type, value) { - const suffixMap = { - year: '年', - month: '月', - day: '日', - hour: '时', - minute: '分', - second: '秒', - }; - return `${value}${suffixMap[type]}`; - }, - onChange(selectedIdx) { - const [pmin, pmax, format, precision] = getValueFromProps(this, [ - 'min', - 'max', - 'format', - 'precision', - ]); - let [selectedIndex] = resolveEventValues(getValidValue(selectedIdx)); - let date = getDateByValue(selectedIndex); - const min = this.getMin(pmin); - const max = this.getMax(pmax); - if (dayjs(date).isBefore(min)) { - date = min.toDate(); - selectedIndex = getValueByDate(date, precision); - } - if (dayjs(date).isAfter(max)) { - date = max.toDate(); - selectedIndex = getValueByDate(date, precision); - } - const newColumns = this.generateData( - selectedIndex, - getValueFromProps(this) - ); - - if (!equal(newColumns, this.data.columns)) { - this.setData( - { - columns: newColumns, - }, - () => { - this.setData({ currentValue: selectedIndex }); - const date = getDateByValue(selectedIndex); - triggerEventValues(this, 'pickerChange', [ - date, - dayjs(date).format(format), - ]); - } - ); - } else { - this.setData({ currentValue: selectedIndex }); - const date = getDateByValue(selectedIndex); - - triggerEventValues(this, 'pickerChange', [ - date, - dayjs(date).format(format), - ]); - } - }, - - onCancel(e) { - triggerEventOnly(this, 'cancel', e); - }, - - onOk() { - const { currentValue } = this.data; - const format = getValueFromProps(this, 'format'); - const date = getDateByValue(currentValue); - if (!this.isControlled()) { - this.update(date); - } - triggerEventValues(this, 'ok', [date, dayjs(date).format(format)]); - }, - defaultFormat(value, valueStr) { - const format = getValueFromProps(this, 'format'); - if (format && valueStr) { - return valueStr; - } - return ''; - }, - onFormat() { - const [format, onFormat] = getValueFromProps(this, [ - 'format', - 'onFormat', - ]); - const realValue = this.getValue(); - const formatValueByProps = - onFormat && - onFormat(realValue, realValue ? dayjs(realValue).format(format) : null); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat( - realValue, - realValue ? dayjs(realValue).format(format) : null - ); - }, - - onVisibleChange(visible) { - this.pickerVisible = visible; - if (!this.isVisibleControlled() && visible) { - this.setCurrentValue(getValueFromProps(this)); - } - triggerEvent(this, 'visibleChange', resolveEventValue(visible)); - }, - }, - { - currentValue: [], // 当前picker选中值,didmount、弹窗打开、picker变化时更新 - formattedValueText: '', - columns: [], // 可选项,didmound、弹窗打开、picker变化时更新 - forceUpdate: 0, // 强制更新picker组件,已知需处理的情况:value超限,但是需要更新format,由于picker的参数均未变化,无法触发picker的渲染 - visible: null, - }, - [ - mixinValue({ - transformValue(value) { - return { - value: value ? dayjs(value).toDate() : undefined, - needUpdate: true, - }; - }, - }), - ], - { - pickerVisible: false, - onInit() { - this.pickerVisible = false; - const [visible, defaultVisible] = getValueFromProps(this, [ - 'visible', - 'defaultVisible', - ]); - this.setData({ - visible: this.isVisibleControlled() ? visible : defaultVisible, - formattedValueText: this.onFormat(), - }); - }, - didUpdate(prevProps, prevData) { - const currentProps = getValueFromProps(this); - const visible = getValueFromProps(this, 'visible'); - if (this.isVisibleControlled() && !equal(prevProps.visible, visible)) { - this.pickerVisible = visible; - this.setData({ visible }); - if (this.pickerVisible) { - this.setCurrentValue(currentProps); - } - } - if (!this.isEqualValue(prevData)) { - this.setData({ - forceUpdate: this.data.forceUpdate + 1, - formattedValueText: this.onFormat(), - }); - // 展开状态才更新picker的数据,否则下次triggerVisible触发 - if (this.pickerVisible) { - this.setCurrentValue(currentProps); - } - } - }, - } -); diff --git a/compiled/alipay/src/DatePicker/props.ts b/compiled/alipay/src/DatePicker/props.ts deleted file mode 100644 index 31887cbee..000000000 --- a/compiled/alipay/src/DatePicker/props.ts +++ /dev/null @@ -1,160 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export type PickerValue = Date | string | number; -/** - * @description 对话框 - */ -export interface IDatePickerProps extends IBaseProps { - visible?: boolean; - defaultVisible?: boolean; - /** - * @desciption 动画类型 - * @default "transform" - */ - animationType?: 'transform' | 'position'; - /** - * @description 时间格式化显示,例如YYYY-MM-DD - */ - format?: string; - /** - * @description 最小值 - * @default 十年前 - */ - min?: PickerValue; - /** - * @description 最大值 - * @default 十年后 - */ - max?: PickerValue; - /** - * @description 当前数据 - */ - value?: PickerValue; - /** - * @description 默认值 - */ - defaultValue?: PickerValue; - /** - * @description 标题 - */ - title?: string; - /** - * @description 确定按钮文案 - * @default "确定" - */ - okText?: string; - /** - * @description 取消文案 - * @default "取消" - */ - cancelText?: string; - /** - * @description 提示文案 - * @default '请选择' - */ - placeholder?: string; - /** - * @description 精度 - * @default 'day' - */ - precision: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second'; - // | 'week' - // | 'week-day'; - - /** - * @description 点击蒙层是否可以关闭 - * @default false - */ - maskClosable?: boolean; - /** - * @description 弹出框类名 - */ - popClassName?: string; - - /** - * @description 弹出框样式 - */ - popStyle?: string; - /** - * @description 是否禁用 - */ - disabled?: boolean; - /** - *@description 选中框样式 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorStyle?: string; - - /** - *@description 选中框类名 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorClassName?: string; - - /** - * @description 蒙层的样式。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskStyle?: string; - - /** - * @description 蒙层的类名。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskClassName?: string; - /** - * @description 点击确认回调 - */ - onOk?: (date: PickerValue, dateStr: string, e: Record) => void; - /** - * @description 点击取消回调 - */ - onCancel?: (e: Record) => void; - /** - * @description 发生滚动即触发, 与 onChange 点击 ok 后触发不同 - */ - onPickerChange?: ( - date: PickerValue, - dateStr: string, - e: Record - ) => void; - /** - * @description 选中值的文本显示格式 - */ - onFormat?: (date: PickerValue, dateStr: string) => string; - /** - * @description 切换显示隐藏 - */ - onVisibleChange?: (visible, e: Record) => void; - /** - * 自定义每列展示的内容 - * @param type - * @param value - */ - onFormatLabel?( - type: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second', - value: number - ): string; -} - -export const DatePickerDefaultProps: IDatePickerProps = { - visible: null, - defaultVisible: null, - animationType: 'transform', - format: 'YYYY/MM/DD', - min: null, - max: null, - value: null, - defaultValue: null, - title: '', - okText: undefined, - cancelText: undefined, - placeholder: undefined, - precision: 'day', - maskClosable: true, - popClassName: '', - popStyle: '', - disabled: false, - onFormatLabel: null, - onFormat: null, -}; diff --git a/compiled/alipay/src/DatePicker/util.ts b/compiled/alipay/src/DatePicker/util.ts deleted file mode 100644 index 08fd43f82..000000000 --- a/compiled/alipay/src/DatePicker/util.ts +++ /dev/null @@ -1,193 +0,0 @@ -import dayjs, { Dayjs } from 'dayjs'; - -function getArray(start, end, format) { - const res = []; - for (let i = 0; i < end - start + 1; i++) { - res.push({ label: format(start + i), value: start + i }); - } - return res; -} - -const precisionLengthRecord = { - year: 1, - month: 2, - day: 3, - hour: 4, - minute: 5, - second: 6, -}; - -function getYears(min: Dayjs, max: Dayjs, format) { - return getArray(min.year(), max.year(), format.bind(this, 'year')); -} - -function getMonths(min: Dayjs, max: Dayjs, currentPicker: Dayjs, format) { - let start = 1; - let end = 12; - if ( - currentPicker - .clone() - .set('month', start - 1) - .isBefore(min) - ) { - start = min.month() + 1; - } - if ( - currentPicker - .clone() - .set('month', end - 1) - .isAfter(max) - ) { - end = max.month() + 1; - } - - return getArray(start, end, format.bind(this, 'month')); -} - -function getDates(min: Dayjs, max: Dayjs, currentPicker: Dayjs, format) { - let start = 1; - let end = currentPicker.daysInMonth(); - if (currentPicker.clone().set('date', start).isBefore(min)) { - start = min.date(); - } - if (currentPicker.clone().set('date', end).isAfter(max)) { - end = max.date(); - } - return getArray(start, end, format.bind(this, 'day')); -} - -function getHours(min: Dayjs, max: Dayjs, currentPicker: Dayjs, format) { - let start = 0; - let end = 23; - if (currentPicker.clone().set('hour', start).isBefore(min)) { - start = min.hour(); - } - if (currentPicker.clone().set('hour', end).isAfter(max)) { - end = max.hour(); - } - return getArray(start, end, format.bind(this, 'hour')); -} -function getMinutes(min: Dayjs, max: Dayjs, currentPicker: Dayjs, format) { - let start = 0; - let end = 59; - if (currentPicker.clone().set('minute', start).isBefore(min)) { - start = min.minute(); - } - if (currentPicker.clone().set('minute', end).isAfter(max)) { - end = max.minute(); - } - return getArray(start, end, format.bind(this, 'minute')); -} -function getSeconds(min: Dayjs, max: Dayjs, currentPicker: Dayjs, format) { - let start = 0; - let end = 59; - if (currentPicker.clone().set('second', start).isBefore(min)) { - start = min.second(); - } - if (currentPicker.clone().set('second', end).isAfter(max)) { - end = max.second(); - } - return getArray(start, end, format.bind(this, 'second')); -} -export function getRangeData( - precision: keyof typeof precisionLengthRecord, - min: Dayjs, - max: Dayjs, - currentPickerDay: Dayjs, - format: ( - precision: keyof typeof precisionLengthRecord, - value: number - ) => string -) { - const data = []; - const len = precisionLengthRecord[precision]; - if (!len) return []; - for (let i = 0; i < len; i++) { - switch (i) { - case 0: - data.push(getYears(min, max, format)); - break; - case 1: - data.push(getMonths(min, max, currentPickerDay, format)); - break; - case 2: - data.push(getDates(min, max, currentPickerDay, format)); - break; - case 3: - data.push(getHours(min, max, currentPickerDay, format)); - break; - case 4: - data.push(getMinutes(min, max, currentPickerDay, format)); - break; - case 5: - data.push(getSeconds(min, max, currentPickerDay, format)); - break; - } - } - return data; -} - -/** - * 选中的值转换为时间类型,主要处理month从0开始的情况 - * @param value - * @returns - */ -export function getDateByValue(value) { - //@ts-ignore - return new Date(...value.map((v, i) => String(i === 1 ? v - 1 : v))); -} - -/** - * date转换为value数组 - * @param value - * @returns - */ -export function getValueByDate( - date, - precision: keyof typeof precisionLengthRecord -) { - const fields = [ - 'getFullYear', - 'getMonth', - 'getDate', - 'getHours', - 'getMinutes', - 'getSeconds', - ]; - const value = []; - if (!date) return value; - for (let i = 0; i < precisionLengthRecord[precision]; i++) { - value.push(date[fields[i]]()); - if (i === 1) { - value[1] = value[1] + 1; - } - } - return value; -} - -/** - * 是否有效日期,主要处理月份对应可选日期,避免当前时间日期超出当月最后一天 - * @param value - */ -export function getValidValue(value) { - if (value.length > 2) { - const maxDate = new Date(value[0], value[1], 0).getDate(); - if (value[2] > maxDate) { - value = value.slice(); - value[2] = maxDate; - } - } - return value; -} - -/** - * 比较两个date是否是同一时间 - * @param date1 - * @param date2 - */ -export function isEqualDate(date1, date2) { - if (date1 instanceof Date && date2 instanceof Date) { - return dayjs(date1).isSame(date2); - } - return date1 === date2; -} diff --git a/compiled/alipay/src/DatePicker/variable.less b/compiled/alipay/src/DatePicker/variable.less deleted file mode 100644 index bd73c35c8..000000000 --- a/compiled/alipay/src/DatePicker/variable.less +++ /dev/null @@ -1,22 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// range-picker| shadow color -@range-picker-shadow-color: var( - --range-picker-shadow-color, - @COLOR_BLACK_CHANGE -); -// item的字体颜色 -@range-picker-item-color: var(--range-picker-item-color, @COLOR_TEXT_PRIMARY); -// active 的字体颜色 -@range-picker-active-color: var(--range-picker-active-color, @COLOR_BRAND1); -// placeholder 的字体颜色 -@range-picker-placeholder-color: var( - --range-picker-placeholder-color, - @COLOR_TEXT_WEAK -); - -@range-picker-shadow-color-faded: var( - --range-picker-shadow-color-faded, - @COLOR_BLACK_FADED_10 -); diff --git a/compiled/alipay/src/Dialog/index.axml b/compiled/alipay/src/Dialog/index.axml deleted file mode 100644 index 3d4455f51..000000000 --- a/compiled/alipay/src/Dialog/index.axml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - {{title}} - - - - - {{content}} - - - - - - - - {{item.text}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Dialog/index.en.md b/compiled/alipay/src/Dialog/index.en.md deleted file mode 100644 index afe23759a..000000000 --- a/compiled/alipay/src/Dialog/index.en.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Dialog - -When the application needs to alert or remind the current operation behavior of the user, the dialog box may be used. The user needs to operate on the dialog box before ending. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-dialog": "antd-mini/es/Dialog/index" -#endif -#if WECHAT - "ant-dialog": "antd-mini/Dialog/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - visible: false, - footer: { - buttons: [{ text: '我知道了' }], - }, - }, - onButtonTap(buttonItem) { - console.log('点击的按钮: ', buttonItem); -#if ALIPAY - my.showToast({ content: `点击了${buttonItem.text}`, duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: `点击了${buttonItem.text}` }); -#endif - this.handleClose(); - }, - handleClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### Multiple Action Points - -> `footer` property supports passing in multiple action points and can specify `layout` For `vertical`or`horizontal`That is, the horizontal and vertical layout of the action point. - -```xml - -``` - -```js -Page({ - data: { - // 横向布局 - horizontalFooter: { - buttons: [ - { text: '取消', type: 'default' }, - { text: '确定', type: 'primary' }, - ], - layout: 'horizontal', - }, - // 纵向布局 - verticalFooter: { - buttons: [ - { text: '主按钮', type: 'primary' }, - { text: '更多', type: 'default' }, - { text: '取消', type: 'text' }, - ], - }, - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------------- | ------------------------------------------------- | ------------ | ------ | -| bodyClassName | body class name | string | - | -| bodyStyle | body style | string | - | -| cancelButtonStyle | Cancel Button Style | string | - | -| cancelButtonText | Cancel Button Text | string | - | -| className | Class Name | string | - | -| closable | Whether to display the close button in the upper right corner. Effective only when type is focus | boolean | - | -| content | Content | string\|slot | - | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| footer | Custom Button Area | slot | - | -| maskClosable | Click whether the layer triggers the onClose. | boolean | true | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| style | Style | string | - | -| title | Title | string\|slot | - | -| visible | Whether to display | boolean | false | -| #if ALIPAY onCancelButtonTap | Cancel button click event | ()=>void | - | -| #if ALIPAY onClose | Click the close button in the upper right corner in the layer or emphasis mode to trigger the callback | ()=>void | - | -| #if ALIPAY onButtonTap | Behavior button click event | ()=>void | - | -| #if WECHAT bind:close | Click the close button in the upper right corner in the layer or emphasis mode to trigger the callback | ()=>void | - | -| #if WECHAT bind:buttontap | Behavior button click event | ()=>void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------- | -| --dialog-background-color |
#ffffff
|
#1a1a1a
| Modal Box Background Color | -| --dialog-title-color |
#333333
|
#c5cad1
| Modal Box Title Color | -| --dialog-content-color |
#333333
|
#c5cad1
| Modal Box Content Color | -| --dialog-close-text-color |
#999999
|
#616161
| Modal Box Close Button Text Color | diff --git a/compiled/alipay/src/Dialog/index.json b/compiled/alipay/src/Dialog/index.json deleted file mode 100644 index 6eaf614ee..000000000 --- a/compiled/alipay/src/Dialog/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-icon": "../Icon/index", - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/alipay/src/Dialog/index.less b/compiled/alipay/src/Dialog/index.less deleted file mode 100644 index 85865dd55..000000000 --- a/compiled/alipay/src/Dialog/index.less +++ /dev/null @@ -1,76 +0,0 @@ -@import (reference) './variable.less'; -@import (reference) '../style/mixins/hairline.less'; - -@modalPrefix: ant-dialog; - -.@{modalPrefix} { - &-body { - width: 560 * @rpx; - background-color: @dialog-background-color; - padding: 48 * @rpx 44 * @rpx; - display: flex; - flex-direction: column; - border-radius: 48 * @rpx; - &-header { - width: calc(100% + @dialog-header-padding); - border-top-left-radius: 48 * @rpx; - border-top-right-radius: 48 * @rpx; - margin: -48 * @rpx -44 * @rpx 36 * @rpx -44 * @rpx; - } - &-title { - line-height: 56 * @rpx; - text-align: center; - color: @dialog-title-color; - padding-bottom: 32 * @rpx; - - font-weight: 500; - font-size: 40 * @rpx; - } - - &-content { - line-height: 42 * @rpx; - padding-bottom: 24 * @rpx; - font-size: 32 * @rpx; - color: @dialog-content-color; - text-align: center; - } - &-footer { - padding: 48 * @rpx 4 * @rpx 0 4 * @rpx; - &-vertical { - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: column; - gap: 24 * @rpx; - .ant-dialog-body-footer-button { - width: 100%; - } - } - &-horizontal { - display: flex; - justify-content: flex-start; - align-items: center; - gap: 24 * @rpx; - flex-direction: row; - .ant-dialog-body-footer-button { - flex: 1; - } - } - } - } - &-close { - top: 72rpx; - position: relative; - left: 50%; - margin-left: -30 * @rpx; - z-index: 3; - width: 60 * @rpx; - height: 60 * @rpx; - font-size: 72 * @rpx; - color: @dialog-close-text-color; - } - .ant-popup-content.ant-popup-center { - min-height: 0; - padding: 0; - } -} diff --git a/compiled/alipay/src/Dialog/index.md b/compiled/alipay/src/Dialog/index.md deleted file mode 100644 index 4f7e48a06..000000000 --- a/compiled/alipay/src/Dialog/index.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Dialog 对话框 - -当应用中需要比较明显的对用户当前的操作行为进行警示或提醒时,可以使用对话框。用户需要针对对话框进行操作后方可结束。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-dialog": "antd-mini/es/Dialog/index" -#endif -#if WECHAT - "ant-dialog": "antd-mini/Dialog/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - visible: false, - footer: { - buttons: [{ text: '我知道了' }], - }, - }, - onButtonTap(buttonItem) { - console.log('点击的按钮: ', buttonItem); -#if ALIPAY - my.showToast({ content: `点击了${buttonItem.text}`, duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: `点击了${buttonItem.text}` }); -#endif - this.handleClose(); - }, - handleClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### 多行动点 - -> `footer` 属性支持传入多个行动点,并且可以指定 `layout` 为 `vertical`或`horizontal`,即行动点横向、纵向布局。 - -```xml - -``` - -```js -Page({ - data: { - // 横向布局 - horizontalFooter: { - buttons: [ - { text: '取消', type: 'default' }, - { text: '确定', type: 'primary' }, - ], - layout: 'horizontal', - }, - // 纵向布局 - verticalFooter: { - buttons: [ - { text: '主按钮', type: 'primary' }, - { text: '更多', type: 'default' }, - { text: '取消', type: 'text' }, - ], - }, - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------------- | ------------------------------------------------- | ------------ | ------ | -| bodyClassName | body 类名 | string | - | -| bodyStyle | body 样式 | string | - | -| cancelButtonStyle | 取消按钮样式 | string | - | -| cancelButtonText | 取消按钮文本 | string | - | -| className | 类名 | string | - | -| closable | 是否显示右上角的关闭按钮。仅在 type 为 focus 生效 | boolean | - | -| content | 内容 | string\|slot | - | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| footer | 自定义按钮区 | slot | - | -| maskClosable | 点击蒙层是否触发 onClose | boolean | true | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | -| visible | 是否显示 | boolean | false | -| #if ALIPAY onCancelButtonTap | 取消按钮点击事件 | ()=>void | - | -| #if ALIPAY onClose | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if ALIPAY onButtonTap | 行为按钮点击事件 | ()=>void | - | -| #if WECHAT bind:close | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if WECHAT bind:buttontap | 行为按钮点击事件 | ()=>void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------- | -| --dialog-background-color |
#ffffff
|
#1a1a1a
| 模态框背景颜色 | -| --dialog-title-color |
#333333
|
#c5cad1
| 模态框标题颜色 | -| --dialog-content-color |
#333333
|
#c5cad1
| 模态框内容颜色 | -| --dialog-close-text-color |
#999999
|
#616161
| 模态框关闭按钮文字颜色 | diff --git a/compiled/alipay/src/Dialog/index.sjs b/compiled/alipay/src/Dialog/index.sjs deleted file mode 100644 index b4ea0cd43..000000000 --- a/compiled/alipay/src/Dialog/index.sjs +++ /dev/null @@ -1,21 +0,0 @@ -function getDirection(primaryButtonText, secondaryButtonText, cancelButtonText, type) { - // 不显示按钮区域 - if (!primaryButtonText && !secondaryButtonText && !cancelButtonText) { - return ''; - } - // 1个按钮,当纵向处理 - if ([primaryButtonText, secondaryButtonText, cancelButtonText].filter(function (v) { - return !!v; - }).length === 1) { - return 'vertical'; - } - // 三个按钮,必是纵向 - if (primaryButtonText && secondaryButtonText && cancelButtonText) { - return 'vertical'; - } - // 两个按钮,在 “标准模式” 是横向;在“强调模式”是纵向 - return type === 'focus' ? 'vertical' : 'horizontal'; -} -export default { - getDirection: getDirection -}; \ No newline at end of file diff --git a/compiled/alipay/src/Dialog/index.ts b/compiled/alipay/src/Dialog/index.ts deleted file mode 100644 index 63c53f4b7..000000000 --- a/compiled/alipay/src/Dialog/index.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { - Component, - getValueFromProps, - triggerEvent, - triggerEventOnly, -} from '../_util/simply'; -import { ModalFunctionalProps } from './props'; - -Component(ModalFunctionalProps, { - onClose() { - triggerEventOnly(this, 'close'); - }, - onMaskClose() { - const maskClosable = getValueFromProps(this, 'maskClosable'); - if (maskClosable) { - triggerEventOnly(this, 'close'); - } - }, - onButtonTap(e) { - const onButtonTap = getValueFromProps(this, 'onButtonTap'); - // 按钮点击没有回调的场景直接关闭弹框 - if (!onButtonTap) { - return this.onClose(); - } - const { item } = e.currentTarget.dataset; - triggerEvent(this, 'buttonTap', item, e); - }, - onPrimaryButtonTap() { - triggerEventOnly(this, 'primaryButtonTap'); - }, - onSecondaryButtonTap() { - triggerEventOnly(this, 'secondaryButtonTap'); - }, - onCancelButtonTap() { - triggerEventOnly(this, 'cancelButtonTap'); - }, -}); diff --git a/compiled/alipay/src/Dialog/props.ts b/compiled/alipay/src/Dialog/props.ts deleted file mode 100644 index a9cffac5f..000000000 --- a/compiled/alipay/src/Dialog/props.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 对话框,当应用中需要比较明显的对用户当前的操作行为进行警示或提醒时,可以使用对话框。用户需要针对对话框进行操作后方可结束。 - */ - -export interface Button { - /** - * @description 按钮名称 - */ - text: string; - /** - * @description 按钮样式 - * @default primary - */ - type: string; - /** - * @description 按钮置灰 - * @default false - */ - disabled: boolean; - /** - * @description 按钮唯一标识 - */ - id: string; -} -export interface Footer { - /** - * @description 按钮列表 - */ - buttons: Button[]; - /** - * @description 按钮布局方式 - */ - layout: 'vertical' | 'horizontal'; -} -export interface IDialogProps extends IBaseProps { - /** - * @description Modal body类名 - */ - bodyClassName: string; - /** - * @description Modal body样式 - */ - bodyStyle: string; - /** - * @description 遮罩层类名 - */ - maskClassName: string; - /** - * @description 遮罩层样式 - */ - maskStyle: string; - /** - * @description 是否可点击蒙层关闭 - * @default true - */ - maskClosable: boolean; - /** - * @description 是否显示右上角的关闭按钮。只有在 type 为 focus 生效 - */ - closable: boolean; - /** - * @description 过渡动画时长,单位毫秒 - */ - duration: number; - /** - * @description 是否开启过渡动画 - */ - animation: boolean; - /** - * @description 弹窗层级 - */ - zIndex: number; - /** - * @description 标题 - */ - title: string; - /** - * @description 内容 - */ - content: string; - /** - * @description 是否可见,受控模式 - * @default false - */ - visible: boolean; - /** - * @description 是否关闭后销毁内部元素 - * @default false - */ - destroyOnClose?: boolean; - /** - * @description 底部按钮列表 - */ - footer: Footer; - /** - * @description 正常模式下 弹框头图, 氛围弹框场景下此图片不展示 - */ - headerImage: string; - /** - * @description 触发关闭时回调 - */ - onClose: () => void; - /** - * @description 按钮点击事件 - */ - onButtonTap?: (buttonItem) => void; -} - -export const ModalDefaultProps: Partial = { - visible: false, - maskClosable: true, - closable: true, - duration: 200, - animation: true, - zIndex: 998, -}; - -export const ModalFunctionalProps: Partial = { - bodyClassName: '', - bodyStyle: '', - maskClassName: '', - maskStyle: '', - maskClosable: true, - closable: true, - duration: 200, - animation: true, - zIndex: 998, - title: '', - content: '', - visible: false, - destroyOnClose: false, - footer: { - buttons: [], - layout: 'vertical', - }, -}; diff --git a/compiled/alipay/src/Dialog/variable.less b/compiled/alipay/src/Dialog/variable.less deleted file mode 100644 index 3a4418f21..000000000 --- a/compiled/alipay/src/Dialog/variable.less +++ /dev/null @@ -1,19 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// dialog 背景色 -@dialog-background-color: var(--dialog-background-color, @COLOR_CARD); -// dialog 圆角 -@dialog-radius: @corner-radius-lg; -// 标题颜色 -@dialog-title-color: var(--dialog-title-color, @COLOR_TEXT_PRIMARY); -// 内容大小 -@dialog-content-size: @font-size-subtitle; -// 内容颜色 -@dialog-content-color: var(--dialog-content-color, @COLOR_TEXT_PRIMARY); -// 关闭图标尺寸 -@dialog-close-icon-size: 36 * @rpx; - -@dialog-close-text-color: var(--dialog-close-text-color, @COLOR_TEXT_ASSIST); - -@dialog-header-padding: 44 * 2 * @rpx; diff --git a/compiled/alipay/src/Divider/index.axml b/compiled/alipay/src/Divider/index.axml deleted file mode 100644 index 970980127..000000000 --- a/compiled/alipay/src/Divider/index.axml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - {{text}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Divider/index.en.md b/compiled/alipay/src/Divider/index.en.md deleted file mode 100644 index 84dc2a6e2..000000000 --- a/compiled/alipay/src/Divider/index.en.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display -toc: 'content' ---- - -# Divider - -The dividing line that separates the content. Segmentation of text paragraphs in different sections. Split inline text/links, such as the action column of a table. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-divider": "antd-mini/es/Divider/index" -#endif -#if WECHAT - "ant-divider": "antd-mini/Divider/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### Split Line with Text - -```xml - - - -``` - -### Custom Style - -```xml - -``` - -### Vertical Split Line - -```xml - - 100m - - detail address - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ------------- | ---------------------------------------------------------------- | -------------- | ------------ | -| className | Root node class name | string | - | -| direction | Split line direction, optional `horizontal` `vertical` | string | `horizontal` | -| lineColor | Split line color | string | - | -| lineHeight | Split line height, only if `direction` For `horizontal` Effective at the time, in units `px` | number | - | -| lineType | Split line type, optional `solid` `dashed` `dotted` | string | - | -| lineWidth | Split line width, only if `direction` For `vertical` Effective at the time, in units `px` | number | - | -| style | Style | string | - | -| textClassName | Split line text class name | string | - | -| textPosition | Split line text position, optional `left` `center` `right` | string | `center` | -| textStyle | Split Line Text Style | string | - | -| text | Split Line Text | string \| slot | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --divider-text-color |
#333333
|
#c5cad1
| Split line text color | -| --divider-border-color |
#e5e5e5
|
#2b2b2b2
| Split Line Border Color | diff --git a/compiled/alipay/src/Divider/index.json b/compiled/alipay/src/Divider/index.json deleted file mode 100644 index ac34bd704..000000000 --- a/compiled/alipay/src/Divider/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "component": true, - "usingComponents": { - } -} diff --git a/compiled/alipay/src/Divider/index.less b/compiled/alipay/src/Divider/index.less deleted file mode 100644 index 029a4b60c..000000000 --- a/compiled/alipay/src/Divider/index.less +++ /dev/null @@ -1,29 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@dividerPrefix: ant-divider; - -.@{dividerPrefix}-horizontal { - display: flex; - flex-direction: row; - flex-wrap: wrap; - align-items: center; - padding: @v-spacing-standard 0; - - &-text { - font-size: @font-size-subtitle; - color: @divider-text-color; - margin: 0 32 * @rpx; - } - - &-left, - &-right { - border-bottom: @border-width-standard solid @divider-border-color; - } -} - -.@{dividerPrefix}-vertical { - margin: 0 16 * @rpx; - height: 32 * @rpx; - border-right: @border-width-standard solid @divider-border-color; -} diff --git a/compiled/alipay/src/Divider/index.md b/compiled/alipay/src/Divider/index.md deleted file mode 100644 index e24d2af54..000000000 --- a/compiled/alipay/src/Divider/index.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 -toc: 'content' ---- - -# Divider 分割线 - -区隔内容的分割线。对不同章节的文本段落进行分割。对行内文字/链接进行分割,例如表格的操作列。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-divider": "antd-mini/es/Divider/index" -#endif -#if WECHAT - "ant-divider": "antd-mini/Divider/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 分割线带文字 - -```xml - - - -``` - -### 自定义样式 - -```xml - -``` - -### 垂直分割线 - -```xml - - 100m - - detail address - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ------------- | ---------------------------------------------------------------- | -------------- | ------------ | -| className | 根节点类名 | string | - | -| direction | 分割线方向,可选 `horizontal` `vertical` | string | `horizontal` | -| lineColor | 分割线颜色 | string | - | -| lineHeight | 分割线高度,仅当 `direction` 为 `horizontal` 时生效,单位为 `px` | number | - | -| lineType | 分割线类型,可选 `solid` `dashed` `dotted` | string | - | -| lineWidth | 分割线宽度,仅当 `direction` 为 `vertical` 时生效,单位为 `px` | number | - | -| style | 样式 | string | - | -| textClassName | 分割线文字类名 | string | - | -| textPosition | 分割线文字位置,可选 `left` `center` `right` | string | `center` | -| textStyle | 分割线文字样式 | string | - | -| text | 分割线文字 | string \| slot | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --divider-text-color |
#333333
|
#c5cad1
| 分割线文本颜色 | -| --divider-border-color |
#e5e5e5
|
#2b2b2b2
| 分割线边框颜色 | diff --git a/compiled/alipay/src/Divider/index.sjs b/compiled/alipay/src/Divider/index.sjs deleted file mode 100644 index 8b3492f37..000000000 --- a/compiled/alipay/src/Divider/index.sjs +++ /dev/null @@ -1,15 +0,0 @@ -var getLineWidthFlex = function getLineWidthFlex(textPosition, text) { - if (!text) { - return [1, 0]; - } - if (textPosition === 'left') { - return [1, 5]; - } - if (textPosition === 'right') { - return [5, 1]; - } - return [1, 1]; -}; -export default { - getLineWidthFlex: getLineWidthFlex -}; \ No newline at end of file diff --git a/compiled/alipay/src/Divider/index.ts b/compiled/alipay/src/Divider/index.ts deleted file mode 100644 index 01e18332d..000000000 --- a/compiled/alipay/src/Divider/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -import { DividerFunctionalProps } from './props'; - -Component(DividerFunctionalProps); diff --git a/compiled/alipay/src/Divider/props.ts b/compiled/alipay/src/Divider/props.ts deleted file mode 100644 index 6763976a9..000000000 --- a/compiled/alipay/src/Divider/props.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface IDividerProps extends IBaseProps { - lineColor: string; - lineHeight: number; - lineType: 'solid' | 'dashed' | 'dotted'; - lineWidth: number; - text: string; - textStyle: string; - textClassName: string; - textPosition: 'left' | 'center' | 'right'; - direction: 'horizontal' | 'vertical'; -} - -export const DividerDefaultProps: Partial = { - textPosition: 'center', - direction: 'horizontal', - lineType: 'solid', -}; - -export const DividerFunctionalProps: Partial = { - lineColor: '', - lineHeight: 0, - lineType: 'solid', - lineWidth: 0, - text: '', - textStyle: '', - textClassName: '', - textPosition: 'center', - direction: 'horizontal', -}; diff --git a/compiled/alipay/src/Divider/variable.less b/compiled/alipay/src/Divider/variable.less deleted file mode 100644 index b5e0fe3ce..000000000 --- a/compiled/alipay/src/Divider/variable.less +++ /dev/null @@ -1,8 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// text 颜色 -@divider-text-color: var(--divider-text-color, @COLOR_TEXT_PRIMARY); - -// border 颜色 -@divider-border-color: var(--divider-border-color, @COLOR_BORDER_GREYCARD); diff --git a/compiled/alipay/src/Empty/index.axml b/compiled/alipay/src/Empty/index.axml deleted file mode 100644 index 35fadf5de..000000000 --- a/compiled/alipay/src/Empty/index.axml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - {{title}} - - - - - {{message}} - - - - - - {{item.text}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Empty/index.en.md b/compiled/alipay/src/Empty/index.en.md deleted file mode 100644 index c65390df8..000000000 --- a/compiled/alipay/src/Empty/index.en.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 9 -toc: 'content' ---- - -# Empty - -Use the scene illustration as a feedback prompt for the empty state scene, when you need to display the empty state page or local empty state block. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-empty": "antd-mini/es/Empty/index" -#endif -#if WECHAT - "ant-empty": "antd-mini/Empty/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### Custom Picture - -```xml - -``` - -### Add Action Point - -```xml - -``` - -```js -const BUTTON_LIST = [ - { - type: 'primary', - text: 'refresh', - }, - { - type: 'default', - text: 'checkout internet', - }, -]; - -Page({ - data: { - // 水平按钮布局 - horizontalButtonInfo: { - layout: 'horizontal', - list: BUTTON_LIST, - }, - // 垂直按钮布局 - verticalButtonInfo: { - layout: 'vertical', - list: BUTTON_LIST, - }, - }, -}); -``` - -### Use Slot - -```xml - - - - Custom Action Buttons - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | --------------------------------- | ------------------------------------------------- | -------- | -| className | Root node class name | string | - | -| title | Title Copy | string \| slot | - | -| image | Picture, string can be passed in as picture address | string \| slot | -| message | Description Copy | string \| slot | - | -| style | Style | string | - | -| size | Empty status size, optional `normal` `small` | string | `normal` | -| buttonInfo | Custom Button | [ButtonInfo](#buttoninfo) | `normal` | -| #if ALIPAY onClickButton | Click button callback | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | -| #if WECHAT bind:ClickButton | Click button callback | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | - -### ButtonInfo - -| Property | Description | Type | Default Value | -| ------ | -------------------------------------- | ----------------------------------- | ------------ | -| layout | Layout mode, optional `horizontal` `vertical` | string | `horizontal` | -| list | Layout button configuration | [ButtonInfoItem](#buttoninfoitem)[] | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --empty-text-color |
#333333
|
#c5cad1
| Empty status text color | -| --empty-asisst-text-color |
#999999
|
#616161
| Empty state secondary text color | diff --git a/compiled/alipay/src/Empty/index.json b/compiled/alipay/src/Empty/index.json deleted file mode 100644 index c4177eb48..000000000 --- a/compiled/alipay/src/Empty/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-auto-resize": "../AutoResize/index" - } -} diff --git a/compiled/alipay/src/Empty/index.less b/compiled/alipay/src/Empty/index.less deleted file mode 100644 index 92cc43f61..000000000 --- a/compiled/alipay/src/Empty/index.less +++ /dev/null @@ -1,92 +0,0 @@ -@import (reference) './variable.less'; - -@emptyPrefix: ant-empty; - -.@{emptyPrefix} { - text-align: center; - &-normal { - .ant-empty-image-element { - width: @empty-normal-width; - height: @empty-normal-height; - } - .ant-empty-text { - &-main { - color: @empty-text-color; - font-size: @sizeFont8; - margin-top: @empty-margin-large; - } - &-sub { - margin-top: 12 * @rpx; - color: @empty-asisst-text-color; - } - } - .ant-empty-button { - padding-top: 80 * @rpx; - } - } - - &-small { - .ant-empty-image-element { - width: @empty-small-width; - height: @empty-small-height; - } - .ant-empty-text { - &-main { - color: @empty-asisst-text-color; - font-size: @sizeFont6; - margin-top: @empty-margin-large; - } - &-sub { - color: @COLOR_TEXT_WEAK; - margin-top: 8 * @rpx; - } - } - .ant-empty-button { - padding-top: @empty-margin-middle; - } - } - - &-image { - display: flex; - justify-content: center; - } - - &-text { - margin-top: @v-spacing-large; - line-height: @empty-text-line-height; - - &-main { - color: @COLOR_TEXT_PRIMARY; - font-size: @empty-font-size-large; - } - - &-sub { - font-size: @empty-font-size-common; - margin-top: @empty-margin-middle; - line-height: @empty-sub-line-height; - } - } - - &-button { - &-layout-horizontal { - display: flex; - justify-content: center; - align-items: center; - gap: @empty-horizontal-button-gap; - } - &-layout-vertical { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: center; - gap: @empty-vertical-button-gap; - .ant-button { - min-width: @empty-vertical-button-width; - } - } - } - - &-extra { - padding-top: @empty-margin-middle; - } -} diff --git a/compiled/alipay/src/Empty/index.md b/compiled/alipay/src/Empty/index.md deleted file mode 100644 index 325ce6662..000000000 --- a/compiled/alipay/src/Empty/index.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 9 -toc: 'content' ---- - -# Empty 空状态 - -使用场景插画来作为空状态场景的反馈提示,在需要展示空状态页面或者局部空状态区块时使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-empty": "antd-mini/es/Empty/index" -#endif -#if WECHAT - "ant-empty": "antd-mini/Empty/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 自定义图片 - -```xml - -``` - -### 添加行动点 - -```xml - -``` - -```js -const BUTTON_LIST = [ - { - type: 'primary', - text: 'refresh', - }, - { - type: 'default', - text: 'checkout internet', - }, -]; - -Page({ - data: { - // 水平按钮布局 - horizontalButtonInfo: { - layout: 'horizontal', - list: BUTTON_LIST, - }, - // 垂直按钮布局 - verticalButtonInfo: { - layout: 'vertical', - list: BUTTON_LIST, - }, - }, -}); -``` - -### 使用插槽 - -```xml - - - - 自定义操作按钮 - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | --------------------------------- | ------------------------------------------------- | -------- | -| className | 根节点类名 | string | - | -| title | 标题文案 | string \| slot | - | -| image | 图片,可传入字符串作为图片地址 | string \| slot | -| message | 描述文案 | string \| slot | - | -| style | 样式 | string | - | -| size | 空状态尺寸,可选 `normal` `small` | string | `normal` | -| buttonInfo | 自定义按钮 | [ButtonInfo](#buttoninfo) | `normal` | -| #if ALIPAY onClickButton | 点击按钮回调 | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | -| #if WECHAT bind:ClickButton | 点击按钮回调 | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | - -### ButtonInfo - -| 属性 | 说明 | 类型 | 默认值 | -| ------ | -------------------------------------- | ----------------------------------- | ------------ | -| layout | 布局方式,可选 `horizontal` `vertical` | string | `horizontal` | -| list | 布局按钮配置 | [ButtonInfoItem](#buttoninfoitem)[] | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --empty-text-color |
#333333
|
#c5cad1
| 空状态文本颜色 | -| --empty-asisst-text-color |
#999999
|
#616161
| 空状态辅助文本颜色 | diff --git a/compiled/alipay/src/Empty/index.ts b/compiled/alipay/src/Empty/index.ts deleted file mode 100644 index 11aead359..000000000 --- a/compiled/alipay/src/Empty/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Component, IPlatformEvent } from '../_util/simply'; -import { EmptyFunctionalProps } from './props'; - -Component(EmptyFunctionalProps, { - onClickButton(e: IPlatformEvent) { - const { item } = e.target.dataset; - this.props.onClickButton(item); - }, -}); diff --git a/compiled/alipay/src/Empty/props.ts b/compiled/alipay/src/Empty/props.ts deleted file mode 100644 index 203884da1..000000000 --- a/compiled/alipay/src/Empty/props.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 空状态 - */ - -interface Button { - /** - * @description 按钮文案 - */ - text: string; - /** - * @description 按钮类型 - */ - type: string; -} - -export interface IEmptyProps extends IBaseProps { - /** - * @description 主文案 - */ - title: string; - - /** - * @description 副文案 - */ - message: string; - - /** - * @description 图片路径 - */ - image: string; - /** - * @description 图片模式 - */ - imageMode: string; - /** - * @description 按钮信息 - */ - buttonInfo: { - /** - * @description 按钮信息 - * @default horizontal - */ - layout: 'vertical' | 'horizontal'; - list: Button[]; - }; - /** - * @description 空状态尺寸 - * @default normal - */ - size: 'small' | 'normal'; - /** - * @description 按钮点击事件 - */ - onClickButton: (button: Button) => void; -} - -export const EmptyDefaultProps: Partial = {}; - -export const EmptyFunctionalProps: IEmptyProps = { - title: '', - message: '', - image: '', - imageMode: 'scaleToFill', - buttonInfo: { - list: [], - layout: 'horizontal', - }, - size: 'normal', - onClickButton: () => {}, -}; diff --git a/compiled/alipay/src/Empty/variable.less b/compiled/alipay/src/Empty/variable.less deleted file mode 100644 index f290604b7..000000000 --- a/compiled/alipay/src/Empty/variable.less +++ /dev/null @@ -1,29 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// text 颜色 -@empty-text-color: var(--empty-text-color, @COLOR_TEXT_PRIMARY); -// asisst-text 颜色 -@empty-asisst-text-color: var(--empty-asisst-text-color, @COLOR_TEXT_ASSIST); -@empty-normal-width: 510 * @rpx; -@empty-small-width: 416 * @rpx; -@empty-normal-height: 282 * @rpx; -@empty-small-height: 230 * @rpx; - -@empty-font-size-common: 24 * @rpx; -@empty-font-size-large: 36 * @rpx; - -@empty-margin-x-small: 12 * @rpx; -@empty-margin-small: 24 * @rpx; -@empty-margin-middle: 32 * @rpx; -@empty-margin-large: 24 * @rpx; - -@empty-vertical-button-width: 368 * @rpx; - -@empty-vertical-button-gap: 32 * @rpx; -@empty-horizontal-button-gap: 24 * @rpx; - -@empty-sub-line-height: 37 * @rpx; -@empty-text-line-height: 50 * @rpx; - -@empty-image-url: 'https://mdn.alipayobjects.com/huamei_mnxlps/afts/img/A*J9z7RqVm1soAAAAAAAAAAAAADkqGAQ/original'; diff --git a/compiled/alipay/src/Feedback/index.axml b/compiled/alipay/src/Feedback/index.axml deleted file mode 100644 index 91989f40d..000000000 --- a/compiled/alipay/src/Feedback/index.axml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - {{title}} - - - - - - {{item.text}} - - - - - - - - - {{title}} - - - - - - {{item.text}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Feedback/index.en.md b/compiled/alipay/src/Feedback/index.en.md deleted file mode 100644 index 03b8e1bd6..000000000 --- a/compiled/alipay/src/Feedback/index.en.md +++ /dev/null @@ -1,233 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 15 -toc: content ---- - -# Feedback - -Feedback mostly acts on distribution scenarios. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-feedback": "antd-mini/es/Feedback/index" -#endif -#if WECHAT - "ant-feedback": "antd-mini/Feedback/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - -``` - -```js -Page({ - data: { - visible: true, - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, -}); -``` - -### Point guidance feedback - -```xml - - - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, -}); -``` - -### Feedback Card - -```xml - - - Click to show feedback card - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, - onShowFeedback() { - this.setData({ - visible: true, - }); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------------ | -| visible | Whether visible | boolean | false | -| type | Type of feedback | 'popover' \| 'card' \| 'float' | card | -| title | Title of the feedback | string | - | -| placement | Bubble box position, optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` or `right-bottom` | string | bottom-right | -| list | List of Feedback | [FeedItem](#feeditem)[] | - | -| className | outermost style name | string | - | -| style | outermost style string | string | - | -| popoverType | Bootstrap style for bubble feedback | 'circle' \| 'default' | - | -| autoAdjustOverflow | Whether bubble position is adaptive | boolean | true | -| #if ALIPAY onVisibleChange | Hook showing state change | (visible: boolean) => void | - | -| #if ALIPAY onTapFeedItem | Feedback Item Click Callback | (item: any) => void | - | -| #if WECHAT bind:visiblechange | Hook showing state change | (visible: boolean) => void | - | -| #if WECHAT bind:tapfeeditem | Feedback Item Click Callback | ([FeedItem](#feeditem): any) => void | - | - -### FeedItem - -| Property | Description | Type | Default Value | -| ----- | ---------------------------------------- | ------ | ------ | -| icon | Icons for feedback items | string | - | -| text | Copywriting of the feedback item | string | - | -| image | The image and the icon of the feedback item are mutually exclusive, and the icon is displayed first. | string | - | -| id | Unique identification of the feedback item | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --feedback-text-color |
#333333
|
#c5cad1
| Feedback Text Color | -| --feedback-background-color |
rgba(216, 216, 216, 0.42)
|
rgba(216, 216, 216, 0.42)
| Feedback Background Color | -| --feedback-mask-color |
rgba(0, 0, 0, 0.25)
|
rgba(0, 0, 0, 0.25)
| Feedback Mask Color | -| --feedback-content-background-color |
#ffffff
|
#1a1a1a
| Feedback Content Background Color | -| --feedback-list-background-color |
#f5f5f5
|
#121212
| Feedback List Background Color | -| --feedback-list-text-color |
#333333
|
#c5cad1
| Feedback List Text Color | diff --git a/compiled/alipay/src/Feedback/index.json b/compiled/alipay/src/Feedback/index.json deleted file mode 100644 index 08e8ed761..000000000 --- a/compiled/alipay/src/Feedback/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-mask": "../Mask/index", - "ant-icon": "../Icon/index", - "popover": "../Popover/index" - } -} diff --git a/compiled/alipay/src/Feedback/index.less b/compiled/alipay/src/Feedback/index.less deleted file mode 100644 index ef8886e2b..000000000 --- a/compiled/alipay/src/Feedback/index.less +++ /dev/null @@ -1,123 +0,0 @@ -@import (reference) './variable.less'; - -@avatarPrefix: ant-feedback; - -.@{avatarPrefix} { - .ant-popover-inner { - max-width: 100%; - color: @feedback-text-color; - background: @feedback-content-background-color; - } - .ant-popover-arrow { - border-bottom-color: @feedback-content-background-color; - } - &-popoverType-default { - .ant-popover-content { - width: 568 * @rpx; - } - } - &-popoverType-circle { - .ant-popover-content { - width: max-content; - transform: translate(-50%, 60 * @rpx); - left: 50% !important; - top: 50% !important; - bottom: 50% !important; - right: 50% !important; - } - } - &-show { - z-index: 9; - position: relative; - } - &-mask { - z-index: 2; - background: @feedback-mask-color; - } - &-trigger { - position: relative; - } - &-guide { - position: absolute; - background: @feedback-background-color; - border-radius: 50vh; - width: 48 * @rpx; - height: 48 * @rpx; - z-index: 999; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - - display: flex; - justify-content: center; - align-items: center; - &-content { - background: @feedback-content-background-color; - border-radius: 50vh; - width: 24 * @rpx; - height: 24 * @rpx; - } - } - &-content { - background: @feedback-content-background-color; - border-radius: 24 * @rpx; - &-card { - display: flex; - flex-direction: column; - padding: 24 * @rpx; - background: @feedback-content-background-color; - .ant-feedback-content-list { - flex-direction: column; - gap: 16 * @rpx; - } - .ant-feedback-content-list-item { - background: @feedback-list-background-color; - border-radius: 50vh; - padding: 18 * @rpx 24 * @rpx; - } - } - &-popover { - padding: 24 * @rpx; - .ant-feedback-content-list { - flex-direction: column; - gap: 16 * @rpx; - } - .ant-feedback-content-list-item { - background: @feedback-list-background-color; - border-radius: 50vh; - padding: 18 * @rpx 24 * @rpx; - } - } - &-title { - font-weight: 500; - font-size: 28 * @rpx; - color: @feedback-list-text-color; - letter-spacing: 0; - padding-bottom: 20 * @rpx; - padding-top: 4 * @rpx; - } - &-list { - display: flex; - flex-direction: column; - &-item { - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; - .ant-icon, - &-image { - font-size: 36 * @rpx; - width: 36 * @rpx; - height: 36 * @rpx; - margin-right: 16 * @rpx; - } - &-text { - font-weight: 400; - font-size: 26 * @rpx; - color: @feedback-list-text-color; - line-height: 37 * @rpx; - } - } - } - } -} diff --git a/compiled/alipay/src/Feedback/index.md b/compiled/alipay/src/Feedback/index.md deleted file mode 100644 index 34d29f03b..000000000 --- a/compiled/alipay/src/Feedback/index.md +++ /dev/null @@ -1,233 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 15 -toc: content ---- - -# Feedback 信息反馈 - -反馈多作用于分发场景。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-feedback": "antd-mini/es/Feedback/index" -#endif -#if WECHAT - "ant-feedback": "antd-mini/Feedback/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - -``` - -```js -Page({ - data: { - visible: true, - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, -}); -``` - -### 点状引导反馈 - -```xml - - - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, -}); -``` - -### 反馈卡片 - -```xml - - - 点击 展示反馈卡片 - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, - onShowFeedback() { - this.setData({ - visible: true, - }); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------------ | -| visible | 是否可见 | boolean | false | -| type | 反馈类型 | 'popover' \| 'card' \| 'float' | card | -| title | 反馈的标题 | string | - | -| placement | 气泡框位置,可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` 或 `right-bottom` | string | bottom-right | -| list | 反馈的列表 | [FeedItem](#feeditem)[] | - | -| className | 最外层的样式名 | string | - | -| style | 最外层的样式字符串 | string | - | -| popoverType | 气泡反馈的引导样式 | 'circle' \| 'default' | - | -| autoAdjustOverflow | 气泡位置是否自适应 | boolean | true | -| #if ALIPAY onVisibleChange | 展示状态改变的勾子 | (visible: boolean) => void | - | -| #if ALIPAY onTapFeedItem | 反馈项点击回调 | (item: any) => void | - | -| #if WECHAT bind:visiblechange | 展示状态改变的勾子 | (visible: boolean) => void | - | -| #if WECHAT bind:tapfeeditem | 反馈项点击回调 | ([FeedItem](#feeditem): any) => void | - | - -### FeedItem - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | ---------------------------------------- | ------ | ------ | -| icon | 反馈项的图标 | string | - | -| text | 反馈项的文案 | string | - | -| image | 反馈项的图片 和 icon 互斥,优先展示 icon | string | - | -| id | 反馈项的唯一标识 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --feedback-text-color |
#333333
|
#c5cad1
| 反馈文本颜色 | -| --feedback-background-color |
rgba(216, 216, 216, 0.42)
|
rgba(216, 216, 216, 0.42)
| 反馈背景颜色 | -| --feedback-mask-color |
rgba(0, 0, 0, 0.25)
|
rgba(0, 0, 0, 0.25)
| 反馈遮罩颜色 | -| --feedback-content-background-color |
#ffffff
|
#1a1a1a
| 反馈内容背景颜色 | -| --feedback-list-background-color |
#f5f5f5
|
#121212
| 反馈列表背景颜色 | -| --feedback-list-text-color |
#333333
|
#c5cad1
| 反馈列表文本颜色 | diff --git a/compiled/alipay/src/Feedback/index.ts b/compiled/alipay/src/Feedback/index.ts deleted file mode 100644 index 35506758f..000000000 --- a/compiled/alipay/src/Feedback/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { resolveEventValue } from '../_util/platform'; -import { Component, triggerEvent } from '../_util/simply'; -import { FeedbackDefaultProps } from './props'; - -Component(FeedbackDefaultProps, { - handleVisibleChange(visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onTapFeedItem(e) { - const { item } = e.currentTarget.dataset; - triggerEvent(this, 'tapFeedItem', item, e); - }, - maskClick(e) { - triggerEvent(this, 'visibleChange', true, e); - }, -}); diff --git a/compiled/alipay/src/Feedback/props.ts b/compiled/alipay/src/Feedback/props.ts deleted file mode 100644 index f815c4094..000000000 --- a/compiled/alipay/src/Feedback/props.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 反馈,通过气泡和卡片的形式展示反馈的内容 - */ - -export interface FeedItem { - /** - * @description 反馈项的图标 - */ - icon?: string; - /** - * @description 反馈项的文案 - */ - text: string; - /** - * @description 反馈项的图片 和icon互斥 优先展示icon - */ - image?: string; - /** - * @description 反馈项的唯一标识 - */ - id?: string; -} -export interface IFeedbackProps extends IBaseProps { - /** - * @description 是否可见 - * @default false - */ - visible: boolean; - /** - * @description 反馈类型 - * @default card - */ - type: 'popover' | 'card' | 'float'; - /** - * @description 反馈的标题 - */ - title?: string; - /** - * @description 反馈气泡的位置 - * @default bottom-right - */ - placement: string; - /** - * @description 反馈的列表 - */ - list?: FeedItem[]; - /** - * @description 最外层的样式名 - */ - className: string; - /** - * @description 最外层的样式字符串 - */ - style: string; - /** - * @description 气泡反馈的引导样式 - */ - popoverType: 'circle' | 'default'; - /** - * @description 气泡位置是否自适应 - * @default true - */ - autoAdjustOverflow; - /** - * 展示状态改变的勾子 - * @param visible 反馈内容展示状态 - */ - onVisibleChange: (visible) => void; - /** - * 反馈项点击回调 - * @param item 点击的反馈项内容 - */ - onTapFeedItem: (item) => void; -} - -export const FeedbackDefaultProps: Partial = { - className: '', - title: '', - list: [], - type: 'card', - placement: 'bottom-right', - visible: null, - style: '', - popoverType: 'default', - autoAdjustOverflow: true, - onVisibleChange: () => {}, - onTapFeedItem: () => {}, -}; diff --git a/compiled/alipay/src/Feedback/variable.less b/compiled/alipay/src/Feedback/variable.less deleted file mode 100644 index 36ada7e35..000000000 --- a/compiled/alipay/src/Feedback/variable.less +++ /dev/null @@ -1,27 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 字体颜色 -@feedback-text-color: var(--feedback-text-color, @COLOR_TEXT_PRIMARY); - -// 背景颜色 -@feedback-background-color: var( - --feedback-background-color, - rgba(216, 216, 216, 0.42) -); -// mask颜色 -@feedback-mask-color: var(--feedback-mask-color, rgba(0, 0, 0, 0.25)); - -// content颜色 -@feedback-content-background-color: var( - --feedback-content-background-color, - @COLOR_CARD_DEFAULT -); - -// list背景色 -@feedback-list-background-color: var( - --feedback-list-background-color, - @COLOR_BACKGROUND_DEFAULT -); -// list字体颜色 -@feedback-list-text-color: var(--feedback-list-text-color @COLOR_TEXT_PRIMARY); diff --git a/compiled/alipay/src/Form/FormCascaderPicker/index.axml b/compiled/alipay/src/Form/FormCascaderPicker/index.axml deleted file mode 100644 index 706825acc..000000000 --- a/compiled/alipay/src/Form/FormCascaderPicker/index.axml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormCascaderPicker/index.json b/compiled/alipay/src/Form/FormCascaderPicker/index.json deleted file mode 100644 index 9cc26fa6a..000000000 --- a/compiled/alipay/src/Form/FormCascaderPicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-cascader-picker": "../../Picker/CascaderPicker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/alipay/src/Form/FormCascaderPicker/index.less b/compiled/alipay/src/Form/FormCascaderPicker/index.less deleted file mode 100644 index 12f156ccd..000000000 --- a/compiled/alipay/src/Form/FormCascaderPicker/index.less +++ /dev/null @@ -1,8 +0,0 @@ -@import (reference) '../variable.less'; -.ant-form-cascader-picker { - &-arrow { - margin-left: 8 * @rpx; - color: @form-text-color; - font-size: 36 * @rpx; - } -} diff --git a/compiled/alipay/src/Form/FormCascaderPicker/index.ts b/compiled/alipay/src/Form/FormCascaderPicker/index.ts deleted file mode 100644 index 4434080b9..000000000 --- a/compiled/alipay/src/Form/FormCascaderPicker/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormCascaderPickerDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - FormCascaderPickerDefaultProps, - { - onOk(value, option, e) { - const v = resolveEventValues(value, option); - this.emit('onChange', v[0]); - triggerEventValues(this, 'ok', v, e); - }, - onPickerChange(value, option, e) { - triggerEventValues( - this, - 'pickerChange', - resolveEventValues(value, option), - e - ); - }, - onVisibleChange(visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker(e) { - triggerEventOnly(this, 'cancel', e); - }, - onChange(value, options, e) { - triggerEventValues(this, 'change', resolveEventValues(value, options), e); - }, - handleFormat(value, option) { - const onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(value, option); - } - }, - }, - {}, - [createForm()], - { - } -); diff --git a/compiled/alipay/src/Form/FormCascaderPicker/props.ts b/compiled/alipay/src/Form/FormCascaderPicker/props.ts deleted file mode 100644 index 924717f0d..000000000 --- a/compiled/alipay/src/Form/FormCascaderPicker/props.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { - CascaderDefaultProps, - ICascaderProps, -} from '../../Picker/CascaderPicker/props'; -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; - -export interface FormCascaderPickerProps extends ICascaderProps, FormItemProps { - /** - * @description 箭头方向,不传表示没有箭头 - */ - arrow: boolean | 'right' | 'up' | 'down'; -} - -export const FormCascaderPickerDefaultProps: Partial = - { - ...FormItemDefaultProps, - ...CascaderDefaultProps, - arrow: false, - }; diff --git a/compiled/alipay/src/Form/FormCheckboxGroup/index.axml b/compiled/alipay/src/Form/FormCheckboxGroup/index.axml deleted file mode 100644 index ef3a3572a..000000000 --- a/compiled/alipay/src/Form/FormCheckboxGroup/index.axml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormCheckboxGroup/index.json b/compiled/alipay/src/Form/FormCheckboxGroup/index.json deleted file mode 100644 index a7aba7f79..000000000 --- a/compiled/alipay/src/Form/FormCheckboxGroup/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "checkbox-group": "../../Checkbox/CheckboxGroup/index" - } -} diff --git a/compiled/alipay/src/Form/FormCheckboxGroup/index.ts b/compiled/alipay/src/Form/FormCheckboxGroup/index.ts deleted file mode 100644 index 703fd3539..000000000 --- a/compiled/alipay/src/Form/FormCheckboxGroup/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { FormCheckboxGroupDefaultProps } from './props'; -import { resolveEventValue } from '../../_util/platform'; -import { createForm } from '../form'; - -Component( - FormCheckboxGroupDefaultProps, - { - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormCheckboxGroup/props.ts b/compiled/alipay/src/Form/FormCheckboxGroup/props.ts deleted file mode 100644 index 3321bd084..000000000 --- a/compiled/alipay/src/Form/FormCheckboxGroup/props.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { - CheckboxGroupDefaultProps, - ICheckboxGroupProps, -} from '../../Checkbox/CheckboxGroup/props'; - -export interface FormCheckboxGroupProps - extends Omit, - FormItemProps { - checkboxPosition?: ICheckboxGroupProps['position']; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { position, ...rest } = CheckboxGroupDefaultProps; -export const FormCheckboxGroupDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, - checkboxPosition: 'horizontal', -}; diff --git a/compiled/alipay/src/Form/FormDatePicker/index.axml b/compiled/alipay/src/Form/FormDatePicker/index.axml deleted file mode 100644 index 739a49523..000000000 --- a/compiled/alipay/src/Form/FormDatePicker/index.axml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormDatePicker/index.json b/compiled/alipay/src/Form/FormDatePicker/index.json deleted file mode 100644 index a99473a3c..000000000 --- a/compiled/alipay/src/Form/FormDatePicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-date-picker": "../../DatePicker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/alipay/src/Form/FormDatePicker/index.less b/compiled/alipay/src/Form/FormDatePicker/index.less deleted file mode 100644 index e42770730..000000000 --- a/compiled/alipay/src/Form/FormDatePicker/index.less +++ /dev/null @@ -1,8 +0,0 @@ -@import (reference) '../variable.less'; -.ant-form-date-picker { - &-arrow { - margin-left: 8 * @rpx; - color: @form-text-color; - font-size: 36 * @rpx; - } -} diff --git a/compiled/alipay/src/Form/FormDatePicker/index.ts b/compiled/alipay/src/Form/FormDatePicker/index.ts deleted file mode 100644 index 8bb9ad6a2..000000000 --- a/compiled/alipay/src/Form/FormDatePicker/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormDatePickerDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - FormDatePickerDefaultProps, - { - onOk(date, dateStr, e) { - const v = resolveEventValues(date, dateStr); - this.emit('onChange', v[0]); - triggerEventValues(this, 'ok', v, e); - }, - onPickerChange(date, dateStr, e) { - triggerEventValues( - this, - 'pickerChange', - resolveEventValues(date, dateStr), - e - ); - }, - onVisibleChange(visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker(e) { - triggerEventOnly(this, 'dismissPicker', e); - }, - - handleFormat(date, dateStr) { - const onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(date, dateStr); - } - }, - handleFormatLabel(type, value) { - const onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - if (onFormatLabel) { - return onFormatLabel(type, value); - } - }, - }, - {}, - [createForm()], - { - } -); diff --git a/compiled/alipay/src/Form/FormDatePicker/props.ts b/compiled/alipay/src/Form/FormDatePicker/props.ts deleted file mode 100644 index 491125606..000000000 --- a/compiled/alipay/src/Form/FormDatePicker/props.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { - DatePickerDefaultProps, - IDatePickerProps, -} from '../../DatePicker/props'; -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; - -export interface FormDatePickerProps extends IDatePickerProps, FormItemProps { - /** - * @description 箭头方向,不传表示没有箭头 - */ - arrow: boolean | 'right' | 'up' | 'down'; -} - -export const FormDatePickerDefaultProps: Partial = { - ...FormItemDefaultProps, - ...DatePickerDefaultProps, - arrow: false, -}; diff --git a/compiled/alipay/src/Form/FormImageUpload/index.axml b/compiled/alipay/src/Form/FormImageUpload/index.axml deleted file mode 100644 index 899107665..000000000 --- a/compiled/alipay/src/Form/FormImageUpload/index.axml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormImageUpload/index.json b/compiled/alipay/src/Form/FormImageUpload/index.json deleted file mode 100644 index c3adc9767..000000000 --- a/compiled/alipay/src/Form/FormImageUpload/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "image-upload": "../../ImageUpload/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormImageUpload/index.less b/compiled/alipay/src/Form/FormImageUpload/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormImageUpload/index.ts b/compiled/alipay/src/Form/FormImageUpload/index.ts deleted file mode 100644 index 88743ca4b..000000000 --- a/compiled/alipay/src/Form/FormImageUpload/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormImageUploadDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormImageUploadDefaultProps, - { - handleRef(imageUpload) { - this.imageUpload = imageUpload; - }, - onChange(value) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value)); - }, - onPreview(file) { - triggerEvent(this, 'preview', resolveEventValue(file)); - }, - onChooseImageError(err) { - triggerEvent(this, 'chooseImageError', resolveEventValue(err)); - }, - - handleUpload(localFile) { - const onUpload = getValueFromProps(this, 'onUpload'); - if (!onUpload) { - throw new Error('need props onUpload'); - } - return onUpload(localFile); - }, - handleRemove(file) { - const onRemove = getValueFromProps(this, 'onRemove'); - if (onRemove) { - return onRemove(file); - } - }, - handleBeforeUpload(localFileList) { - const onBeforeUpload = getValueFromProps(this, 'onBeforeUpload'); - if (onBeforeUpload) { - return onBeforeUpload(localFileList); - } - }, - }, - {}, - [ - createForm({ - methods: { - setFormData(this: any, values) { - this.setData({ - ...this.data, - formData: { - ...this.data.formData, - ...values, - }, - }); - this.imageUpload && this.imageUpload.update(this.data.formData.value); - }, - }, - }), - ], - { - } -); diff --git a/compiled/alipay/src/Form/FormImageUpload/props.ts b/compiled/alipay/src/Form/FormImageUpload/props.ts deleted file mode 100644 index fb3a2ad6d..000000000 --- a/compiled/alipay/src/Form/FormImageUpload/props.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { - IUploaderProps, - UploaderDefaultProps, -} from '../../ImageUpload/props'; - -export interface FormImageUploadProps - extends Omit, - FormItemProps {} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { defaultFileList, ...rest } = UploaderDefaultProps; -export const FormImageUploadDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, -}; diff --git a/compiled/alipay/src/Form/FormInput/index.axml b/compiled/alipay/src/Form/FormInput/index.axml deleted file mode 100644 index c43756dcc..000000000 --- a/compiled/alipay/src/Form/FormInput/index.axml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormInput/index.json b/compiled/alipay/src/Form/FormInput/index.json deleted file mode 100644 index c5ed09788..000000000 --- a/compiled/alipay/src/Form/FormInput/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-input": "../../Input/index" - } -} diff --git a/compiled/alipay/src/Form/FormInput/index.less b/compiled/alipay/src/Form/FormInput/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormInput/index.ts b/compiled/alipay/src/Form/FormInput/index.ts deleted file mode 100644 index 10442a590..000000000 --- a/compiled/alipay/src/Form/FormInput/index.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormInputDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormInputDefaultProps, - { - handleRef(input) { - this.input = input; - }, - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onBlur(value, e) { - triggerEvent(this, 'blur', resolveEventValue(value), e); - }, - onFocus(value, e) { - triggerEvent(this, 'focus', resolveEventValue(value), e); - }, - onConfirm(value, e) { - triggerEvent(this, 'confirm', resolveEventValue(value), e); - }, - }, - null, - [ - createForm({ - methods: { - setFormData(this: any, values) { - this.setData({ - ...this.data, - formData: { - ...this.data.formData, - ...values, - }, - }); - this.input && this.input.update(this.data.formData.value); - }, - }, - }), - ] -); diff --git a/compiled/alipay/src/Form/FormInput/props.ts b/compiled/alipay/src/Form/FormInput/props.ts deleted file mode 100644 index 4b8293287..000000000 --- a/compiled/alipay/src/Form/FormInput/props.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { FormItemProps, FormItemDefaultProps } from '../FormItem/props'; -import { InputProps, InputDefaultProps } from '../../Input/props'; - -export interface FormInputProps - extends Omit, - FormItemProps { - inputClassName: string; - inputClassStyle: string; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { value, defaultValue, name, ...rest } = InputDefaultProps; -export const FormInputDefaultProps: FormInputProps = { - ...FormItemDefaultProps, - ...rest, - inputClassName: '', - inputClassStyle: ' ', -}; diff --git a/compiled/alipay/src/Form/FormInput/variable.less b/compiled/alipay/src/Form/FormInput/variable.less deleted file mode 100644 index 194156ba3..000000000 --- a/compiled/alipay/src/Form/FormInput/variable.less +++ /dev/null @@ -1,10 +0,0 @@ -@import (reference) '../../style/themes/index.less'; - -// input 字体颜色 -@input-item-color: @COLOR_TEXT_PRIMARY; -// input 字体大小 -@input-item-size: @font-size-content; -// input placeholder 颜色 -@input-item-placeholder-color: @COLOR_TEXT_WEAK; -// input 清除 颜色 -@input-item-clear-color: @COLOR_TEXT_ASSIST; diff --git a/compiled/alipay/src/Form/FormItem/index.axml b/compiled/alipay/src/Form/FormItem/index.axml deleted file mode 100644 index 9178d7d34..000000000 --- a/compiled/alipay/src/Form/FormItem/index.axml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - {{label}} - - - {{tooltip}} - - - - - - - - - {{help || errors[0]}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormItem/index.json b/compiled/alipay/src/Form/FormItem/index.json deleted file mode 100644 index 12ce40723..000000000 --- a/compiled/alipay/src/Form/FormItem/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "popover": "../../Popover/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/alipay/src/Form/FormItem/index.less b/compiled/alipay/src/Form/FormItem/index.less deleted file mode 100644 index 7c3311d32..000000000 --- a/compiled/alipay/src/Form/FormItem/index.less +++ /dev/null @@ -1,161 +0,0 @@ -@import (reference) '../variable.less'; -@import '../../style/mixins/hairline.less'; - -.formItemLabelHorizontal() { - width: 170 * @rpx; - margin-right: 24 * @rpx; - color: @form-item-color; - font-size: 34 * @rpx; - line-height: 48 * @rpx; -} - -.formItemLabelVertical() { - font-size: 34 * @rpx; - line-height: 42 * @rpx; - color: @form-item-color; - margin-bottom: 8 * @rpx; -} - -.formItemContentHorizontal() { - display: flex; - align-items: center; -} - -.formItemFieldHorizontal() { - text-align: right; -} - -@formItemPrefix: ant-form-item; - -.@{formItemPrefix} { - background-color: @form-item-bg; - padding: 24 * @rpx 24 * @rpx 24 * @rpx 32 * @rpx; - position: relative; - .hairline('bottom'); - - &-line { - display: flex; - flex: 1; - align-items: center; - align-self: stretch; - max-width: 100%; - position: relative; - } - - &-content { - flex: 1; - - &-horizontal { - .formItemContentHorizontal(); - } - } - - &-error-info { - font-size: 13px; - color: @form-error-color; - line-height: 37 * @rpx; - text-align: left; - margin-top: 8 * @rpx; - } - - &-help-info { - font-size: 13px; - color: @form-item-color; - line-height: 37 * @rpx; - text-align: left; - margin-top: 8 * @rpx; - } - - &-label { - display: flex; - align-items: center; - font-size: 34 * @rpx; - line-height: 48 * @rpx; - overflow: visible; - position: relative; - - &-text { - display: flex; - align-items: center; - position: relative; - } - - &-help-content { - font-size: 30 * @rpx; - text-align: center; - white-space: nowrap; - } - - &-horizontal { - .formItemLabelHorizontal(); - } - - &-vertical { - .formItemLabelVertical(); - } - } - - &-field { - flex: 1; - - &-horizontal { - .formItemFieldHorizontal(); - } - } - - // &-other { - // display: flex; - // align-items: center; - // } - - &-extra { - display: flex; - align-items: center; - font-size: 32 * @rpx; - color: @form-extra-color; - } - - &-asterisk { - .@{formItemPrefix}-label-required .@{formItemPrefix}-label-text { - &::before { - content: '*'; - position: absolute; - left: -18 * @rpx; - font-size: 30 * @rpx; - color: @form-asterisk-color; - } - } - } - - &-text-required { - .@{formItemPrefix}-label-required .@{formItemPrefix}-label-text { - &::after { - padding-left: 4 * @rpx; - content: '(必填)'; - display: block; - left: -18 * @rpx; - font-size: 30 * @rpx; - color: @form-text-color; - } - } - } - - &-text-optional { - .@{formItemPrefix}-label .@{formItemPrefix}-label-text { - &::after { - padding-left: 4 * @rpx; - content: '(选填)'; - display: block; - left: -18 * @rpx; - font-size: 30 * @rpx; - color: @form-text-color; - } - } - - .@{formItemPrefix}-label-required .@{formItemPrefix}-label-text { - &::after { - content: none; - } - } - } -} diff --git a/compiled/alipay/src/Form/FormItem/index.ts b/compiled/alipay/src/Form/FormItem/index.ts deleted file mode 100644 index 76988ab1a..000000000 --- a/compiled/alipay/src/Form/FormItem/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Component } from '../../_util/simply'; -import { FormItemDefaultProps } from './props'; - -Component(FormItemDefaultProps, null, null, null, { -}); diff --git a/compiled/alipay/src/Form/FormItem/props.ts b/compiled/alipay/src/Form/FormItem/props.ts deleted file mode 100644 index 10cf56ced..000000000 --- a/compiled/alipay/src/Form/FormItem/props.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { IBaseProps } from '../../_util/base'; -import { ValidateStatus } from '../form'; - -export interface FormItemProps extends IBaseProps { - name: string; - label: string; - labelWidth: number; - position: 'horizontal' | 'vertical'; - validateStatus: ValidateStatus; - help: string; - requiredMark: 'asterisk' | 'text-required' | 'text-optional'; - status: 'default' | 'success' | 'error' | 'validating'; - errors: string[]; - tooltip?: string; - required?: boolean; - disabled?: boolean; - extra?: string; - message?: string; - dependencies?: string[]; -} - -export const FormItemDefaultProps: FormItemProps = { - name: null, - label: null, - labelWidth: null, - position: 'horizontal', - validateStatus: null, - help: null, - requiredMark: 'asterisk', - status: null, - errors: null, - tooltip: '', - required: false, - disabled: false, - extra: '', - message: null, - dependencies: null, -}; diff --git a/compiled/alipay/src/Form/FormPicker/index.axml b/compiled/alipay/src/Form/FormPicker/index.axml deleted file mode 100644 index 6a78a6bf1..000000000 --- a/compiled/alipay/src/Form/FormPicker/index.axml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormPicker/index.json b/compiled/alipay/src/Form/FormPicker/index.json deleted file mode 100644 index dc690762e..000000000 --- a/compiled/alipay/src/Form/FormPicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-picker": "../../Picker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/alipay/src/Form/FormPicker/index.less b/compiled/alipay/src/Form/FormPicker/index.less deleted file mode 100644 index ff4bffcc6..000000000 --- a/compiled/alipay/src/Form/FormPicker/index.less +++ /dev/null @@ -1,8 +0,0 @@ -@import (reference) '../variable.less'; -.ant-form-picker { - &-arrow { - margin-left: 8 * @rpx; - color: @form-text-color; - font-size: 36 * @rpx; - } -} diff --git a/compiled/alipay/src/Form/FormPicker/index.ts b/compiled/alipay/src/Form/FormPicker/index.ts deleted file mode 100644 index 245bb4ae1..000000000 --- a/compiled/alipay/src/Form/FormPicker/index.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormPickerDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - FormPickerDefaultProps, - { - onOk(value, column, e) { - const v = resolveEventValues(value, column); - this.emit('onChange', v[0]); - triggerEventValues(this, 'ok', v, e); - }, - onChange(value, column, e) { - triggerEventValues(this, 'change', resolveEventValues(value, column), e); - }, - onVisibleChange(visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker(e) { - triggerEventOnly(this, 'cancel', e); - }, - - handleFormat(value, column) { - const onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(value, column); - } - }, - }, - {}, - [createForm()], - { - } -); diff --git a/compiled/alipay/src/Form/FormPicker/props.ts b/compiled/alipay/src/Form/FormPicker/props.ts deleted file mode 100644 index 858ab1531..000000000 --- a/compiled/alipay/src/Form/FormPicker/props.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { IPickerProps, PickerDefaultProps } from '../../Picker/props'; -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; - -export interface FormPickerProps extends IPickerProps, FormItemProps { - /** - * @description 箭头方向,不传表示没有箭头 - */ - arrow: boolean | 'right' | 'up' | 'down'; -} - -export const FormPickerDefaultProps: Partial = { - ...FormItemDefaultProps, - ...PickerDefaultProps, - arrow: false, -}; diff --git a/compiled/alipay/src/Form/FormRadioGroup/index.axml b/compiled/alipay/src/Form/FormRadioGroup/index.axml deleted file mode 100644 index 786cc0731..000000000 --- a/compiled/alipay/src/Form/FormRadioGroup/index.axml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormRadioGroup/index.json b/compiled/alipay/src/Form/FormRadioGroup/index.json deleted file mode 100644 index 266076e3f..000000000 --- a/compiled/alipay/src/Form/FormRadioGroup/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-radio-group": "../../Radio/RadioGroup/index" - } -} diff --git a/compiled/alipay/src/Form/FormRadioGroup/index.ts b/compiled/alipay/src/Form/FormRadioGroup/index.ts deleted file mode 100644 index cd7cb476b..000000000 --- a/compiled/alipay/src/Form/FormRadioGroup/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormRadioGroupDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormRadioGroupDefaultProps, - { - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormRadioGroup/props.ts b/compiled/alipay/src/Form/FormRadioGroup/props.ts deleted file mode 100644 index 97f22cc74..000000000 --- a/compiled/alipay/src/Form/FormRadioGroup/props.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { - IRadioGroupProps, - RadioGroupDefaultProps, -} from '../../Radio/RadioGroup/props'; - -export interface FormRadioGroupProps - extends Omit< - IRadioGroupProps, - 'value' | 'defaultValue' | 'position' | 'name' - >, - FormItemProps { - radioPosition: IRadioGroupProps['position']; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { value, defaultValue, position, name, ...rest } = -RadioGroupDefaultProps; - -export const FormRadioGroupDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, - radioPosition: 'horizontal', -}; diff --git a/compiled/alipay/src/Form/FormRangePicker/index.axml b/compiled/alipay/src/Form/FormRangePicker/index.axml deleted file mode 100644 index 9e208c070..000000000 --- a/compiled/alipay/src/Form/FormRangePicker/index.axml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormRangePicker/index.json b/compiled/alipay/src/Form/FormRangePicker/index.json deleted file mode 100644 index 09d909562..000000000 --- a/compiled/alipay/src/Form/FormRangePicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-range-picker": "../../DatePicker/RangePicker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/alipay/src/Form/FormRangePicker/index.less b/compiled/alipay/src/Form/FormRangePicker/index.less deleted file mode 100644 index 7a8a54a26..000000000 --- a/compiled/alipay/src/Form/FormRangePicker/index.less +++ /dev/null @@ -1,8 +0,0 @@ -@import (reference) '../variable.less'; -.ant-form-range-picker { - &-arrow { - margin-left: 8 * @rpx; - color: @form-text-color; - font-size: 36 * @rpx; - } -} diff --git a/compiled/alipay/src/Form/FormRangePicker/index.ts b/compiled/alipay/src/Form/FormRangePicker/index.ts deleted file mode 100644 index 89ac38ebd..000000000 --- a/compiled/alipay/src/Form/FormRangePicker/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormRangePickerDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - FormRangePickerDefaultProps, - { - onOk(date, dateStr, e) { - const v = resolveEventValues(date, dateStr); - this.emit('onChange', v[0]); - triggerEventValues(this, 'ok', v, e); - }, - onPickerChange(type, date, dateStr, e) { - triggerEventValues( - this, - 'pickerChange', - resolveEventValues(type, date, dateStr), - e - ); - }, - onVisibleChange(visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker(e) { - triggerEventOnly(this, 'dismissPicker', e); - }, - - handleFormat(date, dateStr) { - const onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(date, dateStr); - } - }, - handleFormatLabel(type, value) { - const onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - if (onFormatLabel) { - return onFormatLabel(type, value); - } - }, - }, - {}, - [createForm()], - { - } -); diff --git a/compiled/alipay/src/Form/FormRangePicker/props.ts b/compiled/alipay/src/Form/FormRangePicker/props.ts deleted file mode 100644 index eba7a9cca..000000000 --- a/compiled/alipay/src/Form/FormRangePicker/props.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { IDateRangePickerProps } from '../../DatePicker/RangePicker/props'; -import { DateRangePickerDefaultProps } from '../../DatePicker/RangePicker/props'; - -export interface FormRangePickerProps - extends IDateRangePickerProps, - FormItemProps { - /** - * @description 箭头方向,不传表示没有箭头 - */ - arrow: boolean | 'right' | 'up' | 'down'; -} - -export const FormRangePickerDefaultProps: Partial = { - ...FormItemDefaultProps, - ...DateRangePickerDefaultProps, - arrow: false, -}; diff --git a/compiled/alipay/src/Form/FormRate/index.axml b/compiled/alipay/src/Form/FormRate/index.axml deleted file mode 100644 index a3ea63868..000000000 --- a/compiled/alipay/src/Form/FormRate/index.axml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormRate/index.json b/compiled/alipay/src/Form/FormRate/index.json deleted file mode 100644 index dc4b0a908..000000000 --- a/compiled/alipay/src/Form/FormRate/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-icon": "../../Icon/index", - "rate": "../../Rate/index" - } -} diff --git a/compiled/alipay/src/Form/FormRate/index.less b/compiled/alipay/src/Form/FormRate/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormRate/index.ts b/compiled/alipay/src/Form/FormRate/index.ts deleted file mode 100644 index c7cd8471d..000000000 --- a/compiled/alipay/src/Form/FormRate/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormRateDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormRateDefaultProps, - { - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormRate/props.ts b/compiled/alipay/src/Form/FormRate/props.ts deleted file mode 100644 index 3a121e4d9..000000000 --- a/compiled/alipay/src/Form/FormRate/props.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { IRateProps, RateDefaultProps } from '../../Rate/props'; - -export interface FormRateProps - extends Omit, - FormItemProps { - rateClassName?: string; - rateStyle?: string; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { defaultValue, ...rest } = RateDefaultProps; - -export const FormRateDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, - rateClassName: '', - rateStyle: '', -}; diff --git a/compiled/alipay/src/Form/FormSelector/index.axml b/compiled/alipay/src/Form/FormSelector/index.axml deleted file mode 100644 index 05b2a6c2b..000000000 --- a/compiled/alipay/src/Form/FormSelector/index.axml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormSelector/index.json b/compiled/alipay/src/Form/FormSelector/index.json deleted file mode 100644 index 7e631fbaf..000000000 --- a/compiled/alipay/src/Form/FormSelector/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "selector": "../../Selector/index" - } -} diff --git a/compiled/alipay/src/Form/FormSelector/index.ts b/compiled/alipay/src/Form/FormSelector/index.ts deleted file mode 100644 index 05665a750..000000000 --- a/compiled/alipay/src/Form/FormSelector/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Component, triggerEventValues } from '../../_util/simply'; -import { resolveEventValues } from '../../_util/platform'; -import { FormSelectorDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormSelectorDefaultProps, - { - onChange(value, item, e) { - const v = resolveEventValues(value, item); - this.emit('onChange', v[0]); - triggerEventValues(this, 'change', v, e); - }, - onSelectMax(value, item, e) { - triggerEventValues(this, 'selectMax', resolveEventValues(value, item), e); - }, - onSelectMin(value, item, e) { - triggerEventValues(this, 'selectMin', resolveEventValues(value, item), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormSelector/props.ts b/compiled/alipay/src/Form/FormSelector/props.ts deleted file mode 100644 index cb35bfff1..000000000 --- a/compiled/alipay/src/Form/FormSelector/props.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { ISelectorProps, SelectorDefaultProps } from '../../Selector/props'; - -export interface FormSelectorProps extends ISelectorProps, FormItemProps {} - -export const FormSelectorDefaultProps: Partial = { - ...FormItemDefaultProps, - ...SelectorDefaultProps, -}; diff --git a/compiled/alipay/src/Form/FormSlider/index.axml b/compiled/alipay/src/Form/FormSlider/index.axml deleted file mode 100644 index 3f8855022..000000000 --- a/compiled/alipay/src/Form/FormSlider/index.axml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormSlider/index.json b/compiled/alipay/src/Form/FormSlider/index.json deleted file mode 100644 index 85b540714..000000000 --- a/compiled/alipay/src/Form/FormSlider/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "slider": "../../Slider/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormSlider/index.less b/compiled/alipay/src/Form/FormSlider/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormSlider/index.ts b/compiled/alipay/src/Form/FormSlider/index.ts deleted file mode 100644 index faf1ee86a..000000000 --- a/compiled/alipay/src/Form/FormSlider/index.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormSliderDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormSliderDefaultProps, - { - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onAfterChange(value, e) { - triggerEvent(this, 'afterChange', resolveEventValue(value), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormSlider/props.ts b/compiled/alipay/src/Form/FormSlider/props.ts deleted file mode 100644 index 1936cfd9c..000000000 --- a/compiled/alipay/src/Form/FormSlider/props.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { ISliderProps, sliderDefaultProps } from '../../Slider/props'; - -export interface FormSliderProps - extends Omit, - FormItemProps { - sliderClassName: string; - sliderStyle: string; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { value, defaultValue, ...rest } = sliderDefaultProps; - -export const FormSliderDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, - sliderClassName: '', - sliderStyle: '', -}; diff --git a/compiled/alipay/src/Form/FormSlider/variable.less b/compiled/alipay/src/Form/FormSlider/variable.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormStepper/index.axml b/compiled/alipay/src/Form/FormStepper/index.axml deleted file mode 100644 index 952a9290e..000000000 --- a/compiled/alipay/src/Form/FormStepper/index.axml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormStepper/index.json b/compiled/alipay/src/Form/FormStepper/index.json deleted file mode 100644 index 2dbd1e5d2..000000000 --- a/compiled/alipay/src/Form/FormStepper/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "stepper": "../../Stepper/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormStepper/index.less b/compiled/alipay/src/Form/FormStepper/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormStepper/index.ts b/compiled/alipay/src/Form/FormStepper/index.ts deleted file mode 100644 index 5af8a241f..000000000 --- a/compiled/alipay/src/Form/FormStepper/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Component, triggerEvent, triggerEventOnly } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormStepperDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormStepperDefaultProps, - { - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onBlur(e) { - triggerEventOnly(this, 'blur', e); - }, - onFocus(e) { - triggerEventOnly(this, 'focus', e); - }, - onConfirm(value, e) { - triggerEvent(this, 'confirm', resolveEventValue(value), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormStepper/props.ts b/compiled/alipay/src/Form/FormStepper/props.ts deleted file mode 100644 index 70b6cbfac..000000000 --- a/compiled/alipay/src/Form/FormStepper/props.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { IStepperProps, StepperDefaultProps } from '../../Stepper/props'; - -export interface FormStepperProps - extends Omit, - FormItemProps { - stepperClassName: string; - stepperStyle: string; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { value, defaultValue, ...rest } = StepperDefaultProps; - -export const FormStepperDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, - stepperClassName: '', - stepperStyle: '', -}; diff --git a/compiled/alipay/src/Form/FormStepper/variable.less b/compiled/alipay/src/Form/FormStepper/variable.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormSwitch/index.axml b/compiled/alipay/src/Form/FormSwitch/index.axml deleted file mode 100644 index dde24e050..000000000 --- a/compiled/alipay/src/Form/FormSwitch/index.axml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormSwitch/index.json b/compiled/alipay/src/Form/FormSwitch/index.json deleted file mode 100644 index 8c5946e15..000000000 --- a/compiled/alipay/src/Form/FormSwitch/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "switch": "../../Switch/index" - } -} \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormSwitch/index.less b/compiled/alipay/src/Form/FormSwitch/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormSwitch/index.ts b/compiled/alipay/src/Form/FormSwitch/index.ts deleted file mode 100644 index 7463dbcb7..000000000 --- a/compiled/alipay/src/Form/FormSwitch/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormSwitchDefaultProps } from './props'; -import { createForm } from '../form'; - -Component( - FormSwitchDefaultProps, - { - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - }, - null, - [createForm()] -); diff --git a/compiled/alipay/src/Form/FormSwitch/props.ts b/compiled/alipay/src/Form/FormSwitch/props.ts deleted file mode 100644 index aace47688..000000000 --- a/compiled/alipay/src/Form/FormSwitch/props.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { FormItemDefaultProps, FormItemProps } from '../FormItem/props'; -import { ISwitchProps, SwitchDefaultProps } from '../../Switch/props'; - -export interface FormSwitchProps - extends Omit, - FormItemProps { - switchClassName: string; - switchStyle: string; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { checked, defaultChecked, ...rest } = SwitchDefaultProps; -export const FormSwitchDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, - switchClassName: '', - switchStyle: '', -}; diff --git a/compiled/alipay/src/Form/FormSwitch/variable.less b/compiled/alipay/src/Form/FormSwitch/variable.less deleted file mode 100644 index 194156ba3..000000000 --- a/compiled/alipay/src/Form/FormSwitch/variable.less +++ /dev/null @@ -1,10 +0,0 @@ -@import (reference) '../../style/themes/index.less'; - -// input 字体颜色 -@input-item-color: @COLOR_TEXT_PRIMARY; -// input 字体大小 -@input-item-size: @font-size-content; -// input placeholder 颜色 -@input-item-placeholder-color: @COLOR_TEXT_WEAK; -// input 清除 颜色 -@input-item-clear-color: @COLOR_TEXT_ASSIST; diff --git a/compiled/alipay/src/Form/FormTextarea/index.axml b/compiled/alipay/src/Form/FormTextarea/index.axml deleted file mode 100644 index c7d3fcffa..000000000 --- a/compiled/alipay/src/Form/FormTextarea/index.axml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Form/FormTextarea/index.json b/compiled/alipay/src/Form/FormTextarea/index.json deleted file mode 100644 index 11d1ec17a..000000000 --- a/compiled/alipay/src/Form/FormTextarea/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-textarea": "../../Input/Textarea/index" - } -} diff --git a/compiled/alipay/src/Form/FormTextarea/index.less b/compiled/alipay/src/Form/FormTextarea/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Form/FormTextarea/index.ts b/compiled/alipay/src/Form/FormTextarea/index.ts deleted file mode 100644 index e2df4568e..000000000 --- a/compiled/alipay/src/Form/FormTextarea/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, triggerEvent } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormTextareaDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - FormTextareaDefaultProps, - { - handleRef(input) { - this.input = input; - }, - onChange(value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onBlur(value, e) { - triggerEvent(this, 'blur', resolveEventValue(value), e); - }, - onFocus(value, e) { - triggerEvent(this, 'focus', resolveEventValue(value), e); - }, - onConfirm(value, e) { - triggerEvent(this, 'confirm', resolveEventValue(value), e); - }, - onClear(value, e) { - this.emit('onChange', ''); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - }, - null, - [ - createForm({ - methods: { - setFormData(this: any, values) { - this.setData({ - ...this.data, - formData: { - ...this.data.formData, - ...values, - }, - }); - this.input && this.input.update(this.data.formData.value); - }, - }, - }), - ] -); diff --git a/compiled/alipay/src/Form/FormTextarea/props.ts b/compiled/alipay/src/Form/FormTextarea/props.ts deleted file mode 100644 index 4ee6f12b6..000000000 --- a/compiled/alipay/src/Form/FormTextarea/props.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { FormItemDefaultProps } from './../FormItem/props'; -import { FormItemProps } from '../FormItem/props'; -import { - TextareaDefaultProps, - TextareaProps, -} from '../../Input/Textarea/props'; - -export interface FormTextareaProps - extends Omit, - FormItemProps {} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const { value, defaultValue, name, ...rest } = TextareaDefaultProps; -export const FormTextareaDefaultProps: Partial = { - ...FormItemDefaultProps, - ...rest, -}; diff --git a/compiled/alipay/src/Form/form.ts b/compiled/alipay/src/Form/form.ts deleted file mode 100644 index 31a8cf277..000000000 --- a/compiled/alipay/src/Form/form.ts +++ /dev/null @@ -1,916 +0,0 @@ -import AsyncValidator, { - InternalRuleItem, - Value, - Values, - Rule as RawRule, - Rules as RawRules, - RuleItem, - ValidateError, - ValidateMessages, -} from 'async-validator'; - -import set from '../_util/set'; -import get from '../_util/get'; -import { IMixin4Legacy } from '@mini-types/alipay'; -import { getValueFromProps } from '../_util/simply'; - -export { Value, Values }; -export type Validator = ( - rule: Omit, - value: Value -) => void | Promise; -export type ValidatorRender = (form: Form) => { - validator: Validator; -}; -export type FormRuleItem = Omit | ValidatorRender; -export type Rule = FormRuleItem | FormRuleItem[]; -export type Rules = Record; -export type FormConfig = { - rules?: Rules; - initialValues?: Values; - validateMessages?: ValidateMessages; -}; -export type ValidateStatus = 'default' | 'success' | 'error' | 'validating'; -export interface ValidatorStatus { - status: ValidateStatus; - errors: string[]; -} -export interface FromItemRef { - setFormData: (values: Values) => void; - getFormData: () => Values; - getProps: () => Record; - on: (callback: (trigger: EventTrigger, value?: Value) => void) => void; -} -export type ValidateTrigger = 'onChange' | 'onBlur' | 'onFocus'; -export type EventTrigger = - | ValidateTrigger - | 'didUnmount' - | 'deriveDataFromProps'; - -class EventEmitter { - public listenders: Record void)[]> = {}; - - on(event: string, listener: (...args: any) => void) { - this.listenders[event] = this.listenders[event] || []; - this.listenders[event].push(listener); - return this; - } - - emit(event: string, ...args: any) { - const arr = this.listenders[event]; - if (arr) { - arr.forEach((listener) => listener(...args)); - } - } -} - -class Field extends EventEmitter { - /** - * Field ref对象 - */ - private ref: FromItemRef; - - /** - * Field 名称 - */ - public name: string; - - /** - * 校验器 - */ - private validator: AsyncValidator; - - /** - * 是否被用户操作过 - */ - private touched: boolean; - - /** - * required - */ - private required: boolean; - - /** - * 触发验证的时机,submit不需要设置也会触发校验器 - */ - private validateTrigger: ValidateTrigger[]; - - private formRules: RawRule; - - /** - * Field构建 - * @param ref field ref对象 - * @param initialValue 初始值 - */ - constructor( - ref: FromItemRef, - name: string, - initialValues: Values, - rules: RawRules, - validateMessages: ValidateMessages, - required: boolean, - label: string, - message: string, - validateTrigger: ValidateTrigger - ) { - super(); - this.ref = ref; - this.formRules = rules; - this.create( - name, - get(initialValues, name), - rules[name], - validateMessages, - required, - label, - message, - validateTrigger - ); - this.ref.on((trigger, value, extraInfo?: any) => { - if (trigger === 'onChange') { - this.setValue(value); - this.touched = true; - this.emit('valueChange', value); - } else if (trigger === 'didUnmount') { - this.emit('didUnmount'); - } else if (trigger === 'deriveDataFromProps') { - const props = extraInfo ? extraInfo : this.ref.getProps(); - if ( - (value.name && value.name !== props.name) || - value.required !== props.required || - value.label !== props.label || - value.message !== props.message || - value.validateTrigger !== props.validateTrigger - ) { - this.create( - value.name, - get(initialValues, value.name), - this.formRules[value.name], - validateMessages, - value.required, - value.message, - value.label, - value.validateTrigger, - true - ); - } - if (value.name !== props.name) { - this.emit('replaceName', value.name); - } - } - this.validateTrigger.forEach((item) => { - if (item === trigger) { - this.validate(); - } - }); - }); - } - - create( - name: string, - initialValue: Value, - rule: RawRule, - validateMessages: ValidateMessages, - required: boolean, - label: string, - message: string, - validateTrigger: ValidateTrigger, - update?: boolean - ) { - this.name = name; - this.required = this.transformValidatorRules( - name, - rule, - required, - label, - message, - validateMessages - ); - if (!update) { - this.reset(initialValue); - } else { - this.ref.setFormData({ - required: this.required, - }); - } - let validateTriggerList: ValidateTrigger[] | ValidateTrigger = - validateTrigger || 'onChange'; - if (!Array.isArray(validateTriggerList)) { - validateTriggerList = [validateTriggerList]; - } - this.validateTrigger = validateTriggerList; - } - - updateFieldRules(rules: RawRule, validateMessages: ValidateMessages) { - const props = this.ref.getProps(); - this.formRules = rules; - this.create( - props.name, - null, - rules[props.name], - validateMessages, - props.required, - props.label, - props.message, - props.validateTrigger, - true - ); - } - - /** - * - * @param rule 修改 Validator - * @param name - * @param required - * @param message - * @param validateMessages - * @returns - */ - private transformValidatorRules( - name: string, - rule: RawRule, - required: boolean, - label: string, - message: string, - validateMessages: ValidateMessages - ) { - let requiredRule = false; - let validator: AsyncValidator; - if (rule) { - const ruleList = Array.isArray(rule) ? rule : [rule]; - const result = ruleList.find((item) => item.required); - if (result) { - if (message) { - result.message = message; - } - requiredRule = true; - } else if (required) { - ruleList.push({ - required, - // message 不允许为 null - message: message ?? undefined, - }); - requiredRule = true; - } - validator = new AsyncValidator({ - [name]: ruleList, - }); - } else if (required) { - validator = new AsyncValidator({ - [name]: { - required, - // message 不允许为 null - message: message ?? undefined, - }, - }); - requiredRule = true; - } - if (validator) { - const obj = { - label, - }; - Object.keys(validator.rules).forEach((name) => { - validator.rules[name].forEach((item) => { - if (typeof item.len !== 'undefined') { - obj['len'] = item.len; - } - if (typeof item.min !== 'undefined') { - obj['min'] = item.min; - } - if (typeof item.max !== 'undefined') { - obj['max'] = item.max; - } - if (typeof item.pattern !== 'undefined') { - obj['pattern'] = item.pattern; - } - }); - }); - validator.messages(this.transformValidateMessages(validateMessages, obj)); - } - this.validator = validator; - return requiredRule; - } - - private transformValidateMessages( - validateMessages: ValidateMessages, - obj: Partial<{ - label: string; - len: number; - min: number; - max: number; - pattern: RegExp | string; - }> - ) { - if (!validateMessages) { - return; - } - function replaceLabel( - validateMessages: ValidateMessages, - target: ValidateMessages - ) { - Object.keys(validateMessages).forEach((item) => { - if (typeof validateMessages[item] === 'string') { - target[item] = validateMessages[item].replace( - '${label}', - obj.label || '' - ); - if (typeof obj.len !== 'undefined') { - target[item] = target[item].replace('${len}', obj.len); - } - if (typeof obj.min !== 'undefined') { - target[item] = target[item].replace('${min}', obj.min); - } - if (typeof obj.max !== 'undefined') { - target[item] = target[item].replace('${max}', obj.max); - } - if (typeof obj.pattern !== 'undefined') { - target[item] = target[item].replace('${pattern}', obj.pattern); - } - return; - } - if (typeof validateMessages[item] === 'object') { - const val = (target[item] = {}); - replaceLabel(validateMessages[item], val); - return; - } - target[item] = validateMessages[item]; - }); - } - const messages: ValidateMessages = {}; - replaceLabel(validateMessages, messages); - return messages; - } - - /** - * 设置 Field 值 - * @param value Field 值 - */ - setValue(value: Value) { - this.ref.setFormData({ - value, - }); - } - - /** - * 得到 Field 值 - */ - getValue() { - const value = this.ref.getFormData().value; - return value; - } - - /** - * 设置 Field 校验器状态 - * @param validatorStatue - */ - setValidatorStatus(validatorStatue: ValidatorStatus) { - this.ref.setFormData(validatorStatue); - } - - /** - * 得到 Field 校验器状态 - * @returns - */ - getValidatorStatus(): ValidatorStatus { - const { status, errors } = this.ref.getFormData(); - return { - status, - errors, - }; - } - - /** - * 校验 Field - */ - async validate() { - const validatorStatusSuccess: ValidatorStatus = { - status: 'success', - errors: [] as string[], - }; - const value = this.getValue(); - if (!this.validator) { - this.setValidatorStatus(validatorStatusSuccess); - return { - validatorStatus: validatorStatusSuccess, - value, - }; - } - const validator = this.validator; - try { - let needUpdateStatus = true; - Promise.resolve().then(() => { - Promise.resolve().then(() => { - if (needUpdateStatus) { - this.setValidatorStatus({ - status: 'validating', - errors: [], - }); - } - }); - }); - await this.validator.validate( - { - [this.name]: value, - }, - () => { - needUpdateStatus = false; - } - ); - if (validator !== this.validator) { - return; - } - this.setValidatorStatus(validatorStatusSuccess); - return { - validatorStatus: validatorStatusSuccess, - value, - }; - } catch (err) { - if (validator !== this.validator) { - return; - } - const errors: ValidateError[] = err.errors; - const validatorStatus: ValidatorStatus = { - status: 'error', - errors: errors.map(({ message = '' }) => message), - }; - this.setValidatorStatus(validatorStatus); - return { - validatorStatus, - value, - }; - } - } - - /** - * 重置 Field - * @param initialValue - */ - reset(initialValue: Value) { - this.touched = false; - this.ref.setFormData({ - value: initialValue, - required: this.required, - status: 'default', - errors: [], - }); - } - - /** - * Field 是否被操作 - */ - isTouched() { - return this.touched; - } -} - -export class Form { - /** - * 表单初始值 - */ - private initialValues: Values; - - /** - * 原始规则,用户传入的跟之前的规则区别在于validator - */ - private rules: RawRules; - - /** - * 表单ref组件对象 - */ - private fields: Record = {}; - - /** - * 验证提示模板 - */ - private validateMessages: ValidateMessages; - - /** - * 表单字段 change侦听 - */ - private changeListeners: (( - changedValues: Values, - allValues: Values - ) => void)[] = []; - - /** - * 依赖表 - */ - private dependenciesMap: Record = {}; - /** - * Form构建 - * @param formConfig 表单配置项 - */ - constructor(formConfig: FormConfig = {}) { - this.setInitialValues(formConfig.initialValues || {}); - this.setRules(formConfig.rules || {}); - this.validateMessages = formConfig.validateMessages; - } - - /** - * 用户传入的rules转换成async-validator rules - * @param rules 校验规则 - */ - private transformRules(rules: Rules) { - const result: RawRules = {}; - Object.keys(rules).forEach((name) => { - const rule = rules[name]; - const list = (result[name] = []); - const arr = Array.isArray(rule) ? rule : [rule]; - arr.forEach((item) => { - if (typeof item === 'function') { - list.push(item(this).validator); - } else { - list.push({ - ...item, - }); - } - }); - }); - return result; - } - - /** - * 遍历表单field对象 - * @param callback - */ - private eachField(callback: (field: Field, name: string) => void) { - const fields = this.fields; - Object.keys(fields).forEach((name) => { - const field = fields[name]; - callback(field, name); - }); - } - - /** - * 更新 rules - * @param rules - */ - updateRules(rules: Rules) { - const rawRules = this.transformRules(rules); - this.rules = rawRules; - Object.keys(this.fields).forEach((name) => { - this.fields[name].updateFieldRules(rawRules, this.validateMessages); - }); - } - - /** - * 设置 rules - * @param rules - */ - private setRules(rules: Rules) { - this.rules = this.transformRules(rules); - } - - /** - * 添加表单对象 - * @param ref 表单ref对象 - */ - addItem(ref: FromItemRef, customName?: string) { - const props = ref.getProps(); - let name = customName || props.name; - if (!name) { - ref.on((trigger, value) => { - if (trigger === 'deriveDataFromProps') { - if (value.name) { - this.addItem(ref, value.name); - } - } - }); - return; - } - if (this.fields[name]) { - throw new Error(`Form "addItem" same name: "${name}"`); - } - const field = new Field( - ref, - name, - this.initialValues, - this.rules, - this.validateMessages, - props.required, - props.label, - props.message, - props.validateTrigger - ); - if (props.dependencies) { - props.dependencies.forEach((item) => { - this.dependenciesMap[item] = this.dependenciesMap[item] || []; - if (this.dependenciesMap[item].indexOf(name) < 0) { - this.dependenciesMap[item].push(name); - } - }); - } - field - .on('valueChange', (value) => { - if (name) { - const arr = this.dependenciesMap[name]; - if (arr) { - arr.forEach((item) => { - if (this.fields[item]) { - this.fields[item].validate(); - } - }); - } - this.changeListeners.forEach((item) => - item(set({}, name, value), this.getFieldsValue()) - ); - } - }) - .on('didUnmount', () => { - delete this.fields[name]; - }) - .on('replaceName', (newName) => { - if (!newName) { - delete this.fields[name]; - return; - } - if (this.fields[newName]) { - throw new Error(`Form "addItem" same name: "${newName}"`); - } - this.fields[newName] = field; - delete this.fields[name]; - name = newName; - }); - if (name) { - this.fields[name] = field; - } - } - - /** - * 设置表单值 - * @param name 表单名称 - * @param value 表单初始值 - */ - setFieldValue(name: string, value: Value) { - const field = this.fields[name]; - if (field) { - field.setValue(value); - field.setValidatorStatus({ - status: 'success', - errors: [], - }); - } - } - - /** - * 设置表单值 - * @param name 表单名称 - * @param value 表单初始值 - */ - setFieldsValue(values: Values) { - Object.keys(this.fields).forEach((name) => { - this.setFieldValue(name, get(values, name)); - }); - } - - /** - * 设置 initialValues,这个操作不会对页面进行修改,要是需要重置表单可跟上 reset 方法; - * 这样是对于表单已经在编辑,但是需要重新initialValues的场景 - * - * eg: - * this.setInitialValues(initialValues); - * this.reset(); - * - * @param initialValues - */ - setInitialValues(initialValues: Values) { - this.initialValues = initialValues; - } - - /** - * 获取对应字段名的值 - * @param name - * @returns - */ - getFieldValue(name: string) { - const field = this.fields[name]; - if (!field) { - return; - } - return field.getValue(); - } - - /** - * 获取一组字段名对应的值 - * @param nameList - * @returns - */ - getFieldsValue(nameList?: string[]) { - const fieldsValue: Values = {}; - nameList = nameList || Object.keys(this.fields); - nameList.forEach((name) => { - set(fieldsValue, name, this.getFieldValue(name)); - }); - return fieldsValue; - } - - /** - * 获取对应字段名的校验器状态 - * @param name - * @returns - */ - getFieldValidatorStatus(name: string) { - const field = this.fields[name]; - if (!field) { - return; - } - return field.getValidatorStatus(); - } - - /** - * 获取一组字段名的校验器状态 - * @param nameList - * @returns - */ - getFieldsValidatorStatus(nameList?: string[]) { - const fieldsValidatorStatus: Record = {}; - nameList = nameList || Object.keys(this.fields); - nameList.forEach((name) => { - fieldsValidatorStatus[name] = this.getFieldValidatorStatus(name); - }); - return fieldsValidatorStatus; - } - - /** - * 设置对应字段名的校验器状态 - * @param name 表单名称 - * @param validatorStatus 校验状态 - * @returns - */ - setFieldValidatorStatus(name: string, validatorStatus: ValidatorStatus) { - const field = this.fields[name]; - if (!field) { - return; - } - return field.setValidatorStatus(validatorStatus); - } - - /** - * 设置一组字段名的校验器状态 - * @param fieldsValidatorStatus 表单校验状态 - * @returns - */ - setFieldsValidatorStatus( - fieldsValidatorStatus: Record - ) { - Object.keys(fieldsValidatorStatus).forEach((name) => { - this.setFieldValidatorStatus(name, fieldsValidatorStatus[name]); - }); - } - - /** - * 检查对应字段是否被用户操作过 - * @param name 字段名称 - * @returns - */ - isFieldTouched(name: string) { - const field = this.fields[name]; - if (!field) { - return false; - } - return field.isTouched(); - } - - /** - * 指定表单字段值更新时触发回调方法 - * @param name 表单字段名称 - * @param callback 回调方法 - */ - onValueChange( - name: string, - callback: (value: Value, allValues: Values) => void - ) { - this.changeListeners.push((changedValues: Values, allValues: Values) => { - if (get(changedValues, name)) { - callback(get(changedValues, name), allValues); - } - }); - } - - /** - * 表单字段值更新时触发回调方法 - * @param name 表单字段名称 - * @param callback 回调方法 - */ - onValuesChange(callback: (changedValues: Values, allValues: Values) => void) { - this.changeListeners.push((changedValues: Values, allValues: Values) => { - callback(changedValues, allValues); - }); - } - - /** - * 表单提交 - */ - async submit() { - const values: Values = {}; - const arr: Promise<{ - validatorStatus: ValidatorStatus; - value: Value; - name: string; - }>[] = []; - this.eachField((field, name) => { - arr.push( - (async () => { - return { - ...(await field.validate()), - name, - }; - })() - ); - }); - const result = await Promise.all(arr); - const errorFields: { - name: string; - errors: string[]; - }[] = []; - result.forEach((obj) => { - if (!obj) { - return; - } - const { name, value, validatorStatus } = obj; - if (validatorStatus.status === 'error') { - errorFields.push({ - name, - errors: validatorStatus.errors, - }); - } - set(values, name, value); - }); - if (errorFields.length > 0) { - throw { - values, - errorFields, - }; - } - return values; - } - - /** - * 表单重置 - */ - reset() { - this.eachField((field, name) => { - const initialValue = get(this.initialValues, name); - field.reset(initialValue); - }); - } -} - -export function createForm({ methods = {} } = {}) { - let mixin = { - data: { - formData: { - value: undefined, - status: 'default', - errors: [], - }, - }, - - didUnmount() { - this.emit('didUnmount'); - }, - deriveDataFromProps(nextProps) { - this.emit('deriveDataFromProps', nextProps); - }, - methods: { - emit(trigger: EventTrigger, value?: Value) {}, - setFormData(values: Values) { - this.setData({ - ...this.data, - formData: { - ...this.data.formData, - ...values, - }, - }); - }, - getFormData() { - return this.data.formData; - }, - on(callback: (trigger: EventTrigger, value?: Value) => void) { - this.emit = callback; - }, - getProps() { - return getValueFromProps(this); - }, - ...methods, - }, - } as IMixin4Legacy< - { - formData: { - value: Value; - } & ValidatorStatus; - }, - Record, - { - emit(trigger: EventTrigger, value?: Value): void; - setFormData(values: Values): void; - getFormData(): { - value: Value; - } & ValidatorStatus; - on(callback: (trigger: EventTrigger, value?: Value) => void): void; - getProps: Record; - } - >; - - return mixin; -} diff --git a/compiled/alipay/src/Form/index.en.md b/compiled/alipay/src/Form/index.en.md deleted file mode 100644 index 7cff6cd32..000000000 --- a/compiled/alipay/src/Form/index.en.md +++ /dev/null @@ -1,394 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 12 -toc: 'content' ---- - -# Form - -The Form form contains data entry, validation, and corresponding styles. The Form component requires [component2](https://opendocs.alipay.com/mini/framework/custom-component-overview) Support. - -- Used to create entities or collect information. -- When the input data type needs to be verified. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-form": "antd-mini/es/Form/index" -#endif -#if WECHAT - "ant-form": "antd-mini/Form/index" -#endif -} -``` - -## Code example - -### Basic use - - - -### Layout - - - -### Initial value - - - -### Initial value asynchronous loading - - - -### Form listening - - - -### Calibration - - - -### Add Delete Form Item - - - -### Form Item Linkage - - - -### Custom Form Item Validation - - - -### Custom Form Validation Message - - - -### Multiple Forms - - - -### Picture verification - - - -### JSON Generate Form - - - -### Custom Error Styles - -Use `validateStatus: success` and `footer slot` Customize the error style. - - - -### Custom Form Item - -by using [FormItem](#formitem)、[createForm](#createform) Customizable form items. In the example `form-checklist`、`form-location` For custom form item components. - - - -### Demo Code - - - -## API - -### FormItem - -Properties Included in All Form Components -| Property | Description | Type | Default Value | -| -----|-----|-----|-----| -| dependencies | Set Dependent Fields, View[Detailed Description](#dependencies) | string[] | - | -| footer | Bottom slot, receiving errors, status | slot | - | -| name | Name | string | - | -| label | Text | string | - | -| labelWidth | Text Width | string | - | -| position | layout, optional `horizontal` `vertical` | string | horizontal | -| validateStatus | The verification status. If it is not set, it will be automatically generated according to the verification rules. Optional `default` `success` `error` `validating` | string | - | -| help | Prompt information, if not set, will be automatically generated according to the verification rules | string | - | -| header | Top slot, receiving errors, status | slot | - | -| tooltip | Form Item Prompt Information | string\|slot | - | -| required | Required style settings. If it is not set, it will be automatically generated according to the verification rules. | boolean | false | -| message | Verify the error message. If it is not set, it will be automatically generated according to the verification rules. | string | false | -| requiredMark | Required optional tag style, optional `asterisk` `text-required` `text-optional` | string | asterisk | - -### Form - -| Property | Description | Type | -| ---------------- | -------------- | ----------------------------------------- | -| rules | Optional, Validation Rules | View[rules](#rules) | -| initialValues | Optional, initial value | Record | -| validateMessages | Optional, Verify Message | View[validateMessages](#validatemessages) | - -### Form instance method - -| Property | Description | Type | -| ------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| addItem | Add Form Item | (formItem: Ref) => void | -| updateRules | To update the verification rules of the form, you need to pass in the full number of rules each time. | (rules: Rules) => void, the type of Rules can be viewed[rules](#rules) | -| getFieldValue | Get the value of a form item | (name: string) => any | -| getFieldsValue | Gets the value for a set of field names. If no nameList is passed, all fields pairs are returned. | (nameList?: string[]) => Record | -| getFieldValidatorStatus | Get form check status | (name: string) => [ValidatorStatus](#validatorstatus) | -| getFieldsValidatorStatus | Get a set of form validation states. If no nameList is passed, all fields pairs are returned. | (nameList?: string[]) => Record | -| reset | Reset form to initial value | () => void | -| isFieldTouched | Determine whether a form item has been modified | () => boolean | -| onValueChange | Listen for the value modification of the specified form item, view[Detailed Description](#onvaluechangeonvalueschange) | (name: string, (changedValue: any, allValues: Record) => void) => void | -| onValuesChange | Listen for the value modification of a form item, view[Detailed Description](#onvaluechangeonvalueschange) | ((changedValues: Record, allValues: Record) => void) => void | -| setFieldValue | Set the value of a form item | (name: string, value: any) => void; | -| setFieldsValue | Set the value of a form item | (values: Record) => void; | -| setFieldValidatorStatus | Set Form Verification Status | (name: string, validatorStatus: [ValidatorStatus](#validatorstatus)) => void | -| setFieldsValidatorStatus | Set a set of form validation states | (fieldsValidatorStatus: Record) => void | -| setInitialValues | Set Form Initial Values | (initialValues: Record) => void | -| submit | Submit the form, return the promise form value, and the verification error will be thrown. | () => Promise> | - -### dependencies - -Used when there is a dependency between fields. For example, the "Password" and "Confirm Password" fields of the registered user form, where the "Confirm Password" verification depends on the "Password" field. Setup `dependencies` After that, the "Password" field update will automatically trigger the "Confirm Password" verification. - -### rules - -Example: - -```javascript -{ - account: [ - { - required: true, - message: '需要输入用户名' - }, - ], - password: [ - { - required: true, - }, - ], - confirm: [ - { - required: true, - message: '需要输入确认密码' - }, - (form) => ({ - async validator(_, value) { - if (!value || form.getFieldValue('password') === value) { - return; - } - throw new Error('两次密码需一致'); - }, - }), - ] -} -``` - -`rules` can be in `new Form` can also be set in `FormItem` By `required` or `message` Property settings. - -```html - -``` - -### validateMessages - -can refer [Asynchronous validator](https://github.com/yiminghe/async-validator/blob/master/src/messages.ts#L4-L55) message,antd-mini added on this basis. `${label}`,`${len}`,`${min}`,`${max}`,`${pattern}`。 - -Example: - -```javascript -{ - required: '需要输入${label}', - string: { - min: '${label}最少${min}个字符', - }, - pattern: { - mismatch: '${label}需要满足${pattern}模式', - }, -} -``` - -### onValueChange and onValuesChange - -`setFieldValue` and `setFieldsValue` Will not trigger `onValueChange` and `onValuesChange`。`onValueChange` and `onValuesChange` It is only triggered when a user action is taken. If in `setFieldValue` or `setFieldsValue` then want to trigger `onValueChange` or `onValuesChange`you need to call these methods manually. - -**Example**: - -```js -const onValuesChangeCallback = (changedValues) => { - console.log(changedValues); -}; -this.form.onValuesChange(onValuesChangeCallback); -this.form.setFieldValue(name, value); -onValuesChangeCallback({ - [name]: value, -}); -``` - -### ValidatorStatus - -```js -type ValidatorStatus = { - status: 'default' | 'success' | 'error' | 'validating', - errors: string[], -}; -``` - -### submit checksum throws error - -```js -{ - values: Record, - errorFields: { - name: string; - errors: string[]; - }[] -} -``` - -### FormInput - -with `Input` Same. - -### FormTextarea - -with `Textarea` Same. - -### FormSwitch - -with `Switch` Same. - -### FormStepper - -with `Stepper` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ---------------- | --------------------------------- | ------ | ------ | -| stepperClassName | Corresponding `Stepper` Components `className` | string | - | -| stepperStyle | Corresponding `Stepper` Components `style` | string | - | - -### FormCheckGroup - -with `CheckGroup` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ---------------- | ----------------------------------- | ------ | ------ | -| checkboxLabel | Corresponding `CheckGroup` Components `label` | slot | - | -| checkboxPosition | Corresponding `CheckGroup` Components `position` | string | - | - -### FormRadioGroup - -with `RadioGroup` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ------------- | ----------------------------------- | ------ | ------ | -| radioLabel | Corresponding `RadioGroup` Components `label` | slot | - | -| radioPosition | Corresponding `RadioGroup` Components `position` | string | - | - -### FormPicker - -with `Picker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormDatePicker - -with `DatePicker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormRangePicker - -with `RangePicker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormCascaderPicker - -with `CascaderPicker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormSlider - -with `Slider` Same. - -### FormSelector - -with `Selector` Same. - -### FormImageUpload - -with `ImageUpload` Same. - -### createForm - -`createForm` is a `mixin`for custom form items. - -```js -import { createForm } from 'antd-mini/es/Form/form'; - -Component({ - mixins: [createForm()], - methods: { - onChange(value) { - this.emit('onChange', value); - }, - }, -}); -``` - -`createForm` The following is added to the component: - -- `data` - -```js -{ - formData: { - value: undefined, // 表单项的值 - status: 'default', // 表单项的Calibration状态,包括 `default`、`success`、`error`、`validating` - errors: [], // 错误信息 - }, -} -``` - -- `methods` - -```js -// 修改表单项时,需调用 `emit` 方法。Custom Form Item组件In值改变时,应该调用此方法。 -function emit(trigger: 'onChange' | 'onBlur' | 'onFocus', value: any): void; -``` - -For more methods, please refer `createForm` Method-related documentation. Use `formData` and `emit` The implementation of the custom form item is complete. - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --form-text-color |
#cccccc
|
#474747
| Form text color | -| --form-item-color |
#666666
|
#808080
| Form Item Color | -| --form-item-bg |
#ffffff
|
#1a1a1a
| Form Item Background Color | -| --form-error-color |
#ff3141
|
#ff4a58
| Form Error Color | -| --form-extra-color |
#999999
|
#616161
| Form extra information color | -| --form-asterisk-color |
#ff3b30
|
#ff3b30
| Form asterisk color | diff --git a/compiled/alipay/src/Form/index.md b/compiled/alipay/src/Form/index.md deleted file mode 100644 index 6b069370e..000000000 --- a/compiled/alipay/src/Form/index.md +++ /dev/null @@ -1,394 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 12 -toc: 'content' ---- - -# Form 表单 - -Form 表单包含数据录入、校验以及相应的样式。Form 组件需要 [component2](https://opendocs.alipay.com/mini/framework/custom-component-overview) 支持。 - -- 用于创建实体或收集信息。 -- 需要对输入的数据类型进行校验时。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-form": "antd-mini/es/Form/index" -#endif -#if WECHAT - "ant-form": "antd-mini/Form/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - - - -### 布局 - - - -### 初始值 - - - -### 初始值异步加载 - - - -### 表单侦听 - - - -### 校验 - - - -### 增加删除表单项 - - - -### 表单项联动 - - - -### 自定义表单项校验 - - - -### 自定义表单校验消息 - - - -### 多个表单 - - - -### 图片校验 - - - -### JSON 生成表单 - - - -### 自定义错误样式 - -使用 `validateStatus: success` 及 `footer slot` 来自定义错误样式。 - - - -### 自定义表单项 - -通过使用 [FormItem](#formitem)、[createForm](#createform) 可自定义表单项。示例里 `form-checklist`、`form-location` 为自定义表单项组件。 - - - -### Demo 代码 - - - -## API - -### FormItem - -所有 Form 组件都包括的属性 -| 属性 | 说明 | 类型 | 默认值 | -| -----|-----|-----|-----| -| dependencies | 设置依赖字段,查看[详细说明](#dependencies) | string[] | - | -| footer | 底部 slot,接收 errors、status | slot | - | -| name | 名称 | string | - | -| label | 文本 | string | - | -| labelWidth | 文本宽度 | string | - | -| position | 布局,可选 `horizontal` `vertical` | string | horizontal | -| validateStatus | 校验状态,如不设置,则会根据校验规则自动生成,可选 `default` `success` `error` `validating` | string | - | -| help | 提示信息,如不设置,则会根据校验规则自动生成 | string | - | -| header | 顶部 slot,接收 errors、status | slot | - | -| tooltip | 表单项提示信息 | string\|slot | - | -| required | 必填样式设置。如不设置,则会根据校验规则自动生成 | boolean | false | -| message | 校验错误信息。如不设置,则会根据校验规则自动生成 | string | false | -| requiredMark | 必填选填的标记样式,可选 `asterisk` `text-required` `text-optional` | string | asterisk | - -### Form - -| 属性 | 说明 | 类型 | -| ---------------- | -------------- | ----------------------------------------- | -| rules | 可选,校验规则 | 查看[rules](#rules) | -| initialValues | 可选,初始值 | Record | -| validateMessages | 可选,校验消息 | 查看[validateMessages](#validatemessages) | - -### Form 实例方法 - -| 属性 | 说明 | 类型 | -| ------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| addItem | 添加表单项 | (formItem: Ref) => void | -| updateRules | 更新 form 的校验规则,每次都需要传入全量的 rules | (rules: Rules) => void, Rules 的类型可以查看[rules](#rules) | -| getFieldValue | 得到表单项的值 | (name: string) => any | -| getFieldsValue | 获取一组字段名对应的值。不传 nameList 则返回全部 fields 对 | (nameList?: string[]) => Record | -| getFieldValidatorStatus | 得到表单校验状态 | (name: string) => [ValidatorStatus](#validatorstatus) | -| getFieldsValidatorStatus | 得到一组表单校验状态。不传 nameList 则返回全部 fields 对 | (nameList?: string[]) => Record | -| reset | 重置表单为初始值 | () => void | -| isFieldTouched | 判断表单项是否被修改过 | () => boolean | -| onValueChange | 侦听指定表单项的值修改,查看[详细说明](#onvaluechangeonvalueschange) | (name: string, (changedValue: any, allValues: Record) => void) => void | -| onValuesChange | 侦听表单项的值修改,查看[详细说明](#onvaluechangeonvalueschange) | ((changedValues: Record, allValues: Record) => void) => void | -| setFieldValue | 设置表单项的值 | (name: string, value: any) => void; | -| setFieldsValue | 设置表单项的值 | (values: Record) => void; | -| setFieldValidatorStatus | 设置表单校验状态 | (name: string, validatorStatus: [ValidatorStatus](#validatorstatus)) => void | -| setFieldsValidatorStatus | 设置一组表单校验状态 | (fieldsValidatorStatus: Record) => void | -| setInitialValues | 设置表单初始值 | (initialValues: Record) => void | -| submit | 提交表单,返回 promise 表单值,校验错误会抛出 | () => Promise> | - -### dependencies - -当字段间存在依赖关系时使用。例如注册用户表单的“密码”与“确认密码”字段,其中“确认密码”校验依赖于“密码”字段。设置 `dependencies` 后,“密码”字段更新将自动触发“确认密码”的校验。 - -### rules - -示例: - -```javascript -{ - account: [ - { - required: true, - message: '需要输入用户名' - }, - ], - password: [ - { - required: true, - }, - ], - confirm: [ - { - required: true, - message: '需要输入确认密码' - }, - (form) => ({ - async validator(_, value) { - if (!value || form.getFieldValue('password') === value) { - return; - } - throw new Error('两次密码需一致'); - }, - }), - ] -} -``` - -`rules` 可以在 `new Form` 中设置,也可以在 `FormItem` 通过 `required` 或 `message` 属性设置。 - -```html - -``` - -### validateMessages - -可以参考 [Asynchronous validator](https://github.com/yiminghe/async-validator/blob/master/src/messages.ts#L4-L55) 的 message,antd-mini 在此基础上加了 `${label}`,`${len}`,`${min}`,`${max}`,`${pattern}`。 - -示例: - -```javascript -{ - required: '需要输入${label}', - string: { - min: '${label}最少${min}个字符', - }, - pattern: { - mismatch: '${label}需要满足${pattern}模式', - }, -} -``` - -### onValueChange 和 onValuesChange - -`setFieldValue` 和 `setFieldsValue` 不会触发 `onValueChange` 和 `onValuesChange`。`onValueChange` 和 `onValuesChange` 只有在用户操作时才会被触发。如果在 `setFieldValue` 或 `setFieldsValue` 之后想要触发 `onValueChange` 或 `onValuesChange`,你需要手动调用这些方法。 - -**示例**: - -```js -const onValuesChangeCallback = (changedValues) => { - console.log(changedValues); -}; -this.form.onValuesChange(onValuesChangeCallback); -this.form.setFieldValue(name, value); -onValuesChangeCallback({ - [name]: value, -}); -``` - -### ValidatorStatus - -```js -type ValidatorStatus = { - status: 'default' | 'success' | 'error' | 'validating', - errors: string[], -}; -``` - -### submit 校验和抛出错误 - -```js -{ - values: Record, - errorFields: { - name: string; - errors: string[]; - }[] -} -``` - -### FormInput - -与 `Input` 相同。 - -### FormTextarea - -与 `Textarea` 相同。 - -### FormSwitch - -与 `Switch` 相同。 - -### FormStepper - -与 `Stepper` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------- | --------------------------------- | ------ | ------ | -| stepperClassName | 对应 `Stepper` 组件的 `className` | string | - | -| stepperStyle | 对应 `Stepper` 组件的 `style` | string | - | - -### FormCheckGroup - -与 `CheckGroup` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------- | ----------------------------------- | ------ | ------ | -| checkboxLabel | 对应 `CheckGroup` 组件的 `label` | slot | - | -| checkboxPosition | 对应 `CheckGroup` 组件的 `position` | string | - | - -### FormRadioGroup - -与 `RadioGroup` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ------------- | ----------------------------------- | ------ | ------ | -| radioLabel | 对应 `RadioGroup` 组件的 `label` | slot | - | -| radioPosition | 对应 `RadioGroup` 组件的 `position` | string | - | - -### FormPicker - -与 `Picker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormDatePicker - -与 `DatePicker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormRangePicker - -与 `RangePicker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormCascaderPicker - -与 `CascaderPicker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormSlider - -与 `Slider` 相同。 - -### FormSelector - -与 `Selector` 相同。 - -### FormImageUpload - -与 `ImageUpload` 相同。 - -### createForm - -`createForm` 是一个 `mixin`,用于自定义表单项。 - -```js -import { createForm } from 'antd-mini/es/Form/form'; - -Component({ - mixins: [createForm()], - methods: { - onChange(value) { - this.emit('onChange', value); - }, - }, -}); -``` - -`createForm` 会为组件增加以下内容: - -- `data` - -```js -{ - formData: { - value: undefined, // 表单项的值 - status: 'default', // 表单项的校验状态,包括 `default`、`success`、`error`、`validating` - errors: [], // 错误信息 - }, -} -``` - -- `methods` - -```js -// 修改表单项时,需调用 `emit` 方法。自定义表单项组件在值改变时,应该调用此方法。 -function emit(trigger: 'onChange' | 'onBlur' | 'onFocus', value: any): void; -``` - -想要了解更多方法,请参考 `createForm` 方法相关文档。使用 `formData` 和 `emit` 即可完成自定义表单项的实现。 - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --form-text-color |
#cccccc
|
#474747
| 表单文本颜色 | -| --form-item-color |
#666666
|
#808080
| 表单项颜色 | -| --form-item-bg |
#ffffff
|
#1a1a1a
| 表单项背景颜色 | -| --form-error-color |
#ff3141
|
#ff4a58
| 表单错误颜色 | -| --form-extra-color |
#999999
|
#616161
| 表单额外信息颜色 | -| --form-asterisk-color |
#ff3b30
|
#ff3b30
| 表单星号颜色 | diff --git a/compiled/alipay/src/Form/variable.less b/compiled/alipay/src/Form/variable.less deleted file mode 100644 index c208666f4..000000000 --- a/compiled/alipay/src/Form/variable.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 字体颜色 -@form-text-color: var(--form-text-color, @COLOR_TEXT_WEAK); - -@form-item-color: var(--form-item-color, @COLOR_TEXT_SECONDARY); - -@form-item-bg: var(--form-item-bg, @COLOR_CARD); - -@form-error-color: var(--color-red, @COLOR_RED); - -@form-extra-color: var(--form-extra-color, @COLOR_TEXT_ASSIST); - -@form-asterisk-color: var(--form-asterisk-color, @COLOR_TEXT_WARNING); diff --git a/compiled/alipay/src/Grid/index.axml b/compiled/alipay/src/Grid/index.axml deleted file mode 100644 index 5d2b07b22..000000000 --- a/compiled/alipay/src/Grid/index.axml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - {{item.title}} - - - - - {{item.description}} - - - - - - - - - - - - - - - - - - - {{item.title}} - - - - - {{item.description}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Grid/index.en.md b/compiled/alipay/src/Grid/index.en.md deleted file mode 100644 index 9880a1823..000000000 --- a/compiled/alipay/src/Grid/index.en.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# Grid - -The palace is used for navigation of multiple sub-functions in the business and has a higher screen effect than the form of a list. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-grid": "antd-mini/es/Grid/index" -#endif -#if WECHAT - "ant-grid": "antd-mini/Grid/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### 3 Columns-With Description - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - ], - }, -}); -``` - -### element horizontal layout - -```xml - -``` - -### Custom - -```xml -#if ALIPAY - - - - - - - - - Item {{props.index 1}} - - - Description {{props.index 1}} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Grid In微信暂时不支持 Slot -#endif -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | ------------------------------------------------------ | ------------------------------------- | ---------- | -| className | Class Name | string | - | -| columns | The number of elements displayed per row,`default` Mode effective | number | 5 | -| description | Description slot, receiving value, index | slot | - | -| gridItemLayout | item layout, optional `vertical`(Vertical)`horizontal`(Horizontal) | string | `vertical` | -| icon | Icon slot, receiving value, index | slot | - | -| iconSize | Icon size in px | number | - | -| iconStyle | Icon style type, optional `normal` `circle` | string | `normal` | -| items | Content Text | [GridItem](#griditem)[] | - | -| mode | Style type, optional `default`(Tile)`scroll`(Sliding) | string | `default` | -| paginationFillColor | Page break background color,`scroll` Mode effective | string | - | -| paginationFrontColor | Page break color,`scroll` Mode effective | string | - | -| showDivider | Show split line | boolean | - | -| style | Style | string | - | -| title | Header slot, receiving value, index | slot | - | -| #if ALIPAY onTap | Click on each element to trigger | (item: [GridItem](#griditem)) => void | | -| #if ALIPAY onFirstAppear | Triggered when the first visible area of the current element reaches 50% | (item: [GridItem](#griditem)) => void | | -| #if WECHAT bind:tap | Click on each element to trigger | (item: [GridItem](#griditem)) => void | - | -| #if WECHAT bind:firstappear | Triggered when the first visible area of the current element reaches 50% | (item: [GridItem](#griditem)) => void | - | - -#### GridItem - -| Parameters | Description | Type | Default Value | -| ----------- | ----------------------------------------------------- | ------ | ------ | -| description | Description | string | - | -| icon | icons, support images and [Icon](./Icon) | string | - | -| iconStyle | Icon style type, with priority higher than grid, optional `normal` `circle` | string | - | -| title | Title | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --ant-grid-title-color |
#333333
|
#c5cad1
| Grid Title Color | -| --ant-grid-description-color |
#999999
|
#616161
| Grid Description Color | -| --ant-grid-border-color |
#eeeeee
|
#2b2b2b
| Grid Border Color | diff --git a/compiled/alipay/src/Grid/index.json b/compiled/alipay/src/Grid/index.json deleted file mode 100644 index bf001147d..000000000 --- a/compiled/alipay/src/Grid/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "image-icon": "../ImageIcon/index", - "ant-pagination": "../Pagination/index" - } -} diff --git a/compiled/alipay/src/Grid/index.less b/compiled/alipay/src/Grid/index.less deleted file mode 100644 index 673fa4654..000000000 --- a/compiled/alipay/src/Grid/index.less +++ /dev/null @@ -1,116 +0,0 @@ -@import (reference) './variable.less'; - -.@{gridPrefix} { - padding: 24 * @rpx; - box-sizing: border-box; - &-columns-3 { - padding: 24 * @rpx 0; - } - &-default { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - } - &-scroll { - display: flex; - flex-wrap: nowrap; - align-items: flex-start; - } - &-item { - box-sizing: border-box; - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - flex-shrink: 0; - position: relative; - &-line { - .hairline('right',@border-color); - } - &-vertical-space { - margin-bottom: @vertical-space; - } - &-columns-5 { - width: 20%; - } - &-columns-4 { - width: 25%; - } - &-columns-3 { - width: 33.3%; - } - &-columns-2 { - width: 50%; - } - &-horizontal { - justify-content: center; - text-align: left; - position: relative; - min-height: @icon-size; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: row; - .@{gridPrefix}-item-info { - padding-left: 16 * @rpx; - display: flex; - justify-content: center; - align-items: flex-start; - flex-direction: column; - } - .@{gridPrefix}-item-img, - .@{gridPrefix}-item-icon { - display: flex; - justify-content: center; - align-items: center; - } - .@{gridPrefix}-item-title { - margin-top: 0; - } - } - &-vertical { - .@{gridPrefix}-item-description { - padding-top: 4 * @rpx; - } - } - &-columns-scroll { - width: @columnsscroll-width; - } - &-icon { - &-circle { - border-radius: 50%; - overflow: hidden; - } - &-icon { - font-size: @icon-size; - } - &-image { - width: @icon-size; - height: @icon-size; - } - } - &-title { - font-size: 30 * @rpx; - color: @title-color; - line-height: 42 * @rpx; - width: 100%; - margin-top: 16 * @rpx; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - &-description { - font-size: @description-size; - color: @description-color; - line-height: 33 * @rpx; - width: 100%; - padding-top: 4 * @rpx; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - &:empty { - display: none; - } - } - } -} diff --git a/compiled/alipay/src/Grid/index.md b/compiled/alipay/src/Grid/index.md deleted file mode 100644 index f86db794e..000000000 --- a/compiled/alipay/src/Grid/index.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# Grid 宫格 - -宫格用于业务中多个子功能的导航,相比于列表的形式,具有更高的屏效。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-grid": "antd-mini/es/Grid/index" -#endif -#if WECHAT - "ant-grid": "antd-mini/Grid/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### 3 列-带描述 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - ], - }, -}); -``` - -### 元素横向布局 - -```xml - -``` - -### 自定义 - -```xml -#if ALIPAY - - - - - - - - - 第{{ props.index + 1 }}项 - - - 描述{{ props.index + 1 }} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Grid 在微信暂时不支持 Slot -#endif -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | ------------------------------------------------------ | ------------------------------------- | ---------- | -| className | 类名 | string | - | -| columns | 每行展示的元素个数,`default` 模式生效 | number | 5 | -| description | 描述插槽,接收 value、index | slot | - | -| gridItemLayout | item 布局,可选 `vertical`(垂直)`horizontal`(水平) | string | `vertical` | -| icon | 图标插槽,接收 value、index | slot | - | -| iconSize | 图标尺寸,单位 px | number | - | -| iconStyle | 图标样式类型,可选 `normal` `circle` | string | `normal` | -| items | 内容文字 | [GridItem](#griditem)[] | - | -| mode | 样式类型,可选 `default`(平铺)`scroll`(滑动) | string | `default` | -| paginationFillColor | 分页符背景色,`scroll` 模式生效 | string | - | -| paginationFrontColor | 分页符颜色,`scroll` 模式生效 | string | - | -| showDivider | 是否展示分割线 | boolean | - | -| style | 样式 | string | - | -| title | 标题插槽,接收 value、index | slot | - | -| #if ALIPAY onTap | 点击每个元素触发 | (item: [GridItem](#griditem)) => void | | -| #if ALIPAY onFirstAppear | 当前元素首次可见面积达到 50% 时触发 | (item: [GridItem](#griditem)) => void | | -| #if WECHAT bind:tap | 点击每个元素触发 | (item: [GridItem](#griditem)) => void | - | -| #if WECHAT bind:firstappear | 当前元素首次可见面积达到 50% 时触发 | (item: [GridItem](#griditem)) => void | - | - -#### GridItem - -| 参数 | 说明 | 类型 | 默认值 | -| ----------- | ----------------------------------------------------- | ------ | ------ | -| description | 描述 | string | - | -| icon | 图标,支持图片和 [Icon](./Icon) | string | - | -| iconStyle | 图标样式类型,优先级高于 grid,可选 `normal` `circle` | string | - | -| title | 标题 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --ant-grid-title-color |
#333333
|
#c5cad1
| 网格标题颜色 | -| --ant-grid-description-color |
#999999
|
#616161
| 网格描述颜色 | -| --ant-grid-border-color |
#eeeeee
|
#2b2b2b
| 网格边框颜色 | diff --git a/compiled/alipay/src/Grid/index.sjs b/compiled/alipay/src/Grid/index.sjs deleted file mode 100644 index 26cf4ec52..000000000 --- a/compiled/alipay/src/Grid/index.sjs +++ /dev/null @@ -1,25 +0,0 @@ -function checkNeedVerticalSpace(count, index, columns) { - if (count % columns === 0) { - return index < count - columns; - } else { - return index < columns * Math.floor(count / columns); - } -} -function checkShowSplitLine(index, count, columns, mode, showDivider) { - if (!showDivider) { - return false; - } - if (index === count - 1) { - return false; - } - if (mode === 'default') { - if ((index + 1) % columns === 0) { - return false; - } - } - return true; -} -export default { - checkNeedVerticalSpace: checkNeedVerticalSpace, - checkShowSplitLine: checkShowSplitLine -}; \ No newline at end of file diff --git a/compiled/alipay/src/Grid/index.ts b/compiled/alipay/src/Grid/index.ts deleted file mode 100644 index b50bacbe2..000000000 --- a/compiled/alipay/src/Grid/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Component, IPlatformEvent, triggerEvent } from '../_util/simply'; -import { GridFunctionalProps } from './props'; - -Component(GridFunctionalProps, { - onTap(e: IPlatformEvent) { - const { item } = e.target.dataset; - triggerEvent(this, 'tap', item); - }, - onFirstAppear(e: IPlatformEvent) { - const { item } = e.target.dataset; - triggerEvent(this, 'firstAppear', item); - } -}) \ No newline at end of file diff --git a/compiled/alipay/src/Grid/props.ts b/compiled/alipay/src/Grid/props.ts deleted file mode 100644 index 378422637..000000000 --- a/compiled/alipay/src/Grid/props.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface IGridItem { - /** - * @description 主文案 - */ - title: string; - /** - * @description 副文案 - */ - description?: string; - /** - * @description 图标 - */ - icon: string; - /** - * @desscription 图标样式 - * @default 'normal' - */ - iconStyle: 'normal' | 'circle'; -} -/** - * @description 宫格 - */ -export interface IGridProps extends IBaseProps { - /** - * @desscription 图标样式 - * @default 'normal' - */ - iconStyle: 'normal' | 'circle'; - /** - * @description 图标尺寸,单位px - */ - iconSize: number; - /** - * @description item布局。垂直/水平,水平仅columns=2生效 - * @default 'vertical' - */ - gridItemLayout: 'vertical' | 'horizontal'; - /** - * @description 组合形式 - * @default 'default' - */ - mode: 'default' | 'scroll'; - /** - * @description 每行展示的元素个数 - * @default 5 - */ - columns: number; - /** - * @description 元素列表 - */ - items: IGridItem[]; - /** - * @description 是否展示分割线 - */ - showDivider: boolean; - /** - * @description 分页符背景色 - * @default '#ddd' - */ - paginationFillColor: string; - /** - * @description 分页符颜色 - * @default '#1677ff' - */ - paginationFrontColor: string; - /** - * @description 点击事件 - * @param item - */ - onTap?(item: IGridItem): void; - /** - * @description 当前元素首次可见面积达到50%时触发 - * @param item - */ - onFirstAppear?(item: IGridItem): void; -} - -export const GridDefaultProps: Partial = { - iconStyle: 'normal', - mode: 'default', - columns: 5, - gridItemLayout: 'vertical', - showDivider: false, -}; - -export const GridFunctionalProps: IGridProps = { - iconStyle: 'normal', - iconSize: null, - gridItemLayout: 'vertical', - mode: 'default', - columns: 5, - items: [], - showDivider: false, - paginationFrontColor: '', - paginationFillColor: '', -}; diff --git a/compiled/alipay/src/Grid/variable.less b/compiled/alipay/src/Grid/variable.less deleted file mode 100644 index e3bdb07d7..000000000 --- a/compiled/alipay/src/Grid/variable.less +++ /dev/null @@ -1,19 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; -@import (reference) '../style/mixins/hairline.less'; - -@gridPrefix: ant-grid; - -@icon-size: 56 * @rpx; - -@title-color: var(--ant-grid-title-color, @COLOR_TEXT_PRIMARY); - -@description-size: 24 * @rpx; - -@description-color: var(--ant-grid-description-color, @COLOR_TEXT_ASSIST); - -@vertical-space: 40 * @rpx; - -@columnsscroll-width: 130 * @rpx; - -@border-color: var(--ant-grid-border-color, @COLOR_BORDER); diff --git a/compiled/alipay/src/GuideTour/index.axml b/compiled/alipay/src/GuideTour/index.axml deleted file mode 100644 index 7bfd88e62..000000000 --- a/compiled/alipay/src/GuideTour/index.axml +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - {{u.isPropsEmpty(jumpText) ? locale.guideTour.jumpText : jumpText}} - - - - - {{u.isPropsEmpty(prevStepText) ? locale.guideTour.prevStepText : prevStepText}} - - - - - {{u.isPropsEmpty(nextStepText) ? locale.guideTour.nextStepText : nextStepText}} - - - - - {{u.isPropsEmpty(gotItText) ? locale.guideTour.gotItText : gotItText}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/GuideTour/index.en.md b/compiled/alipay/src/GuideTour/index.en.md deleted file mode 100644 index 754235ea7..000000000 --- a/compiled/alipay/src/GuideTour/index.en.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# GuideTour - -Layer and custom card boot components. Applies to an introduction to key features on the page. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-guide-tour": "antd-mini/es/GuideTour/index" -#endif -#if WECHAT - "ant-guide-tour": "antd-mini/GuideTour/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - visible: true, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChange(index) { -#if ALIPAY - console.log('index', index); -#endif - }, - closeTour() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### Controlled Mode - -```xml - - - -``` - -```js -Page({ - data: { - visible: false, - current: 0, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ current: value }); -#endif -#if WECHAT - this.setData({ current: value.detail }); -#endif - }, - closeTour() { - this.setData({ - visible: false - }); - }, -}); - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------- | ----------------------------------- | -------- | -| className | Class Name | `string` | - | -| current | Current step | `number` | - | -| defaultCurrent | Default Current Step | `number` | 0 | -| items | Step Information | [`GuideTourItem`](#guidetourttem)[] | - | -| maskClassName | Class name of the layer | `string` | - | -| maskStyle | The style of the layer | `string` | - | -| style | Style | `string` | - | -| swiperable | Whether sliding mode is on | `boolean` | `false` | -| visible | Whether to display | `boolean` | `false` | -| jumpText | Copy of the skip button | `string` | 'Skip' | -| prevStepText | Copy of the previous button | `string` | 'One step' | -| nextStepText | Copy of the next button | `string` | 'Next step' | -| gotItText | Know the copy of the button | `string` | "I know' | -| #if ALIPAY onCancel | Close Callback | `() => void` | - | -| #if ALIPAY onChange | Step Change Callback | `(index: number) => void` | - | -| #if WECHAT bind:cancel | Close Callback | `() => void` | - | -| #if WECHAT bind:change | Step Change Callback | `(index: number) => void` | - | - -### GuideTourItem - -| Parameters | Description | Type | Default Value | -| ---------- | -------------------------- | -------- | ------ | -| left | Distance from left, in units `px` | `number` | - | -| imageMode | Image mode, same as image mode | `string` | - | -| imageStyle | Picture Inline Style | `string` | - | -| imageUrl | Picture Address | `string` | - | -| top | Distance from top, in units `px` | `number` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --guide-tour-text-color |
#ffffff
|
#ffffff
| Bootstrap Tutorial Text Color | -| --guide-tour-clear-color |
#999999
|
#616161
| Bootstrap Tutorial Clear Button Color | -| --guide-tour-dot-color |
#999999
|
#616161
| Guided Tutorial Step Point Color | -| --guide-tour-border-color |
#eeeeee
|
#2b2b2b
| Bootstrap Tutorial Border Color | -| --guide-tour-btn-color |
#333333
|
#c5cad1
| Bootstrap Tutorial Button Color | diff --git a/compiled/alipay/src/GuideTour/index.json b/compiled/alipay/src/GuideTour/index.json deleted file mode 100644 index f6d8ab7c3..000000000 --- a/compiled/alipay/src/GuideTour/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-mask": "../Mask/index", - "ant-button": "../Button/index", - "ant-icon": "../Icon/index", - "ant-auto-resize": "../AutoResize/index" - } -} diff --git a/compiled/alipay/src/GuideTour/index.less b/compiled/alipay/src/GuideTour/index.less deleted file mode 100644 index 4568150b1..000000000 --- a/compiled/alipay/src/GuideTour/index.less +++ /dev/null @@ -1,71 +0,0 @@ -@import (reference) './variable.less'; - -.@{guideTourPrefix} { - &-button { - width: 100%; - position: absolute; - left: 0; - bottom: @guide-tour-button-bottom; - z-index: @guide-tour-z-index-3; - display: flex; - justify-content: center; - .ant-button:nth-of-type(1) { - color: @guide-tour-text-color; - background-color: transparent; - box-shadow: inset 0 0 0 @border-width-standard @guide-tour-border-color; - } - .ant-button:nth-of-type(2) { - color: @guide-tour-btn-color; - background-color: @guide-tour-text-color; - box-shadow: none; - } - .ant-button { - margin: 0 12 * @rpx; - width: 152 * @rpx; - } - } - - &-indicator { - width: 100%; - position: absolute; - bottom: @guide-tour-dot-bottom; - left: 50%; - transform: translateX(-50%); - z-index: @guide-tour-z-index-2; - display: flex; - justify-content: center; - &-dot { - margin: 0 3 * @rpx; - background-color: @guide-tour-dot-color; - width: @guide-tour-dot-size; - height: @guide-tour-dot-size; - border-radius: @guide-tour-dot-border-radius; - &-active { - width: @guide-tour-dot-active-width; - background-color: @guide-tour-text-color; - } - } - } - &-clear { - position: fixed; - top: 80 * @rpx; - right: 40 * @rpx; - z-index: @guide-tour-z-index-3; - font-size: 56 * @rpx; - color: @guide-tour-clear-color; - } - - &-item { - z-index: @guide-tour-z-index-2; - position: fixed; - top: 0; - left: 0; - } - &-swiper { - z-index: @guide-tour-z-index-2; - position: fixed; - top: 0; - left: 0; - - } -} diff --git a/compiled/alipay/src/GuideTour/index.md b/compiled/alipay/src/GuideTour/index.md deleted file mode 100644 index 643080143..000000000 --- a/compiled/alipay/src/GuideTour/index.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# GuideTour 新手引导 - -蒙层与自定义卡片的引导组件。适用于页面上关键功能的介绍。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-guide-tour": "antd-mini/es/GuideTour/index" -#endif -#if WECHAT - "ant-guide-tour": "antd-mini/GuideTour/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - visible: true, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChange(index) { -#if ALIPAY - console.log('index', index); -#endif - }, - closeTour() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### 受控模式 - -```xml - - - -``` - -```js -Page({ - data: { - visible: false, - current: 0, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ current: value }); -#endif -#if WECHAT - this.setData({ current: value.detail }); -#endif - }, - closeTour() { - this.setData({ - visible: false - }); - }, -}); - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------- | ----------------------------------- | -------- | -| className | 类名 | `string` | - | -| current | 当前步骤 | `number` | - | -| defaultCurrent | 默认当前步骤 | `number` | 0 | -| items | 步骤信息 | [`GuideTourItem`](#guidetourttem)[] | - | -| maskClassName | 蒙层的类名 | `string` | - | -| maskStyle | 蒙层的样式 | `string` | - | -| style | 样式 | `string` | - | -| swiperable | 是否开启滑动模式 | `boolean` | `false` | -| visible | 是否显示 | `boolean` | `false` | -| jumpText | 跳过按钮的文案 | `string` | '跳过' | -| prevStepText | 上一步按钮的文案 | `string` | '上一步' | -| nextStepText | 下一步按钮的文案 | `string` | '下一步' | -| gotItText | 知道了按钮的文案 | `string` | '知道了' | -| #if ALIPAY onCancel | 关闭回调 | `() => void` | - | -| #if ALIPAY onChange | 步骤改变回调 | `(index: number) => void` | - | -| #if WECHAT bind:cancel | 关闭回调 | `() => void` | - | -| #if WECHAT bind:change | 步骤改变回调 | `(index: number) => void` | - | - -### GuideTourItem - -| 参数 | 说明 | 类型 | 默认值 | -| ---------- | -------------------------- | -------- | ------ | -| left | 距离左边距离,单位 `px` | `number` | - | -| imageMode | 图片模式,同 image 的 mode | `string` | - | -| imageStyle | 图片内联样式 | `string` | - | -| imageUrl | 图片地址 | `string` | - | -| top | 距离顶部距离,单位 `px` | `number` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --guide-tour-text-color |
#ffffff
|
#ffffff
| 引导教程文本颜色 | -| --guide-tour-clear-color |
#999999
|
#616161
| 引导教程清除按钮颜色 | -| --guide-tour-dot-color |
#999999
|
#616161
| 引导教程步骤点颜色 | -| --guide-tour-border-color |
#eeeeee
|
#2b2b2b
| 引导教程边框颜色 | -| --guide-tour-btn-color |
#333333
|
#c5cad1
| 引导教程按钮颜色 | diff --git a/compiled/alipay/src/GuideTour/index.sjs b/compiled/alipay/src/GuideTour/index.sjs deleted file mode 100644 index c776f951a..000000000 --- a/compiled/alipay/src/GuideTour/index.sjs +++ /dev/null @@ -1,18 +0,0 @@ -function checkShowNext(current, items) { - return current < items.length - 1; -} -function checkShowPrev(current, items) { - return current > 0; -} -function checkShowJump(current, items) { - return current === 0 && items.length > 1; -} -function checkShowKnow(current, items) { - return current === items.length - 1; -} -export default { - checkShowNext: checkShowNext, - checkShowPrev: checkShowPrev, - checkShowJump: checkShowJump, - checkShowKnow: checkShowKnow -}; \ No newline at end of file diff --git a/compiled/alipay/src/GuideTour/index.ts b/compiled/alipay/src/GuideTour/index.ts deleted file mode 100644 index e2da1b66a..000000000 --- a/compiled/alipay/src/GuideTour/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { effect } from '@preact/signals-core'; -import mixinValue from '../mixins/value'; -import { - ComponentWithSignalStoreImpl, - triggerEvent, - triggerEventOnly, -} from '../_util/simply'; -import i18nController from '../_util/store'; -import { GuideTourDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - GuideTourDefaultProps, - { - async onNext() { - const currentValue = this.getValue(); - const newCurrent = currentValue + 1; - if (!this.isControlled()) { - this.update(newCurrent); - } - triggerEvent(this, 'change', newCurrent); - }, - - async onPrev() { - const currentValue = this.getValue(); - const newCurrent = currentValue - 1; - if (!this.isControlled()) { - this.update(newCurrent); - } - triggerEvent(this, 'change', newCurrent); - }, - - onCancel() { - triggerEventOnly(this, 'cancel'); - }, - - async onSwiperChange(e) { - const { current } = e.detail; - if (!this.isControlled()) { - this.update(current); - } - triggerEvent(this, 'change', current); - }, - }, - undefined, - [ - mixinValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - }), - ] -); diff --git a/compiled/alipay/src/GuideTour/props.ts b/compiled/alipay/src/GuideTour/props.ts deleted file mode 100644 index c2eef77d8..000000000 --- a/compiled/alipay/src/GuideTour/props.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -interface IStep { - /** - * @description 图片地址 - */ - imageUrl: string; - /** - * @description 图片模式 - */ - imageMode: string; - /** - * @description 图片内联样式 - */ - imageStyle: string; - /** - * @description 距离顶部 - */ - top: string; - /** - * @description 距离左边 - */ - left: string; - /** - * @description className - */ - className?: string; -} - -export interface IGuideTour extends IBaseProps { - /** - * @description 蒙层样式 - */ - maskStyle: string; - /** - * @description 蒙层 className - */ - maskClassName?: string; - /** - * @description 步骤详情 - */ - items: IStep[]; - /** - * @description 当前步骤 - */ - current: number; - /** - * @description 初始step - */ - defaultCurrent: number; - /** - * @description 是否开启滑动模式 - */ - swiperable: boolean; - /** - * @description 引导是否可见, 受控 - * @default true - */ - visible: boolean; - /** - * @description 关闭回调 - */ - onCancel: () => void; - /** - * @description 步骤改变回调 - */ - onChange: (index: number) => boolean; - /** - * @description 上一步按钮文案 - * @default "上一步" - */ - prevStepText?: string; - /** - * @description 下一步按钮文案 - * @default "下一步" - */ - nextStepText?: string; - /** - * @description 知道了按钮文案 - * @default "知道了" - */ - gotItText?: string; - /** - * @description 跳过按钮文案 - * @default "跳过" - */ - jumpText?: string; -} - -export const GuideTourDefaultProps: Partial = { - visible: false, - swiperable: false, - items: [], - current: null, - defaultCurrent: 0, - gotItText: null, - nextStepText: null, - prevStepText: null, - jumpText: null, - maskStyle: '', - maskClassName: '', -}; diff --git a/compiled/alipay/src/GuideTour/variable.less b/compiled/alipay/src/GuideTour/variable.less deleted file mode 100644 index 694f39852..000000000 --- a/compiled/alipay/src/GuideTour/variable.less +++ /dev/null @@ -1,37 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@guideTourPrefix: ant-guide-tour; - -// 层级-1 -@guide-tour-z-index-1: 9999; -// 层级-2 -@guide-tour-z-index-2: 10000; -// 层级-3 -@guide-tour-z-index-3: 10001; -// 主要文字颜色 -@guide-tour-text-color: var(--guide-tour-text-color, @COLOR_WHITE); -// 关闭按钮颜色 -@guide-tour-clear-color: var(--guide-tour-clear-color, @COLOR_TEXT_ASSIST); -// 按钮距离底部 -@guide-tour-button-bottom: calc(100 * @rpx + env(safe-area-inset-bottom)); -// 按钮高度 -@guide-tour-button-height:52 * @rpx; -// 步骤条点的长宽 -@guide-tour-dot-size: 6 * @rpx; -// 步骤条点的颜色 -@guide-tour-dot-color: var(--guide-tour-dot-color, @COLOR_TEXT_ASSIST); -// 激活步骤条点的长度 -@guide-tour-dot-active-width:26 * @rpx; -// 步骤条点的弧度 -@guide-tour-dot-border-radius:2 * @rpx; -// 步骤条距离底部 -@guide-tour-dot-bottom: calc( - @guide-tour-button-bottom + 40 * @rpx + @guide-tour-button-height -); - -@guide-tour-border-color: var(--guide-tour-border-color, @COLOR_BORDER); - -@guide-tour-btn-color: var(--guide-tour-btn-color, @COLOR_TEXT_PRIMARY); - -@guide-tour-right-btn-color: var(--guide-tour-right-btn-color, @COLOR_TEXT_PRIMARY); diff --git a/compiled/alipay/src/Icon/index.axml b/compiled/alipay/src/Icon/index.axml deleted file mode 100644 index 20e7707d5..000000000 --- a/compiled/alipay/src/Icon/index.axml +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/compiled/alipay/src/Icon/index.en.md b/compiled/alipay/src/Icon/index.en.md deleted file mode 100644 index fe10327eb..000000000 --- a/compiled/alipay/src/Icon/index.en.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# Icon - -Semantic vector graphics. Icon icons can be used when graphics are needed to metaphorically present basic operating functions and give users correct, friendly and clear operating guidelines. - -## Introduction - -Introducing components in index.json - -```json -"usingComponents": { -#if ALIPAY - "ant-icon": "antd-mini/es/Icon/index" -#endif -#if WECHAT - "ant-icon": "antd-mini/Icon/index" -#endif -} -``` - -## Icon List - -Search and view the icon, click the icon to copy. - - - -## Code example - -### Basic use - -```xml - -``` - -### Custom size and color - -```xml - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| :------------------- | :----------------------- | :----------------- | :----- | -| className | Class Name | string | - | -| style | Style | string | - | -| type | Types of icons | string | - | -| #if ALIPAY catchTap | Callback function triggered when icon is clicked | (e: Event) => void | - | -| #if ALIPAY onTap | Callback function triggered when icon is clicked | (e: Event) => void | - | -| #if WECHAT catch:tap | Callback function triggered when icon is clicked | (e: Event) => void | - | -| #if WECHAT bind:tap | Callback function triggered when icon is clicked | (e: Event) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -------- | -| --icon-color |
#333333
|
#c5cad1
| Icon Color | diff --git a/compiled/alipay/src/Icon/index.json b/compiled/alipay/src/Icon/index.json deleted file mode 100644 index 32640e0dc..000000000 --- a/compiled/alipay/src/Icon/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} \ No newline at end of file diff --git a/compiled/alipay/src/Icon/index.less b/compiled/alipay/src/Icon/index.less deleted file mode 100644 index 69d91f5dc..000000000 --- a/compiled/alipay/src/Icon/index.less +++ /dev/null @@ -1,625 +0,0 @@ -@import (reference) './variable.less'; - -@font-face { - font-family: antdmini-icon; - src: url('https://gw.alipayobjects.com/os/bmw-prod/578c472b-19a7-44ab-a92d-adc367ee2fe2.ttf?v=20210115') - format('truetype'); -} - -@iconPrefix: ant-icon; - -.@{iconPrefix} { - /* stylelint-disable font-family-no-missing-generic-family-keyword */ - font-family: antdmini-icon !important; - font-style: normal; - -webkit-font-smoothing: antialiased; - line-height: @line-height-base; - - &-MinusOutline:before { - content: '\e66f'; - } - - &-AlipayCircleFill:before { - content: '\e670'; - } - - &-CheckCircleFill:before { - content: '\e671'; - } - - &-FireFill:before { - content: '\e672'; - } - - &-FaceRecognitionOutline:before { - content: '\e673'; - } - - &-StarFill:before { - content: '\e674'; - } - - &-EyeInvisibleFill:before { - content: '\e675'; - } - - &-SmileFill:before { - content: '\e676'; - } - - &-FrownFill:before { - content: '\e677'; - } - - &-BankcardOutline:before { - content: '\e678'; - } - - &-HeartOutline:before { - content: '\e679'; - } - - &-EyeFill:before { - content: '\e67a'; - } - - &-HeartFill:before { - content: '\e67b'; - } - - &-DownFill:before { - content: '\e67c'; - } - - &-CloseCircleFill:before { - content: '\e67d'; - } - - &-VideoOutline:before { - content: '\e67e'; - } - - &-CouponOutline:before { - content: '\e67f'; - } - - &-ReceiptOutline:before { - content: '\e680'; - } - - &-AntOutline:before { - content: '\e681'; - } - - &-UserCircleOutline:before { - content: '\e682'; - } - - &-PayCircleOutline:before { - content: '\e683'; - } - - &-BillOutline:before { - content: '\e684'; - } - - &-PlayOutline:before { - content: '\e685'; - } - - &-PayOutline:before { - content: '\e686'; - } - - &-MoreOutline:before { - content: '\e687'; - } - - &-ShrinkOutline:before { - content: '\e688'; - } - - &-ArrowsAltOutline:before { - content: '\e689'; - } - - &-StarOutline:before { - content: '\e68a'; - } - - &-CheckOutline:before { - content: '\e68b'; - } - - &-DeleteOutline:before { - content: '\e68c'; - } - - &-LinkOutline:before { - content: '\e68d'; - } - - &-InformationCircleOutline:before { - content: '\e68e'; - } - - &-GlobalOutline:before { - content: '\e68f'; - } - - &-InformationCircleFill:before { - content: '\e690'; - } - - &-ExclamationCircleFill:before { - content: '\e691'; - } - - &-CheckCircleOutline:before { - content: '\e692'; - } - - &-CloseCircleOutline:before { - content: '\e693'; - } - - &-SetOutline:before { - content: '\e694'; - } - - &-QuestionCircleFill:before { - content: '\e695'; - } - - &-QuestionCircleOutline:before { - content: '\e696'; - } - - &-UpCircleOutline:before { - content: '\e697'; - } - - &-FrownOutline:before { - content: '\e698'; - } - - &-DownCircleOutline:before { - content: '\e699'; - } - - &-ExclamationCircleOutline:before { - content: '\e69a'; - } - - &-MinusCircleOutline:before { - content: '\e69b'; - } - - &-RedoOutline:before { - content: '\e69c'; - } - - &-UndoOutline:before { - content: '\e69d'; - } - - &-EyeInvisibleOutline:before { - content: '\e69e'; - } - - &-ForbidFill:before { - content: '\e69f'; - } - - &-PicturesOutline:before { - content: '\e6a0'; - } - - &-PictureOutline:before { - content: '\e6a1'; - } - - &-PictureWrongOutline:before { - content: '\e6a2'; - } - - &-EyeOutline:before { - content: '\e6a3'; - } - - &-AddCircleOutline:before { - content: '\e6a4'; - } - - &-ClockCircleFill:before { - content: '\e6a5'; - } - - &-ClockCircleOutline:before { - content: '\e6a6'; - } - - &-BellMuteOutline:before { - content: '\e6a7'; - } - - &-KeyOutline:before { - content: '\e6a8'; - } - - &-BellOutline:before { - content: '\e6a9'; - } - - &-SearchOutline:before { - content: '\e6aa'; - } - - &-CollectMoneyOutline:before { - content: '\e6ab'; - } - - &-UnorderedListOutline:before { - content: '\e6ac'; - } - - &-AppstoreOutline:before { - content: '\e6ad'; - } - - &-ExclamationTriangleOutline:before { - content: '\e6ae'; - } - - &-AddOutline:before { - content: '\e6af'; - } - - &-ScanningOutline:before { - content: '\e6b0'; - } - - &-ScanCodeOutline:before { - content: '\e6b1'; - } - - &-ExclamationOutline:before { - content: '\e6b2'; - } - - &-CloseOutline:before { - content: '\e6b3'; - } - - &-ScanningFaceOutline:before { - content: '\e6b4'; - } - - &-LeftOutline:before { - content: '\e6b5'; - } - - &-DownOutline:before { - content: '\e6b6'; - } - - &-UpOutline:before { - content: '\e6b7'; - } - - &-RightOutline:before { - content: '\e6b8'; - } - - &-KoubeiOutline:before { - content: '\e6b9'; - } - - &-KoubeiFill:before { - content: '\e6ba'; - } - - &-AAOutline:before { - content: '\e6bb'; - } - - &-ArrowDownCircleOutline:before { - content: '\e6bc'; - } - - &-MovieOutline:before { - content: '\e6bd'; - } - - &-CompassOutline:before { - content: '\e6be'; - } - - &-LoopOutline:before { - content: '\e6bf'; - } - - &-TextOutline:before { - content: '\e6c0'; - } - - &-TagOutline:before { - content: '\e6c1'; - } - - &-FlagOutline:before { - content: '\e6c2'; - } - - &-EnvironmentOutline:before { - content: '\e6c3'; - } - - &-CalendarOutline:before { - content: '\e6c4'; - } - - &-LocationFill:before { - content: '\e6c5'; - } - - &-PhoneFill:before { - content: '\e6c6'; - } - - &-PhonebookOutline:before { - content: '\e6c7'; - } - - &-SmileOutline:before { - content: '\e6c8'; - } - - &-UserAddOutline:before { - content: '\e6c9'; - } - - &-FileWrongOutline:before { - content: '\e6ca'; - } - - &-SoundMuteFill:before { - content: '\e6cb'; - } - - &-SoundMuteOutline:before { - content: '\e6cc'; - } - - &-LockOutline:before { - content: '\e6cd'; - } - - &-UnlockOutline:before { - content: '\e6ce'; - } - - &-EditSOutline:before { - content: '\e6cf'; - } - - &-UploadOutline:before { - content: '\e6d0'; - } - - &-SoundOutline:before { - content: '\e6d1'; - } - - &-DownlandOutline:before { - content: '\e6d2'; - } - - &-SendOutline:before { - content: '\e6d3'; - } - - &-FillinOutline:before { - content: '\e6d4'; - } - - &-AudioMutedOutline:before { - content: '\e6d5'; - } - - &-AudioOutline:before { - content: '\e6d6'; - } - - &-UserOutline:before { - content: '\e6d7'; - } - - &-UserContactOutline:before { - content: '\e6d8'; - } - - &-TeamOutline:before { - content: '\e6d9'; - } - - &-UserSetOutline:before { - content: '\e6da'; - } - - &-FileOutline:before { - content: '\e6db'; - } - - &-MailOutline:before { - content: '\e6dc'; - } - - &-TruckOutline:before { - content: '\e6dd'; - } - - &-MailOpenOutline:before { - content: '\e6de'; - } - - &-ChatCheckOutline:before { - content: '\e6df'; - } - - &-ChatAddOutline:before { - content: '\e6e0'; - } - - &-ChatWrongOutline:before { - content: '\e6e1'; - } - - &-PhonebookFill:before { - content: '\e6e2'; - } - - &-AddressBookFill:before { - content: '\e6e3'; - } - - &-CalculatorOutline:before { - content: '\e6e4'; - } - - &-PieOutline:before { - content: '\e6e5'; - } - - &-HandPayCircleOutline:before { - content: '\e6e6'; - } - - &-GiftOutline:before { - content: '\e6e7'; - } - - &-TransportQRcodeOutline:before { - content: '\e6e8'; - } - - &-FolderOutline:before { - content: '\e6e9'; - } - - &-AlipaySquareFill:before { - content: '\e6ea'; - } - - &-TravelOutline:before { - content: '\e6eb'; - } - - &-AppOutline:before { - content: '\e6ec'; - } - - &-HistogramOutline:before { - content: '\e6ed'; - } - - &-MailFill:before { - content: '\e6ee'; - } - - &-CameraOutline:before { - content: '\e6ef'; - } - - &-EditFill:before { - content: '\e6f0'; - } - - &-SystemQRcodeOutline:before { - content: '\e6f1'; - } - - &-LockFill:before { - content: '\e6f2'; - } - - &-AudioFill:before { - content: '\e6f3'; - } - - &-TeamFill:before { - content: '\e6f4'; - } - - &-FilterOutline:before { - content: '\e6f5'; - } - - &-EditSFill:before { - content: '\e6f6'; - } - - &-LikeOutline:before { - content: '\e6f7'; - } - - &-TextDeletionOutline:before { - content: '\e6f8'; - } - - &-StopOutline:before { - content: '\e6f9'; - } - - &-FingerdownOutline:before { - content: '\e6fa'; - } - - &-MessageFill:before { - content: '\e6fb'; - } - - &-LocationOutline:before { - content: '\e6fc'; - } - - &-ContentOutline:before { - content: '\e6fd'; - } - - &-ExclamationShieldFill:before { - content: '\e6fe'; - } - - &-ReceivePaymentOutline:before { - content: '\e6ff'; - } - - &-ExclamationShieldOutline:before { - content: '\e700'; - } - - &-AddSquareOutline:before { - content: '\e701'; - } - - &-CloseShieldOutline:before { - content: '\e702'; - } - - &-CheckShieldOutline:before { - content: '\e703'; - } - - &-CheckShieldFill:before { - content: '\e704'; - } - - &-ShopbagOutline:before { - content: '\e705'; - } - - &-MessageOutline:before { - content: '\e706'; - } -} diff --git a/compiled/alipay/src/Icon/index.md b/compiled/alipay/src/Icon/index.md deleted file mode 100644 index 2facb6709..000000000 --- a/compiled/alipay/src/Icon/index.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# Icon 图标 - -语义化的矢量图形。当需要使用图形来对基础操作功能进行隐喻呈现,并给予用户正确、友好且清晰的操作指引时,可以使用 Icon 图标。 - -## 引入 - -在 index.json 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-icon": "antd-mini/es/Icon/index" -#endif -#if WECHAT - "ant-icon": "antd-mini/Icon/index" -#endif -} -``` - -## 图标列表 - -搜索并查看图标,点击图标可进行复制。 - - - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 自定义大小及颜色 - -```xml - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| :------------------- | :----------------------- | :----------------- | :----- | -| className | 类名 | string | - | -| style | 样式 | string | - | -| type | 图标的类型 | string | - | -| #if ALIPAY catchTap | 点击图标时触发的回调函数 | (e: Event) => void | - | -| #if ALIPAY onTap | 点击图标时触发的回调函数 | (e: Event) => void | - | -| #if WECHAT catch:tap | 点击图标时触发的回调函数 | (e: Event) => void | - | -| #if WECHAT bind:tap | 点击图标时触发的回调函数 | (e: Event) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -------- | -| --icon-color |
#333333
|
#c5cad1
| 图标颜色 | diff --git a/compiled/alipay/src/Icon/index.ts b/compiled/alipay/src/Icon/index.ts deleted file mode 100644 index 9fd9b608c..000000000 --- a/compiled/alipay/src/Icon/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IconDefaultProps } from './props'; -import fmtEvent from '../_util/fmtEvent'; -import '../_util/assert-component2'; - -Component({ - - props: IconDefaultProps, - methods: { - onTap(e) { - if (this.props.onTap) { - this.props.onTap(fmtEvent(this.props, e)); - } - }, - catchTap(e) { - if (this.props.catchTap) { - this.props.catchTap(fmtEvent(this.props, e)); - } - }, - }, -}); diff --git a/compiled/alipay/src/Icon/props.ts b/compiled/alipay/src/Icon/props.ts deleted file mode 100644 index 3ee83cf04..000000000 --- a/compiled/alipay/src/Icon/props.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { IBaseProps } from '../_util/base'; -/** - * @description 图标,内置丰富的图标可以选择。 - */ - -export interface IconProps extends IBaseProps { - /** - * @description icon 图标的类型 - * @default "" - */ - type?: string; - - /** - * 点击图标 - */ - onTap?: (e: any) => void; - - /** - * 点击图标 - */ - catchTap?: (e: any) => void; -} - -export const IconDefaultProps: Partial = { - type: '', -}; diff --git a/compiled/alipay/src/Icon/variable.less b/compiled/alipay/src/Icon/variable.less deleted file mode 100644 index 7d14fbf8b..000000000 --- a/compiled/alipay/src/Icon/variable.less +++ /dev/null @@ -1,4 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@icon-color: var(--icon-color, @COLOR_TEXT_PRIMARY); diff --git a/compiled/alipay/src/ImageIcon/index.axml b/compiled/alipay/src/ImageIcon/index.axml deleted file mode 100644 index 3a0bcc304..000000000 --- a/compiled/alipay/src/ImageIcon/index.axml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/ImageIcon/index.json b/compiled/alipay/src/ImageIcon/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/ImageIcon/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/ImageIcon/index.sjs b/compiled/alipay/src/ImageIcon/index.sjs deleted file mode 100644 index fe6ba4e67..000000000 --- a/compiled/alipay/src/ImageIcon/index.sjs +++ /dev/null @@ -1,7 +0,0 @@ -var iconTypes = ['MinusOutline', 'AlipayCircleFill', 'CheckCircleFill', 'FireFill', 'FaceRecognitionOutline', 'StarFill', 'EyeInvisibleFill', 'SmileFill', 'FrownFill', 'BankcardOutline', 'HeartOutline', 'EyeFill', 'HeartFill', 'DownFill', 'CloseCircleFill', 'VideoOutline', 'CouponOutline', 'ReceiptOutline', 'AntOutline', 'UserCircleOutline', 'PayCircleOutline', 'BillOutline', 'PlayOutline', 'PayOutline', 'MoreOutline', 'ShrinkOutline', 'ArrowsAltOutline', 'StarOutline', 'CheckOutline', 'DeleteOutline', 'LinkOutline', 'InformationCircleOutline', 'GlobalOutline', 'InformationCircleFill', 'ExclamationCircleFill', 'CheckCircleOutline', 'CloseCircleOutline', 'SetOutline', 'QuestionCircleFill', 'QuestionCircleOutline', 'UpCircleOutline', 'FrownOutline', 'DownCircleOutline', 'ExclamationCircleOutline', 'MinusCircleOutline', 'RedoOutline', 'UndoOutline', 'EyeInvisibleOutline', 'ForbidFill', 'PicturesOutline', 'PictureOutline', 'PictureWrongOutline', 'EyeOutline', 'AddCircleOutline', 'ClockCircleFill', 'ClockCircleOutline', 'BellMuteOutline', 'KeyOutline', 'BellOutline', 'SearchOutline', 'CollectMoneyOutline', 'UnorderedListOutline', 'AppstoreOutline', 'ExclamationTriangleOutline', 'AddOutline', 'ScanningOutline', 'ScanCodeOutline', 'ExclamationOutline', 'CloseOutline', 'ScanningFaceOutline', 'LeftOutline', 'DownOutline', 'UpOutline', 'RightOutline', 'KoubeiOutline', 'KoubeiFill', 'AAOutline', 'ArrowDownCircleOutline', 'MovieOutline', 'CompassOutline', 'LoopOutline', 'TextOutline', 'TagOutline', 'FlagOutline', 'EnvironmentOutline', 'CalendarOutline', 'LocationFill', 'PhoneFill', 'PhonebookOutline', 'SmileOutline', 'UserAddOutline', 'FileWrongOutline', 'SoundMuteFill', 'SoundMuteOutline', 'LockOutline', 'UnlockOutline', 'EditSOutline', 'UploadOutline', 'SoundOutline', 'DownlandOutline', 'SendOutline', 'FillinOutline', 'AudioMutedOutline', 'AudioOutline', 'UserOutline', 'UserContactOutline', 'TeamOutline', 'UserSetOutline', 'FileOutline', 'MailOutline', 'TruckOutline', 'MailOpenOutline', 'ChatCheckOutline', 'ChatAddOutline', 'ChatWrongOutline', 'PhonebookFill', 'AddressBookFill', 'CalculatorOutline', 'PieOutline', 'HandPayCircleOutline', 'GiftOutline', 'TransportQRcodeOutline', 'FolderOutline', 'AlipaySquareFill', 'TravelOutline', 'AppOutline', 'HistogramOutline', 'MailFill', 'CameraOutline', 'EditFill', 'SystemQRcodeOutline', 'LockFill', 'AudioFill', 'TeamFill', 'FilterOutline', 'EditSFill', 'LikeOutline', 'TextDeletionOutline', 'StopOutline', 'FingerdownOutline', 'MessageFill', 'LocationOutline', 'ContentOutline', 'ExclamationShieldFill', 'ReceivePaymentOutline', 'ExclamationShieldOutline', 'AddSquareOutline', 'CloseShieldOutline', 'CheckShieldOutline', 'CheckShieldFill', 'ShopbagOutline', 'MessageOutline']; -var isIcon = function isIcon(src) { - return iconTypes.indexOf(src) > -1; -}; -export default { - isIcon: isIcon -}; \ No newline at end of file diff --git a/compiled/alipay/src/ImageIcon/index.ts b/compiled/alipay/src/ImageIcon/index.ts deleted file mode 100644 index 05ca1c3a3..000000000 --- a/compiled/alipay/src/ImageIcon/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ImageIconProps } from './props'; -import { Component } from '../_util/simply'; - -Component({ - image: '', -}); diff --git a/compiled/alipay/src/ImageIcon/props.ts b/compiled/alipay/src/ImageIcon/props.ts deleted file mode 100644 index 43ab2a723..000000000 --- a/compiled/alipay/src/ImageIcon/props.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { IBaseProps } from '../_util/base'; - -export interface ImageIconProps extends IBaseProps { - image: string; -} - -export const ImageIconDefaultProps: Partial = { - image: '', -}; diff --git a/compiled/alipay/src/ImageUpload/index.axml b/compiled/alipay/src/ImageUpload/index.axml deleted file mode 100644 index e6744d468..000000000 --- a/compiled/alipay/src/ImageUpload/index.axml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - {{u.isPropsEmpty(uploadingText) ? locale.imageUpload.uploadingText : uploadingText}} - - - - - - {{u.isPropsEmpty(uploadfailedText) ? locale.imageUpload.uploadfailedText : uploadfailedText}} - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/ImageUpload/index.en.md b/compiled/alipay/src/ImageUpload/index.en.md deleted file mode 100644 index 50f26658e..000000000 --- a/compiled/alipay/src/ImageUpload/index.en.md +++ /dev/null @@ -1,280 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry -toc: 'content' ---- - -# ImageUpload - -It is used to upload pictures to the server, and briefly display the information of the uploaded files and provide preview function. Use when you need to upload local pictures or photos to the server. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-uploader": "antd-mini/es/ImageUpload/index" -#endif -#if WECHAT - "ant-uploader": "antd-mini/ImageUpload/index" -#endif -} -``` - -## Code example - -### Basic use - -> `onBeforeUpload`、`onUpload` Function Receive `LocalFile`, you can customize the upload-related business logic.`preview` The event is triggered by clicking on the uploaded picture and can be coordinated [my.previewimage](https://opendocs.alipay.com/mini/api/media/image/my.previewimage) Realize the picture preview.`change` event will be triggered when the list of uploaded files changes. - -```xml - -``` - -```js -Page({ - data: { - defaultFileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif - }, - onChange(fileList) { - console.log('图片列表:', fileList); - }, - onPreview(file) { - console.log('preview', file); - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif -}); -``` - -### Controlled Mode - -> `fileList`and `change` Events cooperate to achieve a controlled mode. If you want the component to trigger the upload logic externally, pass `ref` way to get the component instance and call the component. `chooseImage` method can be. - -```xml - - - Component External Trigger Upload Logic - -``` - -```js -Page({ - data: { - fileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - handleControlledChange(fileList) { -#if WECHAT - this.setData({ - fileList: fileList.detail, - }); -#endif -#if ALIPAY - this.setData({ - fileList, - }); -#endif - }, - handleUploaderRef(ref) { - console.log('handleUploaderRef', ref); -#if WECHAT - this.handleUploaderRef = ref.detail; -#endif -#if ALIPAY - this.handleUploaderRef = ref; -#endif - }, - upload() { - this.handleUploaderRef.chooseImage(); - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------- | -| className | Class Name | string | - | -| maxCount | Maximum number of uploaded images. See details in [maxCount](#maxcount) | number | - | -| defaultFileList | File List Initial Value | [File](#file)[] | [] | -| sourceType | Upload the selected source. Optional `['album']`、`['camera']` or `['album', 'camera']` | string[] | ['album', 'camera'] | -| style | Style | string | - | -| uploadingText | Prompt copy in upload | string | 'Uploading......' | -| uploadfailedText | Prompt copy for upload failure | string | 'Upload failed' | -| fileList | File List (Controlled) | [File](#file)[] | - | -| imageMode | Picture zoom mode and crop mode. See details in [Image Mode Description](https://opendocs.alipay.com/mini/component/image#mode) | string | scaleToFill | -| onBeforeUpload | The hook before uploading the file. The parameter is the list of uploaded files. If false is returned, the upload is stopped. You can return a Promise object. If you Promise a reject object, the upload is stopped and the upload is started when it is resolve (resolve the modified localFileList is passed in). | (localFileList: [localFile](#localfile)[]) => boolean \| Promise<[localFile](#localfile)[]> | - | -| onChooseImageError | Select the picture failure callback. See details in [onChooseImageError](###onChooseImageError) | (err) => void | - | -| onUpload | Image upload method. See details in [onUpload](#onupload) | (localFile: [LocalFile](#localfile)) => Promise\ | - | -| onRemove | Click the callback when removing files. Does not remove if the return value is false. Support to return a Promise object, Promise object resolve(false) or reject does not remove | (file: [File](#file)) => boolean \| Promise\ | - | -| #if ALIPAY onChange | Triggered when the list of uploaded files changes | (fileList: [File](#file)[]) => void | - | -| #if ALIPAY onPreview | Triggered when an image is clicked | (file: [File](#file)[]) => void | - | -| #if WECHAT bind:change | Triggered when the list of uploaded files changes | (fileList: [File](#file)[]) => void | - | -| #if WECHAT bind:preview | Triggered when an image is clicked | (file: [File](#file)[]) => void | - | - -### File - -| Parameters | Description | Type | Default Value | -| ------ | ------------------------------------------------------------------------------ | ------ | ------ | -| url | image url | string | - | -| status | Upload status. Optional `uploading`(Uploading),`done`(upload complete) or `error`(Upload failed) | string | - | -| uid | The unique identifier. Automatically generated when not set | string | - | -| path | Local Image Path | string | - | -| size | Local image size. Some models may not return this attribute | number | - | - -### LocalFile - -| Parameters | Description | Type | Default Value | -| ---- | ------------------------------------------ | ------ | ------ | -| path | Local Image Path | string | - | -| size | Local image size. Some models may not return this attribute | number | - | - -### onUpload - -`onUpload` Method Receive `LocalFile`Return in the Promise. `File`. The following is the call [my.uploadFile](https://opendocs.alipay.com/mini/api/kmq4hc) Sample code for uploading: - -```js -onUpload(localFile) { - return new Promise((resolve, reject) => { - my.uploadFile({ - url: 'https://...', // 请替换成有效的服务端 url - fileType: 'image', - name: 'userfile', // 根据后台服务需求替换 - filePath: localFile.path, // 传入 localFile.path - formData: { extra: '其他信息' }, // 根据后台服务需求替换 - success: res => { - // 根据后台返回,得到上传成功的image url - const { url } = JSON.parse(res.data); - resolve(url); // 调用 resolve 传入image url - }, - fail: err => { - reject(); // 上传错误调用 reject - }, - }); - }); -} -``` - -### onChooseImageError - -Selecting a picture may fail,`onChooseImageError` can get errors, you can view [my.chooseImage Error Code](https://opendocs.alipay.com/mini/api/media/image/my.chooseimage#%E9%94%99%E8%AF%AF%E7%A0%81)。 - -```js -onChooseImageError(err) { - console.log(err); -} -``` - -### maxCount - -1. `maxCount` Indicates the maximum number of pictures that can be uploaded, and does not transmit means unlimited. Since the small program selection picture interface has an upper limit of one-time selection of pictures, if `maxCount` More than this limit, multiple uploads are required. For example,`maxCount="{{10}}"`, 10 pictures are allowed to be uploaded. Users need to upload 9 pictures first and then 1 picture. -2. `maxCount` No restrictions `defaultFileList` and `fileList`. For example,`maxCount` 1, and `defaultFileList` Contains 2 images, will not reduce `defaultFileList` in the picture. The upload button is hidden. - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| --image-upload-cover-background |
rgba(0, 0, 0, 0.4)
|
rgba(0, 0, 0, 0.4)
| Image upload cover background color (overlay) | -| --image-upload-wrapper-background |
#f5f5f5
|
#121212
| Picture upload package background color | -| --image-upload-text-color |
#ffffff
|
#ffffff
| Image upload text color | -| --image-upload-background-color |
rgba(0, 0, 0, 0.4)
|
#1a1a1a
| Image upload background color | diff --git a/compiled/alipay/src/ImageUpload/index.json b/compiled/alipay/src/ImageUpload/index.json deleted file mode 100644 index 64e74facc..000000000 --- a/compiled/alipay/src/ImageUpload/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "loading": "../Loading/index" - } -} diff --git a/compiled/alipay/src/ImageUpload/index.less b/compiled/alipay/src/ImageUpload/index.less deleted file mode 100644 index 97ce1c737..000000000 --- a/compiled/alipay/src/ImageUpload/index.less +++ /dev/null @@ -1,86 +0,0 @@ -@import (reference) './variable.less'; - -@imageUploadPrefix: ant-image-upload; - -.@{imageUploadPrefix} { - display: flex; - flex-wrap: wrap; - background: @image-upload-background-color; - - &-show { - position: relative; - } - - &-image { - width: 160 * @rpx; - height: 160 * @rpx; - margin: @image-upload-common-margin; - border-radius: @corner-radius-md; - } - - &-close { - width: @image-upload-close-tip-width; - height: @image-upload-close-tip-height; - position: absolute; - z-index: 99; - top: @image-upload-size-base * -1; - right: 0; - background: url(@image-upload-close-tip-url) no-repeat; - background-size: cover; - } - - &-add-image-wrapper { - display: flex; - align-items: center; - justify-content: center; - width: 160 * @rpx; - height: 160 * @rpx; - margin: @image-upload-add-image-container-margin; - background-color: @image-upload-wrapper-background; - border-radius: @corner-radius-md; - } - &-add-image-icon { - color: @COLOR_TEXT_ASSIST; - } - &-cover { - position: absolute; - width: 160 * @rpx; - height: 160 * @rpx; - margin: @image-upload-common-margin; - border-radius: @corner-radius-md; - background-color: @image-upload-cover-background; - display: flex; - justify-content: center; - align-items: center; - - &-loading { - text-align: center; - - &-icon { - width: 48 * @rpx; - height: 48 * @rpx; - } - - &-text { - color: @image-upload-text-color; - font-size: 24 * @rpx; - margin-top: 8 * @rpx; - } - } - - &-error { - text-align: center; - - &-icon { - font-size: 48rpx; - color: @image-upload-text-color; - } - - &-text { - color: @image-upload-text-color; - font-size: 24rpx; - margin-top: 8rpx; - } - } - } -} diff --git a/compiled/alipay/src/ImageUpload/index.md b/compiled/alipay/src/ImageUpload/index.md deleted file mode 100644 index 2c7470c1f..000000000 --- a/compiled/alipay/src/ImageUpload/index.md +++ /dev/null @@ -1,280 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 -toc: 'content' ---- - -# ImageUpload 图片上传 - -用于将图片上传到服务器,并简略展示上传文件的信息及提供预览功能。需要将本地图片或拍照后上传到服务器时使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-uploader": "antd-mini/es/ImageUpload/index" -#endif -#if WECHAT - "ant-uploader": "antd-mini/ImageUpload/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `onBeforeUpload`、`onUpload` 函数接收 `LocalFile`,可以定制上传相关业务逻辑。`preview` 事件是点击已上传图片触发,可以配合 [my.previewimage](https://opendocs.alipay.com/mini/api/media/image/my.previewimage) 实现图片预览。`change` 事件则将在已上传的文件列表变化时触发。 - -```xml - -``` - -```js -Page({ - data: { - defaultFileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif - }, - onChange(fileList) { - console.log('图片列表:', fileList); - }, - onPreview(file) { - console.log('preview', file); - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif -}); -``` - -### 受控模式 - -> `fileList`和 `change` 事件配合实现受控模式。想要组件外部触发上传逻辑,通过 `ref` 的方式拿到组件实例,并调用组件中的 `chooseImage` 方法即可。 - -```xml - - - 组件外部触发上传逻辑 - -``` - -```js -Page({ - data: { - fileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - handleControlledChange(fileList) { -#if WECHAT - this.setData({ - fileList: fileList.detail, - }); -#endif -#if ALIPAY - this.setData({ - fileList, - }); -#endif - }, - handleUploaderRef(ref) { - console.log('handleUploaderRef', ref); -#if WECHAT - this.handleUploaderRef = ref.detail; -#endif -#if ALIPAY - this.handleUploaderRef = ref; -#endif - }, - upload() { - this.handleUploaderRef.chooseImage(); - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------- | -| className | 类名 | string | - | -| maxCount | 上传图片限制的最大数量。详见 [maxCount](#maxcount) | number | - | -| defaultFileList | 文件列表初始值 | [File](#file)[] | [] | -| sourceType | 上传选择的来源。可选 `['album']`、`['camera']` 或 `['album', 'camera']` | string[] | ['album', 'camera'] | -| style | 样式 | string | - | -| uploadingText | 上传中提示文案 | string | '上传中……' | -| uploadfailedText | 上传失败提示文案 | string | '上传失败' | -| fileList | 文件列表(受控) | [File](#file)[] | - | -| imageMode | 图片缩放模式和裁剪模式。详见 [图片 mode 说明](https://opendocs.alipay.com/mini/component/image#mode) | string | scaleToFill | -| onBeforeUpload | 上传文件之前的钩子。参数为上传的文件列表,若返回 false 则停止上传。支持返回一个 Promise 对象,Promise 对象 reject 时则停止上传,resolve 时开始上传(resolve 传入修改后的 localFileList) | (localFileList: [localFile](#localfile)[]) => boolean \| Promise<[localFile](#localfile)[]> | - | -| onChooseImageError | 选择图片失败回调。详见 [onChooseImageError](###onChooseImageError) | (err) => void | - | -| onUpload | 图片上传方法。详见 [onUpload](#onupload) | (localFile: [LocalFile](#localfile)) => Promise\ | - | -| onRemove | 点击移除文件时的回调。返回值为 false 时不移除。支持返回一个 Promise 对象,Promise 对象 resolve(false) 或 reject 时不移除 | (file: [File](#file)) => boolean \| Promise\ | - | -| #if ALIPAY onChange | 已上传的文件列表变化时触发 | (fileList: [File](#file)[]) => void | - | -| #if ALIPAY onPreview | 点击图片时触发 | (file: [File](#file)[]) => void | - | -| #if WECHAT bind:change | 已上传的文件列表变化时触发 | (fileList: [File](#file)[]) => void | - | -| #if WECHAT bind:preview | 点击图片时触发 | (file: [File](#file)[]) => void | - | - -### File - -| 参数 | 说明 | 类型 | 默认值 | -| ------ | ------------------------------------------------------------------------------ | ------ | ------ | -| url | 图片 url | string | - | -| status | 上传状态。可选 `uploading`(上传中)、`done`(上传完成)或 `error`(上传失败) | string | - | -| uid | 唯一标识符。不设置时会自动生成 | string | - | -| path | 本地图片路径 | string | - | -| size | 本地图片大小。有的机型可能没有返回这个属性 | number | - | - -### LocalFile - -| 参数 | 说明 | 类型 | 默认值 | -| ---- | ------------------------------------------ | ------ | ------ | -| path | 本地图片路径 | string | - | -| size | 本地图片大小。有的机型可能没有返回这个属性 | number | - | - -### onUpload - -`onUpload` 方法接收 `LocalFile`,在 Promise 里返回 `File`。以下是调用 [my.uploadFile](https://opendocs.alipay.com/mini/api/kmq4hc) 进行上传的示例代码: - -```js -onUpload(localFile) { - return new Promise((resolve, reject) => { - my.uploadFile({ - url: 'https://...', // 请替换成有效的服务端 url - fileType: 'image', - name: 'userfile', // 根据后台服务需求替换 - filePath: localFile.path, // 传入 localFile.path - formData: { extra: '其他信息' }, // 根据后台服务需求替换 - success: res => { - // 根据后台返回,得到上传成功的图片 url - const { url } = JSON.parse(res.data); - resolve(url); // 调用 resolve 传入图片 url - }, - fail: err => { - reject(); // 上传错误调用 reject - }, - }); - }); -} -``` - -### onChooseImageError - -选择图片可能会失败,`onChooseImageError` 可获取错误,可以查看 [my.chooseImage 错误码](https://opendocs.alipay.com/mini/api/media/image/my.chooseimage#%E9%94%99%E8%AF%AF%E7%A0%81)。 - -```js -onChooseImageError(err) { - console.log(err); -} -``` - -### maxCount - -1. `maxCount` 表示最多可以上传的图片数量,不传表示无限制。由于小程序选择图片界面有一次性选择图片的上限,如果 `maxCount` 大于此上限,则需要多次上传。例如,`maxCount="{{10}}"`,允许上传 10 张图片,用户需先上传 9 张,之后再上传 1 张。 -2. `maxCount` 不限制 `defaultFileList` 和 `fileList`。例如,`maxCount` 为 1,而 `defaultFileList` 包含 2 张图片,不会减少 `defaultFileList` 里的图片。上传按钮则会隐藏。 - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| --image-upload-cover-background |
rgba(0, 0, 0, 0.4)
|
rgba(0, 0, 0, 0.4)
| 图片上传封面背景颜色(覆盖) | -| --image-upload-wrapper-background |
#f5f5f5
|
#121212
| 图片上传包裹背景颜色 | -| --image-upload-text-color |
#ffffff
|
#ffffff
| 图片上传文本颜色 | -| --image-upload-background-color |
rgba(0, 0, 0, 0.4)
|
#1a1a1a
| 图片上传背景颜色 | diff --git a/compiled/alipay/src/ImageUpload/index.ts b/compiled/alipay/src/ImageUpload/index.ts deleted file mode 100644 index 868b761c0..000000000 --- a/compiled/alipay/src/ImageUpload/index.ts +++ /dev/null @@ -1,227 +0,0 @@ -import { effect } from '@preact/signals-core'; -import createValue from '../mixins/value'; -import { chooseImage } from '../_util/jsapi/choose-image'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, -} from '../_util/simply'; -import i18nController from '../_util/store'; -import { File, LocalFile, UploaderDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - UploaderDefaultProps, - { - async chooseImage() { - const [onBeforeUpload, onUpload, onChooseImageError] = getValueFromProps( - this, - ['onBeforeUpload', 'onUpload', 'onChooseImageError'] - ); - if (!onUpload) { - throw new Error('need props onUpload'); - } - const fileList = this.getValue(); - const [maxCount, sourceType] = getValueFromProps(this, [ - 'maxCount', - 'sourceType', - ]); - - let localFileList: LocalFile[]; - try { - const chooseImageRes = await chooseImage({ - count: - typeof maxCount === 'undefined' - ? Infinity - : maxCount - fileList.length, - sourceType, - }); - localFileList = ( - chooseImageRes.tempFiles || - chooseImageRes.tempFilePaths || - chooseImageRes.apFilePaths || - chooseImageRes.filePaths || - [] - ) - .map((item) => { - if (typeof item === 'string') { - return { - path: item, - }; - } - if (item.path) { - return { - path: item.path, - size: item.size, - }; - } - }) - .filter((item) => !!item); - } catch (err) { - onChooseImageError(err); - return; - } - - if (onBeforeUpload) { - try { - const beforeUploadRes = await onBeforeUpload(localFileList); - if (beforeUploadRes === false) { - return; - } - if (Array.isArray(beforeUploadRes)) { - localFileList = beforeUploadRes; - } - } catch (err) { - return; - } - } - - const tasks = localFileList.map((file) => this.uploadFile(file)); - await Promise.all(tasks); - }, - - async uploadFile(localFile: LocalFile) { - const onUpload = getValueFromProps(this, 'onUpload'); - - const uid = this.getCount(); - const tempFileList = [ - ...this.getValue(), - { - path: localFile.path, - size: localFile.size, - uid, - status: 'uploading', - }, - ]; - - if (!this.isControlled()) { - this.update(tempFileList); - } - - triggerEvent(this, 'change', tempFileList); - - try { - const url = await onUpload(localFile); - if (typeof url !== 'string' || !url) { - this.updateFile(uid, { - status: 'error', - }); - return; - } - this.updateFile(uid, { - status: 'done', - url, - }); - } catch (err) { - this.updateFile(uid, { - status: 'error', - }); - } - }, - - updateFile(uid: string, file: Partial) { - const fileList = this.getValue(); - const tempFileList = fileList.map((item) => { - if (item.uid === uid) { - return { - ...item, - ...file, - }; - } - return item; - }); - if (!this.isControlled()) { - this.update(tempFileList); - } - - triggerEvent(this, 'change', tempFileList); - }, - - async onRemove(e) { - const fileList = this.getValue(); - const onRemove = getValueFromProps(this, 'onRemove'); - const { uid } = e.currentTarget.dataset; - const file = fileList.find((item) => item.uid === uid); - - if (onRemove) { - const result = await onRemove(file); - if (result === false) { - return; - } - } - const tempFileList = fileList.filter((item) => item.uid !== uid); - if (!this.isControlled()) { - this.update(tempFileList); - } - - triggerEvent(this, 'change', tempFileList); - }, - - onPreview(e) { - const { uid } = e.currentTarget.dataset; - const fileList = this.getValue(); - const file = fileList.find((item) => item.uid === uid); - triggerEvent(this, 'preview', file); - }, - updateShowUploadButton() { - const maxCount = getValueFromProps(this, 'maxCount'); - this.setData({ - showUploadButton: !maxCount || this.getValue().length < maxCount, - }); - }, - count: 0, - - getCount() { - // 使用 Date.now() 与 useId 作为前缀,防止每次前缀都相同 - this.count = (this.count || 0) + 1; - // 使用 Date.now() 与 useId 作为前缀,防止每次前缀都相同 - let id = this.id; - id = this.$id; - const prefix = id + '-' + Date.now(); - return `${prefix}-${this.count}`; - }, - }, - null, - [ - createValue({ - defaultValueKey: 'defaultFileList', - valueKey: 'fileList', - transformValue(fileList = []) { - return { - needUpdate: true, - value: (fileList || []).map((item) => { - const file = { - ...item, - }; - if (typeof item.url === 'undefined') { - file.url = ''; - } - if (typeof item.uid === 'undefined') { - file.uid = this.getCount(); - } - if (typeof item.status === 'undefined') { - file.status = 'done'; - } - return file; - }), - }; - }, - }), - ], - { - didMount() { - this.updateShowUploadButton(); - }, - didUpdate(prevProps, prevData) { - if (!this.isEqualValue(prevData)) { - this.updateShowUploadButton(); - } - }, - } -); diff --git a/compiled/alipay/src/ImageUpload/props.ts b/compiled/alipay/src/ImageUpload/props.ts deleted file mode 100644 index 88c6be54c..000000000 --- a/compiled/alipay/src/ImageUpload/props.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export type Status = 'uploading' | 'done' | 'error'; -export interface File { - /** - * @description 唯一标识符,不设置时会自动生成 - */ - uid?: string; - - /** - * @description 图片的资源地址 - */ - url: string; - - /** - * @description 上传状态 - */ - status?: Status; -} - -export interface LocalFile { - path: string; - size?: number; -} - -export interface IUploaderProps extends IBaseProps { - /** - * @description 默认已经上传的文件列表 - * @default [] - */ - defaultFileList: File[]; - - /** - * @description 已经上传的文件列表(受控) - */ - fileList: File[]; - - /** - * @description 上传图片的最大数量 - */ - maxCount: number; - - /** - * @description 图片缩放模式和裁剪模式 - * @default 'scaleToFill' - */ - imageMode: - | 'scaleToFill' - | 'aspectFit' - | 'aspectFill' - | 'widthFix' - | 'heightFix' - | 'top' - | 'bottom' - | 'center' - | 'left' - | 'right' - | 'top left' - | 'top right' - | 'bottom left' - | 'bottom right'; - - /** - * @description 视频选择的来源 - * @default ['album', 'camera'] - */ - sourceType: ['album'] | ['camera'] | ['camera', 'album']; - - /** - * @description 图片上传前的回调函数,返回 false 可终止图片上传,支持返回 Promise - */ - onBeforeUpload?: ( - localFileList: LocalFile[] - ) => boolean | Promise; - - /** - * @description 选择图片失败回调 - */ - onChooseImageError?: (err: any) => void; - - /** - * @description 已上传的文件列表变化时触发 - */ - onChange?: (v: Array) => void; - - /** - * @description 删除当前列表中的图片时触发,包括上传成功和上传失败的图片,如果返回 false 表示阻止删除,支持返回 Promise - */ - onRemove?: (v: File) => boolean | Promise; - - /** - * @description 点击图片进行预览时触发,会覆盖默认的预览功能 - */ - onPreview?: (v: Array) => void; - - /** - * @description 自定义上传方式,只在不存在action字段时生效 - */ - onUpload?: (localFile: LocalFile) => Promise; - /** - * @description 上传中文案 - * @default "上传中……" - */ - uploadingText?: string; - /** - * @description 上传失败文案 - * @default "上传失败" - */ - uploadfailedText?: string; -} - -export const UploaderDefaultProps: Partial = { - defaultFileList: [], - fileList: null, - maxCount: null, - imageMode: 'scaleToFill', - sourceType: ['camera', 'album'], - onUpload: null, - onBeforeUpload: null, - onRemove: null, - uploadingText: null, - uploadfailedText: null, -}; diff --git a/compiled/alipay/src/ImageUpload/variable.less b/compiled/alipay/src/ImageUpload/variable.less deleted file mode 100644 index 20d82d989..000000000 --- a/compiled/alipay/src/ImageUpload/variable.less +++ /dev/null @@ -1,33 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@image-upload-size-base: 4 * @rpx; - -@image-upload-margin-size-base: 4 * @rpx; -@image-upload-margin-size-1: @image-upload-margin-size-base * 1; -@image-upload-margin-size-2: @image-upload-margin-size-base * 2; -@image-upload-margin-size-3: @image-upload-margin-size-base * 3; - -@image-upload-common-margin: @image-upload-margin-size-1 - @image-upload-margin-size-2; -@image-upload-add-image-container-margin: @image-upload-margin-size-1 - @image-upload-margin-size-2 @image-upload-margin-size-3; - -@image-upload-close-tip-width: @image-upload-size-base * 10; -@image-upload-close-tip-height: @image-upload-size-base * 10; - -@image-upload-close-tip-url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*_Az1QavR4OsAAAAAAAAAAAAAARQnAQ'; - -@image-upload-background-color: var( - --image-upload-background-color, - @COLOR_CARD -); -@image-upload-wrapper-background: var( - --image-upload-wrapper-background, - @COLOR_GREY_CARD -); -@image-upload-cover-background: var( - --image-upload-cover-background, - rgba(0, 0, 0, 0.4) -); -@image-upload-text-color: var(--image-upload-text-color, @COLOR_WHITE); diff --git a/compiled/alipay/src/IndexBar/index.axml b/compiled/alipay/src/IndexBar/index.axml deleted file mode 100644 index c50cb7a9b..000000000 --- a/compiled/alipay/src/IndexBar/index.axml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - {{item.label}} - - - {{item.label}} - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/IndexBar/index.en.md b/compiled/alipay/src/IndexBar/index.en.md deleted file mode 100644 index da9022474..000000000 --- a/compiled/alipay/src/IndexBar/index.en.md +++ /dev/null @@ -1,154 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# IndexBar - -Side index component. Used to quickly locate a list index. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { - "ant-index-bar": "antd-mini/es/IndexBar/index" -} -``` - -## Code example - -### Basic use - -```xml - - - - - - -``` - -```css -.base { - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100%; -} -.indexbar { - width: calc(100% - 20px); - display: flex; - align-items: center; - justify-content: flex-end; -} -``` - -```js -Page({ - data: { - items: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('').map((u) => { - return { label: u }; - }), - }, -}); -``` - -### Use in conjunction with a list - -```xml - - - - - - {{props.value.label}}-{{itemX}} - - - - - -``` - -```css -.base { - width: 100%; - height: 100vh; -} -.indexbar { - position: fixed; - right: 10px; - top: 20vh; -} -``` - -```js -Page({ - data: { - items: [], - }, - onLoad() { - this.setData({ - items: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('').map((u) => { - return { label: u }; - }), - }); - }, -}); -``` - -### Controlled Mode - -> Reference below [Demo Code](#demo-代码) implementation in. - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------- | --------------------------------- | --------------------------------------------- | ------ | -| activeClassName | Style when index is active | string | - | -| className | Class Name | string | - | -| current | Index value | string | - | -| defaultCurrent | Default Index | string | - | -| labelPreview | Index preview content, receiving value and index | slot | - | -| items | Index Array | [Item](#item) | [] | -| style | Style | string | - | -| size | Dimensions of the index (width and height in px) | number | 16 | -| vibrate | Whether it vibrates when the index changes | boolean | true | -| onChange | Callback when index changes | (value: [Item](#item), index: number) => void | - -#### Item - -| Property | Description | Type | Default Value | -| -------------- | ------------------------ | ------- | ------ | -| label | Index ID | string | - | -| disablePreview | Disable preview effect when index is triggered | boolean | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --index-bar-tip-background-color |
#cccccc
|
#474747
| Index bar prompt background color | -| --index-bar-text-color |
#ffffff
|
#ffffff
| Index column text color | -| --index-bar-assist-color |
#999999
|
#616161
| Index Bar Secondary Text Color | -| --index-bar-active-color |
#1677ff
|
#3086ff
| Index Bar Activation Color | diff --git a/compiled/alipay/src/IndexBar/index.json b/compiled/alipay/src/IndexBar/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/IndexBar/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/IndexBar/index.less b/compiled/alipay/src/IndexBar/index.less deleted file mode 100644 index 1990d209e..000000000 --- a/compiled/alipay/src/IndexBar/index.less +++ /dev/null @@ -1,63 +0,0 @@ -@import (reference) './variable.less'; - -.ant-indexbar-side { - z-index: 9; - &-mask { - position: fixed; - width: 100vw; - height: 100vh; - left: 0; - top: 0; - z-index: 9; - } - &-content { - width: 100%; - height: 100%; - justify-content: center; - align-items: center; - text-align: center; - } - &-item { - position: relative; - padding-left: 20 * @rpx; - &-default { - font-size: 22 * @rpx; - font-weight: bold; - color: @index-bar-assist-color; - display: flex; - align-items: center; - justify-content: center; - } - &-tip { - position: absolute; - left: -158 * @rpx; - top: 50%; - transform: translateY(-50%); - width: 94 * @rpx; - height: 94 * @rpx; - border-radius: 94 * @rpx; - line-height: 94 * @rpx; - text-align: center; - background: @index-bar-tip-background-color; - color: @index-bar-text-color; - font-size: 50 * @rpx; - } - } - &-active { - border-radius: 16 * @rpx; - background-color: @index-bar-active-color; - color: @index-bar-text-color; - } - &-scroll { - width: 100%; - height: 100%; - overflow: scroll; - scrollbar-width: none; - } - &-notSee { - position: fixed; - left: -200%; - top: 0; - z-index: -1; - } -} diff --git a/compiled/alipay/src/IndexBar/index.md b/compiled/alipay/src/IndexBar/index.md deleted file mode 100644 index 94dc1ba36..000000000 --- a/compiled/alipay/src/IndexBar/index.md +++ /dev/null @@ -1,154 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# IndexBar 索引 - -侧边索引组件。用于快速定位列表索引。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { - "ant-index-bar": "antd-mini/es/IndexBar/index" -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - - - -``` - -```css -.base { - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100%; -} -.indexbar { - width: calc(100% - 20px); - display: flex; - align-items: center; - justify-content: flex-end; -} -``` - -```js -Page({ - data: { - items: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('').map((u) => { - return { label: u }; - }), - }, -}); -``` - -### 结合列表使用 - -```xml - - - - - - {{props.value.label}}-{{itemX}} - - - - - -``` - -```css -.base { - width: 100%; - height: 100vh; -} -.indexbar { - position: fixed; - right: 10px; - top: 20vh; -} -``` - -```js -Page({ - data: { - items: [], - }, - onLoad() { - this.setData({ - items: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('').map((u) => { - return { label: u }; - }), - }); - }, -}); -``` - -### 受控模式 - -> 参考下面 [Demo 代码](#demo-代码) 中的实现。 - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------- | --------------------------------- | --------------------------------------------- | ------ | -| activeClassName | 索引激活时的样式 | string | - | -| className | 类名 | string | - | -| current | 索引值 | string | - | -| defaultCurrent | 默认索引 | string | - | -| labelPreview | 索引预览内容,接收 value 和 index | slot | - | -| items | 索引数组 | [Item](#item) | [] | -| style | 样式 | string | - | -| size | 索引的尺寸(宽高,单位 px) | number | 16 | -| vibrate | 索引改变时是否震动 | boolean | true | -| onChange | 索引改变时的回调 | (value: [Item](#item), index: number) => void | - -#### Item - -| 属性 | 说明 | 类型 | 默认值 | -| -------------- | ------------------------ | ------- | ------ | -| label | 索引标识 | string | - | -| disablePreview | 禁用索引触发时的预览效果 | boolean | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --index-bar-tip-background-color |
#cccccc
|
#474747
| 索引栏提示背景颜色 | -| --index-bar-text-color |
#ffffff
|
#ffffff
| 索引栏文本颜色 | -| --index-bar-assist-color |
#999999
|
#616161
| 索引栏辅助文本颜色 | -| --index-bar-active-color |
#1677ff
|
#3086ff
| 索引栏激活颜色 | diff --git a/compiled/alipay/src/IndexBar/index.ts b/compiled/alipay/src/IndexBar/index.ts deleted file mode 100644 index e64f872d2..000000000 --- a/compiled/alipay/src/IndexBar/index.ts +++ /dev/null @@ -1,159 +0,0 @@ -import equal from 'fast-deep-equal'; -import { IndexBarDefaultProps } from './props'; - -Component({ - props: IndexBarDefaultProps, - data: { - touchClientY: 0, // 按下触摸点所处页面的高度 - touchKeyIndex: -1, // 选中的字母 - touchKey: '', // 触发的key - itemHeight: 16, // 每个字母的高度 - moving: false, // 滑动进行时 - showMask: false, // 打开遮罩,防止和页面的滑动重叠了 - currentKey: 0, - topRange: [], - hasDefaultSlot: true, - }, - didMount() { - this.init(); - }, - didUpdate(_prop) { - const { current, items } = this.props; - if (!equal(_prop.items, this.props.items)) { - this.init(); - } - if (_prop.current !== current) { - const _index = items.findIndex((u) => current === u.label); - this.setData({ - currentKey: _index, - }); - if (!this.isControlled()) { - this.setData({ - touchKeyIndex: _index, - touchKey: current, - }); - } - } - }, - methods: { - init() { - const { defaultCurrent, current, items } = this.props; - this.initItemHeight(); - this.initTopRange(); - const initCurrent = this.isControlled() ? current : defaultCurrent; - const _index = items.findIndex((u) => initCurrent === u.label); - this.setData({ - currentKey: _index, - touchKeyIndex: _index, - touchKey: initCurrent, - }); - }, - isControlled(valueKey = 'current') { - if ('controlled' in this.props) { - return this.props.controlled; - } - return valueKey in this.props; - }, - // 初始化每个块的高度,用已计算滑动距离 - initItemHeight() { - my.createSelectorQuery() - .select(`#ant-alphabet-0`) - .boundingClientRect() - .exec((ret: any) => { - if (ret[0] === null) throw new Error('找不到Indexbar元素'); - const { height } = ret[0]; - this.setData({ itemHeight: height }); - }); - }, - onTouchStart(e: any) { - const { moving } = this.data; - const { items } = this.props; - if (moving) return; - - const { item, index } = e.target.dataset.item; - const point = (e && e.touches && e.touches[0]) || {}; - const { clientY } = point; - - this.setData({ - touchClientY: clientY, - touchKeyIndex: index, - touchKey: items[index].label, - moving: true, - showMask: true, - currentKey: index, - }); - - this.onAlphabetClick(item, index); // 触摸开始 - }, - async onAlphabetClick(item, index) { - const { vibrate, onChange } = this.props; - vibrate && (await my.vibrateShort()); - onChange(item, index); - }, - onTouchEnd() { - // 没进入moving状态就不处理 - if (!this.data.moving) return; - - this.setData({ - touchKeyIndex: -1, - touchKey: '', - showMask: false, - moving: false, - }); - }, - onTouchMove(e: any) { - const { touchClientY, touchKeyIndex, itemHeight, touchKey } = this.data; - const { items } = this.props; - const point = e.changedTouches[0]; - const movePageY = point.clientY; - // 滑动距离 - const movingHeight = Math.abs(movePageY - touchClientY); - - // 滑动几个itemHeight的距离即等于滑动了几格,不那么精准,但是几乎可以忽略不计 - const movingNum = parseInt(`${movingHeight / itemHeight}`, 10); - // 上 or 下 - const isUp = movePageY < touchClientY; - // 新的触发的索引应该在哪个index - const newIndex = isUp - ? touchKeyIndex - movingNum - : touchKeyIndex + movingNum; - - // 超出索引列表范围 or 索引没变化return - if (!items[newIndex] || touchKey === items[newIndex].label) return; - // 结算 - this.setData({ touchKey: items[newIndex].label, currentKey: newIndex }); - this.onAlphabetClick(items[newIndex], newIndex); - }, - onScroll(e) { - const { topRange, currentKey, moving } = this.data; - const { items } = this.props; - const { scrollTop } = e.detail; - let newIndex = 0; - if (scrollTop + 1 > topRange[topRange.length - 1]) { - newIndex = topRange.length; - } else { - newIndex = topRange.findIndex((h) => scrollTop + 1 < h); - } - if (currentKey !== newIndex - 1 && newIndex - 1 >= 0 && !moving) { - this.setData({ - currentKey: newIndex - 1, - touchKeyIndex: newIndex - 1, - touchKey: items[newIndex - 1].label, - }); - this.onAlphabetClick(items[newIndex - 1], newIndex - 1); - } - }, - initTopRange() { - my.createSelectorQuery() - .selectAll('.ant-indexbar-side-list') - .boundingClientRect() - .exec((ret) => { - const arr = []; - ret[0].forEach((u) => { - arr.push(u.top - ret[0][0].top); - }); - this.setData({ topRange: arr, hasDefaultSlot: !!ret[0][0].height }); - }); - }, - }, -}); diff --git a/compiled/alipay/src/IndexBar/props.ts b/compiled/alipay/src/IndexBar/props.ts deleted file mode 100644 index 1284de878..000000000 --- a/compiled/alipay/src/IndexBar/props.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -interface ItemObj { - label: string; - disablePreview?: boolean; -} - -export interface IndexBarProps extends IBaseProps { - /** - * @description 触发的索引样式 - */ - activeClassName: string; - /** - * @description 默认触发的索引 - */ - defaultCurrent: string; - /** - * @description 触发的索引 - */ - current: string; - /** - * @description 索引触发时是否震动 - */ - vibrate: boolean; - /** - * @description 索引列表 - */ - items: ItemObj[]; - /** - * @description 索引的尺寸 - */ - size: number; - /** - * @description 触发索引时的回调 - */ - onChange: (value: ItemObj, index: number) => void; -} - -export const IndexBarDefaultProps: Partial = { - className: '', - activeClassName: '', - defaultCurrent: null, - vibrate: true, - items: [], - size: 16, - style: '', - onChange: (value, index) => {}, -}; diff --git a/compiled/alipay/src/IndexBar/variable.less b/compiled/alipay/src/IndexBar/variable.less deleted file mode 100644 index 66478bc70..000000000 --- a/compiled/alipay/src/IndexBar/variable.less +++ /dev/null @@ -1,10 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@index-bar-tip-background-color: var( - --index-bar-tip-background-color, - @COLOR_TEXT_WEAK -); -@index-bar-text-color: var(--index-bar-text-color, @COLOR_WHITE); -@index-bar-assist-color: var(--index-bar-assist-color, @COLOR_TEXT_ASSIST); -@index-bar-active-color: var(--index-bar-active-color, @COLOR_BRAND1); diff --git a/compiled/alipay/src/Input/InputBlur/index.axml b/compiled/alipay/src/Input/InputBlur/index.axml deleted file mode 100644 index abe2c833e..000000000 --- a/compiled/alipay/src/Input/InputBlur/index.axml +++ /dev/null @@ -1,26 +0,0 @@ - \ No newline at end of file diff --git a/compiled/alipay/src/Input/InputBlur/index.json b/compiled/alipay/src/Input/InputBlur/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Input/InputBlur/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Input/InputBlur/index.ts b/compiled/alipay/src/Input/InputBlur/index.ts deleted file mode 100644 index ace6d5ffd..000000000 --- a/compiled/alipay/src/Input/InputBlur/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import mixinValue from '../../mixins/value'; -import { Component, triggerEvent } from '../../_util/simply'; -import { InputBlurDefaultProps } from './props'; - -Component( - InputBlurDefaultProps, - { - onChange(e) { - const value = e.detail.value; - if (this.isControlled()) { - this.update(value, {}, true); - } - triggerEvent(this, 'change', value, e); - }, - onFocus(e) { - const value = e.detail.value; - this.focus = true; - triggerEvent(this, 'focus', value, e); - }, - onBlur(e) { - const value = e.detail.value; - this.focus = false; - if (this.isControlled()) { - this.update(this.props.value); - } - triggerEvent(this, 'blur', value, e); - }, - onConfirm(e) { - const value = e.detail.value; - triggerEvent(this, 'confirm', value, e); - }, - }, - undefined, - [ - mixinValue({ - scopeKey: 'state', - transformValue(value, extra, updateWithoutFocusCheck) { - if (value === null || (!updateWithoutFocusCheck && this.focus)) { - return { - needUpdate: false, - }; - } - return { - needUpdate: true, - value, - }; - }, - }), - ], - { - focus: false, - } -); diff --git a/compiled/alipay/src/Input/InputBlur/props.ts b/compiled/alipay/src/Input/InputBlur/props.ts deleted file mode 100644 index 4c3c63dad..000000000 --- a/compiled/alipay/src/Input/InputBlur/props.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -export type InputType = - | 'text' - | 'number' - | 'idcard' - | 'digit' - | 'numberpad' - | 'digitpad' - | 'idcardpad'; - -/** - * @description 输入框。 - */ - -export interface InputBlurProps extends IBaseProps { - value: string; - defaultValue: string; - placeholder: string; - placeholderClassName: string; - placeholderStyle: string; - enableNative: boolean; - confirmType: string; - confirmHold: string; - alwaysSystem: boolean; - selectionStart: number; - selectionEnd: number; - cursor: number; - controlled: boolean; - maxLength?: number; - inputClassName: string; - inputStyle: string; - focus?: boolean; - password: boolean; - disabled?: boolean; - /** - * @description 组件名字,用于表单提交获取数据。 - */ - name?: string; - type?: InputType; - /** - * @description 当 type 为 number, digit, idcard 数字键盘是否随机排列。 - * @default false - */ - randomNumber?: boolean; - onChange?: (value: string, e: any) => void; - onBlur?: (value: string, e: any) => void; - onFocus?: (value: string, e: any) => void; - onConfirm?: (value: string, e: any) => void; -} - -export const InputBlurDefaultProps: Partial = { - value: null, - defaultValue: null, - placeholder: null, - placeholderClassName: '', - placeholderStyle: '', - enableNative: null, - confirmType: null, - confirmHold: null, - alwaysSystem: null, - selectionStart: null, - selectionEnd: null, - cursor: null, - controlled: null, - inputClassName: null, - inputStyle: null, - focus: null, - password: null, - disabled: null, - name: null, - type: null, - randomNumber: null, -}; diff --git a/compiled/alipay/src/Input/Textarea/index.axml b/compiled/alipay/src/Input/Textarea/index.axml deleted file mode 100644 index 0807fa43d..000000000 --- a/compiled/alipay/src/Input/Textarea/index.axml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Input/Textarea/index.json b/compiled/alipay/src/Input/Textarea/index.json deleted file mode 100644 index 97554de27..000000000 --- a/compiled/alipay/src/Input/Textarea/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/alipay/src/Input/Textarea/index.less b/compiled/alipay/src/Input/Textarea/index.less deleted file mode 100644 index d37027049..000000000 --- a/compiled/alipay/src/Input/Textarea/index.less +++ /dev/null @@ -1,59 +0,0 @@ -@import (reference) '../variable.less'; - -@inputItemPrefix: ant-textarea; -.@{inputItemPrefix} { - display: flex; - align-items: center; - background: @input-background-color; - &-disabled { - opacity: 0.4; - } - &-line { - position: relative; - flex: 1; - display: flex; - align-items: center; - overflow: hidden; - } - &-content { - width: 100%; - align-self: center; - padding: 0; - font-size: 34 * @rpx; - text-align: left; - color: @input-item-color; - background: @input-background-color; - &-clear { - padding-right: 34 * @rpx; - } - } - - &-clear { - position: absolute; - top: 0; - right: 0; - z-index: 2; - display: flex; - justify-content: center; - align-items: center; - border-radius: 16 * @rpx; - margin-left: 8 * @rpx; - &-icon { - color: @input-item-placeholder-color; - font-size: 34 * @rpx; - } - } - - &-clear-show { - display: flex; - } - &-clear-hidden { - display: none; - pointer-events: none; - } - &-placeholder { - font-size: 34 * @rpx; - color: @input-item-placeholder-color; - margin-left: -6 * @rpx; - } -} diff --git a/compiled/alipay/src/Input/Textarea/index.ts b/compiled/alipay/src/Input/Textarea/index.ts deleted file mode 100644 index 40955decc..000000000 --- a/compiled/alipay/src/Input/Textarea/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { effect } from '@preact/signals-core'; -import mixinValue from '../../mixins/value'; -import { ComponentWithSignalStoreImpl, triggerEvent } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { TextareaDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - TextareaDefaultProps, - { - onChange(e) { - const value = e.detail.value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - onFocus(e) { - const value = e.detail.value; - this.setData({ - selfFocus: true, - }); - triggerEvent(this, 'focus', value, e); - }, - onBlur(e) { - const value = e.detail.value; - this.setData({ - selfFocus: false, - }); - triggerEvent(this, 'blur', value, e); - }, - onConfirm(e) { - const value = e.detail.value; - triggerEvent(this, 'confirm', value, e); - }, - onClear(e) { - if (!this.isControlled()) { - this.update(''); - } - triggerEvent(this, 'change', '', e); - }, - }, - { - selfFocus: false, - }, - [mixinValue({ scopeKey: 'state' })], -); diff --git a/compiled/alipay/src/Input/Textarea/props.ts b/compiled/alipay/src/Input/Textarea/props.ts deleted file mode 100644 index 0f47a40d3..000000000 --- a/compiled/alipay/src/Input/Textarea/props.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -/** - * 有效值:return(显示“换行”)、done(显示“完成”)、go(显示“前往”)、next(显示“下一个”)、search(显示“搜索”)、send(显示“发送”)。 - */ -export type ConfirmType = 'return' | 'done' | 'go' | 'next' | 'search' | 'send'; - -/** - * @description 输入框。 - */ - -export interface TextareaProps extends IBaseProps { - value?: string; - defaultValue: string; - placeholder: string; - placeholderClassName: string; - placeholderStyle: string; - autoHeight: boolean; - showCount: boolean; - allowClear: boolean; - controlled: boolean; - enableNative?: boolean; - maxLength?: number; - inputClassName: string; - disabled?: boolean; - inputStyle: string; - focusStyle?: string; - name?: string; - confirmType?: ConfirmType; - focus?: boolean; - confirmHold?: string; - onChange?: (value: string, e: any) => void; - onBlur?: (value: string, e: any) => void; - onFocus?: (value: string, e: any) => void; - onConfirm?: (value: string, e: any) => void; -} - -export const TextareaDefaultProps: TextareaProps = { - value: null, - defaultValue: null, - placeholder: null, - placeholderClassName: null, - placeholderStyle: null, - autoHeight: null, - showCount: null, - allowClear: null, - controlled: null, - enableNative: false, - inputClassName: null, - disabled: null, - inputStyle: null, - focusStyle: null, - name: null, - confirmType: null, - focus: null, - confirmHold: null, -}; diff --git a/compiled/alipay/src/Input/index.axml b/compiled/alipay/src/Input/index.axml deleted file mode 100644 index 77ab48960..000000000 --- a/compiled/alipay/src/Input/index.axml +++ /dev/null @@ -1,54 +0,0 @@ - - - - {{prefix}} - - - - - - - - - {{suffix}} - - \ No newline at end of file diff --git a/compiled/alipay/src/Input/index.en.md b/compiled/alipay/src/Input/index.en.md deleted file mode 100644 index 917554ebb..000000000 --- a/compiled/alipay/src/Input/index.en.md +++ /dev/null @@ -1,290 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: content ---- - -# Input - -Through the keyboard input content, is the most basic form field packaging. Generally used in the form page for information collection. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-input": "antd-mini/es/Input/index", - "ant-textarea": "antd-mini/es/Input/Textarea/index" -#endif -#if WECHAT - "ant-input": "antd-mini/Input/index", - "ant-textarea": "antd-mini/Input/Textarea/index" -#endif -} -``` - -## Code example - -### Input basic usage - -```xml - - - - -``` - -### With Prefix and Suffix - -```xml - - - RMB - -``` - -### Controlled Mode - -```xml - -``` - -### Enter Amount - -```xml - - - RMB - -``` - -### SearchBar search box - -```xml - - - - - - Cancel - -``` - -```css -.search-line { - display: flex; - align-items: center; - padding: 16px; -} -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: #1677ff; - } -} -.cancel { - color: #fff; - margin-left: 8px; -} -``` - -### Textarea - -#### Basic Usage - -```xml - - -``` - -#### Controlled Mode - -```xml - -``` - -### Custom - -#### With border - -```xml - -``` - -```css -.custom { - border: 1px solid #ccc; - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} -``` - -#### Custom Background Color - -```xml - -``` - -```css -.custom-color { - margin-bottom: 12px; - input, - textarea { - padding: 4px; - background: #f5f5f5; - border-radius: 4px; - } -} -``` - -### Demo Code - - - -## API - -### Input, Textarea the same property - -| Property | Description | Type | Default Value | -| ----------------------- | ----------------------------------------------- | ------------------------------------- | ------ | -| className | Class Name | string | - | -| controlled | There are keyboard input problems, you can use `controlled="{{false}}"` | boolean | - | -| defaultValue | Initial value | string | - | -| disabled | Disable | boolean | false | -| maxLength | Maximum length | number | 140 | -| placeholder | Placeholder | string | - | -| style | Style | string | - | -| value | The value of the input box. Controlled mode. | string | - | -| #if ALIPAY onConfirm | This callback is triggered when the keyboard is clicked to complete | (value: string, event: Event) => void | - | -| #if ALIPAY onFocus | Trigger this callback when focused | (value: string, event: Event) => void | - | -| #if ALIPAY onBlur | Trigger this callback when out of focus | (value: string, event: Event) => void | - | -| #if ALIPAY onChange | This callback is triggered when input | (value: string, event: Event) => void | - | -| #if WECHAT bind:confirm | This callback is triggered when the keyboard is clicked to complete | (value: string, event: Event) => void | - | -| #if WECHAT bind:focus | Trigger this callback when focused | (value: string, event: Event) => void | - | -| #if WECHAT bind:blur | Trigger this callback when out of focus | (value: string, event: Event) => void | - | -| #if WECHAT bind:change | This callback is triggered when input | (value: string, event: Event) => void | - | - -### Input property - -| Property | Description | Type | Default Value | -| ------------ | ---------------------------------- | ------- | ------ | -| allowClear | You can click the clear icon to delete content | boolean | false | -| enableNative | Whether to use native | boolean | - | -| focus | Focus, View[Detailed Description](#input-focus) | boolean | - | -| password | Whether it is password type | boolean | false | -| prefix | input prefix | slot | - | -| suffix | input suffix | slot | - | - -### Textarea Properties - -| Property | Description | Type | Default Value | -| ------------ | ---------------- | ------- | ------ | -| autoHeight | Whether to increase automatically. | boolean | false | -| enableNative | Whether to use native | boolean | - | -| showCount | Show word count | boolean | true | - -### Input, Textarea More Same Properties - -- confirm-type -- name -- placeholder-class -- placeholder-style -- type - -[Input](https://opendocs.alipay.com/mini/component/input) -[Textarea](https://opendocs.alipay.com/mini/component/textarea) - -### Input focus - -To use the focus attribute, you need to add it to the app.json window. `"enableInPageRenderInput": "YES"`Otherwise, the keyboard cannot be opened in iOS. - -### Input, Textarea instance methods - -Instance methods require small programs `component2` Can be used. - -| Property | Description | Type | -| -------- | ------ | ----------------------- | -| update | Update Value | (value: string) => void | -| getValue | get value | () => string | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --input-item-color |
#333333
|
#c5cad1
| Input Text Color | -| --input-item-placeholder-color |
#cccccc
|
#474747
| Input item placeholder color | -| --input-item-clear-color |
#999999
|
#616161
| Input Clear Button Color | -| --input-background-color |
#ffffff
|
#1a1a1a
| Input Background Color | - -## FAQ - -### Input focus does not open the keyboard - -You need to add it to the app.json window. `"enableInPageRenderInput": "YES"`。 - -### Cursor problem with Input - -Can be viewed [This document](https://opendocs.alipay.com/mini/component/input#FAQ) Use `enableNative` property to resolve. - -### Keyboard problems using value controlled mode - -This is due [A known issue with input boxes](https://opendocs.alipay.com/mini/component/input#Bug%20%26%20Tip)。 - -The solution is to call the input update method in ref mode without using value controlled mode. - -```xml - - -``` - -```js -Page({ - handleRef(input) { -#if ALIPAY - this.input = input; -#endif -#if WECHAT - this.input = input.detail; -#endif - }, - clear() { - this.input.update(''); - }, -}); -``` - -Starting with v2.15.0, updating values via the update method is not supported in controlled mode. - -### Instance method not available - -need to use `component2`, for details see[ref Get Component Instance](https://opendocs.alipay.com/mini/framework/component-ref)。 diff --git a/compiled/alipay/src/Input/index.json b/compiled/alipay/src/Input/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Input/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Input/index.less b/compiled/alipay/src/Input/index.less deleted file mode 100644 index 0433701ce..000000000 --- a/compiled/alipay/src/Input/index.less +++ /dev/null @@ -1,68 +0,0 @@ -@import (reference) './variable.less'; - -@inputItemPrefix: ant-input; -.@{inputItemPrefix} { - display: flex; - align-items: center; - background: @input-background-color; - &-disabled { - opacity: 0.4; - } - &-line { - position: relative; - flex: 1; - display: flex; - align-items: center; - overflow: hidden; - } - &-prefix { - color: @input-item-placeholder-color; - font-size: 34 * @rpx; - margin: 0 8 * @rpx 0 8 * @rpx; - &:empty { - display: none; - } - } - &-suffix { - color: @input-item-placeholder-color; - font-size: 34 * @rpx; - margin: 0 8 * @rpx 0 8 * @rpx; - &:empty { - display: none; - } - } - &-content { - width: 100%; - align-self: center; - padding: 0; - font-size: 34 * @rpx; - text-align: left; - color: @input-item-color; - background: @input-background-color; - } - - &-clear { - display: flex; - justify-content: center; - align-items: center; - border-radius: 16 * @rpx; - &-icon { - color: @input-item-placeholder-color; - font-size: 34 * @rpx; - padding: 8 * @rpx 0 8 * @rpx 16 * @rpx; - } - } - - &-clear-show { - opacity: 1; - } - &-clear-hidden { - opacity: 0; - pointer-events: none; - } - &-placeholder { - font-size: 34 * @rpx; - color: @input-item-placeholder-color; - margin-left: -6 * @rpx; - } -} diff --git a/compiled/alipay/src/Input/index.md b/compiled/alipay/src/Input/index.md deleted file mode 100644 index 50177c0c1..000000000 --- a/compiled/alipay/src/Input/index.md +++ /dev/null @@ -1,290 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: content ---- - -# Input 输入框 - -通过键盘输入内容,是最基础的表单域包装。一般用在表单页进行信息的收集。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-input": "antd-mini/es/Input/index", - "ant-textarea": "antd-mini/es/Input/Textarea/index" -#endif -#if WECHAT - "ant-input": "antd-mini/Input/index", - "ant-textarea": "antd-mini/Input/Textarea/index" -#endif -} -``` - -## 代码示例 - -### Input 基本使用 - -```xml - - - - -``` - -### 带前缀后缀 - -```xml - - - RMB - -``` - -### 受控模式 - -```xml - -``` - -### 输入金额 - -```xml - - - RMB - -``` - -### SearchBar 搜索框 - -```xml - - - - - - 取消 - -``` - -```css -.search-line { - display: flex; - align-items: center; - padding: 16px; -} -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: #1677ff; - } -} -.cancel { - color: #fff; - margin-left: 8px; -} -``` - -### Textarea - -#### 基础用法 - -```xml - - -``` - -#### 受控模式 - -```xml - -``` - -### 自定义 - -#### 带有边框 - -```xml - -``` - -```css -.custom { - border: 1px solid #ccc; - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} -``` - -#### 自定义背景色 - -```xml - -``` - -```css -.custom-color { - margin-bottom: 12px; - input, - textarea { - padding: 4px; - background: #f5f5f5; - border-radius: 4px; - } -} -``` - -### Demo 代码 - - - -## API - -### Input、Textarea 相同的属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ----------------------------------------------- | ------------------------------------- | ------ | -| className | 类名 | string | - | -| controlled | 有键盘输入问题,可使用 `controlled="{{false}}"` | boolean | - | -| defaultValue | 初始值 | string | - | -| disabled | 是否禁用 | boolean | false | -| maxLength | 最大长度 | number | 140 | -| placeholder | 占位符 | string | - | -| style | 样式 | string | - | -| value | 输入框的值。受控模式。 | string | - | -| #if ALIPAY onConfirm | 点击键盘完成时触发此回调 | (value: string, event: Event) => void | - | -| #if ALIPAY onFocus | 聚焦时触发此回调 | (value: string, event: Event) => void | - | -| #if ALIPAY onBlur | 失焦时触发此回调 | (value: string, event: Event) => void | - | -| #if ALIPAY onChange | 输入时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:confirm | 点击键盘完成时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:focus | 聚焦时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:blur | 失焦时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:change | 输入时触发此回调 | (value: string, event: Event) => void | - | - -### Input 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------ | ---------------------------------- | ------- | ------ | -| allowClear | 可以点击清除图标删除内容 | boolean | false | -| enableNative | 是否使用 native | boolean | - | -| focus | 聚焦,查看[详细说明](#input-focus) | boolean | - | -| password | 是否是密码类型 | boolean | false | -| prefix | input 前缀 | slot | - | -| suffix | input 后缀 | slot | - | - -### Textarea 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------ | ---------------- | ------- | ------ | -| autoHeight | 是否自动增高。 | boolean | false | -| enableNative | 是否使用 native | boolean | - | -| showCount | 是否显示字数统计 | boolean | true | - -### Input、Textarea 更多相同属性 - -- confirm-type -- name -- placeholder-class -- placeholder-style -- type - -[Input](https://opendocs.alipay.com/mini/component/input) -[Textarea](https://opendocs.alipay.com/mini/component/textarea) - -### Input focus - -使用 focus 属性需要在 app.json window 里加上 `"enableInPageRenderInput": "YES"`,否则无法在 iOS 里打开键盘。 - -### Input、Textarea 实例方法 - -实例方法需要小程序 `component2` 可使用。 - -| 属性 | 说明 | 类型 | -| -------- | ------ | ----------------------- | -| update | 更新值 | (value: string) => void | -| getValue | 得到值 | () => string | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --input-item-color |
#333333
|
#c5cad1
| 输入项文本颜色 | -| --input-item-placeholder-color |
#cccccc
|
#474747
| 输入项占位符颜色 | -| --input-item-clear-color |
#999999
|
#616161
| 输入项清除按钮颜色 | -| --input-background-color |
#ffffff
|
#1a1a1a
| 输入项背景颜色 | - -## FAQ - -### Input focus 没有打开键盘 - -需要在 app.json window 里加上 `"enableInPageRenderInput": "YES"`。 - -### Input 出现光标问题 - -可查看 [此文档](https://opendocs.alipay.com/mini/component/input#FAQ) 使用 `enableNative` 属性解决。 - -### 使用 value 受控模式出现键盘问题 - -这个是由于 [输入框的一个已知问题](https://opendocs.alipay.com/mini/component/input#Bug%20%26%20Tip)。 - -解决方式为:不使用 value 受控模式,采用 ref 方式调用 input 更新方法。 - -```xml - - -``` - -```js -Page({ - handleRef(input) { -#if ALIPAY - this.input = input; -#endif -#if WECHAT - this.input = input.detail; -#endif - }, - clear() { - this.input.update(''); - }, -}); -``` - -从 v2.15.0 开始,受控模式下,不支持通过 update 方法更新值。 - -### 实例方法不可用 - -需要使用 `component2`,详情参见[ref 获取组件实例](https://opendocs.alipay.com/mini/framework/component-ref)。 diff --git a/compiled/alipay/src/Input/index.ts b/compiled/alipay/src/Input/index.ts deleted file mode 100644 index 717cbff01..000000000 --- a/compiled/alipay/src/Input/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { effect } from '@preact/signals-core'; -import mixinValue from '../mixins/value'; -import { ComponentWithSignalStoreImpl, triggerEvent } from '../_util/simply'; -import i18nController from '../_util/store'; -import { InputDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - InputDefaultProps, - { - onChange(e) { - const value = e.detail.value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - onFocus(e) { - const value = e.detail.value; - this.setData({ - selfFocus: true, - }); - triggerEvent(this, 'focus', value, e); - }, - onBlur(e) { - const value = e.detail.value; - this.setData({ - selfFocus: false, - }); - triggerEvent(this, 'blur', value, e); - }, - onConfirm(e) { - const value = e.detail.value; - triggerEvent(this, 'confirm', value, e); - }, - onClear(e) { - if (!this.isControlled()) { - this.update(''); - } - triggerEvent(this, 'change', '', e); - }, - }, - { - selfFocus: false, - }, - [mixinValue({ scopeKey: 'state' })], -); diff --git a/compiled/alipay/src/Input/props.ts b/compiled/alipay/src/Input/props.ts deleted file mode 100644 index 5e61d4f95..000000000 --- a/compiled/alipay/src/Input/props.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export type InputType = - | 'text' - | 'number' - | 'idcard' - | 'digit' - /** - * 支付宝 - */ - | 'numberpad' - | 'digitpad' - | 'idcardpad' - /** - * 只支持微信 - */ - | 'safe-password' - | 'nickname'; - -/** - * @description 输入框。 - */ - -export interface InputProps extends IBaseProps { - type?: InputType; - value?: string; - defaultValue: string; - placeholder: string; - placeholderClassName: string; - placeholderStyle: string; - allowClear: boolean; - enableNative: boolean; - confirmType: string; - confirmHold: string; - controlled: boolean; - alwaysSystem: boolean; - selectionStart: number; - selectionEnd: number; - cursor: number; - maxLength?: number; - inputClassName?: string; - inputStyle: string; - password?: boolean; - prefix?: string; - disabled?: boolean; - focusClassName?: string; - suffix?: string; - focus?: boolean; - /** - * @description 组件名字,用于表单提交获取数据。 - */ - name?: string; - focusStyle?: string; - /** - * @description 当 type 为 number, digit, idcard 数字键盘是否随机排列。 - * @default false - */ - randomNumber?: boolean; - - - onChange?: (value: string, e: any) => void; - onBlur?: (value: string, e: any) => void; - onFocus?: (value: string, e: any) => void; - onConfirm?: (value: string, e: any) => void; -} - -export const InputDefaultProps: InputProps = { - type: null, - value: null, - defaultValue: null, - placeholder: null, - placeholderClassName: null, - placeholderStyle: null, - allowClear: null, - enableNative: null, - confirmType: null, - confirmHold: null, - controlled: null, - alwaysSystem: null, - selectionStart: null, - selectionEnd: null, - cursor: null, - inputClassName: null, - inputStyle: null, - password: null, - prefix: null, - disabled: null, - focusClassName: null, - suffix: null, - focus: null, - name: null, - focusStyle: null, - randomNumber: null, -}; diff --git a/compiled/alipay/src/Input/variable.less b/compiled/alipay/src/Input/variable.less deleted file mode 100644 index 44e15de6e..000000000 --- a/compiled/alipay/src/Input/variable.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// input 字体颜色 -@input-item-color: var(--input-item-color, @COLOR_TEXT_PRIMARY); -// input 字体大小 -@input-item-size: @font-size-content; -// input placeholder 颜色 -@input-item-placeholder-color: var( - --input-item-placeholder-color, - @COLOR_TEXT_WEAK -); -// input 清除 颜色 -@input-item-clear-color: var(--input-item-clear-color, @COLOR_TEXT_ASSIST); -@input-background-color: var(--input-background-color, @COLOR_CARD); diff --git a/compiled/alipay/src/List/ListItem/index.axml b/compiled/alipay/src/List/ListItem/index.axml deleted file mode 100644 index a4a92528f..000000000 --- a/compiled/alipay/src/List/ListItem/index.axml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - {{title}} - - - - - - - - - - {{brief}} - - - - - - - - {{extra}} - - - - {{extraBrief}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/List/ListItem/index.json b/compiled/alipay/src/List/ListItem/index.json deleted file mode 100644 index 1d78ced24..000000000 --- a/compiled/alipay/src/List/ListItem/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../../Icon/index", - "image-icon": "../../ImageIcon/index" - } -} diff --git a/compiled/alipay/src/List/ListItem/index.less b/compiled/alipay/src/List/ListItem/index.less deleted file mode 100644 index f5b7595d4..000000000 --- a/compiled/alipay/src/List/ListItem/index.less +++ /dev/null @@ -1,127 +0,0 @@ -@import (reference) '../variable.less'; -@import '../../style/mixins/hairline.less'; - -@listItemPrefix: ant-list-item; - -.@{listItemPrefix} { - align-items: center; - background-color: @list-background-color; - color: @list-content-color; - line-height: 1.4; - &-hover { - background-color: @list-item-border-color; - } - - &-line { - flex: 1; - display: flex; - padding: 0 24 * @rpx; - align-items: center; - position: relative; - &-divider { - .hairline('bottom'); - } - &-disabled { - opacity: 0.4; - } - } - - &-image { - border-radius: 50vh; - &-large-icon { - font-size: @list-item-image-large-size; - } - &-large-image { - width: @list-item-image-large-size; - height: @list-item-image-large-size; - } - &-normal-icon { - font-size: @list-item-image-normal-size; - } - &-normal-image { - width: @list-item-image-normal-size; - height: @list-item-image-normal-size; - } - &-container { - margin-right: 24 * @rpx; - &:empty { - display: none; - } - } - } - - &-content { - &-container { - display: flex; - flex: 1; - flex-direction: column; - padding: 24 * @rpx 0; - &-small-text { - font-size: 24 * @rpx; - line-height: 33 * @rpx; - } - &-normal-text { - font-size: 28 * @rpx; - line-height: 40 * @rpx; - } - } - - &-main { - font-size: 32 * @rpx; - line-height: 45 * @rpx; - } - &-title { - &-container { - color: @list-extra-brief-color; - } - } - &-brief { - &-container { - color: @list-extra-brief-color; - } - } - } - - &-extra { - font-size: 32 * @rpx; - line-height: 45 * @rpx; - display: flex; - flex-direction: row-reverse; - &:empty { - display: none; - } - &-container { - display: flex; - flex-direction: column; - } - - &-brief { - display: flex; - flex-direction: row-reverse; - font-size: 28 * @rpx; - line-height: 40 * @rpx; - color: @list-extra-brief-color; - } - } - - &-arrow { - margin-left: 8 * @rpx; - color: @list-item-text-color; - display: flex; - align-items: center; - .ant-icon { - font-size: 36 * @rpx; - } - &-large-margin { - margin-left: 24 * @rpx; - } - } - - .line { - height: 1 * @rpx; - background-color: @list-item-border-color; - width: calc(100% - 24 * @rpx); - position: absolute; - right: 0; - } -} diff --git a/compiled/alipay/src/List/ListItem/index.ts b/compiled/alipay/src/List/ListItem/index.ts deleted file mode 100644 index f2b3c6952..000000000 --- a/compiled/alipay/src/List/ListItem/index.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { - Component, - triggerEventOnly, - triggerCatchEvent, -} from '../../_util/simply'; -import { IListItemProps } from './props'; - -Component( - { - image: '', - title: '', - brief: '', - arrow: false, - extra: '', - extraBrief: '', - disabled: false, - showDivider: true, - }, - { - onTap(e) { - if (this.props.disabled) { - return; - } - triggerEventOnly(this, 'tap', e); - }, - catchTap(e) { - if (this.props.disabled) { - return; - } - triggerCatchEvent(this, 'catchTap', e); - }, - } -); diff --git a/compiled/alipay/src/List/ListItem/props.ts b/compiled/alipay/src/List/ListItem/props.ts deleted file mode 100644 index e0461b398..000000000 --- a/compiled/alipay/src/List/ListItem/props.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -export interface IListItemProps extends IBaseProps { - /** - * @description 左侧图片 - */ - image?: string; - /** - * @description 标题信息 - */ - title?: string; - /** - * @description 描述信息 - */ - brief?: string; - /** - * @description 箭头方向,不传表示没有箭头 - */ - arrow?: boolean | 'right' | 'up' | 'down'; - /** - * @description 右侧额外内容,即,辅助信息 - */ - extra?: string; - /** - * @description 右侧额外内容,即,次要辅助信息 - */ - extraBrief?: string; - /** - * @description 右侧额外内容,即,次要辅助信息 - * @default false - */ - disabled?: boolean; - /** - * @description 是否显示下划线 - * @default true - */ - showDivider?: boolean; - /** - * @description 点击整行回调 - */ - onTap?: (event?: any) => void; - /** - * @description 点击整行回调 - */ - catchTap?: (event?: any) => void; -} - -export const ListItemDefaultProps: Partial = { - disabled: false, - showDivider: true, -}; diff --git a/compiled/alipay/src/List/index.axml b/compiled/alipay/src/List/index.axml deleted file mode 100644 index 04c96e70c..000000000 --- a/compiled/alipay/src/List/index.axml +++ /dev/null @@ -1,29 +0,0 @@ - - - {{header}} - - - - - - - - - {{footer}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/List/index.en.md b/compiled/alipay/src/List/index.en.md deleted file mode 100644 index 8c9b445bb..000000000 --- a/compiled/alipay/src/List/index.en.md +++ /dev/null @@ -1,157 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# List - -Generic lists can be clean and efficient to carry text, lists, pictures, paragraphs and other elements. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-list": "antd-mini/es/List/index" -#endif -#if WECHAT - "ant-list": "antd-mini/List/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - 1 - 2 - 3 - -``` - -### List Item Configuration - -```xml - - - Total assets - - - Setup - - -``` - -### List item clickable - -```xml - - - Total assets - - - Setup - - -``` - -### Demo Code - - - -## API - -### List - -| Property | Description | Type | Default Value | -| --------- | ---------- | -------------- | ------ | -| className | Class Name | string | - | -| footer | Bottom Description | string \| slot | - | -| header | Head Description | string \| slot | - | -| radius | Whether with rounded corners | boolean | false | -| style | Style | string | - | - -### ListItem - -| Property | Description | Type | Default Value | -| ------------------------ | -------------------------------------------------------- | ------------------ | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | -| brief | Second line of information | string \| slot | - | -| className | Class Name | string | - | -| disabled | Disable | boolean | false | -| extra | Extra right | string \| slot | - | -| extraBrief | Auxiliary information on the right side | string \| slot | - | -| image | Picture on the left | string | - | -| radius | Whether with rounded corners | boolean | false | -| showDivider | Show underline or not | boolean | true | -| style | Style | string | - | -| title | Header Information | string \| slot | - | -| #if ALIPAY catchTap | Callback triggered when clicked | (e: Event) => void | -| #if ALIPAY onTap | Callback triggered when clicked | (e: Event) => void | -| #if WECHAT bind:catchTap | Callback triggered when clicked | (e: Event) => void | -| #if WECHAT bind:tap | Callback triggered when clicked | (e: Event) => void | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --list-header-color |
#999999
|
#616161
| List head color | -| --list-footer-color |
#999999
|
#616161
| List bottom color | -| --list-background-color |
#ffffff
|
#1a1a1a
| List background color | -| --list-content-color |
#333333
|
#c5cad1
| List Content Text Color | -| --list-extra-brief-color |
#999999
|
#616161
| List Extra Brief Color | -| --list-item-border-color |
#eeeeee
|
#2b2b2b
| List Item Border Color | -| --list-item-text-color |
#cccccc
|
#474747
| List Item Text Color | diff --git a/compiled/alipay/src/List/index.json b/compiled/alipay/src/List/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/List/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/List/index.less b/compiled/alipay/src/List/index.less deleted file mode 100644 index f1cd8fbe0..000000000 --- a/compiled/alipay/src/List/index.less +++ /dev/null @@ -1,38 +0,0 @@ -@import (reference) './variable.less'; - -@listPrefix: ant-list; - -.@{listPrefix} { - &-radius { - margin: 0 @v-spacing-large; - & .@{listPrefix}-body { - border-radius: @list-radius; - } - .@{listPrefix}-header, - .@{listPrefix}-footer { - padding: @v-spacing-standard 0; - } - } - &-header, - &-footer { - display: flex; - align-items: center; - padding: @v-spacing-standard @v-spacing-large; - line-height: 1.4; - font-size: 30 * @rpx; - color: @list-header-color; - &:empty { - display: none; - } - } - &-body { - position: relative; - overflow: hidden; - // 隐藏最后一根分割线 - > .ant-list-item:last-child { - .ant-list-item-line::after { - display: none; - } - } - } -} diff --git a/compiled/alipay/src/List/index.md b/compiled/alipay/src/List/index.md deleted file mode 100644 index f5c3e3cfd..000000000 --- a/compiled/alipay/src/List/index.md +++ /dev/null @@ -1,157 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# List 列表 - -通用列表可以干净高效地承载文字、列表、图片、段落等元素。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-list": "antd-mini/es/List/index" -#endif -#if WECHAT - "ant-list": "antd-mini/List/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - 1 - 2 - 3 - -``` - -### 列表项配置 - -```xml - - - 总资产 - - - 设置 - - -``` - -### 列表项可点击 - -```xml - - - 总资产 - - - 设置 - - -``` - -### Demo 代码 - - - -## API - -### List - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------- | -------------- | ------ | -| className | 类名 | string | - | -| footer | 底部说明 | string \| slot | - | -| header | 头部说明 | string \| slot | - | -| radius | 是否带圆角 | boolean | false | -| style | 样式 | string | - | - -### ListItem - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------ | -------------------------------------------------------- | ------------------ | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | -| brief | 第二行信息 | string \| slot | - | -| className | 类名 | string | - | -| disabled | 是否禁用 | boolean | false | -| extra | 右侧额外内容 | string \| slot | - | -| extraBrief | 右侧辅助信息 | string \| slot | - | -| image | 左侧图片 | string | - | -| radius | 是否带圆角 | boolean | false | -| showDivider | 是否显示下划线 | boolean | true | -| style | 样式 | string | - | -| title | 标题信息 | string \| slot | - | -| #if ALIPAY catchTap | 点击时触发的回调 | (e: Event) => void | -| #if ALIPAY onTap | 点击时触发的回调 | (e: Event) => void | -| #if WECHAT bind:catchTap | 点击时触发的回调 | (e: Event) => void | -| #if WECHAT bind:tap | 点击时触发的回调 | (e: Event) => void | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --list-header-color |
#999999
|
#616161
| 列表头部颜色 | -| --list-footer-color |
#999999
|
#616161
| 列表底部颜色 | -| --list-background-color |
#ffffff
|
#1a1a1a
| 列表背景颜色 | -| --list-content-color |
#333333
|
#c5cad1
| 列表内容文本颜色 | -| --list-extra-brief-color |
#999999
|
#616161
| 列表额外简述颜色 | -| --list-item-border-color |
#eeeeee
|
#2b2b2b
| 列表项边框颜色 | -| --list-item-text-color |
#cccccc
|
#474747
| 列表项文本颜色 | diff --git a/compiled/alipay/src/List/index.ts b/compiled/alipay/src/List/index.ts deleted file mode 100644 index 9d3e8fba5..000000000 --- a/compiled/alipay/src/List/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Component } from '../_util/simply'; -import { IListProps } from './props'; - -Component({ - radius: false, - header: '', - footer: '', -}); diff --git a/compiled/alipay/src/List/props.ts b/compiled/alipay/src/List/props.ts deleted file mode 100644 index 4e836615a..000000000 --- a/compiled/alipay/src/List/props.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 列表,内部配合 ListItem 使用。 - */ - -export interface IListProps extends IBaseProps { - /** - * @description 是否带圆角 - * @default false - */ - radius?: boolean; - /** - * @description 头部说明 - */ - - header?: string; - /** - * @description 底部说明 - */ - - footer?: string; -} - -export const ListDefaultProps: Partial = { - radius: false, -}; diff --git a/compiled/alipay/src/List/variable.less b/compiled/alipay/src/List/variable.less deleted file mode 100644 index b09cd7944..000000000 --- a/compiled/alipay/src/List/variable.less +++ /dev/null @@ -1,38 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// header 颜色 -@list-header-color: var(--list-header-color, @COLOR_TEXT_ASSIST); -// header 字体大小 -@list-header-size: 28 * @rpx; -// footer 颜色 -@list-footer-color: var(--list-footer-color, @COLOR_TEXT_ASSIST); -// footer 字体大小 -@list-footer-size: 28 * @rpx; -// 圆角 -@list-radius: 24 * @rpx; -// 背景 -@list-background-color: var(--list-background-color, @COLOR_CARD); -// 主要文字大小 -@list-content-size: @font-size-list; -// 额外文字大小 -@list-extra-size: 32 * @rpx; -// 第二行文字大小 -@list-brief-size: 26 * @rpx; -// 主要文字颜色 -@list-content-color: var(--list-content-color, @COLOR_TEXT_PRIMARY); -// 辅助文字颜色 -@list-extra-brief-color: var(--list-extra-brief-color, @COLOR_TEXT_ASSIST); -// 图片尺寸 -@list-icon-size: 52 * @rpx; -// 多行,图片尺寸 -@list-multi-icon-size: 72 * @rpx; - -// 图片和icon的大小 -@list-item-image-normal-size: 56 * @rpx; -// 图片和icon的大小 -@list-item-image-large-size: 80 * @rpx; - -@list-item-border-color: var(--list-item-border-color, @COLOR_BORDER); - -@list-item-text-color: var(--list-item-text-color, @COLOR_TEXT_WEAK); diff --git a/compiled/alipay/src/Loading/index.axml b/compiled/alipay/src/Loading/index.axml deleted file mode 100644 index 99fcff64c..000000000 --- a/compiled/alipay/src/Loading/index.axml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - . - - - . - - - . - - - \ No newline at end of file diff --git a/compiled/alipay/src/Loading/index.en.md b/compiled/alipay/src/Loading/index.en.md deleted file mode 100644 index f0fe3e92d..000000000 --- a/compiled/alipay/src/Loading/index.en.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback -toc: 'content' ---- - -# Loading - -Used to prompt that a local or page is loading. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-loading": "antd-mini/es/Loading/index" -#endif -#if WECHAT - "ant-loading": "antd-mini/Loading/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### Spin size - -```xml - - - - -``` - -### Custom Colors - -```xml - - -``` - -### Custom Size - -```xml - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------- | ------ | -------- | -| className | Root node class name | string | - | -| color | The color when loading, when type is `spin` Only hexadecimal color codes are supported. | string | `#fff` | -| size | Load icon size, when type is `spin` effective. Optional `small`、`medium`、`large`、`x-large` | string | `medium` | -| style | root node style | string | - | -| type | Load style type, optional `spin`、`mini` | string | `spin` | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --loading-text-color |
#d8d8d8
|
#454955
| Load Text Color (Iron Black) | -| --loading-icon-light-color |
rgba(255, 255, 255, 0.6)
|
rgba(255, 255, 255, 0.6)
| Load icon light | diff --git a/compiled/alipay/src/Loading/index.json b/compiled/alipay/src/Loading/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Loading/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Loading/index.less b/compiled/alipay/src/Loading/index.less deleted file mode 100644 index 5fc0bd1f4..000000000 --- a/compiled/alipay/src/Loading/index.less +++ /dev/null @@ -1,99 +0,0 @@ -@import (reference) './variable.less'; - -@loadingPrefix: ant-loading; - -.@{loadingPrefix} { - &-small { - width: @loading-icon-size-small; - height: @loading-icon-size-small; - } - - &-medium { - width: @loading-icon-size-medium; - height: @loading-icon-size-medium; - } - - &-large { - width: @loading-icon-size-large; - height: @loading-icon-size-large; - } - - &-x-large { - width: @loading-icon-size-x-large; - height: @loading-icon-size-x-large; - } - - &-spin { - display: inline-flex; - justify-content: center; - align-items: center; - - &-icon { - width: 100%; - height: 100%; - background-position: center; - background-repeat: no-repeat; - } - } - - &-mini { - display: inline-flex; - justify-content: center; - align-items: center; - min-width: 66 * @rpx; - min-height: 66 * @rpx; - - &-item { - flex: 0 0 8 * @rpx; - min-width: 8 * @rpx; - min-height: 8 * @rpx; - max-width: 8 * @rpx; - max-height: 8 * @rpx; - overflow: hidden; - margin-right: @h-spacing-standard; - font-size: 0; - border-radius: @corner-radius-sm / 2; - background-color: @COLOR_TEXT_ASSIST; - animation: ant-loading-animation 1s 0s infinite linear; - - &__1 { - animation-delay: 0s; - } - - &__2 { - animation-delay: 150ms; - } - - &__3 { - margin-right: 0; - animation-delay: 300ms; - } - } - } -} - -@keyframes ant-loading-animation { - 0% { - transform: translate3d(0, 0, 0); - } - - 12% { - transform: translate3d(0, -150%, 0); - } - - 40% { - transform: translate3d(0, 110%, 0); - } - - 55% { - transform: translate3d(0, -10%, 0); - } - - 60% { - transform: translate3d(0, 0, 0); - } - - 100% { - transform: translate3d(0, 0, 0); - } -} diff --git a/compiled/alipay/src/Loading/index.md b/compiled/alipay/src/Loading/index.md deleted file mode 100644 index d3f5b510f..000000000 --- a/compiled/alipay/src/Loading/index.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 -toc: 'content' ---- - -# Loading 加载 - -用于提示局部或页面在加载中。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-loading": "antd-mini/es/Loading/index" -#endif -#if WECHAT - "ant-loading": "antd-mini/Loading/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### Spin 大小 - -```xml - - - - -``` - -### 自定义颜色 - -```xml - - -``` - -### 自定义大小 - -```xml - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------- | ------ | -------- | -| className | 根节点类名 | string | - | -| color | 加载时的颜色,当 type 为 `spin` 时,只支持十六进制颜色码 | string | `#fff` | -| size | 加载图标尺寸,当 type 为 `spin` 时生效。可选 `small`、`medium`、`large`、`x-large` | string | `medium` | -| style | 根节点 style | string | - | -| type | 加载样式类型,可选 `spin`、`mini` | string | `spin` | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --loading-text-color |
#d8d8d8
|
#454955
| 加载文本颜色(铁黑) | -| --loading-icon-light-color |
rgba(255, 255, 255, 0.6)
|
rgba(255, 255, 255, 0.6)
| 加载图标浅色 | diff --git a/compiled/alipay/src/Loading/index.sjs b/compiled/alipay/src/Loading/index.sjs deleted file mode 100644 index 673b8d9be..000000000 --- a/compiled/alipay/src/Loading/index.sjs +++ /dev/null @@ -1,16 +0,0 @@ -function getLoadingColor(color) { - if (typeof color === 'string' && color[0] === '#') { - return color.slice(1); - } -} -function getClass(size) { - var list = ['small', 'medium', 'large', 'x-large']; - if (list.indexOf(size) >= 0) { - return "ant-loading-".concat(size); - } - return 'ant-loading-medium'; -} -export default { - getLoadingColor: getLoadingColor, - getClass: getClass -}; \ No newline at end of file diff --git a/compiled/alipay/src/Loading/index.ts b/compiled/alipay/src/Loading/index.ts deleted file mode 100644 index bd4958c5a..000000000 --- a/compiled/alipay/src/Loading/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LoadingDefaultProps } from './props'; -import '../_util/assert-component2'; - -Component({ - props: LoadingDefaultProps, -}); diff --git a/compiled/alipay/src/Loading/props.ts b/compiled/alipay/src/Loading/props.ts deleted file mode 100644 index 51e9a2cad..000000000 --- a/compiled/alipay/src/Loading/props.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 加载,用于提示局部或页面在加载中。 - */ - -export interface ILoadingProps extends IBaseProps { - /** - * @description 加载时的颜色,当 type 为 'spin' 时,只支持十六进制颜色码,如'#fff' - * @default '#fff' - */ - color?: string; - - /** - * @description 加载图标尺寸,当 type 为 'spin' 时生效 - * @default medium - */ - size?: 'small' | 'medium' | 'large' | 'x-large'; - - type?: 'spin' | 'mini'; -} - -export const LoadingDefaultProps: Partial = { - size: 'medium', - color: '#fff', - type: 'spin', -}; diff --git a/compiled/alipay/src/Loading/variable.less b/compiled/alipay/src/Loading/variable.less deleted file mode 100644 index a5e618f14..000000000 --- a/compiled/alipay/src/Loading/variable.less +++ /dev/null @@ -1,17 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// loading 尺寸 -@loading-icon-size-x-large: 140 * @rpx; -@loading-icon-size-large: 140 * 0.75 * @rpx; -@loading-icon-size-medium: 140 * 0.5 * @rpx; -@loading-icon-size-small: 140 * 0.25 * @rpx; -// 辅助文字尺寸 -@loading-text-size: @font-size-weak; -// 辅助文字颜色 -@loading-text-color: var(--loading-text-color, @color-ironblack-1); -// 浅色颜色 -@loading-icon-light-color: var( - --loading-icon-light-color, - rgba(255, 255, 255, 0.6) -); diff --git a/compiled/alipay/src/Mask/index.axml b/compiled/alipay/src/Mask/index.axml deleted file mode 100644 index a24b8b43a..000000000 --- a/compiled/alipay/src/Mask/index.axml +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/compiled/alipay/src/Mask/index.json b/compiled/alipay/src/Mask/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Mask/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Mask/index.less b/compiled/alipay/src/Mask/index.less deleted file mode 100644 index 6aa7bcf18..000000000 --- a/compiled/alipay/src/Mask/index.less +++ /dev/null @@ -1,13 +0,0 @@ -@import (reference) './variable.less'; -.ant-mask { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 0; - background-color: @mask-background-color; - width: 300vw; - height: 300vh; - transform: translate3d(-100vw, -100vh, 0); -} diff --git a/compiled/alipay/src/Mask/index.ts b/compiled/alipay/src/Mask/index.ts deleted file mode 100644 index 9865726eb..000000000 --- a/compiled/alipay/src/Mask/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Component, IPlatformEvent, triggerEventOnly } from '../_util/simply'; - -Component( - { - show: true, - }, - { - onMaskTap(e: IPlatformEvent) { - triggerEventOnly(this, 'maskTap', e); - }, - } -); diff --git a/compiled/alipay/src/Mask/props.ts b/compiled/alipay/src/Mask/props.ts deleted file mode 100644 index d21e7d057..000000000 --- a/compiled/alipay/src/Mask/props.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 加载,用于提示局部或页面在加载中。 - */ -export interface IMaskProps extends IBaseProps { - show: boolean; - onMaskTap?: (v: Record) => void; -} - -export const MaskDefaultProps: Partial = { - show: true, -}; diff --git a/compiled/alipay/src/Mask/variable.less b/compiled/alipay/src/Mask/variable.less deleted file mode 100644 index 6fcdf4c9e..000000000 --- a/compiled/alipay/src/Mask/variable.less +++ /dev/null @@ -1,3 +0,0 @@ -@import (reference) '../style/variables.less'; - -@mask-background-color: var(--mask-background-color, rgba(0, 0, 0, 0.55)); diff --git a/compiled/alipay/src/Modal/index.axml b/compiled/alipay/src/Modal/index.axml deleted file mode 100644 index eaeee9b8a..000000000 --- a/compiled/alipay/src/Modal/index.axml +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - {{title}} - - - - - {{content}} - - - - - - {{primaryButtonText}} - - - {{secondaryButtonText}} - - - {{cancelButtonText}} - - - - - {{cancelButtonText}} - - - {{secondaryButtonText}} - - - {{primaryButtonText}} - - - - - {{primaryButtonText}} - - - {{secondaryButtonText}} - - - {{cancelButtonText}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Modal/index.en.md b/compiled/alipay/src/Modal/index.en.md deleted file mode 100644 index 35ee0ae5c..000000000 --- a/compiled/alipay/src/Modal/index.en.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -nav: - path: /components -group: - title: To Discard - order: 99 -toc: 'content' ---- - -# Modal - -Not recommended, this component will be obsolete. recommend use [Dialog](/components/dialog) Components, with the latest design specifications. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-modal": "antd-mini/es/Modal/index" -#endif -#if WECHAT - "ant-modal": "antd-mini/Modal/index" -#endif -} -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------------------- | ------------------------------------------------- | ------------ | --------- | -| bodyClassName | body class name | string | - | -| bodyStyle | body style | string | - | -| cancelButtonStyle | Cancel Button Style | string | - | -| cancelButtonText | Cancel Button Text | string | - | -| className | Class Name | string | - | -| closable | Whether to display the close button in the upper right corner. Effective only when type is focus | boolean | - | -| content | Content | string\|slot | - | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| footer | Custom Button Area | slot | - | -| maskClosable | Click whether the layer triggers the onClose. | boolean | true | -| maskClassName | Class name of the layer | string | - | -| maskStyle | Mask Style | string | - | -| primaryButtonStyle | Main Button Style | string | - | -| primaryButtonText | Main button text | string | - | -| secondaryButtonStyle | Auxiliary Button Style | string | - | -| secondaryButtonText | Secondary Button Text | string | - | -| style | Style | string | - | -| title | Title | string\|slot | - | -| type | type, optional `default`(default),`focus`(emphasis mode) | string | `default` | -| visible | Whether to display | boolean | false | -| #if ALIPAY onCancelButtonTap | Cancel button click event | ()=>void | - | -| #if ALIPAY onClose | Click the close button in the upper right corner of the mask or emphasis mode to trigger the callback | ()=>void | - | -| #if ALIPAY onPrimaryButtonTap | Main button click event | ()=>void | - | -| #if ALIPAY onSecondaryButtonTap | Secondary button click event | ()=>void | - | -| #if WECHAT bind:cancelbuttontap | Cancel button click event | ()=>void | - | -| #if WECHAT bind:close | Click the close button in the upper right corner of the mask or emphasis mode to trigger the callback | ()=>void | - | -| #if WECHAT bind:primarybuttontap | Main button click event | ()=>void | - | -| #if WECHAT bind:secondarybuttontap | Secondary button click event | ()=>void | - | diff --git a/compiled/alipay/src/Modal/index.json b/compiled/alipay/src/Modal/index.json deleted file mode 100644 index 6eaf614ee..000000000 --- a/compiled/alipay/src/Modal/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-icon": "../Icon/index", - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/alipay/src/Modal/index.less b/compiled/alipay/src/Modal/index.less deleted file mode 100644 index c55193d03..000000000 --- a/compiled/alipay/src/Modal/index.less +++ /dev/null @@ -1,93 +0,0 @@ -@import (reference) './variable.less'; -@import (reference) '../style/mixins/hairline.less'; - -@modalPrefix: ant-modal; - -.@{modalPrefix} { - &-body { - width: 560 * @rpx; - background-color: @modal-background-color; - border-radius: @modal-radius; - padding-top: 40 * @rpx; - display: flex; - flex-direction: column; - &-title { - font-size: @font-size-title; - line-height: 50 * @rpx; - text-align: center; - color: @modal-title-color; - margin: 0 24 * @rpx 16 * @rpx; - } - - &-content { - line-height: 42 * @rpx; - font-size: @modal-content-size; - color: @modal-content-color; - text-align: center; - margin: 0 24 * @rpx 40 * @rpx; - } - &-footer { - &-focus { - padding: 0 24 * @rpx 24 * @rpx; - &-secondary, - &-cancel { - color: @COLOR_BRAND1; - text-align: center; - font-size: 36 * @rpx; - margin-top: 16 * @rpx; - padding-top: 24 * @rpx; - } - } - &-vertical { - padding: 0 0 24 * @rpx; - &-primary, - &-secondary, - &-cancel { - color: @COLOR_BRAND1; - text-align: center; - font-size: 36 * @rpx; - margin-top: 16 * @rpx; - padding-top: 24 * @rpx; - position: relative; - .hairline('top'); - } - } - &-horizontal { - display: flex; - flex-direction: row; - position: relative; - .hairline('top'); - &-primary, - &-secondary, - &-cancel { - position: relative; - flex: 1; - color: @COLOR_BRAND1; - text-align: center; - font-size: 36 * @rpx; - padding: 24 * @rpx 0; - &:nth-child(1) { - .hairline('right'); - } - } - } - } - } - &-close { - position: absolute; - right: 16 * @rpx; - top: 13 * @rpx; - z-index: 3; - width: 52 * @rpx; - height: 58 * @rpx; - display: flex; - justify-content: center; - align-items: center; - font-size: 36 * @rpx; - color: @modal-close-text-color; - } - .ant-popup-content.ant-popup-center { - min-height: 0; - padding: 0; - } -} diff --git a/compiled/alipay/src/Modal/index.md b/compiled/alipay/src/Modal/index.md deleted file mode 100644 index 32d5c9f2f..000000000 --- a/compiled/alipay/src/Modal/index.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -nav: - path: /components -group: - title: 待废弃 - order: 99 -toc: 'content' ---- - -# Modal 弹窗 - -不建议使用,此组件即将废弃。推荐使用 [Dialog](/components/dialog) 组件,拥有最新设计规范。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-modal": "antd-mini/es/Modal/index" -#endif -#if WECHAT - "ant-modal": "antd-mini/Modal/index" -#endif -} -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------------------- | ------------------------------------------------- | ------------ | --------- | -| bodyClassName | body 类名 | string | - | -| bodyStyle | body 样式 | string | - | -| cancelButtonStyle | 取消按钮样式 | string | - | -| cancelButtonText | 取消按钮文本 | string | - | -| className | 类名 | string | - | -| closable | 是否显示右上角的关闭按钮。仅在 type 为 focus 生效 | boolean | - | -| content | 内容 | string\|slot | - | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| footer | 自定义按钮区 | slot | - | -| maskClosable | 点击蒙层是否触发 onClose | boolean | true | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| primaryButtonStyle | 主按钮样式 | string | - | -| primaryButtonText | 主按钮文本 | string | - | -| secondaryButtonStyle | 辅助按钮样式 | string | - | -| secondaryButtonText | 辅助按钮文本 | string | - | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | -| type | 类型,可选 `default`(默认)、`focus`(强调模式) | string | `default` | -| visible | 是否显示 | boolean | false | -| #if ALIPAY onCancelButtonTap | 取消按钮点击事件 | ()=>void | - | -| #if ALIPAY onClose | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if ALIPAY onPrimaryButtonTap | 主按钮点击事件 | ()=>void | - | -| #if ALIPAY onSecondaryButtonTap | 辅助按钮点击事件 | ()=>void | - | -| #if WECHAT bind:cancelbuttontap | 取消按钮点击事件 | ()=>void | - | -| #if WECHAT bind:close | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if WECHAT bind:primarybuttontap | 主按钮点击事件 | ()=>void | - | -| #if WECHAT bind:secondarybuttontap | 辅助按钮点击事件 | ()=>void | - | diff --git a/compiled/alipay/src/Modal/index.sjs b/compiled/alipay/src/Modal/index.sjs deleted file mode 100644 index b4ea0cd43..000000000 --- a/compiled/alipay/src/Modal/index.sjs +++ /dev/null @@ -1,21 +0,0 @@ -function getDirection(primaryButtonText, secondaryButtonText, cancelButtonText, type) { - // 不显示按钮区域 - if (!primaryButtonText && !secondaryButtonText && !cancelButtonText) { - return ''; - } - // 1个按钮,当纵向处理 - if ([primaryButtonText, secondaryButtonText, cancelButtonText].filter(function (v) { - return !!v; - }).length === 1) { - return 'vertical'; - } - // 三个按钮,必是纵向 - if (primaryButtonText && secondaryButtonText && cancelButtonText) { - return 'vertical'; - } - // 两个按钮,在 “标准模式” 是横向;在“强调模式”是纵向 - return type === 'focus' ? 'vertical' : 'horizontal'; -} -export default { - getDirection: getDirection -}; \ No newline at end of file diff --git a/compiled/alipay/src/Modal/index.ts b/compiled/alipay/src/Modal/index.ts deleted file mode 100644 index bbb6e81f8..000000000 --- a/compiled/alipay/src/Modal/index.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Component, triggerEventOnly } from '../_util/simply'; -import { ModalFunctionalProps } from './props'; - -Component(ModalFunctionalProps, { - onClose() { - triggerEventOnly(this, 'close'); - }, - onMaskClose() { - if (this.props.maskClosable) { - triggerEventOnly(this, 'close'); - } - }, - onPrimaryButtonTap() { - triggerEventOnly(this, 'primaryButtonTap'); - }, - onSecondaryButtonTap() { - triggerEventOnly(this, 'secondaryButtonTap'); - }, - onCancelButtonTap() { - triggerEventOnly(this, 'cancelButtonTap'); - }, -}); diff --git a/compiled/alipay/src/Modal/props.ts b/compiled/alipay/src/Modal/props.ts deleted file mode 100644 index 88f05ae16..000000000 --- a/compiled/alipay/src/Modal/props.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 对话框,当应用中需要比较明显的对用户当前的操作行为进行警示或提醒时,可以使用对话框。用户需要针对对话框进行操作后方可结束。 - */ - -export interface IModalProps extends IBaseProps { - /** - * @description Modal body类名 - */ - bodyClassName: string; - /** - * @description Modal body样式 - */ - bodyStyle: string; - /** - * @description 遮罩层类名 - */ - maskClassName: string; - /** - * @description 遮罩层样式 - */ - maskStyle: string; - /** - * @description 是否可点击蒙层关闭 - * @default true - */ - maskClosable: boolean; - /** - * @description 类型 - */ - type: 'default' | 'focus'; - /** - * @description 是否显示右上角的关闭按钮。只有在 type 为 focus 生效 - */ - closable: boolean; - /** - * @description 过渡动画时长,单位毫秒 - */ - duration: number; - /** - * @description 是否开启过渡动画 - */ - animation: boolean; - /** - * @description 弹窗层级 - */ - zIndex: number; - /** - * @description 标题 - */ - title: string; - /** - * @description 内容 - */ - content: string; - /** - * @description 是否可见,受控模式 - * @default false - */ - visible: boolean; - /** - * @description 是否关闭后销毁内部元素 - * @default false - */ - destroyOnClose?: boolean; - /** - * @description 主按钮文本 - */ - primaryButtonText: string; - /** - * @description 辅助按钮文本 - */ - secondaryButtonText: string; - /** - * @description 取消按钮文案 - */ - cancelButtonText: string; - /** - * @description 主按钮样式 - */ - primaryButtonStyle: string; - /** - * @description 辅助按钮样式 - */ - secondaryButtonStyle: string; - /** - * @description 取消按钮样式 - */ - cancelButtonStyle: string; - /** - * @description 触发关闭时回调 - */ - onClose: () => void; - /** - * @description 主按钮点击事件 - */ - onPrimaryButtonTap: () => void; - /** - * @description 次要按钮点击事件 - */ - onSecondaryButtonTap: () => void; - /** - * @description 取消按钮点击事件 - */ - onCancelButtonTap: () => void; -} - -export const ModalDefaultProps: Partial = { - visible: false, - maskClosable: true, - closable: true, - type: 'default', - duration: 200, - animation: true, - zIndex: 998, -}; - -export const ModalFunctionalProps: Partial = { - bodyClassName: '', - bodyStyle: '', - maskClassName: '', - maskStyle: '', - maskClosable: true, - type: 'default', - closable: true, - duration: 200, - animation: true, - zIndex: 998, - title: '', - content: '', - visible: false, - destroyOnClose: false, - primaryButtonText: '', - secondaryButtonText: '', - cancelButtonText: '', - primaryButtonStyle: '', - secondaryButtonStyle: '', - cancelButtonStyle: '', -}; diff --git a/compiled/alipay/src/Modal/variable.less b/compiled/alipay/src/Modal/variable.less deleted file mode 100644 index 0b3ba6913..000000000 --- a/compiled/alipay/src/Modal/variable.less +++ /dev/null @@ -1,17 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// modal 背景色 -@modal-background-color: var(--modal-background-color, @COLOR_CARD); -// modal 圆角 -@modal-radius: @corner-radius-lg; -// 标题颜色 -@modal-title-color: var(--modal-title-color, @COLOR_TEXT_PRIMARY); -// 内容大小 -@modal-content-size: @font-size-subtitle; -// 内容颜色 -@modal-content-color: var(--modal-content-color, @COLOR_TEXT_PRIMARY); -// 关闭图标尺寸 -@modal-close-icon-size: 36 * @rpx; - -@modal-close-text-color: var(--modal-close-text-color, @COLOR_TEXT_ASSIST); diff --git a/compiled/alipay/src/NoticeBar/index.axml b/compiled/alipay/src/NoticeBar/index.axml deleted file mode 100644 index b7a30ae52..000000000 --- a/compiled/alipay/src/NoticeBar/index.axml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/NoticeBar/index.en.md b/compiled/alipay/src/NoticeBar/index.en.md deleted file mode 100644 index b0bbad593..000000000 --- a/compiled/alipay/src/NoticeBar/index.en.md +++ /dev/null @@ -1,118 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: content ---- - -# NoticeBar - -Shows a set of message notifications. Usually used for the notification of information in the current page, is a more eye-catching in-page notification. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-notice": "antd-mini/es/NoticeBar/index" -#endif -#if WECHAT - "ant-notice": "antd-mini/NoticeBar/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - default - info - error -``` - -### Can close the notice board - -```xml - - This notification can be turned off - -``` - -### Scrollable notice board - -```xml - - Turn on circular scrolling when text overflows. Not enough text to continue adding text to make up. - -``` - -### Custom - -```xml - - Customize the left icon - - -Customize the left icon image - - - Customize right button - - No more prompting - View Details - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ------------- | ---------------------------------------------------------------------------------------------- | ------------ | ------- | -| className | Class Name | string | - | -| enableMarquee | Whether to turn on scroll animation | boolean | false | -| extra | Customize right content | slot | - | -| icon | The icon on the left supports all built-in iconType and custom links, as well as custom slots (WeChat version requires slotIcon settings) | string | - | -| loop | Whether to cycle scrolling,`enableMarquee` Valid when true | boolean | false | -| mode | the type of announcement,`link` Indicates connection, the whole line can be dotted;`closeable` Indicates that clicking x can be closed; If you do not fill in, there is no icon on the right. | string | - | -| style | Style | string | - | -| title | Title | string\|slot | - | -| type | type, optional `default`, `error`, `primary`, `info` | string | default | -| slotIcon | WeChat version needs to enable the slot of icon position through this field | boolean | - | -| onTap | Click the icon (arrow or cross) on the right side of the notification bar to trigger the callback | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --notice-background-color |
#fff9ed
|
#fff9ed
| Notification background color | -| --notice-border-color |
#fff3d9
|
#fff3d9
| Notification border color | -| --notice-color |
#ff6010
|
#ff6010
| Notification Color | -| --notice-error-border-color |
#fff3d9
|
#fff3d9
| Error notification border color | -| --notice-error-color |
#ffffff
|
#ffffff
| Error notification color | -| --notice-error-background-color |
#ff3141
|
#ff4a58
| Error notification background color | -| --notice-primary-border-color |
rgba(22, 119, 255, 0.72)
|
rgba(22, 119, 255, 0.72)
| Primary notification border color | -| --notice-primary-color |
#1677ff
|
#3086ff
| Primary notification color | -| --notice-primary-background-color |
rgba(208, 228, 255, 1)
|
rgba(208, 228, 255, 1)
| Primary notification background color | -| --notice-info-text-color |
#ffffff
|
#ffffff
| Information notification text color | -| --notice-info-background-color |
#666666
|
#808080
| Information notification background color | diff --git a/compiled/alipay/src/NoticeBar/index.json b/compiled/alipay/src/NoticeBar/index.json deleted file mode 100644 index f6d7546f7..000000000 --- a/compiled/alipay/src/NoticeBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "image-icon": "../ImageIcon/index" - } -} diff --git a/compiled/alipay/src/NoticeBar/index.less b/compiled/alipay/src/NoticeBar/index.less deleted file mode 100644 index b797682b3..000000000 --- a/compiled/alipay/src/NoticeBar/index.less +++ /dev/null @@ -1,83 +0,0 @@ -@import (reference) './variable.less'; - -@noticeBarPrefix: ant-notice-bar; - -.@{noticeBarPrefix} { - position: relative; - display: flex; - height: 75 * @rpx; - align-items: center; - overflow: hidden; - padding: @v-spacing-standard @h-spacing-large; - font-size: @notice-font-size; - color: @notice-color; - background-color: @notice-background-color; - box-sizing: border-box; - - &-error { - color: @notice-error-color; - background-color: @notice-error-background-color; - - &-scroll-left, - &-scroll-right { - background: @notice-error-background-color; - } - } - - &-primary { - color: @notice-primary-color; - background-color: @notice-primary-background-color; - - &-scroll-left, - &-scroll-right { - background: @notice-primary-background-color; - } - } - - &-info { - color: @notice-info-text-color; - background: @notice-info-background-color; - - &-scroll-left, - &-scroll-right { - background: @notice-info-background-color; - } - } - - &-icon { - margin-right: @h-spacing-standard; - font-size: 36 * @rpx; - &-image-image { - width: 36 * @rpx; - height: 36 * @rpx; - } - } - - &-content { - position: relative; - z-index: 2; - flex: 1 100%; - overflow: hidden; - vertical-align: middle; - line-height: @default-line-height; - } - - &-marquee { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - vertical-align: middle; - } - - &-operation { - display: flex; - align-items: center; - &-icon { - margin-left: 24 * @rpx; - } - } -} - -.ant-icon-size-x-small { - font-size: 18px; -} diff --git a/compiled/alipay/src/NoticeBar/index.md b/compiled/alipay/src/NoticeBar/index.md deleted file mode 100644 index c19a06047..000000000 --- a/compiled/alipay/src/NoticeBar/index.md +++ /dev/null @@ -1,118 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: content ---- - -# NoticeBar 通告栏 - -展示一组消息通知。通常用于当前页面内信息的通知,是一种较醒目的页面内通知方式。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-notice": "antd-mini/es/NoticeBar/index" -#endif -#if WECHAT - "ant-notice": "antd-mini/NoticeBar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - default - info - error -``` - -### 可关闭通告栏 - -```xml - - 这条通知可以关闭 - -``` - -### 可滚动通告栏 - -```xml - - 文本溢出时,开启循环滚动。文字不够继续添加文字凑数。 - -``` - -### 自定义 - -```xml - - 自定义左侧图标 - - -自定义左侧图标图片 - - - 自定义右侧按钮 - - 不再提示 - 查看详情 - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ------------- | ---------------------------------------------------------------------------------------------- | ------------ | ------- | -| className | 类名 | string | - | -| enableMarquee | 是否开启滚动动画 | boolean | false | -| extra | 自定义右侧内容 | slot | - | -| icon | 左侧 icon,支持所有内置 iconType 和自定义链接,也支持自定义 slot (微信版本需要设置 slotIcon) | string | - | -| loop | 是否循环滚动,`enableMarquee` 为 true 时有效 | boolean | false | -| mode | 通告类型,`link` 表示连接,整行可点;`closeable` 表示点击 x 可以关闭;不填时表示右侧没有图标 | string | - | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | -| type | 类型,可选 `default`, `error`, `primary`, `info` | string | default | -| slotIcon | 微信版本需要通过此字段启用 icon 位置的插槽 | boolean | - | -| onTap | 点击通知栏右侧的图标(箭头或者叉),触发回调 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --notice-background-color |
#fff9ed
|
#fff9ed
| 通知背景颜色 | -| --notice-border-color |
#fff3d9
|
#fff3d9
| 通知边框颜色 | -| --notice-color |
#ff6010
|
#ff6010
| 通知颜色 | -| --notice-error-border-color |
#fff3d9
|
#fff3d9
| 错误通知边框颜色 | -| --notice-error-color |
#ffffff
|
#ffffff
| 错误通知颜色 | -| --notice-error-background-color |
#ff3141
|
#ff4a58
| 错误通知背景颜色 | -| --notice-primary-border-color |
rgba(22, 119, 255, 0.72)
|
rgba(22, 119, 255, 0.72)
| 主要通知边框颜色 | -| --notice-primary-color |
#1677ff
|
#3086ff
| 主要通知颜色 | -| --notice-primary-background-color |
rgba(208, 228, 255, 1)
|
rgba(208, 228, 255, 1)
| 主要通知背景颜色 | -| --notice-info-text-color |
#ffffff
|
#ffffff
| 信息通知文字颜色 | -| --notice-info-background-color |
#666666
|
#808080
| 信息通知背景颜色 | diff --git a/compiled/alipay/src/NoticeBar/index.ts b/compiled/alipay/src/NoticeBar/index.ts deleted file mode 100644 index 21996b669..000000000 --- a/compiled/alipay/src/NoticeBar/index.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { - Component, - triggerEventOnly, - getValueFromProps, -} from '../_util/simply'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { NoticeBarDefaultProps } from './props'; -import { IBoundingClientRect } from '../_util/base'; - -Component( - NoticeBarDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - - async getBoundingClientRectWithId(prefix: string) { - return await getInstanceBoundingClientRect( - this.getInstance(), - `${prefix}${this.$id ? `-${this.$id}` : ''}` - ); - }, - onTap() { - const mode = getValueFromProps(this, 'mode'); - if (mode === 'link') { - triggerEventOnly(this, 'tap'); - } - if (mode === 'closeable') { - if (typeof this.props.onTap !== 'function') { - return; - } - this.setData({ - show: false, - }); - triggerEventOnly(this, 'tap'); - } - }, - startMarquee(state) { - const loop = getValueFromProps(this, 'loop'); - const leading = 500; - const { duration, overflowWidth, viewWidth } = state; - let marqueeScrollWidth = overflowWidth; - if (loop) { - marqueeScrollWidth = overflowWidth + viewWidth; - } - const newMarqueeStyle = `transform: translate3d(${-marqueeScrollWidth}px, 0, 0); transition: ${duration}s all linear ${ - typeof leading === 'number' ? `${leading / 1000}s` : '0s' - };`; - - this.setData({ - marqueeStyle: newMarqueeStyle, - }); - return newMarqueeStyle; - }, - - measureText(callback) { - const fps = 40; - const loop = getValueFromProps(this, 'loop'); - // 计算文本所占据的宽度,计算需要滚动的宽度 - setTimeout(async () => { - const marqueeSize: IBoundingClientRect | null = - await this.getBoundingClientRectWithId('.ant-notice-bar-marquee'); - const contentSize: IBoundingClientRect | null = - await this.getBoundingClientRectWithId('.ant-notice-bar-content'); - const overflowWidth = - (marqueeSize && - contentSize && - marqueeSize.width - contentSize.width) || - 0; - - const viewWidth = contentSize?.width || 0; - let marqueeScrollWidth = overflowWidth; - if (loop) { - marqueeScrollWidth = overflowWidth + viewWidth; - } - if (overflowWidth > 0) { - callback({ - overflowWidth, - viewWidth, - duration: marqueeScrollWidth / fps, - }); - } - }, 0); - }, - // 文本滚动的计算 - resetMarquee(state) { - const loop = getValueFromProps(this, 'loop'); - const { viewWidth } = state; - let showMarqueeWidth = '0px'; - if (loop) { - showMarqueeWidth = `${viewWidth}px`; - } - const marqueeStyle = `transform: translate3d(${showMarqueeWidth}, 0, 0); transition: 0s all linear;`; - this.setData({ - marqueeStyle, - }); - }, - - onTransitionEnd() { - const loop = getValueFromProps(this, 'loop'); - const trailing = 200; - if (loop) { - const timer = setTimeout(() => { - this.measureText((state) => { - this.resetMarquee.call(this, state); - }); - clearTimeout(timer); - }, trailing); - } - }, - }, - { - show: true, - marqueeStyle: '', - }, - undefined, - { - didMount() { - const { enableMarquee } = this.props; - - if (enableMarquee) { - this.measureText((state) => { - this.startMarquee.call(this, state); - }); - } - }, - - didUpdate() { - const { enableMarquee } = this.props; - // 这里更新处理的原因是防止notice内容在动画过程中发生改变。 - if (enableMarquee) { - this.measureText((state) => { - this.startMarquee.call(this, state); - }); - } - }, - - pageEvents: { - onShow() { - if (this.props.enableMarquee) { - this.setData({ marqueeStyle: '' }); - this.resetMarquee({ - overflowWidth: 0, - duration: 0, - viewWidth: 0, - }); - this.measureText((state) => { - this.startMarquee.call(this, state); - }); - } - }, - }, - - } -); diff --git a/compiled/alipay/src/NoticeBar/props.ts b/compiled/alipay/src/NoticeBar/props.ts deleted file mode 100644 index ca69033dc..000000000 --- a/compiled/alipay/src/NoticeBar/props.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 通告栏, - * 当应用有重要公告或者由于用户的刷新操作产生提示反馈时可以使用通告栏系统。 - * 通告栏不会对用户浏览当前页面内容产生影响,但又能明显的引起用户的注意。公告内容不超过一行。 - */ - -export interface INoticeBarProps extends IBaseProps { - /** - * @description 消息的展示 - */ - icon?: string; - /** - * @description 提示类型 - * default 橙色,error 红色,primary 蓝色,info 灰色 - * @default "default" - */ - type?: 'default' | 'error' | 'primary' | 'info'; - /** - * @description 通告类型,link 表示连接,整行可点;closeable 表示点击 x 可以关闭;不填时表示你右侧没有图标 - */ - mode?: 'link' | 'closeable'; - /** - * @description 是否开启滚动动画 - * @default false - */ - enableMarquee: boolean; - /** - * @description 是否循环滚动,enableMarquee 为 true 时有效 - * @default false - */ - loop: boolean; - /** - * @description 微信版本需要通过此字段启用 icon 位置的插槽 - * @default false - */ - slotIcon?: boolean; - /** - * @description 点击图标(箭头或者叉,由mode属性决定)的事件回调 - */ - onTap: () => void; - /** - * @description 行动点点击回调 - * @param 当前点击的行动点序号 - */ - onActionTap: (index: number) => void; -} - -export const NoticeBarDefaultProps: Partial = { - icon: '', - type: 'default', - mode: null, - enableMarquee: false, - loop: false, - slotIcon: false, -}; diff --git a/compiled/alipay/src/NoticeBar/variable.less b/compiled/alipay/src/NoticeBar/variable.less deleted file mode 100644 index d3beb41a0..000000000 --- a/compiled/alipay/src/NoticeBar/variable.less +++ /dev/null @@ -1,42 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 标准背景 -@notice-background-color: var(--notice-background-color, @COLOR_GOLDEN_3); -// 标准边框颜色 -@notice-border-color: var(--notice-border-color, @COLOR_GOLDEN_2); -// 标准字体颜色 -@notice-color: var(--notice-color, @COLOR_TANGERINE_1); -// 标准字体大小 -@notice-font-size: @font-size-subtitle; - -// error 边框颜色 -@notice-error-border-color: var(--notice-error-border-color, @COLOR_GOLDEN_2); -// error 字体颜色 -@notice-error-color: var(--notice-error-color, @COLOR_WHITE); -// error 背景 -@notice-error-background-color: var( - --notice-error-background-color, - @COLOR_RED -); - -// primary 边框颜色 -@notice-primary-border-color: var( - --notice-primary-border-color, - tint(@COLOR_BRAND1, 72%) -); -// primary 字体颜色 -@notice-primary-color: var(--notice-primary-color, @COLOR_BRAND1); -// primary 背景 -@notice-primary-background-color: var( - --notice-primary-background-color, - tint(@COLOR_BRAND1, 80%) -); - -@notice-info-text-color: var(--notice-info-text-color, @COLOR_WHITE); - -@notice-info-background-color: var( - --notice-info-background-color, - @COLOR_TEXT_SECONDARY -); - diff --git a/compiled/alipay/src/NumberInput/index.axml b/compiled/alipay/src/NumberInput/index.axml deleted file mode 100644 index 8a2f046a0..000000000 --- a/compiled/alipay/src/NumberInput/index.axml +++ /dev/null @@ -1,49 +0,0 @@ - - - - {{title}} - {{linkText}} - - - - {{unit}} - - - - {{prefix}} - - - - - - - {{prefix}}{{item}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/NumberInput/index.en.md b/compiled/alipay/src/NumberInput/index.en.md deleted file mode 100644 index 7c6c3af38..000000000 --- a/compiled/alipay/src/NumberInput/index.en.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -nav: - path: /components -group: - title: Bizness Components - order: 15 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# NumberInput - -Used when you need to enter an amount and provide a quick amount selection. Supports automatic conversion of units, maximum limit and other functions. - -## Code example - -### Basic use - - - -## API - -### Property - -| Property | Description | Type | Default Value | -| ------------ | -------------------- | ----------------------- | ------------ | -| className | Class Name | string | - | -| style | Style | string | - | -| value | Value of the input box | string | - | -| title | Title | string | - | -| linkText | Top right link copy | string | - | -| quickAmounts | Quick Amount Options | number[] | - | -| placeholder | Placeholder text | string | 'Please enter amount' | -| prefix | Amount prefix | string | '¥' | -| maxValue | Maximum amount that can be entered | number | - | -| onChange | Callback when content changes | (value: string) => void | - | -| onLinkTap | Click on the callback link in the upper right corner | () => void | - | - -### Slot - -Currently only one footer slot is provided for inserting custom content below the input box. More content may be opened later on demand. - -Example of use: - -```xml - - - This is a piece of custom content - - -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --number-input-background-color |
#ffffff
|
#1a1a1a
| Background Color | -| --number-input-title-color |
#333333
|
#c5cad1
| Title Color | -| --number-input-link-color |
#4b6b99
|
#3f5980
| Top Right Link Color | -| --number-input-unit-color |
#999999
|
#616161
| Unit color above input box | -| --number-input-border-color |
#eeeeee
|
#2b2b2b
| Split line color | -| --number-input-prefix-color |
#333333
|
#c5cad1
| Croissant Color | -| --number-input-caret-color |
#1677ff
|
#3086ff
| Cursor Color | -| --number-input-quick-text-color |
#1677ff
|
#3086ff
| Quick input text color | -| --number-input-quick-border-color |
#1677ff
|
#3086ff
| Quick input border color | diff --git a/compiled/alipay/src/NumberInput/index.json b/compiled/alipay/src/NumberInput/index.json deleted file mode 100644 index 20c5374ed..000000000 --- a/compiled/alipay/src/NumberInput/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-input": "../Input/index" - } -} diff --git a/compiled/alipay/src/NumberInput/index.less b/compiled/alipay/src/NumberInput/index.less deleted file mode 100644 index fb099e0ab..000000000 --- a/compiled/alipay/src/NumberInput/index.less +++ /dev/null @@ -1,91 +0,0 @@ -@import (reference) './variable.less'; -@import (reference) '../style/mixins/hairline.less'; - -@prefixCls: ant-number-input; - -.@{prefixCls} { - background: @number-input-background-color; - padding: @v-spacing-standard; - border-radius: @corner-radius-lg; - - &-header { - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: @v-spacing-standard; - } - - &-title { - font-size: @font-size-subtitle; - color: @number-input-title-color; - } - - &-link { - font-size: @font-size-subtitle; - color: @number-input-link-color; - } - - &-unit { - height: 28rpx; - margin-top: 30rpx; - margin-left: 50rpx; - &-text { - position: relative; - font-size: @sizeFont5; - color: @number-input-unit-color; - text-align: left; - line-height: 28rpx; - text-indent: 0.5em; - .hairline('left', @number-input-border-color); - } - } - - &-content { - position: relative; - display: flex; - align-items: baseline; - margin-bottom: @v-spacing-standard; - .hairline('bottom', @number-input-border-color); - } - - &-prefix { - font-size: @sizeFont12; - color: @number-input-prefix-color; - margin-right: @h-spacing-standard; - } - - &-field { - flex: 1; - .ant-input-content { - height: 125rpx; - font-size: @sizeFont14; - line-height: 74rpx; - caret-color: @number-input-caret-color; - } - } - - &-placeholder { - font-size: @sizeFont5; - } - - &-quick { - display: flex; - flex-wrap: wrap; - gap: @h-spacing-standard; - margin-bottom: @v-spacing-standard; - - &-item { - font-size: @sizeFont5; - line-height: @default-line-height; - color: @number-input-quick-text-color; - padding: @size-1 @size-3; - border: 1rpx solid @number-input-quick-border-color; - border-radius: @corner-radius-circle; - - &:active { - opacity: 0.7; - } - } - } -} - diff --git a/compiled/alipay/src/NumberInput/index.md b/compiled/alipay/src/NumberInput/index.md deleted file mode 100644 index 2d1c98e26..000000000 --- a/compiled/alipay/src/NumberInput/index.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -nav: - path: /components -group: - title: 业务组件 - order: 15 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# NumberInput 金额输入 - -需要输入金额并提供快捷金额选择时使用。支持单位自动转换、最大值限制等功能。 - -## 代码示例 - -### 基本使用 - - - -## API - -### 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------ | -------------------- | ----------------------- | ------------ | -| className | 类名 | string | - | -| style | 样式 | string | - | -| value | 输入框的值 | string | - | -| title | 标题 | string | - | -| linkText | 右上角链接文案 | string | - | -| quickAmounts | 快捷金额选项 | number[] | - | -| placeholder | 占位符文本 | string | '请输入金额' | -| prefix | 金额前缀 | string | '¥' | -| maxValue | 最大可输入金额 | number | - | -| onChange | 内容变化时的回调 | (value: string) => void | - | -| onLinkTap | 点击右上角链接的回调 | () => void | - | - -### 插槽 - -目前只提供一个 footer 插槽,用于在输入框下方插入自定义内容。后续根据需求可能会开放更多内容。 - -使用示例: - -```xml - - - 这是一条自定义内容 - - -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --number-input-background-color |
#ffffff
|
#1a1a1a
| 背景颜色 | -| --number-input-title-color |
#333333
|
#c5cad1
| 标题颜色 | -| --number-input-link-color |
#4b6b99
|
#3f5980
| 右上角链接颜色 | -| --number-input-unit-color |
#999999
|
#616161
| 输入框上方单位颜色 | -| --number-input-border-color |
#eeeeee
|
#2b2b2b
| 分割线颜色 | -| --number-input-prefix-color |
#333333
|
#c5cad1
| 羊角符颜色 | -| --number-input-caret-color |
#1677ff
|
#3086ff
| 光标颜色 | -| --number-input-quick-text-color |
#1677ff
|
#3086ff
| 快捷输入文本颜色 | -| --number-input-quick-border-color |
#1677ff
|
#3086ff
| 快捷输入边框颜色 | diff --git a/compiled/alipay/src/NumberInput/index.ts b/compiled/alipay/src/NumberInput/index.ts deleted file mode 100644 index ac1d8b4fa..000000000 --- a/compiled/alipay/src/NumberInput/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { NumberInputProps } from "./props"; -import { Component, getValueFromProps, triggerEvent, triggerEventOnly } from "../_util/simply"; - -const UNIT_LIST = ['百', '千', '万', '十万', '百万', '千万', '亿', '十亿', '百亿', '千亿']; - -Component( - NumberInputProps, - { - // 统一处理输入值 - update(value: string) { - this.setUnit(value) - triggerEvent(this, 'change', value); - }, - handleInput(value) { - // 处理金额输入格式 - const formattedValue = this.formatAmount(value); - const checkedValue = this.checkMaxValue(formattedValue); - this.update(checkedValue); - }, - - handleQuickInput(e) { - const { value } = e.currentTarget.dataset; - this.update(value); - }, - - formatAmount(value: string) { - // 移除非数字和小数点 - value = value.replace(/[^\d.]/g, ''); - // 保留两位小数 - const parts = value.split('.'); - if (parts.length > 2) { // 移除多余的小数点 - value = parts[0] + '.' + parts[1]; - } - if (parts[1]?.length > 2) { // 保留两位小数 - value = parts[0] + '.' + parts[1].slice(0, 2); - } - return value; - }, - checkMaxValue(value: string) { - const maxValue = getValueFromProps(this, 'maxValue'); - if (Number(value) > maxValue) { - return maxValue; - } - return value; - }, - handleLinkTap() { - triggerEventOnly(this, 'linkTap'); - }, - - setUnit(value: string) { - const intValue = parseInt(value); - let unit = ''; - if (intValue) { - unit = UNIT_LIST[intValue.toString().length - 3] || ''; - } - this.setData({ unit }); - }, - }, - { - unit: '', - }); diff --git a/compiled/alipay/src/NumberInput/props.ts b/compiled/alipay/src/NumberInput/props.ts deleted file mode 100644 index 5a66d8dc3..000000000 --- a/compiled/alipay/src/NumberInput/props.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -interface NumberInputProps extends IBaseProps { - /** - * @description 输入框的值 - */ - value: string, - /** - * @description 标题 - */ - title: string, - /** - * @description 快捷金额选项 - */ - quickAmounts: string[], - /** - * @description 占位符文本 - */ - placeholder: string, - /** - * @description 最大值 - */ - maxValue: number, - /** - * @description 前缀 - */ - prefix: string, - /** - * @description 链接文本 - */ - linkText: string, - /** - * @description 内容变化时的回调 - */ - onChange: (value: string) => void, - /** - * @description 链接点击时的回调 - */ - onLinkTap: () => void, -} - -export const NumberInputProps: NumberInputProps = { - value: '', - title: '输入金额', - quickAmounts: [], - placeholder: '', - maxValue: Infinity, - prefix: '¥', - linkText: '', - onChange: () => {}, - onLinkTap: () => {}, -} diff --git a/compiled/alipay/src/NumberInput/variable.less b/compiled/alipay/src/NumberInput/variable.less deleted file mode 100644 index 9bb4a6327..000000000 --- a/compiled/alipay/src/NumberInput/variable.less +++ /dev/null @@ -1,29 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 背景色 -@number-input-background-color: var(--number-input-background-color, @COLOR_WHITE); - -// 标题文字颜色 -@number-input-title-color: var(--number-input-title-color, @COLOR_TEXT_PRIMARY); - -// 链接文字颜色 -@number-input-link-color: var(--number-input-link-color, @COLOR_LINK); - -// 单位文字颜色 -@number-input-unit-color: var(--number-input-unit-color, @COLOR_TEXT_ASSIST); - -// 分割线 -@number-input-border-color: var(--number-input-border-color, @COLOR_BORDER); - -// 前缀文字颜色 -@number-input-prefix-color: var(--number-input-prefix-color, @COLOR_TEXT_PRIMARY); - -// 输入框光标颜色 -@number-input-caret-color: var(--number-input-caret-color, @COLOR_BRAND1); - -// 快捷金额按钮文字颜色 -@number-input-quick-text-color: var(--number-input-quick-text-color, @COLOR_BRAND1); - -// 快捷金额按钮边框颜色 -@number-input-quick-border-color: var(--number-input-quick-border-color, @COLOR_BRAND1); diff --git a/compiled/alipay/src/NumberKeyboard/index.axml b/compiled/alipay/src/NumberKeyboard/index.axml deleted file mode 100644 index 11aabd3b5..000000000 --- a/compiled/alipay/src/NumberKeyboard/index.axml +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - {{itemKey}} - - - - - - - - . - - - 0 - - - - - - - - 0 - - - . - - - - - - - - - - {{confirmText}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/NumberKeyboard/index.en.md b/compiled/alipay/src/NumberKeyboard/index.en.md deleted file mode 100644 index bfd0f945f..000000000 --- a/compiled/alipay/src/NumberKeyboard/index.en.md +++ /dev/null @@ -1,141 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# NumberKeyboard - -Customize the numeric keypad. - -## Precautions - -1. The numeric keyboard has not yet solved the problem that the keyboard blocks the input box. Developers need to set up screen scrolling to solve such problems. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-number-keyboard": "antd-mini/es/NumberKeyboard/index" -#endif -#if WECHAT - "ant-number-keyboard": "antd-mini/NumberKeyboard/index" -#endif -} -``` - -## Code example - -### Basic use - -#### Default Keyboard - -```xml - -``` - -#### No decimal point - -```xml - -``` - -#### With confirmation button - -```xml - -``` - -#### With closed arrow - -```xml - -``` - -#### scrambled keyboard - -```xml - -``` - -#### Custom Button - -```xml - - - Custom Title - - - - - - - - - -``` - -### Digital input box - - - -### Verification code input box - - - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------- | ---------------- | --------------------- | ------ | -| className | Class Name | string | - | -| style | Style | string | - | -| value | Enter value | string | - | -| visible | Show | boolean | false | -| vibrate | Vibration | boolean | true | -| closeable | Close Arrow | boolean | false | -| point | decimal point | boolean | true | -| random | out of order | boolean | false | -| confirmDisabled | Disable confirmation button | boolean | false | -| safeArea | Safety distance | boolean | true | -| confirmText | Confirm the text of the button | string | - | -| header | Override the title bar of the keyboard | slot | - | -| confirm | Override keyboard confirmation button | slot | - | -| #if ALIPAY onChange | Callback when number changes | (val: string) => void | - | -| #if ALIPAY onClose | Callback when hiding keyboard | () => void | - | -| #if ALIPAY onConfirm | Callback when clicking confirmation | () => void | - | -| #if WECHAT bind:change | Callback when number changes | (val: string) => void | - | -| #if WECHAT bind:close | Callback when hiding keyboard | () => void | - | -| #if WECHAT bind:confirm | Callback when clicking confirmation | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------- | -| --number-key-board-active-background-color |
#d3d3d3
|
#d3d3d3
| Numeric keypad to activate background color | -| --number-key-board-text-color |
#333333
|
#c5cad1
| Number pad text color | -| --number-key-board-none-text-color |
#999999
|
#616161
| No text color on numeric keypad | -| --number-key-board-iphonex-safe-background-color |
#ffffff
|
#1a1a1a
| Digital Keyboard iPhone X Secure Area Background Color | -| --number-key-board-background-color |
#f5f5f5
|
#121212
| Numeric keypad background color | -| --number-key-board-border-color |
#eeeeee
|
#2b2b2b
| Numeric keypad border color | -| --number-key-board-transfer-bg |
#ffffff
|
#1677ff
| Numeric keypad button background | -| --number-key-board-transfer-color |
#ffffff
|
#3086ff
| Numeric keypad button color | diff --git a/compiled/alipay/src/NumberKeyboard/index.json b/compiled/alipay/src/NumberKeyboard/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/NumberKeyboard/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/NumberKeyboard/index.less b/compiled/alipay/src/NumberKeyboard/index.less deleted file mode 100644 index 7ef93f2e9..000000000 --- a/compiled/alipay/src/NumberKeyboard/index.less +++ /dev/null @@ -1,162 +0,0 @@ -@import (reference) './variable.less'; - -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -.ant-number-keyboard { - color: @number-key-board-text-color; - width: 0; - height: 0; - position: relative; - overflow: hidden; - &-modal { - z-index: 998; - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 100vh; - background-color: transparent; - } - &-kb { - background: @number-key-board-background-color; - max-height: 600px; - min-width: 100vw; - overflow: hidden; - position: fixed; - bottom: 0; - left: 0; - transition: all 200ms linear; - z-index: 999; - &_hide { - transform: translateY(100%); - max-height: 0; - } - &_bd { - display: flex; - } - &_row { - display: flex; - } - &_keys { - flex: 3; - } - &_function { - flex: 1; - display: flex; - flex-direction: column; - } - &_none { - height: 80 * @rpx; - width: calc(100% - 96 * @rpx); - padding: 0 48 * @rpx; - font-size: 28 * @rpx; - background-color: @number-key-board-iphonex-safe-background-color; - display: flex; - position: relative; - flex-direction: row; - align-items: center; - justify-content: center; - border-bottom: @border-width-standard solid - @number-key-board-background-color; - color: @number-key-board-none-text-color; - } - &_number { - flex: 1; - height: calc(100vh / 14); - text-align: center; - font-size: 50 * @rpx; - color: @number-key-board-text-color; - background: @number-key-board-iphonex-safe-background-color; - border-right: @border-width-standard solid - @number-key-board-background-color; - border-bottom: @border-width-standard solid - @number-key-board-background-color; - display: flex; - justify-content: center; - align-items: center; - user-select: none; - &:active { - background-color: @number-key-board-active-background-color; - opacity: 0.5; - color: @number-key-board-text-color; - } - } - &_disable { - &:active { - opacity: 1; - } - } - &_zero { - flex: 2; - } - &_point { - flex: 1; - } - &_transfer { - background-color: @number-key-board-transfer-bg; - color: @number-key-board-transfer-color; - flex: 1; - height: calc(100vh / 14); - text-align: center; - font-size: 34 * @rpx; - border-right: @border-width-standard solid - @number-key-board-background-color; - border-bottom: @border-width-standard solid - @number-key-board-background-color; - display: flex; - justify-content: center; - align-items: center; - user-select: none; - position: relative; - overflow: hidden; - &-btn { - font-size: 32 * @rpx; - font-weight: bold; - } - &:active { - opacity: 0.9; - } - } - &_del { - position: relative; - flex: none; - border-right: none; - &::before { - display: block; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - content: ''; - } - } - &_iphonex-safe { - height: 48 * @rpx; - width: 100%; - background-color: @number-key-board-iphonex-safe-background-color; - } - &_flex { - flex: 1; - } - &-e { - background-color: @number-key-board-border-color; - } - } - &-down { - font-size: 40 * @rpx; - } - &-del { - font-size: 50 * @rpx; - } -} diff --git a/compiled/alipay/src/NumberKeyboard/index.md b/compiled/alipay/src/NumberKeyboard/index.md deleted file mode 100644 index 0c898bd46..000000000 --- a/compiled/alipay/src/NumberKeyboard/index.md +++ /dev/null @@ -1,141 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# NumberKeyboard 数字键盘 - -自定义数字键盘。 - -## 注意事项 - -1. 数字键盘暂未解决键盘遮挡输入框的问题,需要开发者自行设置屏幕滚动来解决此类问题。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-number-keyboard": "antd-mini/es/NumberKeyboard/index" -#endif -#if WECHAT - "ant-number-keyboard": "antd-mini/NumberKeyboard/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -#### 默认键盘 - -```xml - -``` - -#### 没有小数点 - -```xml - -``` - -#### 带确认按钮 - -```xml - -``` - -#### 带关闭箭头 - -```xml - -``` - -#### 乱序键盘 - -```xml - -``` - -#### 自定义按钮 - -```xml - - - 自定义标题 - - - - - - - - - -``` - -### 数字输入框 - - - -### 验证码输入框 - - - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ---------------- | --------------------- | ------ | -| className | 类名 | string | - | -| style | 样式 | string | - | -| value | 输入值 | string | - | -| visible | 展示 | boolean | false | -| vibrate | 震动 | boolean | true | -| closeable | 关闭箭头 | boolean | false | -| point | 小数点 | boolean | true | -| random | 乱序 | boolean | false | -| confirmDisabled | 禁用确认按钮 | boolean | false | -| safeArea | 安全距离 | boolean | true | -| confirmText | 确认按钮的文字 | string | - | -| header | 覆盖键盘的标题栏 | slot | - | -| confirm | 覆盖键盘确认按钮 | slot | - | -| #if ALIPAY onChange | 数字变化时的回调 | (val: string) => void | - | -| #if ALIPAY onClose | 隐藏键盘时的回调 | () => void | - | -| #if ALIPAY onConfirm | 点击确认时的回调 | () => void | - | -| #if WECHAT bind:change | 数字变化时的回调 | (val: string) => void | - | -| #if WECHAT bind:close | 隐藏键盘时的回调 | () => void | - | -| #if WECHAT bind:confirm | 点击确认时的回调 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------- | -| --number-key-board-active-background-color |
#d3d3d3
|
#d3d3d3
| 数字键盘激活背景颜色 | -| --number-key-board-text-color |
#333333
|
#c5cad1
| 数字键盘文本颜色 | -| --number-key-board-none-text-color |
#999999
|
#616161
| 数字键盘无文本颜色 | -| --number-key-board-iphonex-safe-background-color |
#ffffff
|
#1a1a1a
| 数字键盘 iPhone X 安全区域背景颜色 | -| --number-key-board-background-color |
#f5f5f5
|
#121212
| 数字键盘背景颜色 | -| --number-key-board-border-color |
#eeeeee
|
#2b2b2b
| 数字键盘边框颜色 | -| --number-key-board-transfer-bg |
#ffffff
|
#1677ff
| 数字键盘按钮背景 | -| --number-key-board-transfer-color |
#ffffff
|
#3086ff
| 数字键盘按钮颜色 | diff --git a/compiled/alipay/src/NumberKeyboard/index.ts b/compiled/alipay/src/NumberKeyboard/index.ts deleted file mode 100644 index e7862bee5..000000000 --- a/compiled/alipay/src/NumberKeyboard/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { - Component, - triggerEvent, - triggerEventOnly, - getValueFromProps, -} from '../_util/simply'; - -import { NumberKeyboardDefaultProps } from './props'; - -const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9]; - -Component( - NumberKeyboardDefaultProps, - { - catchAppearModal() { - this.setRandom(); - }, - setRandom() { - if (getValueFromProps(this, 'random')) { - const newArr = arr.sort(function () { - return Math.random() - 0.5; - }); - this.setData({ - randomArr: [ - newArr.slice(0, 3), - newArr.slice(3, 6), - newArr.slice(6, 9), - ], - }); - } - }, - tapButton(e) { - const [value, confirmDisabled] = getValueFromProps(this, [ - 'value', - 'confirmDisabled', - ]); - this.vibrate(); - const _key = e.currentTarget.dataset.key; - const _val = `${value}`; - - // 回退 - if (_key === 'del') { - triggerEvent(this, 'change', `${_val.substr(0, _val.length - 1)}`, e); - return; - } - if (_key !== 'del' && _key !== 'enter') { - triggerEvent(this, 'change', `${_val}${_key}`, e); - } - if (_key === 'enter' && !confirmDisabled) { - this.onClickEnter(); - triggerEventOnly(this, 'close'); - } - }, - // 隐藏键盘,失去焦点 - handleHide() { - triggerEventOnly(this, 'close'); - }, - onClickEnter() { - const confirmDisabled = getValueFromProps(this, 'confirmDisabled'); - if (confirmDisabled) return; - this.handleHide(); - triggerEventOnly(this, 'confirm'); - }, - // 振动反馈 - vibrate() { - if (getValueFromProps(this, 'vibrate') && typeof my !== 'undefined') { - my.canIUse('vibrateShort') && my.vibrateShort(); - } - }, - }, - { - numArr: [ - [1, 2, 3], - [4, 5, 6], - [7, 8, 9], - ], - randomArr: [], - }, - undefined, - { - didMount() { - this.setRandom(); - }, - } -); diff --git a/compiled/alipay/src/NumberKeyboard/props.ts b/compiled/alipay/src/NumberKeyboard/props.ts deleted file mode 100644 index 37aaa4908..000000000 --- a/compiled/alipay/src/NumberKeyboard/props.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface INumberKeyboardProps extends IBaseProps { - /** - * @description 关闭箭头 - * @default false - */ - closeable: boolean; - /** - * @description 展示小数点 - * @default true - */ - point: boolean; - /** - * @description 确认按钮文字 - * @default '' - */ - confirmText: string; - /** - * @description 是否震动 - * @default true - */ - vibrate: boolean; - /** - * @description 是否展示 - * @default false - */ - visible: boolean; - /** - * @description 值 - * @default '' - */ - value: string; - /** - * @description 安全距离 - * @default true - */ - safeArea: boolean; - /** - * @description 乱序 - * @default fasle - */ - random: boolean; - /** - * @description 禁用 - * @default false - */ - confirmDisabled: boolean; - /** - * @description 输入值变化时的回调 - */ - onChange?: (val: string) => void; - /** - * @description 点击确认时的回调 - */ - onConfirm?: () => void; - /** - * @description 隐藏键盘时的回调 - */ - onClose?: () => void; -} - -export const NumberKeyboardDefaultProps: Partial = { - closeable: false, // 关闭箭头 - point: true, // 展示小数点 - confirmText: '', // 确认按钮文字 - vibrate: false, // 震动反馈 - visible: false, // 是否展示 - value: '', // 值 - safeArea: true, // 安全区域 - random: false, // 乱序 - confirmDisabled: false, // 禁用确认按钮 - onChange: () => {}, - onConfirm: () => {}, - onClose: () => {}, -}; diff --git a/compiled/alipay/src/NumberKeyboard/variable.less b/compiled/alipay/src/NumberKeyboard/variable.less deleted file mode 100644 index b2c2dfaa8..000000000 --- a/compiled/alipay/src/NumberKeyboard/variable.less +++ /dev/null @@ -1,42 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 标准字体颜色 -@number-key-board-text-color: var( - --number-key-board-text-color, - @COLOR_TEXT_PRIMARY -); -// nont-字体颜色 -@number-key-board-none-text-color: var( - --number-key-board-none-text-color, - @COLOR_TEXT_ASSIST -); -@number-key-board-iphonex-safe-background-color: var( - --number-key-board-iphonex-safe-background-color, - @COLOR_CARD -); - -@number-key-board-background-color: var( - --number-key-board-background-color, - @COLOR_BACKGROUND -); - -@number-key-board-border-color: var( - --number-key-board-border-color, - @COLOR_BORDER -); - -@number-key-board-transfer-bg: var( - --number-key-board-transfer-bg, - @COLOR_BRAND1 -); - -@number-key-board-active-background-color: var( - --number-key-board-active-background-color, - #d3d3d3 -); - -@number-key-board-transfer-color: var( - --number-key-board-transfer-color, - @COLOR_WHITE -); diff --git a/compiled/alipay/src/PageContainer/index.axml b/compiled/alipay/src/PageContainer/index.axml deleted file mode 100644 index 376a8a24d..000000000 --- a/compiled/alipay/src/PageContainer/index.axml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - {{actionText}} - - - {{secondaryActionText}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/PageContainer/index.en.md b/compiled/alipay/src/PageContainer/index.en.md deleted file mode 100644 index 5cc14b004..000000000 --- a/compiled/alipay/src/PageContainer/index.en.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# PageContainer - -The page-level container component provides common capabilities such as loading status, page exception handling, top/bottom safe margins, and so on, out of the box. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { - "ant-page": "antd-mini/es/PageContainer/index" -} -``` - -## Code example - -### Basic use - -```xml - - - minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - - -``` - -```js -Page({ - data: { - loading: true, - status: 'failed', - safeArea: 'both', - }, - onLoad() { - setTimeout(() => { - this.setData({ - loading: false, - }); - }, 1000); - }, - handleRefresh() { - my.reLaunch({ - url: 'index', - fail(e) { - console.log(e); - }, - }); - }, - handleSwitchToDisconnected() { - this.setData({ - status: 'disconnected', - title: undefined, - message: undefined, - image: '', - }); - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| -------------------- | ------------------------------------------------------- | ---------------- | -------- | -| className | Class Name | string | - | -| style | Style | string | - | -| safeArea | Location of margin inside the safety zone,`top`、`bottom`、`both` | string | `both` | -| loading | Loading | boolean \| slot | false | -| loadingType | Load style type,`spin`、`mini` | string | `spin` | -| loadingSize | Load Style Size,`small`、`medium`、`large`、`x-large` | string | `medium` | -| loadingColor | Load Style Color | string | '#ccc' | -| status | Page exception status,`failed`、`busy`、`disconnected`、`empty` | string \| slot | - | -| image | Page Exception State Custom Image | string | - | -| title | Page Exception Status Custom Title | string | - | -| message | Page Exception Status Custom Description | string | - | -| actionText | Page Exception Status Button Copy | string | - | -| secondaryActionText | Page Exception Secondary Button Copy | string | - | -| extra | Page Exception Custom Button | slot | - | -| onActionTap | Page abnormal state button click event | (e: any) => void | - | -| onSecondaryActionTap | Page Exception Status Secondary Button Click Event | (e: any) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --page-container-background-color |
#f5f5f5
|
#121212
| Page Container Background Color | diff --git a/compiled/alipay/src/PageContainer/index.json b/compiled/alipay/src/PageContainer/index.json deleted file mode 100644 index 0ea49bc59..000000000 --- a/compiled/alipay/src/PageContainer/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-loading": "../Loading/index", - "ant-empty": "../Empty/index" - } -} diff --git a/compiled/alipay/src/PageContainer/index.less b/compiled/alipay/src/PageContainer/index.less deleted file mode 100644 index 823ae8248..000000000 --- a/compiled/alipay/src/PageContainer/index.less +++ /dev/null @@ -1,42 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@prefix: ant-page-container; - -.@{prefix} { - overflow: auto; - color: @COLOR_TEXT_PRIMARY; - - &-safe-top { - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - - &-safe-bottom { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); - } - - &-loading-wrap { - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100vh; - background: @page-container-background-color; - opacity: 0.4; - z-index: 3; - } - - &-loading { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - } - - &-status { - margin-top: 420 * @rpx; - text-align: center; - } -} diff --git a/compiled/alipay/src/PageContainer/index.md b/compiled/alipay/src/PageContainer/index.md deleted file mode 100644 index 556a95e0a..000000000 --- a/compiled/alipay/src/PageContainer/index.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# PageContainer 页面容器 - -页面级容器组件,提供加载状态、页面异常处理、顶部/底部安全边距等常用能力,开箱即用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { - "ant-page": "antd-mini/es/PageContainer/index" -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - - -``` - -```js -Page({ - data: { - loading: true, - status: 'failed', - safeArea: 'both', - }, - onLoad() { - setTimeout(() => { - this.setData({ - loading: false, - }); - }, 1000); - }, - handleRefresh() { - my.reLaunch({ - url: 'index', - fail(e) { - console.log(e); - }, - }); - }, - handleSwitchToDisconnected() { - this.setData({ - status: 'disconnected', - title: undefined, - message: undefined, - image: '', - }); - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| -------------------- | ------------------------------------------------------- | ---------------- | -------- | -| className | 类名 | string | - | -| style | 样式 | string | - | -| safeArea | 安全区内边距位置,`top`、`bottom`、`both` | string | `both` | -| loading | 加载中 | boolean \| slot | false | -| loadingType | 加载样式类型,`spin`、`mini` | string | `spin` | -| loadingSize | 加载样式大小,`small`、`medium`、`large`、`x-large` | string | `medium` | -| loadingColor | 加载样式颜色 | string | '#ccc' | -| status | 页面异常状态,`failed`、`busy`、`disconnected`、`empty` | string \| slot | - | -| image | 页面异常状态自定义图片 | string | - | -| title | 页面异常状态自定义标题 | string | - | -| message | 页面异常状态自定义描述 | string | - | -| actionText | 页面异常状态按钮文案 | string | - | -| secondaryActionText | 页面异常状态次要按钮文案 | string | - | -| extra | 页面异常状态自定义按钮 | slot | - | -| onActionTap | 页面异常状态按钮点击事件 | (e: any) => void | - | -| onSecondaryActionTap | 页面异常状态次要按钮点击事件 | (e: any) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --page-container-background-color |
#f5f5f5
|
#121212
| 页面容器背景颜色 | diff --git a/compiled/alipay/src/PageContainer/index.sjs b/compiled/alipay/src/PageContainer/index.sjs deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/PageContainer/index.ts b/compiled/alipay/src/PageContainer/index.ts deleted file mode 100644 index fe5a5e91e..000000000 --- a/compiled/alipay/src/PageContainer/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { effect } from '@preact/signals-core'; -import equal from 'fast-deep-equal'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEventOnly, -} from '../_util/simply'; -import i18nController from '../_util/store'; -import { BuiltinStatus, PageDefaultProps } from './props'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - PageDefaultProps, - { - handleActionTap(e) { - triggerEventOnly(this, 'actionTap', e); - }, - handleSecondaryActionTap(e) { - triggerEventOnly(this, 'secondaryActionTap', e); - }, - updatePageStatus(prevProps: any, nextProps: any) { - if (!equal(prevProps, nextProps)) { - const [status, image, title, message] = getValueFromProps(this, [ - 'status', - 'image', - 'title', - 'message', - ]); - const updateData = { - ...nextProps, - // 自定义内容优先 status - image: image || BuiltinStatus[status]?.image || '', - title: - title || - BuiltinStatus[status]?.title || - this.data.locale.pageContainer[status]?.title || - '', - message: - message || - BuiltinStatus[status]?.message || - this.data.locale.pageContainer[status]?.message || - '', - }; - - this.setData(updateData); - } - }, - }, - {}, - undefined, - { - didMount() { - const props = getValueFromProps(this); - this.updatePageStatus({}, props); - }, - didUpdate(prevProps) { - const props = getValueFromProps(this); - this.updatePageStatus(prevProps, props); - }, - - } -); diff --git a/compiled/alipay/src/PageContainer/props.ts b/compiled/alipay/src/PageContainer/props.ts deleted file mode 100644 index c35ff0156..000000000 --- a/compiled/alipay/src/PageContainer/props.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 页面容器,提供开箱即用的页面状态展示和基础能力。 - */ - -export interface IPageProps extends IBaseProps { - /** - * @description 安全区内边距位置 top=顶部 bottom=底部 both=顶部和底部 - */ - safeArea?: 'top' | 'bottom' | 'both'; - - /** - * @description 加载中 - */ - loading?: boolean; - - /** - * @description 加载样式类型,参考 Loading 组件 - */ - loadingType?: string; - - /** - * @description 加载样式大小,参考 Loading 组件 - */ - loadingSize?: string; - - /** - * @description 加载样式颜色,参考 Loading 组件 - */ - loadingColor?: string; - - /** - * @description 页面异常状态 - */ - status?: 'failed' | 'busy' | 'disconnected' | 'empty'; - - /** - * @description 页面异常状态-标题 - */ - title?: string; - /** - * @description 页面异常状态-图片 - */ - image?: string; - /** - * @description 页面异常状态-描述 - */ - message?: string; - - /** - * @description 页面异常状态-按钮文案 - */ - actionText?: string; - - /** - * @description 页面异常状态-次要按钮文案 - */ - secondaryActionText?: string; - - /** - * @description 页面异常状态-按钮点击事件 - */ - onActionTap?: (e: any) => void; - - /** - * @description 页面异常状态-次要按钮点击事件 - */ - onSecondaryActionTap?: (e: any) => void; -} - -export const PageDefaultProps: IPageProps = { - loading: false, - safeArea: 'both', - loadingColor: '#ccc', - loadingSize: 'medium', - loadingType: 'spin', - status: null, - title: '', - image: '', - message: '', - actionText: '', - secondaryActionText: '', - onActionTap: null, - onSecondaryActionTap: null, -}; - -// 内置异常配置 -export const BuiltinStatus = { - failed: { - image: - 'https://gw.alipayobjects.com/mdn/rms_7cc883/afts/img/A*PG7NQoXbN38AAAAAAAAAAAAAARQnAQ', - title: '', - message: '', - }, - disconnected: { - image: - 'https://mdn.alipayobjects.com/huamei_yqdpol/afts/img/A*uqB5TY4urA4AAAAAAAAAAAAADj16AQ/original', - title: '', - message: '', - }, - empty: { - title: '', - message: '', - image: - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*0AaRRrYlVDkAAAAAAAAAAAAAARQnAQ', - }, - busy: { - image: - 'https://mdn.alipayobjects.com/huamei_yqdpol/afts/img/A*avTGQIyeHk0AAAAAAAAAAAAADj16AQ/original', - title: '', - message: '', - }, -}; diff --git a/compiled/alipay/src/PageContainer/variable.less b/compiled/alipay/src/PageContainer/variable.less deleted file mode 100644 index 831f39502..000000000 --- a/compiled/alipay/src/PageContainer/variable.less +++ /dev/null @@ -1,7 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@page-container-background-color: var( - --page-container-background-color, - @COLOR_BACKGROUND -); diff --git a/compiled/alipay/src/Pagination/index.axml b/compiled/alipay/src/Pagination/index.axml deleted file mode 100644 index a448417aa..000000000 --- a/compiled/alipay/src/Pagination/index.axml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Pagination/index.json b/compiled/alipay/src/Pagination/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Pagination/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Pagination/index.less b/compiled/alipay/src/Pagination/index.less deleted file mode 100644 index f772e7c0c..000000000 --- a/compiled/alipay/src/Pagination/index.less +++ /dev/null @@ -1,45 +0,0 @@ -@import (reference) './variable.less'; - -@pageInfinite: ant-page-infinite; - -.@{pageInfinite} { - position: relative; - width: 100%; - box-sizing: border-box; - &-content { - width: 100%; - &::-webkit-scrollbar { - display: none; - } - } - &-wrap { - position: absolute; - bottom: 2 * @rpx; - left: 0; - right: 0; - width: 100%; - height: 6 * @rpx; - z-index: 2; - pointer-events: none; - } - &-area { - position: absolute; - left: 50%; - width: 52 * @rpx; - height: 6 * @rpx; - overflow: hidden; - border-radius: @corner-radius-sm / 2; - transform: translateX(-50%); - background-color: @pagination-area-background-color; - } - &-move { - position: absolute; - bottom: 0; - left: 0; - width: 50%; - height: 100%; - transition: all 100ms linear; - border-radius: @corner-radius-sm / 2; - background-color: @pagination-move-background-color; - } -} diff --git a/compiled/alipay/src/Pagination/index.sjs b/compiled/alipay/src/Pagination/index.sjs deleted file mode 100644 index 7456e3f77..000000000 --- a/compiled/alipay/src/Pagination/index.sjs +++ /dev/null @@ -1,11 +0,0 @@ -function changeScollDistance(event, ownerComponent) { - var scrollLeft = event.detail.scrollLeft; - var scrollWidth = event.detail.scrollWidth; - var viewWidth = ownerComponent.selectComponent('.ant-page-infinite-content').getBoundingClientRect().width; - var moveDom = ownerComponent.selectComponent('.ant-page-infinite-move'); - var pageDeg = Math.ceil(scrollLeft / (scrollWidth - viewWidth) * 100); - moveDom.setStyle("transform: translateX(".concat(pageDeg, "%);")); -} -export default { - changeScollDistance: changeScollDistance -}; \ No newline at end of file diff --git a/compiled/alipay/src/Pagination/index.ts b/compiled/alipay/src/Pagination/index.ts deleted file mode 100644 index 608f3c810..000000000 --- a/compiled/alipay/src/Pagination/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Component } from '../_util/simply'; -import { PaginationDefaultProps } from './props'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; - -Component( - PaginationDefaultProps, - { - async clacWidth() { - const rect = await getInstanceBoundingClientRect( - this, - `#ant-pageInfinite-${this.$id ? `-${this.$id}` : ''}` - ); - if (rect) { - return rect.width; - } - return 0; - }, - async onScroll(e) { - const { scrollLeft, scrollWidth } = e.detail; - const viewWidth = await this.clacWidth(); - if (viewWidth) { - this.setData({ - pageDeg: Math.ceil((scrollLeft / (scrollWidth - viewWidth)) * 100), - }); - } - }, - }, - { - pageDeg: 0, - supportSjs: true, - }, - undefined, - { - wrapWidth: 0, - onInit() { - let supportSjs; - if (typeof my === 'undefined') { - supportSjs = true; - } - supportSjs = my.canIUse('sjs.event'); - this.setData({ supportSjs }); - }, - } -); diff --git a/compiled/alipay/src/Pagination/props.ts b/compiled/alipay/src/Pagination/props.ts deleted file mode 100644 index 720691b10..000000000 --- a/compiled/alipay/src/Pagination/props.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface IPaginationProps extends IBaseProps { - /** - * @description 分页符背景色 - * @default '#ddd' - */ - fillColor: string; - /** - * @description 分页符颜色 - * @default '#1677ff' - */ - frontColor: string; -} - -export const PaginationDefaultProps: Partial = { - fillColor: '', - frontColor: '', -}; diff --git a/compiled/alipay/src/Pagination/variable.less b/compiled/alipay/src/Pagination/variable.less deleted file mode 100644 index 0ba327ddd..000000000 --- a/compiled/alipay/src/Pagination/variable.less +++ /dev/null @@ -1,12 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@pagination-area-background-color: var( - --pagination-area-background-color, - @COLOR_GREY_CARD -); - -@pagination-move-background-color: var( - --pagination-move-background-color, - @COLOR_BRAND1 -); diff --git a/compiled/alipay/src/Picker/CascaderPicker/index.axml b/compiled/alipay/src/Picker/CascaderPicker/index.axml deleted file mode 100644 index 985860bf7..000000000 --- a/compiled/alipay/src/Picker/CascaderPicker/index.axml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Picker/CascaderPicker/index.json b/compiled/alipay/src/Picker/CascaderPicker/index.json deleted file mode 100644 index 208399c82..000000000 --- a/compiled/alipay/src/Picker/CascaderPicker/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-picker": "../index" - } -} diff --git a/compiled/alipay/src/Picker/CascaderPicker/index.less b/compiled/alipay/src/Picker/CascaderPicker/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/alipay/src/Picker/CascaderPicker/index.ts b/compiled/alipay/src/Picker/CascaderPicker/index.ts deleted file mode 100644 index b21aec9d1..000000000 --- a/compiled/alipay/src/Picker/CascaderPicker/index.ts +++ /dev/null @@ -1,186 +0,0 @@ -import { - Component, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../../_util/simply'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { CascaderDefaultProps } from './props'; -import equal from 'fast-deep-equal'; -import mixinValue from '../../mixins/value'; - -Component( - CascaderDefaultProps, - { - // visible受控判断 - isVisibleControlled() { - return 'visible' in getValueFromProps(this); - }, - initColumns() { - const [options, visible, defaultVisible, value, defaultValue] = - getValueFromProps(this, [ - 'options', - 'visible', - 'defaultVisible', - 'value', - 'defaultValue', - ]); - - const realValue = value || defaultValue || []; - const columns = this.getterColumns(realValue, options); - - // 首次无需校验value有效性,onOk时会校验 - this.setData({ - columns, - visible: this.isVisibleControlled() ? visible : defaultVisible, - currentValue: realValue, - formattedValueText: this.onFormat(), - }); - }, - getterColumns(value, options) { - const getColumns = (options, value, columns = []) => { - columns.push(options.map((v) => ({ value: v.value, label: v.label }))); - const currentOption = - options.find((v) => v.value === value?.[columns.length - 1]) || - options[0]; - if (currentOption?.children?.length > 0) { - return getColumns(currentOption.children, value, columns); - } - return columns; - }; - return getColumns(options, value); - }, - // 获取有效value,若从x项开始在columns里找不到,则从此项开始都选第一条 - getValidValue(value, columns) { - const result = []; - for (let i = 0; i < columns.length; i++) { - if (!columns[i].some((v) => v?.value === value?.[i])) { - result.push(...columns.slice(i).map((v) => v?.[0]?.value)); - break; - } else { - result[i] = value[i]; - } - } - return result; - }, - getOptionByValue(value) { - const options = getValueFromProps(this, 'options'); - if (!(value?.length > 0)) return null; - const result = []; - let item = options.find((v) => v.value === value[0]); - for (let i = 0; i < value.length; i++) { - if (!item) { - return null; - } - result.push({ - value: item.value, - label: item.label, - }); - item = item.children?.find((v) => v.value === value[i + 1]); - } - return result; - }, - onChange(selectedVal) { - let [selectedValue] = resolveEventValues(selectedVal); - const options = getValueFromProps(this, 'options'); - const { columns } = this.data; - const newColumns = this.getterColumns(selectedValue, options); - // columns没变化说明selectedValue在范围内,无需重置 - const newData: any = {}; - if (!equal(columns, newColumns)) { - selectedValue = this.getValidValue(selectedValue, newColumns); - newData.columns = newColumns; - } - newData.currentValue = selectedValue; - this.setData(newData); - triggerEventValues(this, 'change', [ - selectedValue, - this.getOptionByValue(selectedValue), - ]); - }, - async onOk() { - const { currentValue } = this.data; - const options = getValueFromProps(this, 'options'); - const newColumns = this.getterColumns(currentValue, options); - const validValue = this.getValidValue(currentValue, newColumns); - if (!this.isControlled()) { - this.update(validValue); - } - triggerEventValues(this, 'ok', [ - validValue, - this.getOptionByValue(validValue), - ]); - }, - onVisibleChange(visible) { - const options = getValueFromProps(this, 'options'); - const { columns } = this.data; - const realValue = this.getValue(); - if (!this.isVisibleControlled() && visible) { - const newColumns = this.getterColumns(realValue, options); - - if (!equal(columns, newColumns)) { - this.setData({ columns: newColumns }, () => { - this.setData({ - currentValue: this.getValidValue(realValue, newColumns), - formattedValueText: this.onFormat(), - }); - }); - } - } - triggerEvent(this, 'visibleChange', resolveEventValue(visible)); - }, - defaultFormat(value, options) { - if (options) { - return options.map((v) => v.label).join(''); - } - return ''; - }, - onFormat() { - const realValue = this.getValue(); - const onFormat = getValueFromProps(this, 'onFormat'); - const formatValueByProps = - onFormat && onFormat(realValue, this.getOptionByValue(realValue)); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat(realValue, this.getOptionByValue(realValue)); - }, - - onCancel(e) { - triggerEventOnly(this, 'cancel', e); - }, - }, - { - currentValue: [], // 当前picker选中值,didmount、弹窗打开、picker变化时更新 - columns: [], // 可选项,didmound、弹窗打开、picker变化时更新 - formattedValueText: '', - visible: false, - }, - [mixinValue()], - { - onInit() { - this.initColumns(); - }, - didUpdate(prevProps, prevData) { - const options = getValueFromProps(this, 'options'); - if (!equal(options, prevProps.options)) { - const { currentValue } = this.data; - const newColumns = this.getterColumns(currentValue, options); - this.setData({ - columns: newColumns, - }); - } - if (!this.isEqualValue(prevData)) { - const realValue = this.getValue(); - const newColumns = this.getterColumns(realValue, options); - const currentValue = this.getValidValue(realValue, newColumns); - this.setData({ currentValue, formattedValueText: this.onFormat() }); - } - const visible = getValueFromProps(this, 'visible'); - if (this.isVisibleControlled() && !equal(prevProps.visible, visible)) { - this.setData({ visible }); - } - }, - } -); diff --git a/compiled/alipay/src/Picker/CascaderPicker/props.ts b/compiled/alipay/src/Picker/CascaderPicker/props.ts deleted file mode 100644 index 09b589ae9..000000000 --- a/compiled/alipay/src/Picker/CascaderPicker/props.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -export interface ICascaderOption { - label: string; - value: any; - children?: ICascaderOption[]; -} - -/** - * @description 级联组件,基于Picker封装 - */ -export interface ICascaderProps extends IBaseProps { - visible?: boolean; - defaultVisible?: boolean; - /** - * @desciption 动画类型 - * @default "transform" - */ - animationType: 'transform' | 'position'; - /** - * @description 当前数据 - */ - value: any[]; - /** - * @description 默认值 - */ - defaultValue: any[]; - /** - * @description 可选项数据 - */ - options: ICascaderOption[]; - /** - * @description 提示文案 - * @default '请选择' - */ - placeholder: string; - /** - * @description 取消文案 - * @default "取消" - */ - cancelText: string; - /** - * @description 是否禁用 - */ - disabled?: boolean; - /** - * @description 标题 - */ - title: string; - /** - * @description 确定按钮文案 - * @default "确定" - */ - okText: string; - - /** - *@description 选中框样式 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorStyle?: string; - - /** - *@description 选中框类名 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorClassName?: string; - - /** - * @description 蒙层的样式。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskStyle?: string; - - /** - * @description 蒙层的类名。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskClassName?: string; - - /** - * @description 点击确认回调 - */ - onOk?: ( - value: any[], - selectedOptions: ICascaderOption[], - e: Record - ) => void; - /** - * @description 点击取消回调 - */ - onCancel?: (e: Record) => void; - /** - * @description 选中值的文本显示格式 - */ - onFormat?: (value: any[], selectedOptions: ICascaderOption[]) => string; - /** - * @description 切换显示隐藏 - */ - onVisibleChange?: (visible: boolean, e: Record) => void; - /** - * @description 发生滚动即触发, 与 onChange 点击 ok 后触发不同 - */ - onChange?: ( - value: any[], - selectedOptions: ICascaderOption[], - e: Record - ) => void; - /** - * @description 点击蒙层是否可以关闭 - * @default false - */ - maskClosable: boolean; - /** - * @description 弹出框类名 - */ - popClassName: string; - /** - * @description 弹出框样式 - */ - popStyle: string; -} - -export const CascaderDefaultProps: Partial = { - visible: null, - defaultVisible: null, - animationType: 'transform', - value: null, - defaultValue: null, - options: [], - placeholder: '请选择', - cancelText: '取消', - disabled: false, - title: '', - okText: '确定', - maskClosable: true, - popClassName: '', - popStyle: '', - onFormat: null, -}; diff --git a/compiled/alipay/src/Picker/CascaderPicker/utils.ts b/compiled/alipay/src/Picker/CascaderPicker/utils.ts deleted file mode 100644 index fcc823cca..000000000 --- a/compiled/alipay/src/Picker/CascaderPicker/utils.ts +++ /dev/null @@ -1,33 +0,0 @@ -export function defaultFormat(value, options) { - if (options) { - return options.map((v) => v.label).join(''); - } - return ''; -} - -export function getterColumns(value, options = []) { - const getColumns = (options, value, columns = []) => { - columns.push(options.map((v) => ({ value: v.value, label: v.label }))); - const currentOption = - options.find((v) => v.value === value?.[columns.length - 1]) || - options[0]; - if (currentOption?.children?.length > 0) { - return getColumns(currentOption.children, value, columns); - } - return columns; - }; - return getColumns(options, value); -} - -export function getValidValue(value, columns) { - const result = []; - for (let i = 0; i < columns.length; i++) { - if (!columns[i].some((v) => v.value === value?.[i])) { - result.push(...columns.slice(i).map((v) => v[0]?.value)); - break; - } else { - result[i] = value[i]; - } - } - return result; -} diff --git a/compiled/alipay/src/Picker/index.axml b/compiled/alipay/src/Picker/index.axml deleted file mode 100644 index adffe1194..000000000 --- a/compiled/alipay/src/Picker/index.axml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - {{formatValue}} - - - - {{u.isPropsEmpty(placeholder) ? locale.global.placeholder : placeholder}} - - - - - - - - - - {{u.isPropsEmpty(cancelText) ? locale.global.cancelText : cancelText}} - - - {{title}} - - - {{u.isPropsEmpty(okText) ? locale.global.okText : okText}} - - - - - - - - - - - {{_sjs.getPickerViewLabel(item)}} - - - - - - - - - - - {{u.isPropsEmpty(emptyText) ? locale.global.emptyText : emptyText}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Picker/index.en.md b/compiled/alipay/src/Picker/index.en.md deleted file mode 100644 index df038488b..000000000 --- a/compiled/alipay/src/Picker/index.en.md +++ /dev/null @@ -1,392 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Picker - -The Picker selector displays a scrollable list of one or more collections of options, providing consistency between the iOS and Android-side experiences compared to native pickers. - -- One or more sets of association options are provided for selection by the user. -- When there are less than 5 options, it is recommended to tile the options directly. Using Radio is a better choice. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-picker": "antd-mini/es/Picker/index", - "ant-cascader-picker": "antd-mini/es/CascaderPicker/index" -#endif -#if WECHAT - "ant-picker": "antd-mini/Picker/index", - "ant-cascader-picker": "antd-mini/CascaderPicker/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - defaultValue: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleDismiss(e) { - console.log('onCancel', e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, -}); -``` - -### Format selected text - -> `onFormat` The function return value is the value of the selected area to be rendered. - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif - }, -#if ALIPAY - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif -}) -``` - -### multi-column selection - -> When complex options appear, but do not need to link between options, you can achieve multi-column selection in the following ways: - -```xml - -``` - -```js -Page({ - data: { - columns: [ - [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - [ - { - label: '上午', - value: 'am', - }, - { - label: '下午', - value: 'pm', - }, - ], - ], -#if WECHAT - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - }, -#endif - }, -#if ALIPAY - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - } -#endif -}) -``` - -### Controlled Mode - -> `value` property and `ok` Events, with the implementation of controlled mode. - -```xml - -Select Shenzhen -Empty -``` - -```js -Page({ - data:{ - value: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleControlledOk(value) { -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif - }, - handleClearControlled() { - this.setData({ - value: '', - }); - }, - handleChangeControlled() { - this.setData({ - value: '深圳', - }); - }, -}) -``` - -### Cascade Picker - -> When more complex options appear, there is a need for linkage between options, which requires the introduction `ant-cascader-picker` Cascade selection components to achieve. The component implements the cascading function by passing in the following tree structure: - -```xml - -``` - -```js -Page({ - data: { - cityList: [ - { - label: '北京', - value: '11', - children: [ - { - label: '北京', - value: '110', - }, - ], - }, - { - label: '河北', - value: '18', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - ], - }, - ], - }, -}); -``` - -## Demo Code - - - -## API - -### Picker - -| 属性 | Description | Type | Default Value | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | --- | -| animationType | 动画Type,可选`transform` `position`, the default is used`transform`Animation performance is better. Due to a bug in the basic library of small programs, the picker-view shadow style in the pop-up window may have style problems under iOS and can be temporarily switched`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | Default Value | string \| number \| Array\ | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| emptyText | 空状态按钮文案 | string | '暂无数据' | -| options | picker 数据,配置每一列的选项 | [PickerColumnItem](#pickercolumnitem)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的Value | string \| number \| Array\ | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中Value的文本显示格式 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem)) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### CascaderPicker - -| 属性 | Description | Type | Default Value | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | --- | -| animationType | 动画Type,可选`transform` `position`, the default is used`transform`Animation performance is better. Due to a bug in the basic library of small programs, the picker-view shadow style in the pop-up window may have style problems under iOS and can be temporarily switched`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的Value | string[] | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| format | 时间格式化显示,格式同[dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| options | 可选数据 | [CascaderOption](#cascaderoption)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的Value | string[] | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中Value的文本显示格式,默认展示 labels.join('') | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[]) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PickerColumnItem - -| Parameters | Description | Type | Default Value | -| ----- | ---- | ---------------- | ------ | -| label | Text | string | - | -| value | Value | string \| number | - | - -### CascaderOption - -| Parameters | Description | Type | Default Value | -| -------- | ---- | ---------------- | ------ | -| label | Text | string | - | -| value | Value | string \| number | - | -| children | Sub Level | CascaderOption[] | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ----------------------------- | -| --picker-item-color |
#333333
|
#c5cad1
| Selector item color | -| --picker-header-action-color |
#1677ff
|
#3086ff
| Selector Head Operation Color | -| --picker-placeholder-color |
#cccccc
|
#474747
| Selector Placeholder Color | -| --picker-header-color |
#eeeeee
|
#2b2b2b
| Selector head color | -| --picker-content-background-color |
#ffffff
|
#1a1a1a
| Selector Content Background Color | -| --picker-mask-bg-faded-95 |
rgba(255, 255, 255, 0.05)
|
rgba(255, 255, 255, 0.02)
| Selector mask background color (95% transparency) | -| --picker-mask-bg-faded-60 |
rgba(255, 255, 255, 0.4)
|
rgba(255, 255, 255, 0.01)
| Selector mask background color (60% transparency) | - -## FAQ - -### Exhibit exception when dynamically changing the number of picker columns - -Due to the limitation of native picker-view, dynamic change of the number of columns is not supported for the time being. diff --git a/compiled/alipay/src/Picker/index.json b/compiled/alipay/src/Picker/index.json deleted file mode 100644 index e1a7501d8..000000000 --- a/compiled/alipay/src/Picker/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/alipay/src/Picker/index.less b/compiled/alipay/src/Picker/index.less deleted file mode 100644 index 36ac51338..000000000 --- a/compiled/alipay/src/Picker/index.less +++ /dev/null @@ -1,82 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@pickerPrefix: ant-picker; - -.@{pickerPrefix} { - display: inline-flex; - align-items: center; - color: @picker-item-color; - &-disabled { - color: @picker-placeholder-color; - } - &-header { - position: relative; - display: flex; - align-items: center; - justify-content: space-between; - padding: @picker-header-padding; - box-sizing: border-box; - .hairline('bottom', @COLOR_BORDER); - - &-item { - display: flex; - align-items: center; - height: 100%; - white-space: nowrap; - font-size: @picker-header-action-size; - color: @picker-header-action-color; - box-sizing: border-box; - } - - &-title { - display: flex; - justify-content: center; - overflow: hidden; - -webkit-line-clamp: 1; - box-orient: vertical; - white-space: normal; - color: @picker-item-color; - width: @picker-header-title-width; - } - } - - - &-content { - background: @picker-content-background-color; - - .a-picker-view-picker-item { - color: @picker-item-color; - } - .a-picker-view-picker-indicator { - &::before, - &::after { - border-color: @picker-header-color; - } - } - .a-picker-view-picker-mask { - background-image: linear-gradient( - to bottom, - @picker-mask-bg-faded-95, - @picker-mask-bg-faded-60 - ), - linear-gradient( - to top, - @picker-mask-bg-faded-95, - @picker-mask-bg-faded-60 - ); - will-change: transform; - } - } - &-value { - &-placeholder, - &-text { - &:not(:nth-child(1)) { - display: none; - } - } - &-placeholder { - color: @picker-placeholder-color; - } - } -} diff --git a/compiled/alipay/src/Picker/index.md b/compiled/alipay/src/Picker/index.md deleted file mode 100644 index 521c4f5e1..000000000 --- a/compiled/alipay/src/Picker/index.md +++ /dev/null @@ -1,392 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Picker 选择器 - -Picker 选择器显示一个或多个选项集合的可滚动列表,相比于原生 picker,实现了 iOS 与 Android 端体验的一致性。 - -- 提供一组或多组关联选项供用户选择。 -- 当少于 5 个选项时,建议直接将选项平铺,使用 Radio 是更好的选择。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-picker": "antd-mini/es/Picker/index", - "ant-cascader-picker": "antd-mini/es/CascaderPicker/index" -#endif -#if WECHAT - "ant-picker": "antd-mini/Picker/index", - "ant-cascader-picker": "antd-mini/CascaderPicker/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - defaultValue: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleDismiss(e) { - console.log('onCancel', e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, -}); -``` - -### 格式化已选文本 - -> `onFormat` 函数返回值则是已选区域需要渲染的值。 - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif - }, -#if ALIPAY - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif -}) -``` - -### 多列选择 - -> 当出现复杂选项时,但又不需要选项之间联动,可以通过一下方式实现多列选择: - -```xml - -``` - -```js -Page({ - data: { - columns: [ - [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - [ - { - label: '上午', - value: 'am', - }, - { - label: '下午', - value: 'pm', - }, - ], - ], -#if WECHAT - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - }, -#endif - }, -#if ALIPAY - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - } -#endif -}) -``` - -### 受控模式 - -> `value` 属性和 `ok` 事件,配合实现受控模式。 - -```xml - -选择深圳 -清空 -``` - -```js -Page({ - data:{ - value: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleControlledOk(value) { -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif - }, - handleClearControlled() { - this.setData({ - value: '', - }); - }, - handleChangeControlled() { - this.setData({ - value: '深圳', - }); - }, -}) -``` - -### 级联 Picker - -> 当出现更复杂选项时,需要选项之间联动,就需要引入 `ant-cascader-picker` 级联选择组件来实现。该组件通过传入以下的树状结构来实现级联功能: - -```xml - -``` - -```js -Page({ - data: { - cityList: [ - { - label: '北京', - value: '11', - children: [ - { - label: '北京', - value: '110', - }, - ], - }, - { - label: '河北', - value: '18', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - ], - }, - ], - }, -}); -``` - -## Demo 代码 - - - -## API - -### Picker - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | -| animationType | 动画类型,可选`transform` `position`,默认使用`transform`动画性能更好。由于小程序基础库 bug,弹窗内 picker-view 阴影样式在 iOS 下可能存在样式问题,可暂切换为`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认值 | string \| number \| Array\ | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| emptyText | 空状态按钮文案 | string | '暂无数据' | -| options | picker 数据,配置每一列的选项 | [PickerColumnItem](#pickercolumnitem)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的值 | string \| number \| Array\ | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem)) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### CascaderPicker - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | 动画类型,可选`transform` `position`,默认使用`transform`动画性能更好。由于小程序基础库 bug,弹窗内 picker-view 阴影样式在 iOS 下可能存在样式问题,可暂切换为`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的值 | string[] | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| format | 时间格式化显示,格式同[dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| options | 可选数据 | [CascaderOption](#cascaderoption)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的值 | string[] | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式,默认展示 labels.join('') | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[]) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PickerColumnItem - -| 参数 | 说明 | 类型 | 默认值 | -| ----- | ---- | ---------------- | ------ | -| label | 文字 | string | - | -| value | 值 | string \| number | - | - -### CascaderOption - -| 参数 | 说明 | 类型 | 默认值 | -| -------- | ---- | ---------------- | ------ | -| label | 文字 | string | - | -| value | 值 | string \| number | - | -| children | 子级 | CascaderOption[] | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -| --picker-item-color |
#333333
|
#c5cad1
| 选择器项颜色 | -| --picker-header-action-color |
#1677ff
|
#3086ff
| 选择器头部操作颜色 | -| --picker-placeholder-color |
#cccccc
|
#474747
| 选择器占位符颜色 | -| --picker-header-color |
#eeeeee
|
#2b2b2b
| 选择器头部颜色 | -| --picker-content-background-color |
#ffffff
|
#1a1a1a
| 选择器内容背景颜色 | -| --picker-mask-bg-faded-95 |
rgba(255, 255, 255, 0.05)
|
rgba(255, 255, 255, 0.02)
| 选择器遮罩背景色(95%透明度) | -| --picker-mask-bg-faded-60 |
rgba(255, 255, 255, 0.4)
|
rgba(255, 255, 255, 0.01)
| 选择器遮罩背景色(60%透明度) | - -## FAQ - -### 动态改变 picker 列数时展示异常 - -由于原生 picker-view 的限制,暂不支持动态改变列数 diff --git a/compiled/alipay/src/Picker/index.sjs b/compiled/alipay/src/Picker/index.sjs deleted file mode 100644 index 00aee4801..000000000 --- a/compiled/alipay/src/Picker/index.sjs +++ /dev/null @@ -1,9 +0,0 @@ -function getPickerViewLabel(item) { - if (typeof item === 'object' && typeof item.label === 'string') { - return item.label || ''; - } - return item; -} -export default { - getPickerViewLabel: getPickerViewLabel -}; \ No newline at end of file diff --git a/compiled/alipay/src/Picker/index.ts b/compiled/alipay/src/Picker/index.ts deleted file mode 100644 index f685db906..000000000 --- a/compiled/alipay/src/Picker/index.ts +++ /dev/null @@ -1,271 +0,0 @@ -import { effect } from '@preact/signals-core'; -import equal from 'fast-deep-equal'; -import mixinValue from '../mixins/value'; -import { - ComponentWithSignalStoreImpl, - getValueFromProps, - triggerEvent, - triggerEventOnly, - triggerEventValues, -} from '../_util/simply'; -import i18nController from '../_util/store'; -import { PickerDefaultProps } from './props'; -import { - getMatchedItemByIndex, - getMatchedItemByValue, - getStrictMatchedItemByValue, -} from './utils'; - -ComponentWithSignalStoreImpl( - { - store: () => i18nController, - updateHook: effect, - mapState: { - locale: ({ store }) => store.currentLocale.value, - }, - }, - PickerDefaultProps, - { - // visible受控判断 - isVisibleControlled() { - return 'visible' in getValueFromProps(this); - }, - initData() { - const [options, visible, defaultVisible] = getValueFromProps(this, [ - 'options', - 'visible', - 'defaultVisible', - ]); - const columns = this.getterColumns(options); - this.setData( - { - columns, - }, - () => { - const formatValue = this.getterFormatText(); - const selectedIndex = this.getterSelectedIndex(); - this.setData({ - formatValue, - selectedIndex, - visible: this.isVisibleControlled() ? visible : defaultVisible, - }); - } - ); - }, - getterColumns(options) { - let columns = []; - if (options.length > 0) { - if (options.every((item) => Array.isArray(item))) { - this.single = false; - columns = options.slice(); - } else { - this.single = true; - columns = [options]; - } - } - return columns; - }, - defaultFormat(value, column) { - if (Array.isArray(column)) { - return column - .filter((c) => c !== undefined) - .map(function (c) { - if (typeof c === 'object') { - return c.label; - } - return c; - }) - .join('-'); - } - return (column && column.label) || column || ''; - }, - getterFormatText() { - const [onFormat, formattedValueText] = getValueFromProps(this, [ - 'onFormat', - 'formattedValueText', - ]); - if (typeof formattedValueText === 'string') { - return formattedValueText; - } - const { columns } = this.data; - const realValue = this.getValue(); - const { matchedColumn } = getStrictMatchedItemByValue( - columns, - realValue, - this.single - ); - const formatValueByProps = onFormat && onFormat(realValue, matchedColumn); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat(realValue, matchedColumn); - }, - getterSelectedIndex() { - const selectedIndex = []; - const columns = this.data.columns; - const realValue = this.getValue(); - let value = realValue || []; - if (this.single) { - value = [realValue]; - } - for (let i = 0; i < columns.length; i++) { - const column = columns[i]; - const compareValue = value[i]; - if (compareValue === undefined || compareValue === null) { - selectedIndex[i] = 0; - } - let index = column.findIndex((c) => { - return c === compareValue || c.value === compareValue; - }); - if (index === -1) { - index = 0; - } - selectedIndex[i] = index; - } - return selectedIndex; - }, - - onOpen() { - const disabled = getValueFromProps(this, 'disabled'); - if (!disabled) { - this.tempSelectedIndex = null; - const selectedIndex = this.getterSelectedIndex(); - this.setData({ - selectedIndex, - }); - this.triggerPicker(true); - } - }, - - triggerPicker(visible) { - this.setData({ - visible, - }); - triggerEvent(this, 'visibleChange', visible); - }, - - onMaskDismiss() { - const maskClosable = getValueFromProps(this, 'maskClosable'); - if (!maskClosable) { - return; - } - this.triggerPicker(false); - triggerEventOnly(this, 'cancel', { detail: { type: 'mask' } }); - }, - - onCancel() { - this.triggerPicker(false); - triggerEventOnly(this, 'cancel', { detail: { type: 'cancel' } }); - }, - - onChange(e) { - const { value: selectedIndex } = e.detail; - this.tempSelectedIndex = selectedIndex; - this.isChangingPickerView = true; - const { matchedColumn, matchedValues } = getMatchedItemByIndex( - this.data.columns, - this.tempSelectedIndex, - this.single - ); - this.setData({ - selectedIndex, - }); - triggerEventValues(this, 'change', [matchedValues, matchedColumn], e); - }, - - async onOk() { - let result; - if (this.tempSelectedIndex) { - result = getMatchedItemByIndex( - this.data.columns, - this.tempSelectedIndex, - this.single - ); - } else { - result = getMatchedItemByValue( - this.data.columns, - this.getValue(), - this.single - ); - } - const { matchedColumn, matchedValues } = result; - this.triggerPicker(false); - if (!this.isControlled()) { - this.update(matchedValues); - } - triggerEventValues(this, 'ok', [matchedValues, matchedColumn]); - }, - }, - { - formatValue: '', - columns: [], - visible: false, - selectedIndex: [], - locale: { - locale: '23123', - global: {}, - }, - }, - [ - mixinValue({ - transformValue(value) { - return { - needUpdate: true, - value: value === undefined ? [] : value, - }; - }, - }), - ], - { - tempSelectedIndex: null, - single: false, - isChangingPickerView: false, - onInit() { - this.initData(); - }, - didUpdate(prevProps) { - const options = getValueFromProps(this, 'options'); - if (!equal(options, prevProps.options)) { - const newColums = this.getterColumns(options); - this.setData( - { - columns: newColums, - }, - () => { - // 如果是在滚动过程中columns发生变化,以onChange里抛出的selectedIndex为准 - if (!this.isChangingPickerView) { - this.tempSelectedIndex = null; - const selectedIndex = this.getterSelectedIndex(); - this.setData({ - selectedIndex, - }); - } - } - ); - } - const value = getValueFromProps(this, 'value'); - if (!equal(prevProps.value, value)) { - const selectedIndex = this.getterSelectedIndex(); - this.tempSelectedIndex = null; - this.setData({ - selectedIndex, - }); - } - const visible = getValueFromProps(this, 'visible'); - if (!equal(prevProps.visible, visible)) { - this.setData({ visible }); - } - const formatValue = this.getterFormatText(); - const formattedValueText = getValueFromProps(this, 'formattedValueText'); - if ( - formatValue !== this.data.formatValue || - prevProps.formattedValueText !== formattedValueText - ) { - this.setData({ - formatValue, - }); - } - this.isChangingPickerView = false; - }, - } -); diff --git a/compiled/alipay/src/Picker/props.ts b/compiled/alipay/src/Picker/props.ts deleted file mode 100644 index 8a2eacaa7..000000000 --- a/compiled/alipay/src/Picker/props.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { IBaseProps } from '../_util/base'; -export interface PickerData { - value: PickerValue; - label: string; -} -export declare type PickerValue = - | string - | number - | PickerData - | (string | number | PickerData)[]; -/** - * @description 选择器,包括一个或多个不同值的可滚动列表,每个值可以在视图的中心以较暗的文本形式显示。当用户激活 **Picker** 后,将会从底部弹出。 - */ -export interface IPickerProps extends IBaseProps { - visible?: boolean; - defaultVisible?: boolean; - /** - * @desciption 动画类型 - * @default "transform" - */ - animationType: 'transform' | 'position'; - /** - * @description picker 数据 - */ - value: PickerValue; - /** - * @description 格式化后的 value 文本, 优先级大于 onFormat - */ - formattedValueText?: string; - /** - * @description 默认picker 数据 - */ - defaultValue: PickerValue; - /** - * @description 是否禁用 - */ - disabled?: boolean; - /** - * @description 标题 - */ - title: string; - /** - * @description 确定按钮文案 - * @default "确定" - */ - okText: string; - /** - * @description 取消文案 - * @default "取消" - */ - cancelText: string; - /** - * @description 提示文案 - * @default '请选择' - */ - placeholder: string; - /** - * @description 空状态提示文案 - * @default '暂无数据' - */ - emptyText?: string; - /** - * @description picker 数据 - */ - options: PickerValue[]; - - /** - * @description 点击蒙层是否可以关闭 - * @default false - */ - maskClosable: boolean; - /** - * @description 弹出框类名 - */ - popClassName: string; - /** - * @description 弹出框样式 - */ - popStyle: string; - /** - *@description 选中框样式 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorStyle?: string; - - /** - *@description 选中框类名 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - indicatorClassName?: string; - - /** - * @description 蒙层的样式。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskStyle?: string; - - /** - * @description 蒙层的类名。 - * 版本要求: 支付宝小程序基础库 1.10.0 及以上 - */ - maskClassName?: string; - /** - * @description 点击确认回调 - */ - onOk?: ( - value: PickerValue, - column: PickerData, - e: Record - ) => void; - /** - * @description 点击取消回调 - */ - onCancel?: (e: Record) => void; - /** - * @description 发生滚动即触发, 与 onChange 点击 ok 后触发不同 - */ - onChange?: ( - value: PickerValue, - column: PickerData, - e: Record - ) => void; - /** - * @description 选中值的文本显示格式 - */ - onFormat?: (value: PickerValue, column: PickerValue) => string; - /** - * @description 切换显示隐藏 - */ - onVisibleChange?: (visible: boolean, e: Record) => void; -} - -export const PickerDefaultProps: Partial = { - formattedValueText: null, - visible: null, - defaultVisible: null, - animationType: 'transform', - value: null, - defaultValue: null, - disabled: false, - title: '', - okText: null, - cancelText: null, - placeholder: null, - options: [], - popClassName: '', - popStyle: '', - maskClosable: true, - onFormat: null, - emptyText: null, -}; diff --git a/compiled/alipay/src/Picker/utils.ts b/compiled/alipay/src/Picker/utils.ts deleted file mode 100644 index e3a9a1eb0..000000000 --- a/compiled/alipay/src/Picker/utils.ts +++ /dev/null @@ -1,88 +0,0 @@ -function getColumnValue(columnItem) { - if (typeof columnItem === 'object') return columnItem.value; - return columnItem; -} - -export function getStrictMatchedItemByValue(columns, value, single) { - if (single) { - value = [value]; - } - const matchedValues = []; - const matchedColumn = []; - let index = null; - for (let i = 0; i < columns.length; i++) { - const column = columns[i]; - const compareValue = (value || [])[i]; - index = column.findIndex((c) => { - const columnValue = getColumnValue(c); - return columnValue === compareValue; - }); - matchedColumn[i] = column[index]; - matchedValues[i] = getColumnValue(column[index]); - } - return { - matchedColumn: single ? matchedColumn?.[0] : matchedColumn, - matchedValues: single ? matchedValues?.[0] : matchedValues, - }; -} - -// 如果找不到value对应的item项目,返回第一项 -export function getMatchedItemByValue(columns, value, single) { - if (single) { - value = [value]; - } - const matchedValues = []; - const matchedColumn = []; - let index = null; - for (let i = 0; i < columns.length; i++) { - const column = columns[i]; - const compareValue = (value || [])[i]; - if (compareValue === undefined || compareValue === null) { - index = 0; - } else { - index = column.findIndex((c) => { - const columnValue = getColumnValue(c); - return columnValue === compareValue; - }); - if (index === -1) { - index = 0; - } // 没有找到, 默认选择第一个 - } - matchedColumn[i] = column[index]; - matchedValues[i] = getColumnValue(column[index]); - } - return { - matchedColumn: single ? matchedColumn[0] : matchedColumn, - matchedValues: single ? matchedValues[0] : matchedValues, - }; -} - -export function getMatchedItemByIndex(columns, selectedIndex, single) { - const matchedValues = []; - const matchedColumn = []; - let index = null; - for (let i = 0; i < columns.length; i++) { - const column = columns[i]; - const compareValue = selectedIndex[i]; - index = null; - if (compareValue === undefined || compareValue === null) { - index = 0; - } else { - index = compareValue; - // 当column变化时, picker-view onChange 里抛出来的selectedIndex有可能不正确 - if (columns?.[i]?.[compareValue] === undefined) { - index = 0; - } - if (index === -1) { - index = 0; - } // 没有找到, 默认选择第一个 - } - matchedColumn[i] = column[index]; - matchedValues[i] = getColumnValue(column[index]); - } - - return { - matchedColumn: single ? matchedColumn[0] : matchedColumn, - matchedValues: single ? matchedValues[0] : matchedValues, - }; -} diff --git a/compiled/alipay/src/Picker/variable.less b/compiled/alipay/src/Picker/variable.less deleted file mode 100644 index 64639f96a..000000000 --- a/compiled/alipay/src/Picker/variable.less +++ /dev/null @@ -1,34 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// picker 选项的高度 -@picker-item-height: 68 * @rpx; -// picker 选项字体颜色 -@picker-item-color: var(--picker-item-color, @COLOR_TEXT_PRIMARY); -// picker 选项字体大小 -@picker-item-size: 42 * @rpx; -// picker 选项选中字体大小 -@picker-item-active-size: @font-size-list; -// 取消 和 确定认按钮颜色 -@picker-header-action-color: var(--picker-header-action-color, @COLOR_BRAND1); -// 取消 和 确定按钮大小 -@picker-header-action-size: 30 * @rpx; -// header 区域padding -@picker-header-padding: 30 * @rpx 24 * @rpx 24 * @rpx; -// header 区域 title 宽度 -@picker-header-title-width: 518 * @rpx; - -@picker-placeholder-color: var(--picker-placeholder-color, @COLOR_TEXT_WEAK); - -@picker-header-color: var(--picker-header-color, @COLOR_BORDER); - -@picker-content-background-color: var( - --picker-content-background-color, - @COLOR_CARD -); - -// 微信小程序 picker-view 高度 -@picker-view-height: 460 * @rpx; - -@picker-mask-bg-faded-95: var(--picker-mask-bg-faded-95, @COLOR_CARD_FADED_95); -@picker-mask-bg-faded-60: var(--picker-mask-bg-faded-60, @COLOR_CARD_FADED_60); diff --git a/compiled/alipay/src/Popover/index.axml b/compiled/alipay/src/Popover/index.axml deleted file mode 100644 index 887914fef..000000000 --- a/compiled/alipay/src/Popover/index.axml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Popover/index.en.md b/compiled/alipay/src/Popover/index.en.md deleted file mode 100644 index ecbddbe7f..000000000 --- a/compiled/alipay/src/Popover/index.en.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Popover - -Click on the element to pop up the bubble menu. The bubble menu for navigation functions is evoked, usually used to accommodate functions used at low frequencies. This function can only be activated via the icon on the navigation bar. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-popover": "antd-mini/es/Popover/index" -#endif -#if WECHAT - "ant-popover": "antd-mini/Popover/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - Point me - - -``` - -### Support for pictures and action point buttons - -```xml - - Point me - -``` - -### Custom - -#### Color - -```xml - - Custom Colors - -``` - -#### Slot - -```xml - - Slot - - - -``` - -#### Location - -Optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top`、`right-bottom` - -```xml - - Point me - - -``` - -### Controlled - -```xml - - - Click the button to modify the visible - - - - Change visible - -``` - -```js -Page({ - data: { visible: false }, - handleVisibleChange() { - this.setData({ - visible: !this.data.visible, - }); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | Automatically adjust the position when the bubble is blocked | boolean | true | -| className | Class Name | string | - | -| color | Background Color | string | - | -| contentClassName | content Class Name | string | - | -| contentStyle | content Style | string | - | -| content | Content | string \| slot | - | -| defaultVisible | Display by default | boolean | false | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| placement | Bubble box position, optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` or `right-bottom` | string | top | -| showMask | Whether to show the layer, if true, click the blank to close the Popover. | boolean | true | -| style | Style | string | - | -| visible | Whether to display | boolean | - | -| #if ALIPAY onVisibleChange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapAction | Operation button click callback | () => void | - | -| #if WECHAT bind:visiblechange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapaction | Operation button click callback | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --popover-color-background |
#404040
|
#404040
| Popover default background color | -| --popover-bg |
#ffffff
|
#1a1a1a
| Popover background color | -| --popover-text-color |
#000000
|
#000000
| Popover text color | -| --popover-inner-color |
#ff3141
|
#ff4a58
| Popover internal color | diff --git a/compiled/alipay/src/Popover/index.json b/compiled/alipay/src/Popover/index.json deleted file mode 100644 index 305b48522..000000000 --- a/compiled/alipay/src/Popover/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "image-icon": "../ImageIcon/index", - "ant-mask": "../Mask/index" - } -} diff --git a/compiled/alipay/src/Popover/index.less b/compiled/alipay/src/Popover/index.less deleted file mode 100644 index 77b0368a0..000000000 --- a/compiled/alipay/src/Popover/index.less +++ /dev/null @@ -1,200 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@popoverPrefix: ant-popover; - -.@{popoverPrefix} { - position: relative; - - &-children { - z-index: 999; - } - - &-close { - margin-left: 24 * @rpx; - width: 38 * @rpx; - height: 38 * @rpx; - .ant-popover-close-icon { - position: absolute; - top: 20 * @rpx; - right: 20 * @rpx; - font-size: 36 * @rpx; - .ant-icon { - color: @popover-inner-color; - } - } - } - - &-image { - padding-right: 24 * @rpx; - border-radius: 16 * @rpx; - } - &-action { - background: @popover-bg; - font-weight: 400; - font-size: 24 * @rpx; - color: @popover-text-color; - padding: 10 * @rpx 20 * @rpx; - line-height: 33 * @rpx; - border-radius: 50vh; - margin-left: 24 * @rpx; - } - - &-mask { - z-index: 998; - background: none; - } - &-content { - position: absolute; - min-width: 64 * @rpx; - max-width: calc(100vw - 48 * @rpx); - z-index: 999; - } - &-inner { - position: relative; - border-radius: 24 * @rpx; - overflow: hidden; - font-size: 28 * @rpx; - background-color: @popover-inner-bg; - color: @popover-inner-color; - padding: 20 * @rpx; - width: max-content; - .ant-icon { - color: @popover-inner-color; - } - - display: flex; - justify-content: flex-start; - align-items: center; - &-text { - word-break: break-all; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; /* 这里是超出几行省略 */ - overflow: hidden; - max-width: 420 * @rpx; - line-height: 40 * @rpx; - } - .ant-popover-image-content-image { - width: 80 * @rpx; - height: 80 * @rpx; - } - } - &-arrow { - position: absolute; - width: 0; - height: 0; - border-left: 18 * @rpx solid transparent; - border-right: 18 * @rpx solid transparent; - border-bottom: 18 * @rpx solid @popover-inner-bg; - } - - &-top { - transform: translate(-50%, -100%); - &-arrow { - bottom: 2 * @rpx; - transform: translate(-50%, 100%) rotate(180deg); - left: 50%; - } - } - - &-bottom { - transform: translate(-50%, 100%); - &-arrow { - top: 2 * @rpx; - transform: translate(-50%, -100%) rotate(0deg); - left: 50%; - } - } - - &-left { - transform: translate(-100%, -50%); - &-arrow { - right: 2 * @rpx; - transform: translate(75%, -50%) rotate(90deg); - top: 50%; - } - } - - &-right { - transform: translate(100%, -50%); - &-arrow { - left: 2 * @rpx; - transform: translate(-75%, -50%) rotate(-90deg); - top: 50%; - } - } - - &-top-left { - transform: translate(0, -100%); - &-arrow { - bottom: 2 * @rpx; - transform: translate(0, 100%) rotate(180deg); - left: 24 * @rpx; - } - } - - &-top-right { - transform: translate(0, -100%); - &-arrow { - bottom: 2 * @rpx; - transform: translate(0, 100%) rotate(180deg); - right: 24 * @rpx; - } - } - - &-bottom-left { - transform: translate(0, 100%); - &-arrow { - top: 2 * @rpx; - transform: translate(0, -100%) rotate(0deg); - left: 24 * @rpx; - } - } - - &-bottom-right { - transform: translate(0, 100%); - &-arrow { - top: 2 * @rpx; - transform: translate(0, -100%) rotate(0deg); - right: 24 * @rpx; - } - } - - &-left-top { - transform: translate(-100%, 0); - &-arrow { - right: 2 * @rpx; - transform: translate(75%, 0) rotate(90deg); - top: 24 * @rpx; - } - } - - &-left-bottom { - transform: translate(-100%, 0); - &-arrow { - right: 2 * @rpx; - transform: translate(75%, 0) rotate(90deg); - bottom: 24 * @rpx; - } - } - - &-right-top { - transform: translate(100%, 0); - &-arrow { - left: 2 * @rpx; - transform: translate(-75%, 0) rotate(-90deg); - top: 24 * @rpx; - } - } - - &-right-bottom { - transform: translate(100%, 0); - &-arrow { - left: 2 * @rpx; - transform: translate(-75%, 0) rotate(-90deg); - bottom: 24 * @rpx; - } - } -} diff --git a/compiled/alipay/src/Popover/index.md b/compiled/alipay/src/Popover/index.md deleted file mode 100644 index 82a9917dd..000000000 --- a/compiled/alipay/src/Popover/index.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Popover 气泡 - -点击元素,弹出气泡式的菜单。用于导航功能的气泡菜单唤起,通常用于收纳低频使用的功能。该功能只能通过导航栏上的图标激活。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-popover": "antd-mini/es/Popover/index" -#endif -#if WECHAT - "ant-popover": "antd-mini/Popover/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - 点我 - - -``` - -### 支持图片和行动点按钮 - -```xml - - 点我 - -``` - -### 自定义 - -#### 颜色 - -```xml - - 自定义颜色 - -``` - -#### 插槽 - -```xml - - 插槽 - - - -``` - -#### 位置 - -可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top`、`right-bottom` - -```xml - - 点我 - - -``` - -### 受控 - -```xml - - - 点击按钮修改visible - - - - 更改visible - -``` - -```js -Page({ - data: { visible: false }, - handleVisibleChange() { - this.setData({ - visible: !this.data.visible, - }); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | 气泡被遮挡时的自动调整位置 | boolean | true | -| className | 类名 | string | - | -| color | 背景颜色 | string | - | -| contentClassName | content 类名 | string | - | -| contentStyle | content 样式 | string | - | -| content | 内容 | string \| slot | - | -| defaultVisible | 默认是否显示 | boolean | false | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| placement | 气泡框位置,可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` 或 `right-bottom` | string | top | -| showMask | 是否展示蒙层,为 true 时点击空白处可关闭 Popover | boolean | true | -| style | 样式 | string | - | -| visible | 是否显示 | boolean | - | -| #if ALIPAY onVisibleChange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapAction | 操作按钮点击回调 | () => void | - | -| #if WECHAT bind:visiblechange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapaction | 操作按钮点击回调 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --popover-color-background |
#404040
|
#404040
| Popover 默认底色 | -| --popover-bg |
#ffffff
|
#1a1a1a
| Popover 背景颜色 | -| --popover-text-color |
#000000
|
#000000
| Popover 文字颜色 | -| --popover-inner-color |
#ff3141
|
#ff4a58
| Popover 内部颜色 | diff --git a/compiled/alipay/src/Popover/index.ts b/compiled/alipay/src/Popover/index.ts deleted file mode 100644 index 8bea03df0..000000000 --- a/compiled/alipay/src/Popover/index.ts +++ /dev/null @@ -1,122 +0,0 @@ -import mixinValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; -import { - Component, - getValueFromProps, - triggerEvent, - triggerEventOnly, -} from '../_util/simply'; -import { PopoverDefaultProps } from './props'; -import { getPopoverStyle } from './utils'; - -Component( - PopoverDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - async updatePopover() { - const [placement, autoAdjustOverflow] = getValueFromProps(this, [ - 'placement', - 'autoAdjustOverflow', - ]); - const [containerRect, childrenRect, contentRect, systemInfo] = - await Promise.all([ - getInstanceBoundingClientRect( - this.getInstance(), - `#ant-popover-children${this.$id ? `-${this.$id}` : ''}` - ), - getInstanceBoundingClientRect( - this.getInstance(), - this.$id - ? `#ant-popover-children-${this.$id} > *` - : `#ant-popover-children-container` - ), - getInstanceBoundingClientRect( - this.getInstance(), - this.$id - ? `#ant-popover-content-${this.$id}` - : '#ant-popover-content' - ), - getSystemInfo(), - ]); - - const { popoverContentStyle, adjustedPlacement } = getPopoverStyle( - placement, - autoAdjustOverflow, - { - containerRect, - childrenRect, - contentRect, - systemInfo, - } - ); - - this.setData({ - popoverContentStyle, - adjustedPlacement, - }); - }, - - onVisibleChange(e) { - if ( - !this.getValue() && - e.target.id && - e.target.id.indexOf('ant-popover-') === 0 - ) { - return; - } - const value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'visibleChange', value, e); - }, - onTapAction() { - this.onVisibleChange(); - triggerEventOnly(this, 'tapAction'); - }, - }, - { - adjustedPlacement: '', - popoverContentStyle: '', - }, - [ - mixinValue({ - valueKey: 'visible', - defaultValueKey: 'defaultVisible', - transformValue(value) { - if (value) { - this.updatePopover(); - } else { - this.setData({ - adjustedPlacement: '', - }); - } - return { - needUpdate: true, - value, - }; - }, - }), - ], - { - didUpdate(prevProps) { - const [placement, autoAdjustOverflow] = getValueFromProps(this, [ - 'placement', - 'autoAdjustOverflow', - ]); - if ( - (prevProps.placement !== placement || - prevProps.autoAdjustOverflow !== autoAdjustOverflow) && - this.getValue() - ) { - this.updatePopover(); - } - }, - } -); diff --git a/compiled/alipay/src/Popover/props.ts b/compiled/alipay/src/Popover/props.ts deleted file mode 100644 index 4fc796827..000000000 --- a/compiled/alipay/src/Popover/props.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 气泡,内部配合 PopoverItem 使用。 - */ - -export interface IPopoverProps extends IBaseProps { - /** - * @description 是否可见 - * @default false - */ - visible: boolean; - /** - * @description 默认是否可见 - * @default false - */ - defaultVisible: boolean; - /** - * @description 是否关闭后销毁内部元素 - * @default false - */ - destroyOnClose: boolean; - /** - * @description 背景颜色 - */ - color: string; - /** - * @description content区样式 - */ - contentStyle: string; - /** - * @description content类名 - */ - contentClassName: string; - /** - * @description content 内容 - */ - content?: string; - /** - * @description 蒙层类名 - */ - maskClassName: string; - /** - * @description 蒙层样式 - */ - maskStyle: string; - /** - * @description visible 变更时回调 - */ - onVisibleChange?: (visible: boolean, e: Record) => void; - /** - * @description 点击行动点 - */ - onTapAction?: () => void; - /** - * @description 气泡框位置 - */ - placement: - | 'top' - | 'top-right' - | 'top-left' - | 'bottom' - | 'bottom-left' - | 'bottom-right' - | 'left' - | 'left-top' - | 'left-bottom' - | 'right' - | 'right-top' - | 'right-bottom'; - /** - * @description 是否展示蒙层 - * @default false - */ - showMask: boolean; - - /** - * @description 气泡被遮挡时自动调整位置 - * @default true - */ - autoAdjustOverflow: boolean; - /** - * @description 是否关闭的icon - * @default false - */ - showCloseIcon: boolean; - /** - * @description 气泡左侧的图片链接 - * @default '' - */ - imageUrl: string; - /** - * @description 右侧操作按钮文案 - * @default '' - */ - actionText: string; -} - -export const PopoverDefaultProps: Partial = { - visible: null, - imageUrl: '', - defaultVisible: false, - destroyOnClose: false, - showCloseIcon: false, - contentClassName: '', - actionText: '', - color: '', - contentStyle: '', - showMask: true, - placement: 'top', - autoAdjustOverflow: true, - maskClassName: '', - maskStyle: '', - content: '', - onVisibleChange() {}, - onTapAction() {}, -}; diff --git a/compiled/alipay/src/Popover/utils.ts b/compiled/alipay/src/Popover/utils.ts deleted file mode 100644 index 8c65e3d24..000000000 --- a/compiled/alipay/src/Popover/utils.ts +++ /dev/null @@ -1,185 +0,0 @@ -interface Rect { - left: number; - top: number; - right: number; - bottom: number; - width: number; - height: number; -} - -interface SystemInfo { - windowHeight: number; - windowWidth: number; -} - -export function getPopoverStyle( - placement: string, - autoAdjustOverflow: boolean, - size: { - containerRect: Rect; - childrenRect: Rect; - contentRect: Rect; - systemInfo: SystemInfo; - } -) { - const { containerRect, childrenRect, contentRect, systemInfo } = size; - const left = childrenRect.left - containerRect.left; - const top = childrenRect.top - containerRect.top; - const bottom = containerRect.bottom - childrenRect.bottom; - const right = containerRect.right - childrenRect.right; - let adjustedPlacement = placement as string; - const arrowMargin = 12; - - const contentRectWidth = contentRect.width + arrowMargin; - const contentRectHeight = contentRect.height + arrowMargin; - - if (autoAdjustOverflow) { - if (adjustedPlacement === 'top') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = 'bottom'; - } - } else if (adjustedPlacement === 'bottom') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = 'top'; - } - } else if (adjustedPlacement === 'left') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = 'right'; - } - } else if (adjustedPlacement === 'right') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = 'left'; - } - } else if (adjustedPlacement === 'top-left') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } else if (adjustedPlacement === 'top-right') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } else if (adjustedPlacement === 'bottom-left') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } else if (adjustedPlacement === 'bottom-right') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } else if (adjustedPlacement === 'left-top') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } else if (adjustedPlacement === 'left-bottom') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } else if (adjustedPlacement === 'right-top') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } else if (adjustedPlacement === 'right-bottom') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } - } - - let popoverContentStyle; - if (adjustedPlacement === 'top') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - top: top - arrowMargin, - }); - } else if (adjustedPlacement === 'bottom') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - bottom: bottom - arrowMargin, - }); - } else if (adjustedPlacement === 'left') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top: top + childrenRect.height / 2, - }); - } else if (adjustedPlacement === 'right') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top: top + childrenRect.height / 2, - }); - } else if (adjustedPlacement === 'top-left') { - popoverContentStyle = getStyle({ - left, - top: top - arrowMargin, - }); - } else if (adjustedPlacement === 'top-right') { - popoverContentStyle = getStyle({ - right, - top: top - arrowMargin, - }); - } else if (adjustedPlacement === 'bottom-left') { - popoverContentStyle = getStyle({ - left, - bottom: bottom - arrowMargin, - }); - } else if (adjustedPlacement === 'bottom-right') { - popoverContentStyle = getStyle({ - right, - bottom: bottom - arrowMargin, - }); - } else if (adjustedPlacement === 'left-top') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top, - }); - } else if (adjustedPlacement === 'left-bottom') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - bottom, - }); - } else if (adjustedPlacement === 'right-top') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top, - }); - } else if (adjustedPlacement === 'right-bottom') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - bottom, - }); - } - - return { - popoverContentStyle, - adjustedPlacement, - }; -} - -function getStyle(obj) { - return Object.keys(obj) - .map((item) => `${item}: ${obj[item]}px`) - .join(';'); -} diff --git a/compiled/alipay/src/Popover/variable.less b/compiled/alipay/src/Popover/variable.less deleted file mode 100644 index 501bf9966..000000000 --- a/compiled/alipay/src/Popover/variable.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 蒙层 -@popover-mask: @color-product-mask; -// 圆角 -@popover-radius: @corner-radius-md; - -@popover-bg: var(--popover-bg, @COLOR_CARD); - -@popover-text-color: var(--popover-text-color, @COLOR_BLACK); - -@popover-inner-bg: var(--popover-color-background, @COLOR_BACKGROUND_POPOVER); - -@popover-inner-color: var(--popover-inner-color, @COLOR_WHITE_DEFAULT); diff --git a/compiled/alipay/src/PopoverList/index.axml b/compiled/alipay/src/PopoverList/index.axml deleted file mode 100644 index e5da8acae..000000000 --- a/compiled/alipay/src/PopoverList/index.axml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/PopoverList/index.en.md b/compiled/alipay/src/PopoverList/index.en.md deleted file mode 100644 index a4f0c0ef0..000000000 --- a/compiled/alipay/src/PopoverList/index.en.md +++ /dev/null @@ -1,146 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# PopoverList - -Click on the element to pop up the bubble menu. The bubble menu for navigation functions is evoked, usually used to accommodate functions used at low frequencies. This function can only be activated via the icon on the navigation bar. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-popover-list": "antd-mini/es/PopoverList/index" -#endif -#if WECHAT - "ant-popover-list": "antd-mini/PopoverList/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - Point me - -``` - -```js -Page({ - data: { - visible: true, - list: [ - { text: '扫一扫', icon: 'ScanningOutline', showBadge: true, id: 'scan', }, - { text: '付钱/收钱', icon: 'ReceivePaymentOutline', showBadge: false, id: 'pay', }, - { text: '乘车码', icon: 'TransportQRcodeOutline', showBadge: false, id: 'code', }, - { text: '图片', iconImage: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', showBadge: false, id: 'image', }, - ], - }, - handleVisibleChange(visible, e) { - console.log(visible, e); -#if ALIPAY - this.setData({ visible }); -#endif -#if WECHAT - this.setData({ visible: visible.detail }); -#endif - }, - handleTapItem(e, item) { - console.log(e, item); - this.setData({ visible: false }); -#if ALIPAY - my.showToast({ content: '点击列表', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: '点击列表' }); -#endif - }, -}); -``` - -### bubble position adaptive - -> `autoAdjustOverflow` Property to automatically adjust the position of the bubble when it is blocked - -```xml - - bubble position adaptive - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | Automatically adjust the position when the bubble is blocked | boolean | true | -| className | Class Name | string | - | -| color | Background Color | string | - | -| contentClassName | content Class Name | string | - | -| contentStyle | content Style | string | - | -| content | Content | string \| slot | - | -| defaultVisible | Display by default | boolean | false | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| placement | Bubble box position, optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` or `right-bottom` | string | top | -| showMask | Whether to show the layer, if true, click the blank to close the Popover. | boolean | true | -| style | Style | string | - | -| visible | Whether to display | boolean | - | -| #if ALIPAY onVisibleChange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapItem | Callback at the time of visible change | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapitem | Callback at the time of visible change | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PopoverListItem - -| Property | Description | Type | Default Value | -| --------- | ------------------------------------------------------- | ------- | ------ | -| icon | The icon of the menu | string | - | -| iconImage | The icon picture of the menu is taken first iconImage the icon field is not taken again. | string | - | -| text | Class Name | string | - | -| showBadge | Disable | boolean | false | -| id | Extra right | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover List Content Background Color | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover List Content Color | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover List Badge Color | -| --popover-list-item-bg |
#e5e5e5
|
#444444
| Popover List Content Text Color | diff --git a/compiled/alipay/src/PopoverList/index.json b/compiled/alipay/src/PopoverList/index.json deleted file mode 100644 index f088a976c..000000000 --- a/compiled/alipay/src/PopoverList/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "ant-mask": "../Mask/index" - } -} diff --git a/compiled/alipay/src/PopoverList/index.less b/compiled/alipay/src/PopoverList/index.less deleted file mode 100644 index a638e4370..000000000 --- a/compiled/alipay/src/PopoverList/index.less +++ /dev/null @@ -1,205 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@popoverPrefix: ant-popover-list; - -.@{popoverPrefix} { - position: relative; - - &-children { - z-index: 999; - } - - &-mask { - z-index: 998; - background: none; - } - &-content { - position: absolute; - // min-width: 64 * @rpx; - max-width: calc(100vw - 48 * @rpx); - z-index: 999; - border-radius: 24 * @rpx; - background: @popover-content-bg; - box-shadow: 0 4 * @rpx 10 * @rpx 0 @popover-content-bg; - color: @popover-content-color; - &-arrow { - position: absolute; - width: 0; - height: 0; - border-left: 18 * @rpx solid transparent; - border-right: 18 * @rpx solid transparent; - border-bottom: 18 * @rpx solid @popover-content-bg; - } - .ant-popover-list-item::before { - background: @popover-list-item-bg; - } - } - &-item { - padding: 26 * @rpx 24 * @rpx 26 * @rpx 32 * @rpx; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: row; - position: relative; - z-index: 1; - &-0 { - &::before { - display: none; - } - } - &::before { - content: ''; - position: absolute; - top: 0; - left: 16 * @rpx; - width: calc(200% - @popover-content-width); - height: 2 * @rpx; - transform: scale(0.5); - background: @popover-content-color; - z-index: 2; - } - &-left { - padding-right: 16 * @rpx; - width: 48 * @rpx; - height: 48 * @rpx; - overflow: hidden; - .ant-icon { - font-size: 48 * @rpx; - width: 48 * @rpx; - height: 48 * @rpx; - color: @popover-content-color; - } - } - &-image { - width: 48 * @rpx; - height: 48 * @rpx; - } - &-text { - font-weight: 400; - font-size: 30 * @rpx; - letter-spacing: 0; - white-space: nowrap; - - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: row; - &-badge { - background: @popover-badge-color; - width: 20 * @rpx; - border-radius: 50vh; - height: 20 * @rpx; - margin-left: 8 * @rpx; - } - } - } - - &-top { - transform: translate(-50%, -100%); - &-arrow { - bottom: 2 * @rpx; - transform: translate(-50%, 100%) rotate(180deg); - left: 50%; - } - } - - &-bottom { - transform: translate(-50%, 100%); - &-arrow { - top: 2 * @rpx; - transform: translate(-50%, -100%) rotate(0deg); - left: 50%; - } - } - - &-left { - transform: translate(-100%, -50%); - &-arrow { - right: 2 * @rpx; - transform: translate(75%, -50%) rotate(90deg); - top: 50%; - } - } - - &-right { - transform: translate(100%, -50%); - &-arrow { - left: 2 * @rpx; - transform: translate(-75%, -50%) rotate(-90deg); - top: 50%; - } - } - - &-top-left { - transform: translate(0, -100%); - &-arrow { - bottom: 2 * @rpx; - transform: translate(0, 100%) rotate(180deg); - left: 24 * @rpx; - } - } - - &-top-right { - transform: translate(0, -100%); - &-arrow { - bottom: 2 * @rpx; - transform: translate(0, 100%) rotate(180deg); - right: 24 * @rpx; - } - } - - &-bottom-left { - transform: translate(0, 100%); - &-arrow { - top: 2 * @rpx; - transform: translate(0, -100%) rotate(0deg); - left: 24 * @rpx; - } - } - - &-bottom-right { - transform: translate(0, 100%); - &-arrow { - top: 2 * @rpx; - transform: translate(0, -100%) rotate(0deg); - right: 24 * @rpx; - } - } - - &-left-top { - transform: translate(-100%, 0); - &-arrow { - right: 2 * @rpx; - transform: translate(75%, 0) rotate(90deg); - top: 24 * @rpx; - } - } - - &-left-bottom { - transform: translate(-100%, 0); - &-arrow { - right: 2 * @rpx; - transform: translate(75%, 0) rotate(90deg); - bottom: 24 * @rpx; - } - } - - &-right-top { - transform: translate(100%, 0); - &-arrow { - left: 2 * @rpx; - transform: translate(-75%, 0) rotate(-90deg); - top: 24 * @rpx; - } - } - - &-right-bottom { - transform: translate(100%, 0); - &-arrow { - left: 2 * @rpx; - transform: translate(-75%, 0) rotate(-90deg); - bottom: 24 * @rpx; - } - } -} diff --git a/compiled/alipay/src/PopoverList/index.md b/compiled/alipay/src/PopoverList/index.md deleted file mode 100644 index cd6dd5452..000000000 --- a/compiled/alipay/src/PopoverList/index.md +++ /dev/null @@ -1,146 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# PopoverList 气泡菜单 - -点击元素,弹出气泡式的菜单。用于导航功能的气泡菜单唤起,通常用于收纳低频使用的功能。该功能只能通过导航栏上的图标激活。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-popover-list": "antd-mini/es/PopoverList/index" -#endif -#if WECHAT - "ant-popover-list": "antd-mini/PopoverList/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - 点我 - -``` - -```js -Page({ - data: { - visible: true, - list: [ - { text: '扫一扫', icon: 'ScanningOutline', showBadge: true, id: 'scan', }, - { text: '付钱/收钱', icon: 'ReceivePaymentOutline', showBadge: false, id: 'pay', }, - { text: '乘车码', icon: 'TransportQRcodeOutline', showBadge: false, id: 'code', }, - { text: '图片', iconImage: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', showBadge: false, id: 'image', }, - ], - }, - handleVisibleChange(visible, e) { - console.log(visible, e); -#if ALIPAY - this.setData({ visible }); -#endif -#if WECHAT - this.setData({ visible: visible.detail }); -#endif - }, - handleTapItem(e, item) { - console.log(e, item); - this.setData({ visible: false }); -#if ALIPAY - my.showToast({ content: '点击列表', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: '点击列表' }); -#endif - }, -}); -``` - -### 气泡位置自适应 - -> `autoAdjustOverflow` 属性,可以让气泡被遮挡时自动调整位置 - -```xml - - 气泡位置自适应 - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | 气泡被遮挡时的自动调整位置 | boolean | true | -| className | 类名 | string | - | -| color | 背景颜色 | string | - | -| contentClassName | content 类名 | string | - | -| contentStyle | content 样式 | string | - | -| content | 内容 | string \| slot | - | -| defaultVisible | 默认是否显示 | boolean | false | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| placement | 气泡框位置,可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` 或 `right-bottom` | string | top | -| showMask | 是否展示蒙层,为 true 时点击空白处可关闭 Popover | boolean | true | -| style | 样式 | string | - | -| visible | 是否显示 | boolean | - | -| #if ALIPAY onVisibleChange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapItem | visible 变更时的回调 | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapitem | visible 变更时的回调 | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PopoverListItem - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ------------------------------------------------------- | ------- | ------ | -| icon | 菜单的 icon | string | - | -| iconImage | 菜单的 icon 的图片, 优先取 iconImage 没有再取 icon 字段 | string | - | -| text | 类名 | string | - | -| showBadge | 是否禁用 | boolean | false | -| id | 右侧额外内容 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover 列表内容背景颜色 | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover 列表内容颜色 | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover 列表徽章颜色 | -| --popover-list-item-bg |
#e5e5e5
|
#444444
| Popover 列表内容文字颜色 | diff --git a/compiled/alipay/src/PopoverList/index.ts b/compiled/alipay/src/PopoverList/index.ts deleted file mode 100644 index 87b95fbcd..000000000 --- a/compiled/alipay/src/PopoverList/index.ts +++ /dev/null @@ -1,117 +0,0 @@ -import mixinValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { PopoverDefaultProps } from './props'; -import { getPopoverStyle } from './utils'; - -Component( - PopoverDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - onTapItem(e) { - const { item } = e.currentTarget.dataset; - triggerEvent(this, 'tapItem', item, e); - }, - async updatePopover() { - const [placement, autoAdjustOverflow] = getValueFromProps(this, [ - 'placement', - 'autoAdjustOverflow', - ]); - const [containerRect, childrenRect, contentRect, systemInfo] = - await Promise.all([ - getInstanceBoundingClientRect( - this.getInstance(), - `#ant-popover-list-children${this.$id ? `-${this.$id}` : ''}` - ), - getInstanceBoundingClientRect( - this.getInstance(), - this.$id - ? `#ant-popover-list-children-${this.$id} > *` - : `#ant-popover-list-children-container` - ), - getInstanceBoundingClientRect( - this.getInstance(), - this.$id - ? `#ant-popover-list-content-${this.$id}` - : '#ant-popover-list-content' - ), - getSystemInfo(), - ]); - - const { popoverContentStyle, adjustedPlacement } = getPopoverStyle( - placement, - autoAdjustOverflow, - { - containerRect, - childrenRect, - contentRect, - systemInfo, - } - ); - - this.setData({ - popoverContentStyle, - adjustedPlacement, - }); - }, - - onVisibleChange(e) { - if ( - !this.getValue() && - e.target.id && - e.target.id.indexOf('ant-popover-list-') === 0 - ) { - return; - } - const value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'visibleChange', value, e); - }, - }, - { - adjustedPlacement: '', - popoverContentStyle: '', - }, - [ - mixinValue({ - valueKey: 'visible', - defaultValueKey: 'defaultVisible', - transformValue(value) { - if (value) { - this.updatePopover(); - } else { - this.setData({ - adjustedPlacement: '', - }); - } - return { - needUpdate: true, - value, - }; - }, - }), - ], - { - didUpdate(prevProps) { - const [placement, autoAdjustOverflow] = getValueFromProps(this, [ - 'placement', - 'autoAdjustOverflow', - ]); - if ( - (prevProps.placement !== placement || - prevProps.autoAdjustOverflow !== autoAdjustOverflow) && - this.getValue() - ) { - this.updatePopover(); - } - }, - } -); diff --git a/compiled/alipay/src/PopoverList/props.ts b/compiled/alipay/src/PopoverList/props.ts deleted file mode 100644 index f6a743eb3..000000000 --- a/compiled/alipay/src/PopoverList/props.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface PopoverListItem { - /** - * @description 菜单的icon - */ - icon: string; - /** - * @description 菜单的icon的图片, 优先取iconImage 没有再取icon字段 - * @default '' - */ - iconImage: string; - /** - * @description 菜单项的文案,如果没有则不展示该菜单 - * @default '' - */ - text: string; - /** - * @description 菜单项是否展示红点徽标 - * @default false - */ - showBadge: boolean; - /** - * @description 菜单项的唯一标识 - * @default '' - */ - id: string; -} -/** - * @description 气泡,内部配合 PopoverItem 使用。 - */ - -export interface IPopoverListProps extends IBaseProps { - /** - * @description 是否可见 - * @default false - */ - visible: boolean; - /** - * @description 默认是否可见 - * @default false - */ - defaultVisible: boolean; - /** - * @description 是否关闭后销毁内部元素 - * @default false - */ - destroyOnClose: boolean; - /** - * @description content区样式 - */ - contentStyle: string; - /** - * @description content类名 - */ - contentClassName: string; - /** - * @description content 内容 - */ - content?: string; - /** - * @description 蒙层类名 - */ - maskClassName: string; - /** - * @description 蒙层样式 - */ - maskStyle: string; - /** - * @description visible 变更时回调 - */ - onVisibleChange?: (visible: boolean, e: Record) => void; - /** - * @description 点击列表项 - */ - onTapItem?: (item: PopoverListItem, e: Record) => void; - /** - * @description 气泡框位置 - */ - placement: - | 'top' - | 'top-right' - | 'top-left' - | 'bottom' - | 'bottom-left' - | 'bottom-right' - | 'left' - | 'left-top' - | 'left-bottom' - | 'right' - | 'right-top' - | 'right-bottom'; - /** - * @description 是否展示蒙层 - * @default false - */ - showMask: boolean; - - /** - * @description 气泡被遮挡时自动调整位置 - * @default true - */ - autoAdjustOverflow: boolean; - - /** - * @description 菜单列表数据 - * @default [] - */ - list: PopoverListItem[]; -} - -export const PopoverDefaultProps: Partial = { - visible: null, - defaultVisible: false, - destroyOnClose: false, - contentClassName: '', - contentStyle: '', - showMask: true, - placement: 'top', - autoAdjustOverflow: true, - maskClassName: '', - maskStyle: '', - content: '', - list: [], - onVisibleChange() {}, - onTapItem() {}, -}; diff --git a/compiled/alipay/src/PopoverList/utils.ts b/compiled/alipay/src/PopoverList/utils.ts deleted file mode 100644 index 8c65e3d24..000000000 --- a/compiled/alipay/src/PopoverList/utils.ts +++ /dev/null @@ -1,185 +0,0 @@ -interface Rect { - left: number; - top: number; - right: number; - bottom: number; - width: number; - height: number; -} - -interface SystemInfo { - windowHeight: number; - windowWidth: number; -} - -export function getPopoverStyle( - placement: string, - autoAdjustOverflow: boolean, - size: { - containerRect: Rect; - childrenRect: Rect; - contentRect: Rect; - systemInfo: SystemInfo; - } -) { - const { containerRect, childrenRect, contentRect, systemInfo } = size; - const left = childrenRect.left - containerRect.left; - const top = childrenRect.top - containerRect.top; - const bottom = containerRect.bottom - childrenRect.bottom; - const right = containerRect.right - childrenRect.right; - let adjustedPlacement = placement as string; - const arrowMargin = 12; - - const contentRectWidth = contentRect.width + arrowMargin; - const contentRectHeight = contentRect.height + arrowMargin; - - if (autoAdjustOverflow) { - if (adjustedPlacement === 'top') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = 'bottom'; - } - } else if (adjustedPlacement === 'bottom') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = 'top'; - } - } else if (adjustedPlacement === 'left') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = 'right'; - } - } else if (adjustedPlacement === 'right') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = 'left'; - } - } else if (adjustedPlacement === 'top-left') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } else if (adjustedPlacement === 'top-right') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } else if (adjustedPlacement === 'bottom-left') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } else if (adjustedPlacement === 'bottom-right') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } else if (adjustedPlacement === 'left-top') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } else if (adjustedPlacement === 'left-bottom') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } else if (adjustedPlacement === 'right-top') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } else if (adjustedPlacement === 'right-bottom') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } - } - - let popoverContentStyle; - if (adjustedPlacement === 'top') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - top: top - arrowMargin, - }); - } else if (adjustedPlacement === 'bottom') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - bottom: bottom - arrowMargin, - }); - } else if (adjustedPlacement === 'left') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top: top + childrenRect.height / 2, - }); - } else if (adjustedPlacement === 'right') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top: top + childrenRect.height / 2, - }); - } else if (adjustedPlacement === 'top-left') { - popoverContentStyle = getStyle({ - left, - top: top - arrowMargin, - }); - } else if (adjustedPlacement === 'top-right') { - popoverContentStyle = getStyle({ - right, - top: top - arrowMargin, - }); - } else if (adjustedPlacement === 'bottom-left') { - popoverContentStyle = getStyle({ - left, - bottom: bottom - arrowMargin, - }); - } else if (adjustedPlacement === 'bottom-right') { - popoverContentStyle = getStyle({ - right, - bottom: bottom - arrowMargin, - }); - } else if (adjustedPlacement === 'left-top') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top, - }); - } else if (adjustedPlacement === 'left-bottom') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - bottom, - }); - } else if (adjustedPlacement === 'right-top') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top, - }); - } else if (adjustedPlacement === 'right-bottom') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - bottom, - }); - } - - return { - popoverContentStyle, - adjustedPlacement, - }; -} - -function getStyle(obj) { - return Object.keys(obj) - .map((item) => `${item}: ${obj[item]}px`) - .join(';'); -} diff --git a/compiled/alipay/src/PopoverList/variable.less b/compiled/alipay/src/PopoverList/variable.less deleted file mode 100644 index f4f407150..000000000 --- a/compiled/alipay/src/PopoverList/variable.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 蒙层 -@popover-mask: @color-product-mask; -// 圆角 -@popover-radius: @corner-radius-md; - -@popover-content-width: 192 * @rpx; - -//content -@popover-content-bg: var(--popover-list-content-bg, rgba(0, 0, 0, 0.93)); -@popover-content-color: var(--popover-list-content-color, @COLOR_TEXT_PRIMARY); -@popover-list-item-bg: var(--popover-list-item-bg, @COLOR_BORDER); -@popover-badge-color: var(--popover-list-badge-color, #ff411c); diff --git a/compiled/alipay/src/Popup/index.axml b/compiled/alipay/src/Popup/index.axml deleted file mode 100644 index 491127fe8..000000000 --- a/compiled/alipay/src/Popup/index.axml +++ /dev/null @@ -1,55 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/alipay/src/Popup/index.en.md b/compiled/alipay/src/Popup/index.en.md deleted file mode 100644 index b03416432..000000000 --- a/compiled/alipay/src/Popup/index.en.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Popup - -Slides or pops up a custom content area from the screen. It is used to display pop-up windows, information prompts, selection input, switching, and other content. It supports multiple pop-up layers for overlay display. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-popup": "antd-mini/es/Popup/index" -#endif -#if WECHAT - "ant-popup": "antd-mini/Popup/index" -#endif -} -``` - -## Code example - -### Basic use - -> - `ant-popup` Components must pass `visible` Property controls the show/hide state.`position` Specifies the direction of occurrence, optional `top` `bottom` `left` `right`. The contents of the pop-up window are filled in the form of slots. -> - `close` The event will be triggered when the icon is closed by clicking the upper right corner or when the layer is closed by clicking the layer. -> - `clickBack` event is triggered when the top left back button is clicked. - -```xml - - - A custom content area slides out or pops up from the screen to display pop-up windows, information prompts, selection input, switching, etc. - - -``` - -```js -Page({ - data: { - visible: true, - }, - onClickBack() { -#if ALIPAY - my.showToast({ content: 'clicked icon', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ content: 'clicked icon', duration: 1000 }); -#endif - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### Set background map - -> `backgroundImage` property, you can set the background for the entire bullet layer. - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - - -``` - -### Extra Long Content Scrolling - -> If the content in the pop-up window is too long and needs to support scrolling, please use [scroll-view](https://opendocs.alipay.com/mini/component/scroll-view?pathHash=8292073d) component and add the following properties: - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - exercitation consequat laboris ad. Quis ad enim fugiat. - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- | -| animation | Whether to turn on transition animation | boolean | true | -| animationType | Animation type, optional`transform` `position`, the default is used`transform`Animation performance is better. However, when there is a fixed positioning or picker-view element inside the pop-up window, there may be a style problem, which can be switched`position`Solve | string | `transform` | -| className | Class Name | string | - | -| destroyOnClose | Unload content when invisible | boolean | false | -| duration | Transition animation duration, in milliseconds | number | 300 | -| height | height, in position `top` or `bottom` When used, the unit is px. Optional, when not transmitted, it is highly adaptive according to the content area. | number | - | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| position | Pop-up window layout, optional`top` `bottom` `left` `right` | string | `bottom` | -| showMask | Whether to show the layer | boolean | true | -| style | Style | string | - | -| visible | Whether to display | boolean | false | -| width | The width, in position, is `left` or `right` unit px | number | - | -| zIndex | Pop-up Level | number | 998 | -| backgroundImage | Background map of the pop-up box | string | - | -| showClose | Show icon with bullet box closed | boolean | false | -| showBack | Show the icon returned by the bullet box | boolean | false | -| #if ALIPAY onClose | Click the layer to close and trigger the callback. | () => void | - | -| #if ALIPAY onClickBack | Click the back button to trigger the callback | () => void | - | -| #if ALIPAY onAfterShow | Trigger after full display | () => void | - | -| #if ALIPAY onAfterClose | Trigger after full shutdown | () => void | - | -| #if WECHAT bind:close | Click the layer to close and trigger the callback. | () => void | - | -| #if WECHAT bind:clickbackicon | Click the back button to trigger the callback | () => void | - | -| #if WECHAT bind:aftershow | Trigger after full display | () => void | - | -| #if WECHAT bind:afterclose | Trigger after full shutdown | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover List Content Background Color | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover List Content Color | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover List Badge Color | -| --popover-list-content-color |
#333333
|
#c5cad1
| Popover List Content Text Color | - -## FAQ - -### After Popup is opened, what if the page behind the layer can scroll? - -Preventing page scrolling after the layer is currently not effective in IDE and emulator, please debug on real machine. - -### Popup internal elements need to support scrolling how to deal? - -If scrolling is required in the pop-up window, use the scroll-view component and add the following attributes: - -```html - - - ...你的内容... - - -``` - -### How to solve the abnormal display of picker-view inside Popup? - -Popup is passed by default. `display:none` Hidden, and picker-view cannot be placed in `display:none` in the components. There are two solutions: - -1. Add attribute on picker-view `a:if="{{popupVisible}}"`, the picker-view is displayed when the Popup is displayed. -2. Set on Popup `destroyOnClose="{{true}}"`to unload content when the Popup is not visible. diff --git a/compiled/alipay/src/Popup/index.json b/compiled/alipay/src/Popup/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Popup/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Popup/index.less b/compiled/alipay/src/Popup/index.less deleted file mode 100644 index 69e1e642f..000000000 --- a/compiled/alipay/src/Popup/index.less +++ /dev/null @@ -1,380 +0,0 @@ -@import (reference) './variable.less'; - -@popupPrefix: ant-popup; - -.@{popupPrefix} { - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 998; - touch-action: none; - &-top-image { - width: 100%; - } - &-mask { - width: 100%; - height: 100%; - background-color: @popup-mask-product; - animation-fill-mode: forwards; - &-closing { - animation-name: ant-popup-mask-close; - } - } - &-content { - overflow: hidden; - position: fixed; - background: @popup-background; - animation-fill-mode: forwards; - animation-timing-function: ease-out; - color: @popup-color; - &-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: -1; - background-size: cover; - background-repeat: no-repeat; - } - &-header { - display: flex; - justify-content: center; - align-items: center; - height: 114rpx; - position: relative; - &-title { - font-family: 500; - line-height: 50 * @rpx; - font-size: 36 * @rpx; - color: @popup-color; - text-align: center; - } - &-icon { - width: 48 * @rpx; - height: 48 * @rpx; - font-size: 42 * @rpx; - position: absolute; - top: 33 * @rpx; - color: @popup-assit-color; - display: flex; - justify-content: center; - align-items: center; - &-back { - left: 24 * @rpx; - } - &-close { - right: 24 * @rpx; - } - } - } - } - &-transform { - &-top { - top: 0; - left: 0; - right: 0; - animation-name: ant-popup-transform-top; - border-radius: 0 0 @popup-radius @popup-radius; - &-close { - animation-name: ant-popup-transform-top-close; - } - } - &-right { - top: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-transform-right; - &-close { - animation-name: ant-popup-transform-right-close; - } - } - &-bottom { - left: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-transform-bottom; - border-radius: @popup-radius @popup-radius 0 0; - &-close { - animation-name: ant-popup-transform-bottom-close; - } - } - &-left { - top: 0; - left: 0; - bottom: 0; - animation-name: ant-popup-transform-left; - &-close { - animation-name: ant-popup-transform-left-close; - } - } - &-center { - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - animation-name: ant-popup-transform-center; - border-radius: @popup-radius; - background: none; - &-close { - animation-name: ant-popup-transform-center-close; - } - } - } - &-position { - &-top { - top: 0; - left: 0; - right: 0; - animation-name: ant-popup-position-top; - border-radius: 0 0 @popup-radius @popup-radius; - &-close { - animation-name: ant-popup-position-top-close; - } - } - &-right { - top: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-position-right; - &-close { - animation-name: ant-popup-position-right-close; - } - } - &-bottom { - left: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-position-bottom; - border-radius: @popup-radius @popup-radius 0 0; - &-close { - animation-name: ant-popup-position-bottom-close; - } - } - &-left { - top: 0; - left: 0; - bottom: 0; - animation-name: ant-popup-position-left; - &-close { - animation-name: ant-popup-position-left-close; - } - } - &-center { - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - animation-name: ant-popup-position-center; - border-radius: @popup-radius; - background: none; - &-close { - animation-name: ant-popup-position-center-close; - } - } - } -} - -@keyframes ant-popup-transform-top { - 0% { - transform: translateY(-100%); - } - 100% { - transform: translateY(0); - } -} - -@keyframes ant-popup-transform-bottom { - 0% { - transform: translateY(100%); - } - 100% { - transform: translateY(0); - } -} - -@keyframes ant-popup-transform-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} - -@keyframes ant-popup-transform-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} - -@keyframes ant-popup-transform-center { - 0% { - transform: translate3d(-50%, -50%, 0) scale(0.1); - opacity: 0; - } - 100% { - transform: translate3d(-50%, -50%, 0) scale(1); - opacity: 1; - } -} - -@keyframes ant-popup-transform-top-close { - 0% { - transform: translateY(0); - } - 100% { - transform: translateY(-100%); - } -} - -@keyframes ant-popup-transform-bottom-close { - 0% { - transform: translateY(0); - } - 100% { - transform: translateY(100%); - } -} - -@keyframes ant-popup-transform-left-close { - 0% { - transform: translateX(0); - } - 100% { - transform: translateX(-100%); - } -} - -@keyframes ant-popup-transform-right-close { - 0% { - transform: translateX(0); - } - 100% { - transform: translateX(100%); - } -} - -@keyframes ant-popup-transform-center-close { - 0% { - opacity: 1; - transform: translate3d(-50%, -50%, 0) scale(1); - } - 20% { - opacity: 0.8; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } - 100% { - opacity: 0; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } -} -@keyframes ant-popup-position-top { - 0% { - top: -100%; - } - 100% { - top: 0; - } -} - -@keyframes ant-popup-position-bottom { - 0% { - bottom: -100%; - } - 100% { - bottom: 0; - } -} - -@keyframes ant-popup-position-left { - 0% { - left: -100%; - } - 100% { - left: 0; - } -} - -@keyframes ant-popup-position-right { - 0% { - right: -100%; - } - 100% { - right: 0; - } -} - -@keyframes ant-popup-position-center { - 0% { - transform: translate3d(-50%, -50%, 0) scale(0.1); - opacity: 0; - } - 100% { - transform: translate3d(-50%, -50%, 0) scale(1); - opacity: 1; - } -} - -@keyframes ant-popup-position-top-close { - 0% { - top: 0; - } - 100% { - top: -100%; - } -} - -@keyframes ant-popup-position-bottom-close { - 0% { - bottom: 0; - } - 100% { - bottom: -100%; - } -} - -@keyframes ant-popup-position-left-close { - 0% { - left: 0; - } - 100% { - left: -100%; - } -} - -@keyframes ant-popup-position-right-close { - 0% { - right: 0; - } - 100% { - right: -100%; - } -} - -@keyframes ant-popup-position-center-close { - 0% { - opacity: 1; - transform: translate3d(-50%, -50%, 0) scale(1); - } - 20% { - opacity: 0.8; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } - 100% { - opacity: 0; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } -} - -@keyframes ant-popup-mask-close { - 0% { - background-color: @popup-mask-product; - } - 100% { - background-color: @popup-mask-close-bg; - } -} diff --git a/compiled/alipay/src/Popup/index.md b/compiled/alipay/src/Popup/index.md deleted file mode 100644 index 0525a2d16..000000000 --- a/compiled/alipay/src/Popup/index.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Popup 弹出层 - -从屏幕滑出或弹出一块自定义内容区。用于展示弹窗、信息提示、选择输入、切换等内容,支持多个弹出层叠加展示。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-popup": "antd-mini/es/Popup/index" -#endif -#if WECHAT - "ant-popup": "antd-mini/Popup/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> - `ant-popup` 组件必须通过 `visible` 属性控制显示/隐藏状态。`position` 指定出现方向,可选 `top` `bottom` `left` `right`。弹窗中的内容通过插槽的形式填入。 -> - `close` 事件会在点击右上角关闭 icon 或点击蒙层关闭时触发。 -> - `clickBack` 事件会在点击左上角返回按钮时触发。 - -```xml - - - 从屏幕滑出或弹出一块自定义内容区,用于展示弹窗、信息提示、选择输入、切换等内容。 - - -``` - -```js -Page({ - data: { - visible: true, - }, - onClickBack() { -#if ALIPAY - my.showToast({ content: 'clicked icon', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ content: 'clicked icon', duration: 1000 }); -#endif - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### 设置背景图 - -> `backgroundImage` 属性,可以为整个弹层设置背景。 - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - - -``` - -### 超长内容滚动 - -> 如果弹窗内内容过长需要支持滚动,请使用 [scroll-view](https://opendocs.alipay.com/mini/component/scroll-view?pathHash=8292073d) 组件,并添加以下属性: - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - exercitation consequat laboris ad. Quis ad enim fugiat. - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- | -| animation | 是否开启过渡动画 | boolean | true | -| animationType | 动画类型,可选`transform` `position`,默认使用`transform`动画性能更好。但当弹窗内部存在 fixed 定位或者 picker-view 元素时可能存在样式问题,可切换为`position`解决 | string | `transform` | -| className | 类名 | string | - | -| destroyOnClose | 不可见时卸载内容 | boolean | false | -| duration | 过渡动画时长,单位毫秒 | number | 300 | -| height | 高度,在 position 为 `top` 或 `bottom` 时使用,单位 px。可选,不传时根据内容区高度自适应。 | number | - | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| position | 弹窗布局,可选`top` `bottom` `left` `right` | string | `bottom` | -| showMask | 是否展示蒙层 | boolean | true | -| style | 样式 | string | - | -| visible | 是否显示 | boolean | false | -| width | 宽度, 在 position 为 `left` 或 `right` 时使用,单位 px | number | - | -| zIndex | 弹窗层级 | number | 998 | -| backgroundImage | 弹框的背景图 | string | - | -| showClose | 展示弹框关闭的 icon | boolean | false | -| showBack | 展示弹框返回的 icon | boolean | false | -| #if ALIPAY onClose | 点击蒙层关闭,触发回调 | () => void | - | -| #if ALIPAY onClickBack | 点击返回按钮,触发回调 | () => void | - | -| #if ALIPAY onAfterShow | 完全展示后触发 | () => void | - | -| #if ALIPAY onAfterClose | 完全关闭后触发 | () => void | - | -| #if WECHAT bind:close | 点击蒙层关闭,触发回调 | () => void | - | -| #if WECHAT bind:clickbackicon | 点击返回按钮,触发回调 | () => void | - | -| #if WECHAT bind:aftershow | 完全展示后触发 | () => void | - | -| #if WECHAT bind:afterclose | 完全关闭后触发 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover 列表内容背景颜色 | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover 列表内容颜色 | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover 列表徽章颜色 | -| --popover-list-content-color |
#333333
|
#c5cad1
| Popover 列表内容文字颜色 | - -## FAQ - -### Popup 打开后,蒙层后面的页面能滚动怎么办? - -阻止蒙层后页面滚动目前在 IDE 和模拟器不生效,请在真机上调试。 - -### Popup 内部元素需要支持滚动怎么处理? - -如果弹窗内需要滚动,请使用 scroll-view 组件,并添加以下属性: - -```html - - - ...你的内容... - - -``` - -### Popup 内部的 picker-view 显示异常怎么解决? - -Popup 默认是通过 `display:none` 隐藏的,而 picker-view 不能放到 `display:none` 的组件里。有以下两种解决方式: - -1. 在 picker-view 上添加属性 `a:if="{{popupVisible}}"`,在 Popup 显示时再显示 picker-view。 -2. 在 Popup 上设置 `destroyOnClose="{{true}}"`,在 Popup 不可见时卸载内容。 diff --git a/compiled/alipay/src/Popup/index.sjs b/compiled/alipay/src/Popup/index.sjs deleted file mode 100644 index 28b92a21f..000000000 --- a/compiled/alipay/src/Popup/index.sjs +++ /dev/null @@ -1,20 +0,0 @@ -function getContentStyle(position, animation, duration, width, height) { - var style = ''; - if (animation) { - style += "-webkit-animation-duration:".concat(duration, "ms; animation-duration:").concat(duration, "ms;"); - } - if (position === 'top' || position === 'bottom') { - if (typeof height !== 'undefined' && height !== null) { - style += "height:".concat(height, "px"); - } - } - if (position === 'left' || position === 'right') { - if (typeof width !== 'undefined' && width !== null) { - style += "width:".concat(width, "px"); - } - } - return style; -} -export default { - getContentStyle: getContentStyle -}; \ No newline at end of file diff --git a/compiled/alipay/src/Popup/index.ts b/compiled/alipay/src/Popup/index.ts deleted file mode 100644 index 690b12890..000000000 --- a/compiled/alipay/src/Popup/index.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { isOldSDKVersion } from '../_util/platform'; -import { - Component, - getValueFromProps, - triggerEventOnly, -} from '../_util/simply'; -import { PopupDefaultProps } from './props'; - -const isOldVersion = isOldSDKVersion(); - -Component( - PopupDefaultProps, - { - onClickCloseIcon() { - const { closing } = this.data; - if (closing) { - return; - } - triggerEventOnly(this, 'close'); - }, - onClickBack() { - triggerEventOnly(this, 'clickBack'); - }, - onTapMask() { - const { closing } = this.data; - if (closing) { - return; - } - triggerEventOnly(this, 'close'); - }, - onAnimationEnd() { - const { closing } = this.data; - if (closing) { - this.setData({ closing: false }); - } - const [visible, duration, animation] = getValueFromProps(this, [ - 'visible', - 'duration', - 'animation', - ]); - const enableAnimation = animation && duration > 0; - if (enableAnimation) { - triggerEventOnly(this, visible ? 'afterShow' : 'afterClose'); - } - }, - }, - { - closing: false, - isOldVersion, - }, - undefined, - { - async deriveDataFromProps(nextProps) { - const [visible, duration, animation] = getValueFromProps(this, [ - 'visible', - 'duration', - 'animation', - ]); - const enableAnimation = animation && duration > 0; - - if ( - nextProps.visible !== visible && - enableAnimation && - !nextProps.visible && - !this.data.closing - ) { - this.setData({ closing: true }); - } - }, - didUpdate(prevProps) { - const [visible, duration, animation] = getValueFromProps(this, [ - 'visible', - 'duration', - 'animation', - ]); - const enableAnimation = animation && duration > 0; - if (prevProps.visible !== visible && !enableAnimation) { - triggerEventOnly(this, visible ? 'afterShow' : 'afterClose'); - } - }, - } -); diff --git a/compiled/alipay/src/Popup/props.ts b/compiled/alipay/src/Popup/props.ts deleted file mode 100644 index fc3a915bf..000000000 --- a/compiled/alipay/src/Popup/props.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 弹窗,可在其中加入具体内容,展示更多信息供用户使用。 - */ -export interface IPopupProps extends IBaseProps { - /** - * @description 是否显示 - * @default false - */ - visible: boolean; - /** - * @description 是否关闭后销毁内部元素 - * @default false - */ - destroyOnClose: boolean; - /** - * @description 是否展示蒙层 - * @default true - */ - showMask: boolean; - - /** - * @description 弹窗布局 - * @default "bottom" - */ - position: 'center' | 'top' | 'bottom' | 'left' | 'right'; - /** - * @description 是否开启过渡动画 - */ - animation: boolean; - /** - * @description 动画类型 - * @default "transform" - */ - animationType: 'transform' | 'position'; - /** - * @description 过渡动画时长,单位毫秒 - */ - duration: number; - /** - * @description 内容区高度,单位px - */ - height: number; - /** - * @description 内容区宽度,单位px - */ - width: number; - /** - * @description 遮罩层类名 - */ - maskClassName: string; - /** - * @description 遮罩层样式 - */ - maskStyle: string; - - zIndex: number; - - /** - * @description 展示弹框关闭的icon - * @default false - */ - showClose: boolean; - /** - * @description 展示弹框返回的icon - * @default false - */ - showBack: boolean; - /** - * @description 弹框的背景图 - */ - backgroundImage: string; - /** - * @description 关闭时回调 - */ - onClose?: () => void; - /** - * @description 完全打开时回调 - */ - onAfterShow?: () => void; - /** - * @description 完全关闭时回调 - */ - onAfterClose?: () => void; - /** - * @description 点击关闭icon时回调 - */ - onClickBackIcon?: () => void; - /** - * @description 点击返回箭头icon时回调 - */ - onClickCloseIcon?: () => void; -} - -export const PopupDefaultProps: Partial = { - visible: false, - destroyOnClose: false, - backgroundImage: '', - showMask: true, - showClose: false, - showBack: false, - position: 'bottom', - // 是否开启动画 - animation: true, - animationType: 'transform', - // 动画持续时间 - duration: 300, - height: null, - width: null, - maskClassName: '', - maskStyle: '', - // 弹窗层级 - zIndex: 998, - onClickBackIcon: () => {}, - onClickCloseIcon: () => {}, -}; diff --git a/compiled/alipay/src/Popup/variable.less b/compiled/alipay/src/Popup/variable.less deleted file mode 100644 index 02d092c22..000000000 --- a/compiled/alipay/src/Popup/variable.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// popup 背景色 -@popup-background: var(--popup-background, @COLOR_CARD); -// 产品蒙层 -@popup-mask-product: @color-product-mask; -// popup 圆角 -@popup-radius: 48 * @rpx; - -@popup-color: var(--popup-color, @COLOR_TEXT_PRIMARY); - -@popup-assit-color: var(--popup-assit-color, @COLOR_TEXT_ASSIST); - -@popup-mask-close-bg: var(--popup-mask-close-bg, @COLOR_BLACK_FADED); diff --git a/compiled/alipay/src/Postscript/index.axml b/compiled/alipay/src/Postscript/index.axml deleted file mode 100644 index 209a2a959..000000000 --- a/compiled/alipay/src/Postscript/index.axml +++ /dev/null @@ -1,40 +0,0 @@ - - - - {{title}} - - - - - - - - - {{item}} - - - \ No newline at end of file diff --git a/compiled/alipay/src/Postscript/index.en.md b/compiled/alipay/src/Postscript/index.en.md deleted file mode 100644 index 5bd12f1a2..000000000 --- a/compiled/alipay/src/Postscript/index.en.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -nav: - path: /components -group: - title: Bizness Components - order: 15 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# Postscript - -Use when additional notes need to be added below the form or content. - -## Code example - -### Basic Usage - - - -## API - -### Property - -| Property | Description | Type | Default Value | -| -------------------- | ---------------- | ----------------------- | ----------------- | -| className | Class Name | string | - | -| style | Style | string | - | -| title | Title | string | - | -| maxLength | Maximum input length | number | Infinity | -| quickInputs | Quick Input Options | string[] | [] | -| placeholder | Placeholder text | string | "Bring a message to TA ~' | -| placeholderClassName | Placeholder class name | string | - | -| combineSymbol | Quick Input Connection Symbol | string | - | -| onChange | Callback when content changes | (value: string) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --postscript-background-color |
#ffffff
|
#1a1a1a
| Background Color | -| --postscript-title-color |
#333
|
#c5cad1
| Title Color | -| --postscript-input-color |
#333
|
#c5cad1
| Enter text color | -| --postscript-caret-color |
#1677ff
|
#3086ff
| caret color | -| --postscript-placeholder-color |
#cccccc
|
#474747
| Placeholder color | -| --postscript-quick-text-color |
#666
|
#808080
| Shortcut Text Color | -| --postscript-quick-border-color |
#eeeeee
|
#2b2b2b
| Quick border color | - -## FAQ - -### How do I use the shortcut input stitching function? - -Set the combineSymbol attribute to the required connection symbol (such as "" or space), and click the shortcut input option to automatically splice with the existing content. - -If you need the shortcut input content to overwrite the existing content, remove the combineSymbol attribute. diff --git a/compiled/alipay/src/Postscript/index.json b/compiled/alipay/src/Postscript/index.json deleted file mode 100644 index 20c5374ed..000000000 --- a/compiled/alipay/src/Postscript/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-input": "../Input/index" - } -} diff --git a/compiled/alipay/src/Postscript/index.less b/compiled/alipay/src/Postscript/index.less deleted file mode 100644 index fa9d19519..000000000 --- a/compiled/alipay/src/Postscript/index.less +++ /dev/null @@ -1,50 +0,0 @@ -@import (reference) './variable.less'; -@import (reference) '../style/mixins/hairline.less'; - -@prefixCls: ant-postscript; - -.@{prefixCls} { - background: @postscript-background-color; - padding: @v-spacing-standard; - - &-title { - font-size: @font-size-subtitle; - color: @postscript-title-color; - margin-bottom: @v-spacing-standard; - } - - &-input { - position: relative; - margin-bottom: @v-spacing-standard; - padding: @v-spacing-standard 0; - .hairline('bottom', @postscript-quick-border-color); - .ant-input-content { - font-size: @font-size-subtitle; - color: @postscript-input-color; - caret-color: @postscript-caret-color; - } - &-placeholder { - font-size: @font-size-content; - color: @postscript-placeholder-color; - } - } - - &-quick { - display: flex; - gap: @h-spacing-mini; - - &-item { - flex-shrink: 0; - padding: @h-spacing-small @h-spacing-standard; - border-radius: @corner-radius-circle; - font-size: @font-size-content; - color: @postscript-quick-text-color; - .hairline-radius(@postscript-quick-border-color, @corner-radius-circle); - - &:active { - opacity: 0.7; - } - } - } -} - diff --git a/compiled/alipay/src/Postscript/index.md b/compiled/alipay/src/Postscript/index.md deleted file mode 100644 index fb772b58a..000000000 --- a/compiled/alipay/src/Postscript/index.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -nav: - path: /components -group: - title: 业务组件 - order: 15 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# Postscript 资金附言组件 - -需要在表单或内容下方添加补充说明时使用。 - -## 代码示例 - -### 基础用法 - - - -## API - -### 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| -------------------- | ---------------- | ----------------------- | ----------------- | -| className | 类名 | string | - | -| style | 样式 | string | - | -| title | 标题 | string | - | -| maxLength | 最大输入长度 | number | Infinity | -| quickInputs | 快捷输入选项 | string[] | [] | -| placeholder | 占位符文本 | string | '给 TA 带句话吧~' | -| placeholderClassName | 占位符类名 | string | - | -| combineSymbol | 快捷输入连接符号 | string | - | -| onChange | 内容变化时的回调 | (value: string) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --postscript-background-color |
#ffffff
|
#1a1a1a
| 背景颜色 | -| --postscript-title-color |
#333
|
#c5cad1
| 标题颜色 | -| --postscript-input-color |
#333
|
#c5cad1
| 输入文字颜色 | -| --postscript-caret-color |
#1677ff
|
#3086ff
| 插入符颜色 | -| --postscript-placeholder-color |
#cccccc
|
#474747
| 占位符颜色 | -| --postscript-quick-text-color |
#666
|
#808080
| 快捷文本颜色 | -| --postscript-quick-border-color |
#eeeeee
|
#2b2b2b
| 快捷边框颜色 | - -## FAQ - -### 如何使用快捷输入拼接功能? - -设置 combineSymbol 属性为需要的连接符号(如 "+" 或空格),点击快捷输入选项时会自动与已有内容拼接。 - -如果需要快捷输入内容覆盖已有内容,请移除 combineSymbol 属性。 diff --git a/compiled/alipay/src/Postscript/index.ts b/compiled/alipay/src/Postscript/index.ts deleted file mode 100644 index fc6dd30c7..000000000 --- a/compiled/alipay/src/Postscript/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { PostscriptProps } from './props'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; - -Component( - PostscriptProps, - { - checkMaxLength(value) { - const maxLength = Number(getValueFromProps(this, 'maxLength')); - if (value.length > maxLength) { - return value.slice(0, maxLength); - } - return value; - }, - handleInput(value) { - this.setData({ content: value }); - triggerEvent(this, 'change', value); - }, - - handleQuickInput(e) { - const { value } = e.currentTarget.dataset; - const combineSymbol = getValueFromProps(this, 'combineSymbol'); - const result = this.checkMaxLength(combineSymbol - ? `${this.data.content? `${this.data.content}${combineSymbol}` : ''}${value}` - : value); - this.setData({ content: result }); - triggerEvent(this, 'change', result); - } - }, - { - content: '' - } -); diff --git a/compiled/alipay/src/Postscript/props.ts b/compiled/alipay/src/Postscript/props.ts deleted file mode 100644 index f3ac5a7d3..000000000 --- a/compiled/alipay/src/Postscript/props.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -interface PostscriptProps extends IBaseProps { - /** - * @description 标题 - */ - title: string, - /** - * @description 最大输入长度 - */ - maxLength: number, - /** - * @description 快捷输入选项 - */ - quickInputs: string[], - /** - * @description 占位符文本 - */ - placeholder: string, - /** - * @description 占位符类名 - */ - placeholderClassName: string, - /** - * @description 组合符号,存在时快捷输入会通过组合符号拼接 - */ - combineSymbol: string, - /** - * @description 内容变化时的回调 - */ - onChange: (value: string) => void, -} - -export const PostscriptProps: PostscriptProps = { - title: '', - maxLength: Infinity, - quickInputs: [], - placeholder: '给TA带句话吧~', - placeholderClassName: '', - combineSymbol: '', - onChange: () => {}, -} diff --git a/compiled/alipay/src/Postscript/variable.less b/compiled/alipay/src/Postscript/variable.less deleted file mode 100644 index c9a15ca68..000000000 --- a/compiled/alipay/src/Postscript/variable.less +++ /dev/null @@ -1,23 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 背景色 -@postscript-background-color: var(--postscript-background-color, @COLOR_CARD); - -// 标题文字颜色 -@postscript-title-color: var(--postscript-title-color, @COLOR_TEXT_PRIMARY); - -// 输入框文字颜色 -@postscript-input-color: var(--postscript-input-color, @COLOR_TEXT_PRIMARY); - -// 输入框光标颜色 -@postscript-caret-color: var(--postscript-caret-color, @COLOR_BRAND1); - -// 占位符文字颜色 -@postscript-placeholder-color: var(--postscript-placeholder-color, @COLOR_TEXT_WEAK); - -// 快捷输入项文字颜色 -@postscript-quick-text-color: var(--postscript-quick-text-color, @COLOR_TEXT_SECONDARY); - -// 快捷输入项边框颜色 -@postscript-quick-border-color: var(--postscript-quick-border-color, @COLOR_BORDER); diff --git a/compiled/alipay/src/Progress/index.axml b/compiled/alipay/src/Progress/index.axml deleted file mode 100644 index d2cc08fec..000000000 --- a/compiled/alipay/src/Progress/index.axml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - {{percent}}% - - - \ No newline at end of file diff --git a/compiled/alipay/src/Progress/index.en.md b/compiled/alipay/src/Progress/index.en.md deleted file mode 100644 index 21b9a07b9..000000000 --- a/compiled/alipay/src/Progress/index.en.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Progress - -Displays the progress of user operations and tasks. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-progress": "antd-mini/es/Progress/index" -#endif -#if WECHAT - "ant-progress": "antd-mini/Progress/index" -#endif -} -``` - -## Code example - -### Basic use - -> The progress bar defaults to a blue bar,`percent` Property to set the current progress. Use `type`Property to set the shape, currently supports bar and ring two forms. - -```xml - - - -``` - -### Semantic progress bar - -> In line mode, semantic status bars for success and failure states are supported by setting `status`Property implementation. - -```xml - - -``` - -### Style Customization - -> `strokeWidth` You can set the thickness of the progress bar,`strokeColor` You can set the color of the progress bar,`trailColor` You can set the track color,`style` The style can be highly customized. - -```xml - - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------- | ---------------------------------------------------- | ------- | ------ | -| className | Class Name | string | - | -| percent | Percentage | number | 0 | -| status | status, available in line mode only, optional `success` `exception` | string | - | -| strokeColor | Progress bar color | string | - | -| strokeWidth | Width of progress bar, in px | number | 8 | -| style | Style | string | - | -| trailColor | Track Color | string | - | -| type | type, optional `line` `circle` | string | `line` | -| width | Circular progress bar canvas width, in px | number | 100 | -| animation | Whether to turn on transition animation | boolean | true | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| -------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| Main color of progress bar | -| --progress-trail-color |
#f5f5f5
|
#121212
| Progress bar track color | -| --progress-success-color |
#22b35e
|
#34b368
| Progress bar success color | -| --progress-indicator-color |
#333333
|
#c5cad1
| Progress bar indicator color | -| --progress-exception-color |
#ff3141
|
#ff4a58
| Progress bar exception color | -| --progress-assist-color |
#999999
|
#616161
| Progress bar auxiliary color | diff --git a/compiled/alipay/src/Progress/index.json b/compiled/alipay/src/Progress/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Progress/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Progress/index.less b/compiled/alipay/src/Progress/index.less deleted file mode 100644 index a574a2f90..000000000 --- a/compiled/alipay/src/Progress/index.less +++ /dev/null @@ -1,61 +0,0 @@ -@import (reference) './variable.less'; - -.ant-progress { - &-line { - display: flex; - flex-direction: row; - align-items: center; - .ant-progress-outer { - background-color: @progress-trail-color; - border-radius: @corner-radius-circle; - height: 16 * @rpx; - overflow: hidden; - flex: 1; - } - .ant-progress-inner { - border-radius: @corner-radius-circle; - transition: width 0.3s; - height: 100%; - position: relative; - background-color: @progress-stroke-color; - &-success { - background-color: @progress-success-color; - } - &-exception { - background-color: @progress-exception-color; - } - } - .ant-progress-indicator { - margin-left: 16 * @rpx; - color: @progress-assist-color; - font-size: 26 * @rpx; - height: 37 * @rpx; - display: flex; - align-items: center; - } - .ant-progress-status-icon { - &-success { - color: @progress-success-color; - } - &-exception { - color: @progress-exception-color; - } - } - } - &-circle { - position: relative; - > canvas { - width: 100%; - height: 100%; - } - .ant-progress-indicator { - font-size: 40 * @rpx; - color: @progress-indicator-color; - position: absolute; - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - z-index: 10; - } - } -} diff --git a/compiled/alipay/src/Progress/index.md b/compiled/alipay/src/Progress/index.md deleted file mode 100644 index c624e7e30..000000000 --- a/compiled/alipay/src/Progress/index.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Progress 进度条 - -用于展示用户操作、任务的进度。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-progress": "antd-mini/es/Progress/index" -#endif -#if WECHAT - "ant-progress": "antd-mini/Progress/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> 进度条默认为蓝色条形,`percent` 属性来设置当前进度。使用 `type`属性来设置形状,目前支持条形和环形两种形式。 - -```xml - - - -``` - -### 语义化进度条 - -> line 模式下,支持成功、失败状态的语义化状态条,通过设置 `status`属性实现。 - -```xml - - -``` - -### 样式定制 - -> `strokeWidth` 可以设置进度条的粗细,`strokeColor` 可以设置进度条的颜色,`trailColor` 可以设置轨道颜色,`style` 可以高度定制样式。 - -```xml - - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ---------------------------------------------------- | ------- | ------ | -| className | 类名 | string | - | -| percent | 百分比 | number | 0 | -| status | 状态,仅限 line 模式可用,可选 `success` `exception` | string | - | -| strokeColor | 进度条颜色 | string | - | -| strokeWidth | 进度条宽度,单位 px | number | 8 | -| style | 样式 | string | - | -| trailColor | 轨道颜色 | string | - | -| type | 类型,可选 `line` `circle` | string | `line` | -| width | 圆形进度条画布宽度,单位 px | number | 100 | -| animation | 是否开启过渡动画 | boolean | true | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| 进度条主颜色 | -| --progress-trail-color |
#f5f5f5
|
#121212
| 进度条轨道颜色 | -| --progress-success-color |
#22b35e
|
#34b368
| 进度条成功颜色 | -| --progress-indicator-color |
#333333
|
#c5cad1
| 进度条指示器颜色 | -| --progress-exception-color |
#ff3141
|
#ff4a58
| 进度条异常颜色 | -| --progress-assist-color |
#999999
|
#616161
| 进度条辅助颜色 | diff --git a/compiled/alipay/src/Progress/index.ts b/compiled/alipay/src/Progress/index.ts deleted file mode 100644 index a8569c60b..000000000 --- a/compiled/alipay/src/Progress/index.ts +++ /dev/null @@ -1,150 +0,0 @@ -import deepEqual from 'fast-deep-equal'; -import { Component, getValueFromProps } from '../_util/simply'; -import { ProgressBarDefaultProps } from './props'; -import { createCanvasContext } from '../_util/jsapi/create-canvas-context'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; - -const animationFrameDuration = 16; - -Component( - ProgressBarDefaultProps, - { - requestAnimationFrame(fn, duration = animationFrameDuration) { - setTimeout(fn, duration); - }, - getDrawColor() { - const [strokeColor, trailColor] = getValueFromProps(this, [ - 'strokeColor', - 'trailColor', - ]); - const drawColor = { - strokeColor: strokeColor || '#1677ff', - trailColor: trailColor || '#F5F5F5', - }; - return drawColor; - }, - async getCanvasContext() { - if (this.ctx) return; - const systemInfo = await getSystemInfo(); - let { pixelRatio } = systemInfo; - const width = getValueFromProps(this, 'width'); - this.ctx = await createCanvasContext([this.canvasId, this]); - this.ctx.imageSmoothingEnabled = true; - this.ctx.imageSmoothingQuality = 'high'; - this.setData({ - canvasWidth: width * pixelRatio, - }); - }, - clearCanvas() { - const ctx = this.ctx; - const { canvasWidth } = this.data; - ctx.clearRect(0, 0, canvasWidth, canvasWidth); - }, - async updateCanvasProgress(prev) { - const drawColor = this.getDrawColor(); - await this.getCanvasContext(); - let curRad = Math.floor((prev / 100) * 360); - const targetRad = Math.floor((this.data.curProgress / 100) * 360); - const direction = curRad < targetRad ? 1 : -1; - const draw = () => { - if (curRad == targetRad) return; - const [speed, animation] = getValueFromProps(this, [ - 'speed', - 'animation', - ]); - curRad = direction * speed + curRad; - if (direction == -1) { - curRad = Math.max(curRad, targetRad); - } else { - curRad = Math.min(curRad, targetRad); - } - this.clearCanvas(); - this.drawOrbit(drawColor.trailColor); - this.drawProgress(drawColor.strokeColor, curRad); - this.ctx.draw(true); - this.requestAnimationFrame( - draw, - animation ? animationFrameDuration : 0 - ); - }; - - draw(); - }, - drawProgress(color, rad) { - const ctx = this.ctx; - const { canvasWidth } = this.data; - const strokeWidth = Number(getValueFromProps(this, 'strokeWidth')); - ctx.beginPath(); - ctx.strokeStyle = color; - ctx.lineWidth = strokeWidth; - ctx.setLineCap('round'); - ctx.arc( - canvasWidth / 2, - canvasWidth / 2, - canvasWidth / 2 - strokeWidth, - -Math.PI / 2, - -Math.PI / 2 + (rad / 360) * 2 * Math.PI, - false - ); - ctx.stroke(); - }, - drawOrbit(color) { - const ctx = this.ctx; - const { canvasWidth } = this.data; - const strokeWidth = Number(getValueFromProps(this, 'strokeWidth')); - ctx.beginPath(); - ctx.strokeStyle = color; - ctx.lineWidth = strokeWidth; - ctx.arc( - canvasWidth / 2, - canvasWidth / 2, - canvasWidth / 2 - strokeWidth, - 0, - Math.PI * 2, - false - ); - ctx.stroke(); - }, - calProgress() { - const [p, type] = getValueFromProps(this, ['percent', 'type']); - const percent = +p; - if (isNaN(percent)) { - return this.setData({ curProgress: 0 }); - } - const prevProgress = this.data.curProgress; - if (percent === prevProgress) { - return; - } - this.setData({ - curProgress: percent > 100 ? 100 : percent < 0 ? 0 : percent, - }); - if (type === 'circle') { - this.setCanvasId(); - this.updateCanvasProgress(prevProgress); - } - }, - setCanvasId() { - this.canvasId = this.$id - ? `ant-progress-canvas-${this.$id}` - : `ant-progress-canvas`; - }, - }, - { - curProgress: 0, - canvasWidth: 100, - }, - undefined, - { - ctx: null as any, - drawColor: null as any, - canvas: null, - didMount() { - this.calProgress(); - }, - didUpdate(prevProps) { - if (deepEqual(this.props, prevProps)) return; - this.calProgress(); - }, - - } -); diff --git a/compiled/alipay/src/Progress/props.ts b/compiled/alipay/src/Progress/props.ts deleted file mode 100644 index de62a3b2b..000000000 --- a/compiled/alipay/src/Progress/props.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 弹窗,可在其中加入具体内容,展示更多信息供用户使用。 - */ - -export interface IProgressBarProps extends IBaseProps { - /** - * @description 当前进度,范围 0-100 - * @default 0 - */ - percent: number | string; - - /** - * @description 模式 - * @default 'line' - */ - type: 'line' | 'circle'; - /** - * @description 圆形进度条画布宽度,单位 px - */ - width: number; - /** - * @description 进度条宽度,单位px - */ - strokeWidth: number | string; - /** - * @description 状态,仅限 line - */ - status: 'success' | 'exception'; - /** - * @description 进度条颜色 - */ - strokeColor: string; - /** - * @description 轨道颜色 - */ - trailColor: string; - /** - * @description 每次绘制进度条推进的角度,默认6deg - * @default 6 - */ - speed: number; - /** - * @description 是否开启过渡动画 - * @default true - */ - animation: boolean; -} - -export const ProgressBarDefaultProps: Partial = { - percent: 0, - type: 'line', - width: 100, - strokeWidth: 8, - status: null, - strokeColor: '', - trailColor: '', - speed: 6, - animation: true, -}; diff --git a/compiled/alipay/src/Progress/variable.less b/compiled/alipay/src/Progress/variable.less deleted file mode 100644 index 2399f6064..000000000 --- a/compiled/alipay/src/Progress/variable.less +++ /dev/null @@ -1,9 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@progress-stroke-color: var(--progress-stroke-color, @COLOR_BRAND1); -@progress-trail-color: var(--progress-trail-color, @COLOR_GREY_CARD); -@progress-success-color: var(--progress-success-color, @COLOR_GREEN); -@progress-indicator-color: var(--progress-indicator-color, @COLOR_TEXT_PRIMARY); -@progress-exception-color: var(--progress-exception-color, @COLOR_RED); -@progress-assist-color: var(--progress-assist-color, @COLOR_TEXT_ASSIST); diff --git a/compiled/alipay/src/Radio/RadioGroup/index.axml b/compiled/alipay/src/Radio/RadioGroup/index.axml deleted file mode 100644 index 4e03cd2fa..000000000 --- a/compiled/alipay/src/Radio/RadioGroup/index.axml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - {{item.label}} - - - - - - - - - - - - {{item.label}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Radio/RadioGroup/index.json b/compiled/alipay/src/Radio/RadioGroup/index.json deleted file mode 100644 index 787ac5732..000000000 --- a/compiled/alipay/src/Radio/RadioGroup/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "list": "../../List/index", - "list-item": "../../List/ListItem/index", - "radio": "../index" - } -} diff --git a/compiled/alipay/src/Radio/RadioGroup/index.less b/compiled/alipay/src/Radio/RadioGroup/index.less deleted file mode 100644 index 5305c5534..000000000 --- a/compiled/alipay/src/Radio/RadioGroup/index.less +++ /dev/null @@ -1,50 +0,0 @@ -@import (reference) '../variable.less'; - -@radioGroupPrefix: ant-radio-group; - -.@{radioGroupPrefix} { - &-horizontal { - .@{radioGroupPrefix}-body { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - - .ant-list-item-line { - padding-right: 0; - } - - .ant-radio-item { - flex-flow: 0; - } - - .ant-list-item-line::after { - display: none; - } - } - } - - &-header:empty, - &-footer:empty { - display: none; - } - - &-header, - &-footer { - display: flex; - align-items: center; - padding: @v-spacing-standard @v-spacing-large; - line-height: 1.4; - font-size: 30 * @rpx; - color: @radio-header-color; - } - - &-body { - position: relative; - overflow: hidden; - .ant-radio-item-content { - .ant-radio-group-item-label-default:not(:nth-child(1)) { - display: none; - } - } - } -} diff --git a/compiled/alipay/src/Radio/RadioGroup/index.ts b/compiled/alipay/src/Radio/RadioGroup/index.ts deleted file mode 100644 index d9fde6bfd..000000000 --- a/compiled/alipay/src/Radio/RadioGroup/index.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { RadioGroupDefaultProps } from './props'; -import mixinValue from '../../mixins/value'; - -Component( - RadioGroupDefaultProps, - { - onChange(_, e) { - let event; - event = e; - const index = event.currentTarget.dataset.index; - const options = getValueFromProps(this, 'options'); - const value = options[index].value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, event); - }, - }, - null, - [mixinValue()] -); diff --git a/compiled/alipay/src/Radio/RadioGroup/props.ts b/compiled/alipay/src/Radio/RadioGroup/props.ts deleted file mode 100644 index 6348fab52..000000000 --- a/compiled/alipay/src/Radio/RadioGroup/props.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IBaseProps } from '../../_util/base'; - -export interface IRadioGroupProps extends IBaseProps { - value: string; - defaultValue: string; - name: string; - disabled?: boolean; - color: string; - position: 'horizontal' | 'vertical'; - onChange?: (value: string, e: any) => void; - options: { - label?: string; - value?: string; - disabled?: boolean; - color?: string; - }[]; -} - -export const RadioGroupDefaultProps: Partial = { - value: null, - defaultValue: null, - name: '', - disabled: false, - color: '', - position: 'vertical', - options: [], -}; diff --git a/compiled/alipay/src/Radio/index.axml b/compiled/alipay/src/Radio/index.axml deleted file mode 100644 index ae5ab619a..000000000 --- a/compiled/alipay/src/Radio/index.axml +++ /dev/null @@ -1,35 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/alipay/src/Radio/index.en.md b/compiled/alipay/src/Radio/index.en.md deleted file mode 100644 index da81ef22b..000000000 --- a/compiled/alipay/src/Radio/index.en.md +++ /dev/null @@ -1,183 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Radio - -Single selection from a set of options. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-radio": "antd-mini/es/Radio/index", - "ant-radio-group": "antd-mini/es/Radio/RadioGroup/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Radio/index", - "ant-radio-group": "antd-mini/Radio/RadioGroup/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml -Initial value -Disable button 1 -Custom Colors - - Basic Usage - -``` - -```js -Page({ - onChange(value, e) { - console.log(value, e); - }, -}); -``` - -### Controlled Mode - -```xml - - Controlled Mode - -``` - -```js -Page({ - data: { - checked: false, - }, - handleChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### Radio Group - -```xml - - -``` - -```js -Page({ - data: { - value: 'banana', - options: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'banana', label: '香蕉' }, - ], - }, - handleRadioGroupChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- | ------ | -| checked | Whether selected | boolean | - | -| className | Class Name | string | - | -| disabled | Disable | boolean | false | -| color | Icon Color | string | - | -| defaultChecked | Is selected by default | boolean | false | -| style | Style | string | - | -| value | value carried | string | - | -| #if ALIPAY onChange | Callback when state changes | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | Callback when state changes | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### RadioGroup - -| Property | Description | Type | Default Value | -| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------- | ---------- | -| className | Class Name | string | - | -| color | Icon Color | string | - | -| disabled | Disable | boolean | false | -| defaultValue | Initial value | string | - | -| label | slots, receiving values and indexes | slot | - | -| options | Optional | `{label?: string; value?: string; disabled?: boolean;}[]` | - | -| position | Layout mode | string | `vertical` | -| style | Style | string | - | -| value | Selected value | string | - | -| #if ALIPAY onChange | Callback when state changes | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | Callback when state changes | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| Main color of progress bar | -| --progress-trail-color |
#f5f5f5
|
#121212
| Progress bar track color | -| --progress-success-color |
#22b35e
|
#34b368
| Progress bar success color | -| --progress-indicator-color |
#333333
|
#c5cad1
| Progress bar indicator color | -| --progress-exception-color |
#ff3141
|
#ff4a58
| Progress bar exception color | -| --progress-assist-color |
#999999
|
#616161
| progress bar auxiliary color | diff --git a/compiled/alipay/src/Radio/index.json b/compiled/alipay/src/Radio/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Radio/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Radio/index.less b/compiled/alipay/src/Radio/index.less deleted file mode 100644 index a43e89bd3..000000000 --- a/compiled/alipay/src/Radio/index.less +++ /dev/null @@ -1,98 +0,0 @@ -@import (reference) './variable.less'; - -@radioItemPrefix: ant-radio-item; - -.@{radioItemPrefix} { - color: @radio-text-color; - margin-right: 16 * @rpx; - - - &-container { - display: flex; - align-items: center; - } - - &-content { - padding-left: 10 * @rpx; - text-align: left; - } - &-wrap { - position: relative; - width: @radio-size; - height: @radio-size; - flex: 0 0 @radio-size; - } - &-base { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 2; - opacity: 0; - } - &-fake { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - overflow: hidden; - pointer-events: none; - display: flex; - justify-content: center; - align-items: center; - &-icon { - background-color: @radio-fake-icon-background-color; - border: @radio-border-width solid @radio-border-color; - border-radius: @radio-corner-radius; - width: 100%; - height: 100%; - box-sizing: border-box; - } - &-checkedIcon { - border-radius: @radio-corner-radius; - background-color: @radio-background-color; - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; - &-icon { - color: @radio-icon-color; - font-size: 28 * @rpx; - } - } - &-disbaledIcon { - box-sizing: border-box; - border: @radio-border-width solid @radio-border-color; - border-radius: @radio-corner-radius; - width: 100%; - height: 100%; - background-color: @radio-disabled-background; - } - &-disabledCheckedIcon { - box-sizing: border-box; - border: @radio-border-width solid @radio-border-color; - background-color: @radio-disabled-background; - border-radius: @radio-corner-radius; - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; - &-icon { - color: @radio-border-color; - font-size: 28 * @rpx; - } - } - } - &-disabled { - opacity: @opacity-disabled; - } - // .ant-list-item-image-container { - // display: flex; - // justify-content: center; - // align-items: center; - // } -} diff --git a/compiled/alipay/src/Radio/index.md b/compiled/alipay/src/Radio/index.md deleted file mode 100644 index 33fc771e4..000000000 --- a/compiled/alipay/src/Radio/index.md +++ /dev/null @@ -1,183 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Radio 单选框 - -在一组可选项中进行单选。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-radio": "antd-mini/es/Radio/index", - "ant-radio-group": "antd-mini/es/Radio/RadioGroup/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Radio/index", - "ant-radio-group": "antd-mini/Radio/RadioGroup/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml -初始值 -禁用按钮1 -自定义颜色 - - 基础用法 - -``` - -```js -Page({ - onChange(value, e) { - console.log(value, e); - }, -}); -``` - -### 受控模式 - -```xml - - 受控模式 - -``` - -```js -Page({ - data: { - checked: false, - }, - handleChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### Radio 组 - -```xml - - -``` - -```js -Page({ - data: { - value: 'banana', - options: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'banana', label: '香蕉' }, - ], - }, - handleRadioGroupChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- | ------ | -| checked | 是否选中 | boolean | - | -| className | 类名 | string | - | -| disabled | 是否禁用 | boolean | false | -| color | 图标颜色 | string | - | -| defaultChecked | 是否默认选中 | boolean | false | -| style | 样式 | string | - | -| value | 携带的 value 值 | string | - | -| #if ALIPAY onChange | 状态改变时的回调 | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | 状态改变时的回调 | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### RadioGroup - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------- | ---------- | -| className | 类名 | string | - | -| color | 图标颜色 | string | - | -| disabled | 是否禁用 | boolean | false | -| defaultValue | 初始值 | string | - | -| label | 插槽,接收值和索引 | slot | - | -| options | 可选项 | `{label?: string; value?: string; disabled?: boolean;}[]` | - | -| position | 布局方式 | string | `vertical` | -| style | 样式 | string | - | -| value | 选中的值 | string | - | -| #if ALIPAY onChange | 状态改变时的回调 | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | 状态改变时的回调 | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| 进度条主颜色 | -| --progress-trail-color |
#f5f5f5
|
#121212
| 进度条轨道颜色 | -| --progress-success-color |
#22b35e
|
#34b368
| 进度条成功颜色 | -| --progress-indicator-color |
#333333
|
#c5cad1
| 进度条指示器颜色 | -| --progress-exception-color |
#ff3141
|
#ff4a58
| 进度条异常颜色 | -| --progress-assist-color |
#999999
|
#616161
| 进度条辅助颜色 | diff --git a/compiled/alipay/src/Radio/index.sjs b/compiled/alipay/src/Radio/index.sjs deleted file mode 100644 index 97e1b2255..000000000 --- a/compiled/alipay/src/Radio/index.sjs +++ /dev/null @@ -1,24 +0,0 @@ -function getClassName(checked, disabled) { - if (!checked && !disabled) { - return 'icon'; - } - if (checked && !disabled) { - return 'checkedIcon'; - } - if (!checked && disabled) { - return 'disbaledIcon'; - } - if (checked && disabled) { - return 'disabledCheckedIcon'; - } -} -function getChecked(index, options, value) { - if (options[index].value === value) { - return true; - } - return false; -} -export default { - getClassName: getClassName, - getChecked: getChecked -}; \ No newline at end of file diff --git a/compiled/alipay/src/Radio/index.ts b/compiled/alipay/src/Radio/index.ts deleted file mode 100644 index 553d7d59c..000000000 --- a/compiled/alipay/src/Radio/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Component, triggerEvent } from '../_util/simply'; -import { RadioDefaultProps } from './props'; -import mixinValue from '../mixins/value'; - -Component( - RadioDefaultProps, - { - onChange(e) { - const value = e.detail.value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - }, - null, - [ - mixinValue({ - valueKey: 'checked', - defaultValueKey: 'defaultChecked', - }), - ] -); diff --git a/compiled/alipay/src/Radio/props.ts b/compiled/alipay/src/Radio/props.ts deleted file mode 100644 index eb99e286e..000000000 --- a/compiled/alipay/src/Radio/props.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface IRadioProps extends IBaseProps { - /** - * @description 组件值,选中时 change 事件会携带的 value。 - */ - value?: string; - defaultChecked?: boolean; - /** - * @description radio 的颜色,同 CSS 色值。 - */ - color?: string; - checked?: boolean; - disabled?: boolean; - onChange?: (checked: boolean, e: any) => void; -} - -export const RadioDefaultProps: Partial = { - value: null, - defaultChecked: null, - color: '', - checked: null, - disabled: false, -}; diff --git a/compiled/alipay/src/Radio/variable.less b/compiled/alipay/src/Radio/variable.less deleted file mode 100644 index 9dd74ccc4..000000000 --- a/compiled/alipay/src/Radio/variable.less +++ /dev/null @@ -1,31 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; -// header 颜色 -@radio-header-color: var(--radio-header-color, @COLOR_TEXT_ASSIST); - -/* size | 大小 */ -@radio-size: @icon-size-sm; - -/* corner-radius | 圆角 */ -@radio-corner-radius: @corner-radius-circle; - -/* border-width | 边框宽度 */ -@radio-border-width: @border-width-standard; - -/* color | 边框颜色 */ -@radio-border-color: var(--radio-border-color, @COLOR_TEXT_WEAK); - -/* color | check状态背景色 */ -@radio-background-color: var(--radio-background-color, @COLOR_BRAND1); - -/* color | disabled状态背景色 */ -@radio-disabled-background: var(--radio-disabled-background, @COLOR_GREY_CARD); - -@radio-text-color: var(--radio-text-color, @COLOR_TEXT_PRIMARY); - -@radio-fake-icon-background-color: var( - --radio-fake-icon-background-color, - @COLOR_CARD -); - -@radio-icon-color: var(--radio-icon-color, @COLOR_WHITE); diff --git a/compiled/alipay/src/RareWordsKeyboard/constants.ts b/compiled/alipay/src/RareWordsKeyboard/constants.ts deleted file mode 100644 index 3f9b04945..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/constants.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { IPinYinMapItem } from './props'; - -/** - * 拼音键盘按钮 - */ -export const PINYIN_MAP: IPinYinMapItem[][] = [ - // 第一行 - [ - { label: 'Q', value: 'Q' }, - { label: 'W', value: 'W' }, - { label: 'E', value: 'E' }, - { label: 'R', value: 'R' }, - { label: 'T', value: 'T' }, - { label: 'Y', value: 'Y' }, - { label: 'U', value: 'U' }, - { label: 'I', value: 'I' }, - { label: 'O', value: 'O' }, - { label: 'P', value: 'P' }, - ], - // 第二行 - [ - { label: 'A', value: 'A' }, - { label: 'S', value: 'S' }, - { label: 'D', value: 'D' }, - { label: 'F', value: 'F' }, - { label: 'G', value: 'G' }, - { label: 'H', value: 'H' }, - { label: 'J', value: 'J' }, - { label: 'K', value: 'K' }, - { label: 'L', value: 'L' }, - ], - // 第三行 - [ - { label: 'Z', value: 'Z' }, - { label: 'X', value: 'X' }, - { label: 'C', value: 'C' }, - { label: 'V', value: 'V' }, - { label: 'B', value: 'B' }, - { label: 'N', value: 'N' }, - { label: 'M', value: 'M' }, - ], -]; diff --git a/compiled/alipay/src/RareWordsKeyboard/index.axml b/compiled/alipay/src/RareWordsKeyboard/index.axml deleted file mode 100644 index 45c45534e..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/index.axml +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - {{displayStr}} - - - - - - 哈 - - - - - {{item.unicodeChar}} - - - - - - - 加载中 - - - - 请输入生僻字对应的拼音 - - 更多生僻字完善中,敬请期待 - - - - - - - - - - - - - - - - - - - - - - - - - - {{item.label}} - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/RareWordsKeyboard/index.en.md b/compiled/alipay/src/RareWordsKeyboard/index.en.md deleted file mode 100644 index b13eeb066..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/index.en.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# RareWordsKeyboard - -The problem of rare characters has always been a difficult point in the society. Due to the development of different standards in different periods, various industries support different Chinese characters, which makes it very difficult to interconnect rare characters and names in Internet business and seriously affects the business handling of rare characters and names personnel. This rare word keyboard can help rare word users solve the problem that they cannot enter their names in the computer world. - -## Tip - -1. Developers can decide for themselves when to evoke a rare word keyboard. -2. After entering a rare word, the input of the rare word will be returned through the callback parameter, and the keyboard will be closed. - -## Code example - -### Basic use - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ------------------------------------- | ------------------------- | ------ | -| visible | Whether visible | boolean | false | -| type | Keyboard type, currently only supported `pinyin`(Pinyin) | string | pinyin | -| showMask | Whether to show background layer | boolean | true | -| safeArea | Whether to keep safe distance | boolean | true | -| #if ALIPAY onClose | Callback triggered when keyboard is closed | `() => void` | - | -| #if ALIPAY onChange | Callback triggered when input completes | `(value: string) => void` | - | -| #if ALIPAY onError | Open the callback that is triggered when the keyboard goes wrong | `(err: Error) => void` | - | -| #if WECHAT bind:close | Callback triggered when keyboard is closed | `() => void` | - | -| #if WECHAT bind:change | Callback triggered when input completes | `(value: string) => void` | - | -| #if WECHAT bind:error | Open the callback that is triggered when the keyboard goes wrong | `(err: Error) => void` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| --rare-words-bg |
rgba(0, 0, 0, 0.45)
|
rgba(0, 0, 0, 0.45)
| Rare word background color | -| --rare-keyboard-bg |
#d8d8d8
|
#4a4a4a
| Rare word keyboard background color | -| --rare-words-keyboard-color |
#333333
|
#c5cad1
| Rare word keyboard text color | -| --rare-words-border-color |
#eeeeee
|
#2b2b2b
| Rare word border color | -| --rare-words-kb-bg |
#f5f5f5
|
#121212
| Rare word keyboard background color | -| --rare-words-pinyin-key-color |
#ffffff
|
#1a1a1a
| Rare word pinyin key color | -| --rare-words-inner-bg |
#cccccc
|
#474747
| Rare word inner background color | -| --rare-words-active-color |
#1677ff
|
#3086ff
| Rare word activation status color | -| --rare-words-pinyin-color |
#f5f5f5
|
#121212
| Rare word pinyin color | -| --rare-words-keyboard-bg |
#4a4a4a
|
#4a4a4a
| Rare word keyboard background color | -| --rare-words-item-tips-color |
#666666
|
#808080
| Rare Word Item Prompt Color | diff --git a/compiled/alipay/src/RareWordsKeyboard/index.json b/compiled/alipay/src/RareWordsKeyboard/index.json deleted file mode 100644 index 57c74c7b7..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "result": "../Result/index", - "button": "../Button/index", - "loading": "../Loading/index" - } -} diff --git a/compiled/alipay/src/RareWordsKeyboard/index.less b/compiled/alipay/src/RareWordsKeyboard/index.less deleted file mode 100644 index 663896125..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/index.less +++ /dev/null @@ -1,345 +0,0 @@ -@import (reference) './variable.less'; - -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -.ant-rare-words-keyboard { - color: @rare-words-keyboard-color; - width: 0; - height: 0; - position: relative; - overflow: hidden; - - &-modal { - z-index: 998; - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 100vh; - background-color: @rare-words-bg; - - &.hide { - visibility: hidden; - } - } - - &-kb { - background: @rare-words-kb-bg; - max-height: 1200 * @rpx; - min-width: 100vw; - position: fixed; - bottom: 0; - left: 0; - transition: all 200ms linear; - z-index: 999; - - &.hide { - transform: translateY(100%); - max-height: 0; - } - - &_iphonex-safe { - height: calc(constant(safe-area-inset-bottom) - 20 * @rpx); - height: calc(env(safe-area-inset-bottom) - 20 * @rpx); - width: 100%; - background-color: @rare-words-kb-bg; - } - } - - &_header { - background-color: @rare-words-kb-bg; - } - - &-input_value { - position: absolute; - top: -64 * @rpx; - left: 0; - display: inline-block; - height: 64 * @rpx; - line-height: 64 * @rpx; - border-top-left-radius: 8 * @rpx; - border-top-right-radius: 8 * @rpx; - background-color: @rare-words-kb-bg; - padding-left: 20 * @rpx; - padding-right: 20 * @rpx; - border: 1 * @rpx solid @rare-words-border-color; - border-bottom: 0; - letter-spacing: 2 * @rpx; - box-sizing: border-box; - font-size: 24 * @rpx; - color: @rare-words-keyboard-color; - - &.hide { - display: none; - } - } - - &-match_words { - display: flex; - flex-flow: row nowrap; - align-items: flex-start; - justify-content: flex-start; - padding: 20 * @rpx 24 * @rpx 20 * @rpx 8 * @rpx; - background: @rare-words-kb-bg; - overflow: hidden; - font-family: 'rare-words-font'; - - &.absolute { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: border-box; - z-index: 10000; - padding-left: 0; - overflow: auto; - } - - &_wrap { - min-height: 96 * @rpx; - - &::before { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - background: @rare-words-inner-bg; - width: 100%; - height: 2 * @rpx; - transform: scaleY(0.5); - transform-origin: 0 0; - } - } - - &_item_tips { - padding-left: 8 * @rpx; - font-size: 28 * @rpx; - color: @rare-words-item-tips-color; - line-height: 34 * @rpx; - - &.loading { - display: flex; - flex-flow: row nowrap; - align-items: center; - } - } - - &_inner { - flex: 1; - display: flex; - flex-flow: row wrap; - align-items: center; - justify-content: flex-start; - overflow: hidden; - height: 56 * @rpx; - white-space: nowrap; - box-sizing: border-box; - margin-right: -32 * @rpx; - padding-right: 42 * @rpx; - - &.all { - height: auto; - margin-top: -20 * @rpx; - position: relative; - padding-left: 8 * @rpx; - padding-right: 42 * @rpx; - - &::after { - content: ''; - display: block; - position: absolute; - left: -64 * @rpx; - bottom: 0; - background: @rare-words-inner-bg; - width: 100%; - height: 2 * @rpx; - transform: scaleY(0.5); - transform-origin: 0 0; - } - } - } - - &_item { - color: @rare-words-inner-bg; - width: 73 * @rpx; - padding-left: 16 * @rpx; - padding-right: 16 * @rpx; - box-sizing: border-box; - - &.all { - padding-top: 20 * @rpx; - padding-bottom: 20 * @rpx; - position: relative; - - &::after { - content: ''; - display: block; - position: absolute; - left: -20 * @rpx; - bottom: 0; - background: @rare-words-inner-bg; - width: 100%; - height: 2 * @rpx; - transform: scaleY(0.5); - transform-origin: 0 0; - } - } - - &_text { - font-size: 42 * @rpx; - line-height: 57 * @rpx; - user-select: none; - color: @rare-words-keyboard-color; - - &:active { - color: @rare-words-active-color; - } - - &:hover { - color: @rare-words-active-color; - } - } - } - - &_hidden { - visibility: hidden; - position: absolute; - top: -19998 * @rpx; - left: -19998 * @rpx; - width: 73 * @rpx; - padding-left: 16 * @rpx; - padding-right: 16 * @rpx; - box-sizing: border-box; - } - - &_right { - width: 48 * @rpx; - height: 48 * @rpx; - display: flex; - flex-flow: row nowrap; - align-items: center; - justify-content: center; - position: relative; - margin-top: 4 * @rpx; - color: @rare-words-keyboard-color; - - &.sticky { - position: sticky !important; - top: 0 !important; - left: 0 !important; - } - - &.overflow { - &::before { - content: ''; - display: block; - width: 10 * @rpx; - height: 100%; - background: linear-gradient( - to right, - transparent, - @rare-words-keyboard-bg - ); - position: absolute; - left: -32 * @rpx; - } - } - } - } - - &-loading { - min-height: 34 * @rpx; - margin-right: 12 * @rpx; - } - - &_delete { - font-size: 48 * @rpx; - } - - &_down { - font-size: 48 * @rpx; - } - - &_pinyin { - background: @rare-words-pinyin-color; - padding-top: 16 * @rpx; - padding-bottom: 16 * @rpx; - - &_row { - display: flex; - flex-flow: row nowrap; - justify-content: center; - background: @rare-words-pinyin-color; - margin-bottom: 16 * @rpx; - - &:last-child { - margin-bottom: 0; - } - } - - &_key { - position: relative; - display: flex; - align-items: center; - justify-content: center; - height: 88 * @rpx; - width: 63 * @rpx; - background: @rare-words-pinyin-key-color; - font-size: 36 * @rpx; - color: @rare-words-keyboard-color; - box-sizing: border-box; - border-radius: 8 * @rpx; - margin-right: 12 * @rpx; - user-select: none; - - &:active { - background: @rare-words-active-color; - color: @rare-words-pinyin-key-color; - } - - &:last-child { - margin-right: 0; - } - - &.delete { - width: 80 * @rpx; - } - } - } - - &_error { - background: @rare-words-pinyin-color; - padding-top: 30 * @rpx; - padding-bottom: 30 * @rpx; - - .ant-result-main { - background: none; - margin-bottom: 0; - padding-top: 40 * @rpx; - padding-bottom: 40 * @rpx; - } - - .ant-result-message { - text-align: center; - } - - &-btns { - display: flex; - flex-flow: row nowrap; - align-items: center; - justify-content: center; - } - } -} diff --git a/compiled/alipay/src/RareWordsKeyboard/index.md b/compiled/alipay/src/RareWordsKeyboard/index.md deleted file mode 100644 index fd464f6f6..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/index.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# RareWordsKeyboard 生僻字键盘 - -生僻字问题一直是社会的一个难点,各行业由于不同时期、不同标准的开发,使得支持的汉字字符不一,导致生僻字姓名在互联网业务中的互联互通十分困难,严重影响了生僻字姓名人员的业务办理;此生僻字键盘能够帮助生僻字用户解决在计算机世界中无法输入姓名的问题。 - -## Tip - -1. 开发者可以自己决定何时唤起生僻字键盘。 -2. 输入完成生僻字后,会通过回调参数返回此次输入的生僻字,并关闭键盘。 - -## 代码示例 - -### 基本使用 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ------------------------------------- | ------------------------- | ------ | -| visible | 是否可见 | boolean | false | -| type | 键盘类型,目前只支持 `pinyin`(拼音) | string | pinyin | -| showMask | 是否展示背景蒙层 | boolean | true | -| safeArea | 是否保留安全距离 | boolean | true | -| #if ALIPAY onClose | 关闭键盘时触发的回调 | `() => void` | - | -| #if ALIPAY onChange | 输入完成时触发的回调 | `(value: string) => void` | - | -| #if ALIPAY onError | 打开键盘出错时触发的回调 | `(err: Error) => void` | - | -| #if WECHAT bind:close | 关闭键盘时触发的回调 | `() => void` | - | -| #if WECHAT bind:change | 输入完成时触发的回调 | `(value: string) => void` | - | -| #if WECHAT bind:error | 打开键盘出错时触发的回调 | `(err: Error) => void` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| --rare-words-bg |
rgba(0, 0, 0, 0.45)
|
rgba(0, 0, 0, 0.45)
| 稀有字背景颜色 | -| --rare-keyboard-bg |
#d8d8d8
|
#4a4a4a
| 稀有字键盘背景色 | -| --rare-words-keyboard-color |
#333333
|
#c5cad1
| 稀有字键盘文字颜色 | -| --rare-words-border-color |
#eeeeee
|
#2b2b2b
| 稀有字边框颜色 | -| --rare-words-kb-bg |
#f5f5f5
|
#121212
| 稀有字键盘背景色 | -| --rare-words-pinyin-key-color |
#ffffff
|
#1a1a1a
| 稀有字拼音键颜色 | -| --rare-words-inner-bg |
#cccccc
|
#474747
| 稀有字内部背景色 | -| --rare-words-active-color |
#1677ff
|
#3086ff
| 稀有字激活状态颜色 | -| --rare-words-pinyin-color |
#f5f5f5
|
#121212
| 稀有字拼音颜色 | -| --rare-words-keyboard-bg |
#4a4a4a
|
#4a4a4a
| 稀有字键盘背景色 | -| --rare-words-item-tips-color |
#666666
|
#808080
| 稀有字项目提示颜色 | diff --git a/compiled/alipay/src/RareWordsKeyboard/index.ts b/compiled/alipay/src/RareWordsKeyboard/index.ts deleted file mode 100644 index 05a98e55c..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/index.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { Component, triggerEvent, triggerEventOnly } from '../_util/simply'; -import { PINYIN_MAP } from './constants'; -import { RareWordsKeyboardProps } from './props'; -import { formatZDatas, loadFontFace, matchWordsRecommend } from './utils'; -import { ZDATAS } from './zdatas'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; - -const wordsData = formatZDatas(ZDATAS.datas); - -Component( - RareWordsKeyboardProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - async getBoundingClientRect(query: string) { - return await getInstanceBoundingClientRect(this.getInstance(), query); - }, - // 隐藏键盘,失去焦点 - handleHide() { - this.setData({ - inputValue: [], - matchWordsList: [], - displayStr: '', - showMoreWords: false, - }); - triggerEventOnly(this, 'close'); - }, - - // 点击键盘key值 - handleKeyClick(e) { - if (this.data.loading) return; - const { value = '' } = e.currentTarget.dataset; - if (!value) return; - const inputValue = [...this.data.inputValue, value]; - this.setData({ - inputValue: [...inputValue], - ...this.computeMatchWords(inputValue), - }); - }, - - // 点击删除 - handleDelete() { - const inputValue = [...this.data.inputValue]; - if (this.data.inputValue.length === 0) return; - inputValue.pop(); - this.setData({ - inputValue: [...inputValue], - ...this.computeMatchWords(inputValue), - }); - }, - - // 计算展示值和候选字列表 - computeMatchWords(inputValue) { - const displayStr = Array.isArray(inputValue) - ? inputValue.join('') - : inputValue; - const curMatchWords = matchWordsRecommend(wordsData, displayStr); - return { - displayStr, - matchWordsList: curMatchWords, - }; - }, - - // 点击查看更多 - hanleLookMore() { - if (this.data.matchWordsList.length <= this.data.maxDisplayNum) { - this.handleHide(); - return; - } - this.setData({ - showMoreWords: !this.data.showMoreWords, - }); - }, - - // 计算每行可以展示的最大字数 - async computeMaxDisplayNum() { - const [singleWords, wordsWrap] = await Promise.all([ - this.getBoundingClientRect( - '.ant-rare-words-keyboard-match_words_hidden' - ), - this.getBoundingClientRect( - '.ant-rare-words-keyboard-match_words_inner' - ), - ]); - if (!wordsWrap?.width || !singleWords?.width) return; - const maxDisplayNumInOneLine = parseInt( - (wordsWrap?.width / singleWords?.width).toString(), - 10 - ); - this.setData({ maxDisplayNum: maxDisplayNumInOneLine }); - }, - - // 加载字体 - loadFont() { - this.setData({ - loading: true, - }); - loadFontFace() - .then(() => { - this.setData({ showErrorPage: false, loading: false }); - }) - .catch((err) => { - this.setData({ showErrorPage: true, loading: false }); - triggerEvent(this, 'error', err); - }); - }, - - // 点击重试 - handleRetry() { - this.loadFont(); - }, - - handleWordClick(e) { - const { value = '' } = e.currentTarget.dataset; - if (!value) return; - triggerEvent(this, 'change', value); - this.handleHide(); - }, - }, - { - loading: false, - inputValue: [], // 已输入的字符数组 - displayStr: '', // 已输入的字符串 - matchWordsList: [], // 候选字列表 - showMoreWords: false, // 是否展示更多候选字 - pinyinMaps: PINYIN_MAP, // 拼音键盘 - maxDisplayNum: 0, // 一行最多展示的字数 - showErrorPage: false, // 是否展示错误页 - }, - null, - { - didMount() { - this.loadFont(); - this.computeMaxDisplayNum(); - }, - } -); diff --git a/compiled/alipay/src/RareWordsKeyboard/props.ts b/compiled/alipay/src/RareWordsKeyboard/props.ts deleted file mode 100644 index 574caf3f9..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/props.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface ICommonError { - detail: Error; // 错误详情 - errorCode: string; // 错误码 - message: string; // 错误文案 - onRetry?: () => Promise; // 重试的错误方法 -} - -export enum InputTypes { - stroke = 'stroke', // 笔画输入 - pinyin = 'pinyin', // 拼音输入 - handwriting = 'handwriting', // 手写输入 -} - -export interface IPinYinMapItem { - label: string; // 展示的文案 - value: string; // 实际输入的值 - extraClassName?: string; // 额外域名,用来定制样式 -} - -export interface IWordsItem { - charId?: string; // 生僻字唯一ID - unicodeChar: string; // unicode 字符 - unicodeCodePoint: string; // unicode 码点 - unicodeFont: string | null; // 单个字字体文件地址 - pinYinChars: string[]; // 拼音 - splitChars: string[]; // 拆字 - weight?: number | null; // 权重 - type?: string; // 类型 - extInfo?: string | null; // 其他信息 - sort?: number; // 排序得分 -} - -export type IFilterType = 'pinyin' | 'split' | 'all'; - -export interface IWordsItem { - charId?: string; // 生僻字唯一ID - unicodeChar: string; // unicode 字符 - unicodeCodePoint: string; // unicode 码点 - unicodeFont: string | null; // 单个字字体文件地址 - pinYinChars: string[]; // 拼音 - splitChars: string[]; // 拆字 - weight?: number | null; // 权重 - type?: string; // 类型 - extInfo?: string | null; // 其他信息 - sort?: number; // 排序得分 -} - -export type IWordsData = IWordsItem[]; - -export interface IRareWordsKeyboardProps extends IBaseProps { - /** - * @title 是否可见 - */ - visible?: boolean; - - /** - * @title 键盘类型 - */ - type?: InputTypes | string; - - /** - * @title 是否展示蒙层 - * @description 默认 true - */ - showMask?: boolean; - - /** - * @description 安全距离 - * @default true - */ - safeArea?: boolean; - - /** - * @title 关闭的时候触发的回调 - */ - onClose?: () => void; - - /** - * @title 输入完成的时候触发的回调 - */ - onChange?: (value: string) => void; - - /** - * @title 组件错误的时候的回调 - */ - onError?: (err: Error) => void; -} - -export const RareWordsKeyboardProps: Partial = { - visible: false, - type: 'pinyin', - showMask: true, - safeArea: true, -}; diff --git a/compiled/alipay/src/RareWordsKeyboard/utils.ts b/compiled/alipay/src/RareWordsKeyboard/utils.ts deleted file mode 100644 index 17a36bf59..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/utils.ts +++ /dev/null @@ -1,292 +0,0 @@ -import { IWordsData, IFilterType } from './props'; -import { ZDATAS } from './zdatas'; -import { loadFontFace as loadFontFaceJSAPI } from '../_util/jsapi/load-font-face'; - -/** - * json转字符串 - * @param {string} data 需要转json的字符串 - * @return {object} json 字符串 - */ -export function safeJSONparse(data: string): object { - let result; - try { - result = JSON.parse(data); - } catch { - result = {}; - } - return result || {}; -} - -/** - * 判断数组是否为空 - */ -export function isWordsDataEmpty(arr) { - if (!arr) return true; - if (!Array.isArray(arr)) return true; - if (arr.length === 0) return true; - // 数据合法性校验 - if (!arr?.[0]?.charId) return true; - return false; -} - -/** - * 清除字符串里的数字 - */ -export function clearNumberInStr(str: string) { - return str.replace(/[0-9]/gi, ''); -} - -/** - * 格式化字库数据 - * @param datas ZDatas 数据 - * @return {IWordsData} 字库 - */ -export function formatZDatas(datas = []) { - return datas.map((item) => { - return { - ...item, - pinYinChars: item.pinYinChars.map((i) => i.char), - splitChars: item.splitChars.map((i) => i.char), - }; - }); -} - -/** - * 候选字推荐序函数 - * 考虑两个维度,一个是输入值和生僻字的匹配程度,比如你输入YA 雅是完全匹配,炎是模糊匹配,排列的时候肯定”雅“在前面, - * 如果除了”雅“还有一个”亚“,两个都是完全匹配,这个时候就看哪个字占比高,哪个就排在前面 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @param {string} filterKey 过滤依据的key值 - * @return {IWordsData} 返回符合要求并且排序好的候选项列表 - */ -export function matchWordsRecommend( - wordsData: IWordsData = [], - inputValue = '', - filterKey: IFilterType = 'all' -) { - return wordsSorter( - wordsFilter(wordsData, inputValue, filterKey), - inputValue, - filterKey - ); -} - -/** - * 字库过滤,只挑选符合要求的候选字 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @param {string} filterKey 过滤依据的key值 - * @return {IWordsData} 返回符合要求并且排序好的候选项列表 - */ -export function wordsFilter( - wordsData: IWordsData = [], - inputValue = '', - filterKey: IFilterType = 'all' -): IWordsData { - // 字库数据为空降级为使用本地数据 - if (!wordsData || isWordsDataEmpty(wordsData)) - wordsData = formatZDatas(ZDATAS.datas); - if (!inputValue) return []; - - switch (filterKey) { - case 'all': - /* eslint-disable-next-line no-case-declarations */ - const matchPinyinArr = filterByPinyin(wordsData, inputValue); - /* eslint-disable-next-line no-case-declarations */ - const matchSplitArr = filterBySplitWord(wordsData, inputValue); - return mergeMatchWordsArr(matchPinyinArr, matchSplitArr); - case 'pinyin': - return filterByPinyin(wordsData, inputValue); - case 'split': - return filterBySplitWord(wordsData, inputValue); - default: - return []; - break; - } -} - -/** - * 根据拼音过滤候选项 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function filterByPinyin( - wordsData: IWordsData = [], - inputValue = '' -): IWordsData { - const keyTranslate = inputValue.toUpperCase(); - return wordsData.filter((item) => { - const pinYinChars = item?.pinYinChars || []; - if (pinYinChars.length === 0) return false; - return ( - pinYinChars.filter((pinyinItem) => { - return pinyinItem.indexOf(keyTranslate) > -1; - }).length > 0 - ); - }); -} - -/** - * 根据拆字过滤候选项 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function filterBySplitWord( - wordsData: IWordsData = [], - inputValue = '' -): IWordsData { - return wordsData.filter((item) => { - const splitChars = item.splitChars || []; - if (splitChars.length === 0) { - return false; - } - return ( - splitChars.filter((splitItem) => { - return splitItem.indexOf(inputValue) > -1; - }).length > 0 - ); - }); -} - -/** - * 合并多个候选项数组 - * @param {IWordsData} pinyinMatchArr 拼音匹配的候选项 - * @param {IWordsData} splitMatchArr 拼音匹配的候选项 - * @return {IWordsData} 返回合并后的候选项列表 - */ -function mergeMatchWordsArr( - pinyinMatchArr: IWordsData, - splitMatchArr: IWordsData -) { - const unDuplicate = [...pinyinMatchArr, ...splitMatchArr]; - if (unDuplicate.length === 0) return unDuplicate; - - const results = []; - unDuplicate.forEach((item) => { - const findDuplicateWords = results.filter((item2) => { - return item.unicodeCodePoint === item2.unicodeCodePoint; - }); - if (findDuplicateWords.length === 0) results.push(item); - }); - return results; -} - -/** - * 候选项排序,用户选择可能性高的候选项排在前面 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @param {string} filterKey 过滤依据的key值 - * @return {IWordsData} 返回符合要求并且排序好的候选项列表 - */ -export function wordsSorter( - wordsData: IWordsData, - inputValue: string, - filterKey: IFilterType = 'all' -): IWordsData { - switch (filterKey) { - case 'all': - // 当输入值以字母开头使用拼音排序 - if (/^[a-zA-Z0-9]+$/.test(inputValue)) { - return sortByPinyin(wordsData, inputValue); - } - return sortBySplitWord(wordsData, inputValue); - case 'pinyin': - return sortByPinyin(wordsData, inputValue); - case 'split': - return sortBySplitWord(wordsData, inputValue); - default: - return []; - break; - } -} - -/** - * 根据拼音给候选项排序 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function sortByPinyin(wordsData: IWordsData = [], inputValue = ''): IWordsData { - const arr = wordsData.slice(); - // 清除输入值中的数字 - const keyTranslate = clearNumberInStr(inputValue.toUpperCase()); - - arr.forEach((item) => { - let sort = 0; - const pinYinChars = (item.pinYinChars || []).map((pinyin) => { - return clearNumberInStr(pinyin.toUpperCase()); - }); - - // 拼音完全匹配 + 10000 - if (pinYinChars.indexOf(keyTranslate) > -1) sort += 10000; - - // 拼音模糊匹配 + 5000 - if ( - pinYinChars.filter((splitKey) => splitKey.indexOf(keyTranslate) === 0) - .length > 0 - ) { - sort += 5000; - } - - // 加上当前字的权重 - sort += item.weight || 0; - - /* eslint-disable no-param-reassign */ - item.sort = sort; - }); - - // 根据最终排序值排序 - arr.sort((item1, item2) => (item2.sort || 0) - (item1.sort || 0)); - - return arr; -} - -/** - * 根据拆字给候选项排序 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function sortBySplitWord( - wordsData: IWordsData = [], - inputValue = '' -): IWordsData { - const arr = wordsData.slice(); - - arr.forEach((item) => { - let sort = 0; - const p = item.splitChars || []; - - // 拆字完全匹配 + 10000 - if (p.indexOf(inputValue) > -1) sort += 10000; - - // 拆字模糊匹配 + 5000 - if (p.filter((splitKey) => splitKey.indexOf(inputValue) === 0).length > 0) { - sort += 5000; - } - - // 加上当前字的权重 - sort += item.weight || 0; - - /* eslint-disable no-param-reassign */ - item.sort = sort; - }); - - // 根据最终排序值排序 - arr.sort((item1, item2) => (item2.sort || 0) - (item1.sort || 0)); - return arr; -} - -/** - * 加载远程字体 - */ -export async function loadFontFace() { - const fontName = `url("${ZDATAS.fontUrl}")`; - return loadFontFaceJSAPI({ - family: 'rare-words-font', - source: fontName, - }); -} diff --git a/compiled/alipay/src/RareWordsKeyboard/variable.less b/compiled/alipay/src/RareWordsKeyboard/variable.less deleted file mode 100644 index 9a8308add..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/variable.less +++ /dev/null @@ -1,19 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@rare-words-keyboard-color: var( - --rare-words-keyboard-color, - @COLOR_TEXT_PRIMARY -); -@rare-words-bg: var(--rare-words-bg, rgba(0, 0, 0, 0.45)); -@rare-words-kb-bg: var(--rare-words-kb-bg, @COLOR_BACKGROUND); -@rare-words-border-color: var(--rare-words-border-color, @COLOR_BORDER); -@rare-words-inner-bg: var(--rare-words-inner-bg, @COLOR_TEXT_WEAK); -@rare-words-active-color: var(--rare-words-active-color, @COLOR_BRAND1); -@rare-words-pinyin-color: var(--rare-words-pinyin-color, @COLOR_BACKGROUND); -@rare-words-pinyin-key-color: var(--rare-words-pinyin-key-color, @COLOR_WHITE); -@rare-words-item-tips-color: var( - --rare-words-item-tips-color, - @COLOR_TEXT_SECONDARY -); -@rare-words-keyboard-bg: var(--rare-words-keyboard-bg, #4a4a4a); diff --git a/compiled/alipay/src/RareWordsKeyboard/zdatas.ts b/compiled/alipay/src/RareWordsKeyboard/zdatas.ts deleted file mode 100644 index 6b8c19bea..000000000 --- a/compiled/alipay/src/RareWordsKeyboard/zdatas.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const ZDATAS = { - version: '1.0.4', - fontUrl: 'https://mdn.alipayobjects.com/huamei_2fq7mt/afts/file/A*wBbQRYCq_p4AAAAAAAAAAAAADh58AQ/RareWordsFonts.ttf', - datas: [{"charId":"d88cab","unicodeChar":"𮧵","unicodeCodePoint":"2E9F5","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"韦华"}],"weight":"10"},{"charId":"84c3c9","unicodeChar":"𬀩","unicodeCodePoint":"2C029","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"日韦"}],"weight":"10"},{"charId":"2006a3","unicodeChar":"𤩽","unicodeCodePoint":"24A7D","pinYinChars":[{"char":"HUAN2"}],"splitChars":[{"char":"王献"}],"weight":"10"},{"charId":"b93b09","unicodeChar":"㑇","unicodeCodePoint":"3447","pinYinChars":[{"char":"ZHOU1"}],"splitChars":[{"char":"亻刍"},{"char":"人刍"}],"weight":"10"},{"charId":"4e9967","unicodeChar":"𣲗","unicodeCodePoint":"23C97","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"氵韦"},{"char":"水韦"}],"weight":"10"},{"charId":"91f144","unicodeChar":"𰵞","unicodeCodePoint":"30D5E","pinYinChars":[{"char":"YONG1"}],"splitChars":[{"char":"讠永"},{"char":"言永"}],"weight":"10"},{"charId":"00267b","unicodeChar":"𠇔","unicodeCodePoint":"201D4","pinYinChars":[{"char":"TUO1"}],"splitChars":[{"char":"亻毛"},{"char":"人毛"}],"weight":"10"},{"charId":"a50d8e","unicodeChar":"冄","unicodeCodePoint":"5184","pinYinChars":[{"char":"RAN2"}],"splitChars":[],"weight":"8"},{"charId":"264ae4","unicodeChar":"䒟","unicodeCodePoint":"449F","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"艹丹"},{"char":"草丹"}],"weight":"8"},{"charId":"0dbd6a","unicodeChar":"𡛓","unicodeCodePoint":"216D3","pinYinChars":[{"char":"RAN3"}],"splitChars":[{"char":"女丹"}],"weight":"10"},{"charId":"bc8447","unicodeChar":"𡝗","unicodeCodePoint":"21757","pinYinChars":[{"char":"JUN1"},{"char":"QUN2"}],"splitChars":[{"char":"女君"}],"weight":"10"},{"charId":"f6db38","unicodeChar":"𪻐","unicodeCodePoint":"2AED0","pinYinChars":[{"char":"CONG1"}],"splitChars":[{"char":"王从"}],"weight":"10"},{"charId":"4b5c44","unicodeChar":"𫰡","unicodeCodePoint":"2BC21","pinYinChars":[{"char":"HUA4"}],"splitChars":[{"char":"女华"}],"weight":"10"},{"charId":"8ee75e","unicodeChar":"䴖","unicodeCodePoint":"4D16","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"青鸟"}],"weight":"10"},{"charId":"b575d0","unicodeChar":"𠅤","unicodeCodePoint":"20164","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"亠思"},{"char":"二思"},{"char":"亩心"}],"weight":"10"},{"charId":"e95ed7","unicodeChar":"𪨧","unicodeCodePoint":"2AA27","pinYinChars":[{"char":"LUN2"}],"splitChars":[{"char":"山仑"}],"weight":"10"},{"charId":"a6819c","unicodeChar":"𰎝","unicodeCodePoint":"3039D","pinYinChars":[{"char":"JUN1"},{"char":"HUN2"}],"splitChars":[{"char":"山军"}],"weight":"10"},{"charId":"1968a4","unicodeChar":"𫰍","unicodeCodePoint":"2BC0D","pinYinChars":[{"char":"WEI2"},{"char":"WEI3"}],"splitChars":[{"char":"女韦"}],"weight":"10"},{"charId":"b7232e","unicodeChar":"㺭","unicodeCodePoint":"3EAD","pinYinChars":[{"char":"ZI3"}],"splitChars":[{"char":"王子"}],"weight":"10"},{"charId":"96477d","unicodeChar":"𬳳","unicodeCodePoint":"2CCF3","pinYinChars":[{"char":"FAN1"}],"splitChars":[{"char":"马风"}],"weight":"10"},{"charId":"2930db","unicodeChar":"𫍽","unicodeCodePoint":"2B37D","pinYinChars":[{"char":"XUAN1"}],"splitChars":[{"char":"讠睘"},{"char":"言睘"}],"weight":"10"},{"charId":"1658b6","unicodeChar":"禤","unicodeCodePoint":"79A4","pinYinChars":[{"char":"XUAN1"}],"splitChars":[{"char":"衣四羽"}],"weight":"8"},{"charId":"c48f08","unicodeChar":"𮣳","unicodeCodePoint":"2E8F3","pinYinChars":[{"char":"HONG2"},{"char":"GONG1"}],"splitChars":[{"char":"钅厷"},{"char":"金厷"}],"weight":"10"},{"charId":"ecefb5","unicodeChar":"晔","unicodeCodePoint":"6654","pinYinChars":[{"char":"YE4"}],"splitChars":[{"char":"日华"}],"weight":"8"},{"charId":"4b8f40","unicodeChar":"堃","unicodeCodePoint":"5803","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"方方土"}],"weight":"10"},{"charId":"1fd65a","unicodeChar":"䜣","unicodeCodePoint":"4723","pinYinChars":[{"char":"XI1"},{"char":"XIN1"},{"char":"YIN2"}],"splitChars":[{"char":"讠斤"},{"char":"言斤"}],"weight":"10"},{"charId":"064f5d","unicodeChar":"𬴂","unicodeCodePoint":"2CD02","pinYinChars":[{"char":"FEI1"}],"splitChars":[{"char":"马非"}],"weight":"10"},{"charId":"a74408","unicodeChar":"𰤕","unicodeCodePoint":"30915","pinYinChars":[{"char":"LI4"},{"char":"LUO4"}],"splitChars":[{"char":"白乐"}],"weight":"10"},{"charId":"b3c669","unicodeChar":"𬍤","unicodeCodePoint":"2C364","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"王寻"}],"weight":"10"},{"charId":"913adc","unicodeChar":"𪲔","unicodeCodePoint":"2AC94","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"木丽"}],"weight":"10"},{"charId":"1ef9de","unicodeChar":"𬱵","unicodeCodePoint":"2CC75","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"风韦"}],"weight":"10"},{"charId":"03e311","unicodeChar":"𪿖","unicodeCodePoint":"2AFD6","pinYinChars":[{"char":"TAN2"}],"splitChars":[{"char":"石玄"}],"weight":"10"},{"charId":"9dc76c","unicodeChar":"𨭉","unicodeCodePoint":"28B49","pinYinChars":[{"char":"BAN1"}],"splitChars":[{"char":"斌金"}],"weight":"10"},{"charId":"9a6923","unicodeChar":"𰾫","unicodeCodePoint":"30FAB","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"钅监"},{"char":"金监"}],"weight":"10"},{"charId":"d18a6f","unicodeChar":"㛠","unicodeCodePoint":"36E0","pinYinChars":[{"char":"JIAN1"},{"char":"XIAN2"}],"splitChars":[{"char":"女间"}],"weight":"8"},{"charId":"db6725","unicodeChar":"𫗇","unicodeCodePoint":"2B5C7","pinYinChars":[{"char":"YU4"},{"char":"XUE2"}],"splitChars":[{"char":"风日"}],"weight":"8"},{"charId":"7b7ee0","unicodeChar":"𱃚","unicodeCodePoint":"310DA","pinYinChars":[{"char":"XIE2"},{"char":"LIE4"},{"char":"LI4"}],"splitChars":[{"char":"风劦"}],"weight":"8"},{"charId":"2bce53","unicodeChar":"㐵","unicodeCodePoint":"3435","pinYinChars":[{"char":"RU2"}],"splitChars":[{"char":"亻于"}],"weight":"8"},{"charId":"2c64ee","unicodeChar":"𬬬","unicodeCodePoint":"2CB2C","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"钅韦"},{"char":"金韦"}],"weight":"10"},{"charId":"62877c","unicodeChar":"𫢒","unicodeCodePoint":"2B892","pinYinChars":[{"char":"LONG2"},{"char":"LONG3"},{"char":"LONG4"}],"splitChars":[{"char":"亻龙"}],"weight":"8"},{"charId":"d4153a","unicodeChar":"𫢸","unicodeCodePoint":"2B8B8","pinYinChars":[{"char":"DAN4"}],"splitChars":[{"char":"亻单"}],"weight":"8"},{"charId":"cc2b4b","unicodeChar":"𱎞","unicodeCodePoint":"3139E","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"亻卫"}],"weight":"8"},{"charId":"81998b","unicodeChar":"㑳","unicodeCodePoint":"3473","pinYinChars":[{"char":"ZHOU4"}],"splitChars":[{"char":"亻芻"}],"weight":"8"},{"charId":"d49bf3","unicodeChar":"𠊟","unicodeCodePoint":"2029F","pinYinChars":[{"char":"MIN3"}],"splitChars":[{"char":"亻黾"}],"weight":"8"},{"charId":"b26bb6","unicodeChar":"㮾","unicodeCodePoint":"3BBE","pinYinChars":[{"char":"LANG3"}],"splitChars":[{"char":"朗木"}],"weight":"8"},{"charId":"ddf4aa","unicodeChar":"𣑮","unicodeCodePoint":"2346E","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"木舟"}],"weight":"8"},{"charId":"157d20","unicodeChar":"𱣉","unicodeCodePoint":"318C9","pinYinChars":[{"char":"CONG1"},{"char":"ZONG1"}],"splitChars":[{"char":"木丛"}],"weight":"8"},{"charId":"d7bc9c","unicodeChar":"","unicodeCodePoint":"3190F","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"林林"}],"weight":"8"},{"charId":"7dee10","unicodeChar":"𡌶","unicodeCodePoint":"21336","pinYinChars":[{"char":"BAN4"}],"splitChars":[{"char":"土並"}],"weight":"8"},{"charId":"da00b5","unicodeChar":"𱮺","unicodeCodePoint":"31BBA","pinYinChars":[{"char":"TIAN1"},{"char":"ZHEN1"}],"splitChars":[{"char":"王贞"}],"weight":"8"},{"charId":"5e785e","unicodeChar":"𪛞","unicodeCodePoint":"2A6DE","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"王荣"}],"weight":"8"},{"charId":"246507","unicodeChar":"𬱟","unicodeCodePoint":"2CC5F","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"危页"}],"weight":"10"},{"charId":"65fb41","unicodeChar":"𫞦","unicodeCodePoint":"2B7A6","pinYinChars":[{"char":"JI4"},{"char":"ZI1"}],"splitChars":[{"char":"王齐"}],"weight":"8"},{"charId":"22b6df","unicodeChar":"㐱","unicodeCodePoint":"3431","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[],"weight":"8"},{"charId":"75c1f2","unicodeChar":"𫖮","unicodeCodePoint":"2B5AE","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"岂页"}],"weight":"8"},{"charId":"f97ba6","unicodeChar":"𫖯","unicodeCodePoint":"2B5AF","pinYinChars":[{"char":"FU3"},{"char":"TAO1"},{"char":"TIAO44"}],"splitChars":[{"char":"兆页"}],"weight":"8"},{"charId":"997e29","unicodeChar":"𲊿","unicodeCodePoint":"322BF","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"显页"}],"weight":"8"},{"charId":"784534","unicodeChar":"𱪿","unicodeCodePoint":"31ABF ","pinYinChars":[{"char":"XUN1"}],"splitChars":[{"char":"动灬"}],"weight":"8"},{"charId":"7e3793","unicodeChar":"䓫","unicodeCodePoint":"44EB","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"艹奇"}],"weight":"8"},{"charId":"5b55cd","unicodeChar":"燚","unicodeCodePoint":"71DA","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"火火火火"}],"weight":"8"},{"charId":"2337c3","unicodeChar":"𬎆","unicodeCodePoint":"2C386","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"王莹"}],"weight":"10"},{"charId":"95e719","unicodeChar":"𮭦","unicodeCodePoint":"2EB66","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"岑鸟"}],"weight":"8"},{"charId":"4e7341","unicodeChar":"䴙","unicodeCodePoint":"4D19","pinYinChars":[{"char":"PI4"}],"splitChars":[{"char":"辟鸟"}],"weight":"8"},{"charId":"a0c29d","unicodeChar":"䴔","unicodeCodePoint":"4D14","pinYinChars":[{"char":"JIAO1"}],"splitChars":[{"char":"交鸟"}],"weight":"8"},{"charId":"b01882","unicodeChar":"䝼","unicodeCodePoint":"477C","pinYinChars":[{"char":"QING2"}],"splitChars":[{"char":"貝青"},{"char":"贝青"}],"weight":"8"},{"charId":"b84eaf","unicodeChar":"𩇕","unicodeCodePoint":"291D5","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"青彡"},{"char":"靑彡"}],"weight":"8"},{"charId":"060dd4","unicodeChar":"𬘬","unicodeCodePoint":"2C62C","pinYinChars":[{"char":"QING1"},{"char":"ZHENG1"}],"splitChars":[{"char":"纟青"}],"weight":"8"},{"charId":"971908","unicodeChar":"𰵧","unicodeCodePoint":"30D67","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"讠志"}],"weight":"8"},{"charId":"cd0140","unicodeChar":"𰬫","unicodeCodePoint":"30B2B","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"纟致"}],"weight":"8"},{"charId":"9427be","unicodeChar":"𬀪","unicodeCodePoint":"2C02A","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"日见"}],"weight":"8"},{"charId":"012f02","unicodeChar":"㶥","unicodeCodePoint":"3DA5","pinYinChars":[{"char":"GAN1"}],"splitChars":[{"char":"火干"}],"weight":"8"},{"charId":"2efd07","unicodeChar":"㶲","unicodeCodePoint":"3DB2","pinYinChars":[{"char":"YONG4"}],"splitChars":[{"char":"火用"}],"weight":"8"},{"charId":"f0f70c","unicodeChar":"㷧","unicodeCodePoint":"3DE7","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"火原"}],"weight":"8"},{"charId":"7f9254","unicodeChar":"𤎌","unicodeCodePoint":"2438C","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"火堂"}],"weight":"8"},{"charId":"f76202","unicodeChar":"𪸕","unicodeCodePoint":"2AE15","pinYinChars":[{"char":"XI4"}],"splitChars":[{"char":"火气"}],"weight":"8"},{"charId":"0729be","unicodeChar":"𬊈","unicodeCodePoint":"2C288","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"火寻"}],"weight":"8"},{"charId":"b443a7","unicodeChar":"𬊤","unicodeCodePoint":"2C2A4","pinYinChars":[{"char":"CHAN3"},{"char":"DAN1"},{"char":"CHAN4"}],"splitChars":[{"char":"火单"}],"weight":"8"},{"charId":"e01b87","unicodeChar":"𫞡","unicodeCodePoint":"2B7A1","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"火荣"}],"weight":"8"},{"charId":"b0f9cb","unicodeChar":"𤆵","unicodeCodePoint":"241B5","pinYinChars":[{"char":"PA1"}],"splitChars":[{"char":"火巴"}],"weight":"8"},{"charId":"c04d91","unicodeChar":"𫟹","unicodeCodePoint":"2B7F9","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"钅共"}],"weight":"8"},{"charId":"c97fbd","unicodeChar":"𥖄","unicodeCodePoint":"25584","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"石羡"}],"weight":"10"},{"charId":"2b2ec1","unicodeChar":"𨱇","unicodeCodePoint":"28C47","pinYinChars":[{"char":"QIU2"}],"splitChars":[{"char":"钅求"}],"weight":"8"},{"charId":"597805","unicodeChar":"𡵓","unicodeCodePoint":"21D53","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"山厷"}],"weight":"8"},{"charId":"4f3c62","unicodeChar":"竑","unicodeCodePoint":"7AD1","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"立厷"}],"weight":"8"},{"charId":"199018","unicodeChar":"䫺","unicodeCodePoint":"4AFA","pinYinChars":[{"char":"HONG2"},{"char":"HOU4"}],"splitChars":[{"char":"厷风"}],"weight":"8"},{"charId":"7d9ae0","unicodeChar":"珣","unicodeCodePoint":"73E3","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"王旬"}],"weight":"8"},{"charId":"903102","unicodeChar":"焜","unicodeCodePoint":"711C","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"火昆"}],"weight":"8"},{"charId":"0045c0","unicodeChar":"𤨾","unicodeCodePoint":"24A3E","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"王山昆"}],"weight":"8"},{"charId":"e4ca07","unicodeChar":"㛇","unicodeCodePoint":"36C7","pinYinChars":[{"char":"ZHUANG1"}],"splitChars":[{"char":"女庄"}],"weight":"8"},{"charId":"ae78ce","unicodeChar":"琤","unicodeCodePoint":"7424","pinYinChars":[{"char":"CHENG1"}],"splitChars":[{"char":"王争"}],"weight":"8"},{"charId":"81355f","unicodeChar":"玥","unicodeCodePoint":"73A5","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"王月"}],"weight":"8"},{"charId":"5c4e1f","unicodeChar":"旻","unicodeCodePoint":"65FB","pinYinChars":[{"char":"MIN2"}],"splitChars":[{"char":"日文"}],"weight":"8"},{"charId":"5b5ed6","unicodeChar":"䳟","unicodeCodePoint":"4CDF","pinYinChars":[{"char":"MING2"}],"splitChars":[{"char":"明鸟"}],"weight":"8"},{"charId":"fd164b","unicodeChar":"𬭣","unicodeCodePoint":"2CB63","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"钅泉"},{"char":"金泉"}],"weight":"8"},{"charId":"a70a3a","unicodeChar":"璟","unicodeCodePoint":"749F","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"王景"}],"weight":"8"},{"charId":"5921bf","unicodeChar":"𨪪","unicodeCodePoint":"28AAA","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"钅荣"},{"char":"金荣"}],"weight":"8"},{"charId":"7cb879","unicodeChar":"𤧞","unicodeCodePoint":"249DE","pinYinChars":[{"char":"MEI3"}],"splitChars":[{"char":"王美"}],"weight":"8"},{"charId":"6b0040","unicodeChar":"垚","unicodeCodePoint":"579A","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"土土土"}],"weight":"8"},{"charId":"0ce2a5","unicodeChar":"𫘧","unicodeCodePoint":"2B627","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"马录"}],"weight":"8"},{"charId":"774a78","unicodeChar":"㭎","unicodeCodePoint":"3B4E","pinYinChars":[{"char":"GANG1"}],"splitChars":[{"char":"木冈"}],"weight":"8"},{"charId":"30b346","unicodeChar":"㧏","unicodeCodePoint":"39CF","pinYinChars":[{"char":"GANG1"}],"splitChars":[{"char":"扌冈"}],"weight":"8"},{"charId":"a37b92","unicodeChar":"𨓈","unicodeCodePoint":"284C8","pinYinChars":[{"char":"KUO4"}],"splitChars":[],"weight":"8"},{"charId":"121889","unicodeChar":"煇","unicodeCodePoint":"7147","pinYinChars":[{"char":"HUI1"},{"char":"YUN44"},{"char":"XUN1"}],"splitChars":[{"char":"火军"}],"weight":"8"},{"charId":"82846f","unicodeChar":"㧑","unicodeCodePoint":"39D1","pinYinChars":[{"char":"HUI1"}],"splitChars":[{"char":"扌为"}],"weight":"8"},{"charId":"2baf46","unicodeChar":"彧","unicodeCodePoint":"5F67","pinYinChars":[{"char":"YU4"}],"splitChars":[],"weight":"8"},{"charId":"72ddd3","unicodeChar":"𨰻","unicodeCodePoint":"28C3B","pinYinChars":[{"char":"YU4"},{"char":"BAO3"}],"splitChars":[{"char":"金金金金"}],"weight":"8"},{"charId":"dd3cd3","unicodeChar":"𤰉","unicodeCodePoint":"24C09","pinYinChars":[{"char":"LA2"},{"char":"YONG1"}],"splitChars":[{"char":"足用"}],"weight":"8"},{"charId":"f78a86","unicodeChar":"𤰙","unicodeCodePoint":"24C19","pinYinChars":[{"char":"LA1"},{"char":"GE2"},{"char":"KE1"}],"splitChars":[{"char":"九田"}],"weight":"8"},{"charId":"66c867","unicodeChar":"䶮","unicodeCodePoint":"4DAE","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"龙天"}],"weight":"10"},{"charId":"9def2c","unicodeChar":"𠡠","unicodeCodePoint":"20860","pinYinChars":[{"char":"CHI1"}],"splitChars":[{"char":"来力"}],"weight":"8"},{"charId":"dbf23c","unicodeChar":"𫝫","unicodeCodePoint":"2B76B","pinYinChars":[{"char":"LAI1"},{"char":"LAI4"}],"splitChars":[{"char":"女来"}],"weight":"8"},{"charId":"2da6b3","unicodeChar":"㙟","unicodeCodePoint":"365F","pinYinChars":[{"char":"LANG3"}],"splitChars":[{"char":"土朗"}],"weight":"8"},{"charId":"081b01","unicodeChar":"𰵝","unicodeCodePoint":"30D5D","pinYinChars":[{"char":"HE2"}],"splitChars":[{"char":"讠禾"}],"weight":"8"},{"charId":"2e2e4f","unicodeChar":"䄻","unicodeCodePoint":"413B","pinYinChars":[{"char":"CHAO2"},{"char":"TAO2"},{"char":"ZHAO4"}],"splitChars":[{"char":"禾兆"}],"weight":"8"},{"charId":"8eff88","unicodeChar":"𤧟","unicodeCodePoint":"249DF","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"王亭"}],"weight":"8"},{"charId":"7fd1d4","unicodeChar":"䁎","unicodeCodePoint":"404E","pinYinChars":[{"char":"TING2"},{"char":"CHENG2"}],"splitChars":[{"char":"目亭"}],"weight":"8"},{"charId":"36d00c","unicodeChar":"㚢","unicodeCodePoint":"36A2","pinYinChars":[{"char":"NV3"},{"char":"NU2"},{"char":"WU3"}],"splitChars":[{"char":"亻女"}],"weight":"8"},{"charId":"85360b","unicodeChar":"𫔭","unicodeCodePoint":"2B52D","pinYinChars":[{"char":"KAI1"}],"splitChars":[{"char":"门开"}],"weight":"8"},{"charId":"b47214","unicodeChar":"𬮿","unicodeCodePoint":"2CBBF","pinYinChars":[{"char":"AI2"},{"char":"QI1"},{"char":"GAI1"}],"splitChars":[{"char":"阝岂"}],"weight":"8"},{"charId":"fa6662","unicodeChar":"㢨","unicodeCodePoint":"38A8","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"弓干"}],"weight":"8"},{"charId":"9bb1f9","unicodeChar":"𫘛","unicodeCodePoint":"2B61B","pinYinChars":[{"char":"HAN4"},{"char":"HAN2"}],"splitChars":[{"char":"马干"}],"weight":"8"},{"charId":"97fa5d","unicodeChar":"𤆬","unicodeCodePoint":"241AC","pinYinChars":[{"char":"QU3"}],"splitChars":[{"char":"毛灬"}],"weight":"8"},{"charId":"94faf7","unicodeChar":"𪨰","unicodeCodePoint":"2AA30","pinYinChars":[{"char":"QU1"}],"splitChars":[{"char":"山曲"}],"weight":"8"},{"charId":"3b3969","unicodeChar":"𪜔","unicodeCodePoint":"2A714","pinYinChars":[{"char":"QU3"}],"splitChars":[{"char":"九曲"}],"weight":"8"},{"charId":"a5f3cc","unicodeChar":"𫔀","unicodeCodePoint":"2B500","pinYinChars":[{"char":"LIAN44"}],"splitChars":[{"char":"钅柬"},{"char":"金柬"}],"weight":"8"},{"charId":"d7d7b1","unicodeChar":"樑","unicodeCodePoint":"6A11","pinYinChars":[{"char":"LIANG1"}],"splitChars":[],"weight":"8"},{"charId":"17d572","unicodeChar":"𬴀","unicodeCodePoint":"2CD00","pinYinChars":[{"char":"LIANG2"}],"splitChars":[{"char":"马良"}],"weight":"8"},{"charId":"1bf322","unicodeChar":"𬍛","unicodeCodePoint":"2C35B","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"王乐"}],"weight":"10"},{"charId":"f96822","unicodeChar":"𬤐","unicodeCodePoint":"2C910","pinYinChars":[{"char":"GE1"}],"splitChars":[{"char":"讠哥"}],"weight":"8"},{"charId":"d1508c","unicodeChar":"𱯍","unicodeCodePoint":"31BCD","pinYinChars":[{"char":"GE1"}],"splitChars":[{"char":"王哥"}],"weight":"8"},{"charId":"755ea6","unicodeChar":"𬮤","unicodeCodePoint":"2CBA4","pinYinChars":[{"char":"XIA2"},{"char":"GE2"},{"char":"HE2"}],"splitChars":[{"char":"门合"}],"weight":"8"},{"charId":"7e4d31","unicodeChar":"𬮦","unicodeCodePoint":"2CBA6","pinYinChars":[{"char":"GUAN1"}],"splitChars":[{"char":"门关"}],"weight":"8"},{"charId":"12f378","unicodeChar":"𬭚","unicodeCodePoint":"2CB5A","pinYinChars":[{"char":"CHUN2"}],"splitChars":[{"char":"钅享"}],"weight":"8"},{"charId":"e0c603","unicodeChar":"䵍","unicodeCodePoint":"4D4D","pinYinChars":[{"char":"TUN2"}],"splitChars":[{"char":"黄享"}],"weight":"8"},{"charId":"6cf248","unicodeChar":"䴓","unicodeCodePoint":"4D13","pinYinChars":[{"char":"SHI1"}],"splitChars":[{"char":"帀鸟"}],"weight":"8"},{"charId":"5552a2","unicodeChar":"𣛮","unicodeCodePoint":"236EE","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"木盛"}],"weight":"8"},{"charId":"f80e2f","unicodeChar":"𢒉","unicodeCodePoint":"22489","pinYinChars":[{"char":"SHAN3"}],"splitChars":[{"char":"彡且"}],"weight":"8"},{"charId":"0b35aa","unicodeChar":"𬬺","unicodeCodePoint":"2CB3A","pinYinChars":[{"char":"CHU2"},{"char":"ZU1"},{"char":"JU3"},{"char":"XU2"}],"splitChars":[{"char":"钅且"}],"weight":"8"},{"charId":"5ab6cf","unicodeChar":"𬞟","unicodeCodePoint":"2C79F","pinYinChars":[{"char":"PIN2"},{"char":"PING2"}],"splitChars":[{"char":"艹频"}],"weight":"8"},{"charId":"cda910","unicodeChar":"㛃","unicodeCodePoint":"36C3","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"㓞女"}],"weight":"10"},{"charId":"18f13e","unicodeChar":"𬍡","unicodeCodePoint":"2C361","pinYinChars":[{"char":"DANG4"}],"splitChars":[{"char":"汤玉"}],"weight":"8"},{"charId":"61fbef","unicodeChar":"𱔐","unicodeCodePoint":"31510","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"啟口"}],"weight":"8"},{"charId":"57a0a1","unicodeChar":"𪠽","unicodeCodePoint":"2A83D","pinYinChars":[{"char":"DANG1"}],"splitChars":[{"char":"口当"}],"weight":"8"},{"charId":"50d365","unicodeChar":"㗊","unicodeCodePoint":"35CA","pinYinChars":[{"char":"LEI2"},{"char":"JI2"}],"splitChars":[],"weight":"8"},{"charId":"cd99fb","unicodeChar":"㞧","unicodeCodePoint":"37A7","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"山乃"}],"weight":"8"},{"charId":"752b10","unicodeChar":"㞭","unicodeCodePoint":"37AD","pinYinChars":[{"char":"DAI2"}],"splitChars":[{"char":"大山"}],"weight":"8"},{"charId":"daba78","unicodeChar":"𡷫","unicodeCodePoint":"21DEB","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"山成"}],"weight":"8"},{"charId":"593f33","unicodeChar":"𫵷","unicodeCodePoint":"2BD77","pinYinChars":[{"char":"LAI4"},{"char":"LI4"}],"splitChars":[{"char":"山历"}],"weight":"8"},{"charId":"3796ee","unicodeChar":"𬱖","unicodeCodePoint":"2CC56","pinYinChars":[{"char":"DI2"}],"splitChars":[{"char":"由页"}],"weight":"10"},{"charId":"d98817","unicodeChar":"𰎠","unicodeCodePoint":"303A0","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"山严"}],"weight":"8"},{"charId":"22759d","unicodeChar":"𪨶","unicodeCodePoint":"2AA36","pinYinChars":[{"char":"SHE1"}],"splitChars":[{"char":"山大车"}],"weight":"8"},{"charId":"974f5d","unicodeChar":"𪩘","unicodeCodePoint":"2AA58","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"山献"}],"weight":"8"},{"charId":"278c8f","unicodeChar":"𬍑","unicodeCodePoint":"2C351","pinYinChars":[{"char":"SHAN1"}],"splitChars":[],"weight":"8"},{"charId":"c9cc46","unicodeChar":"𫵳","unicodeCodePoint":"2BD73","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"山几"}],"weight":"8"},{"charId":"fa95d0","unicodeChar":"𡹇","unicodeCodePoint":"21E47","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"山林"}],"weight":"8"},{"charId":"24acd3","unicodeChar":"𰎐","unicodeCodePoint":"30390","pinYinChars":[{"char":"LU2"}],"splitChars":[{"char":"山卢"}],"weight":"8"},{"charId":"80d8d5","unicodeChar":"𡸃","unicodeCodePoint":"21E03","pinYinChars":[{"char":"QIAN1"}],"splitChars":[{"char":"山佥"}],"weight":"8"},{"charId":"33ea1d","unicodeChar":"㳇","unicodeCodePoint":"3CC7","pinYinChars":[{"char":"FU2"},{"char":"FU4"}],"splitChars":[{"char":"氵父"}],"weight":"8"},{"charId":"205583","unicodeChar":"𣲘","unicodeCodePoint":"23C98","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"氵无"}],"weight":"8"},{"charId":"18e173","unicodeChar":"𬜬","unicodeCodePoint":"2C72C","pinYinChars":[{"char":"MAN4"}],"splitChars":[{"char":"艹问"},{"char":"草问"}],"weight":"10"},{"charId":"1c3f6b","unicodeChar":"𬇕","unicodeCodePoint":"2C1D5","pinYinChars":[{"char":"WAN4"},{"char":"MAN4"}],"splitChars":[{"char":"氵万"}],"weight":"8"},{"charId":"816ac4","unicodeChar":"𬇙","unicodeCodePoint":"2C1D9","pinYinChars":[{"char":"PEI4"}],"splitChars":[{"char":"氵贝"}],"weight":"8"},{"charId":"2528dd","unicodeChar":"𰛥","unicodeCodePoint":"3.06E+07","pinYinChars":[{"char":"AI2"}],"splitChars":[{"char":"氵岂"}],"weight":"8"},{"charId":"0f89b2","unicodeChar":"𬇹","unicodeCodePoint":"2C1F9","pinYinChars":[{"char":"GUO2"}],"splitChars":[{"char":"氵国"}],"weight":"8"},{"charId":"6e9449","unicodeChar":"㳠","unicodeCodePoint":"3CE0","pinYinChars":[{"char":"TA4"}],"splitChars":[{"char":"氵达"}],"weight":"8"},{"charId":"2fd545","unicodeChar":"𬈜","unicodeCodePoint":"2C21C","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"氵荥"}],"weight":"8"},{"charId":"f87ad0","unicodeChar":"𤊟","unicodeCodePoint":"2429F","pinYinChars":[{"char":"TING3"}],"splitChars":[{"char":"火定"}],"weight":"8"},{"charId":"04abd1","unicodeChar":"𰞔","unicodeCodePoint":"30794","pinYinChars":[{"char":"MI4"}],"splitChars":[{"char":"火名"}],"weight":"8"},{"charId":"1738a3","unicodeChar":"𬊍","unicodeCodePoint":"2C28D","pinYinChars":[{"char":"CHOU2"}],"splitChars":[{"char":"火寿"}],"weight":"8"},{"charId":"185e8f","unicodeChar":"䦷","unicodeCodePoint":"49B7","pinYinChars":[{"char":"CHUAI4"}],"splitChars":[{"char":"门坐"}],"weight":"8"},{"charId":"5f7627","unicodeChar":"䦶","unicodeCodePoint":"49B3","pinYinChars":[{"char":"ZHENG4"},{"char":"ZHI4"}],"splitChars":[{"char":"门争"}],"weight":"8"},{"charId":"b74cec","unicodeChar":"㻌","unicodeCodePoint":"3ECC","pinYinChars":[{"char":"TU2"},{"char":"SHU1"}],"splitChars":[{"char":"王余"}],"weight":"8"},{"charId":"52f09e","unicodeChar":"𫲦","unicodeCodePoint":"2BCA6","pinYinChars":[{"char":"MAN3"}],"splitChars":[{"char":"子兑"}],"weight":"10"},{"charId":"44775c","unicodeChar":"㻑","unicodeCodePoint":"3ED1","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"王季"}],"weight":"8"},{"charId":"155a4c","unicodeChar":"㻴","unicodeCodePoint":"3EF4","pinYinChars":[{"char":"MAN4"}],"splitChars":[{"char":"王曼"}],"weight":"8"},{"charId":"796a7e","unicodeChar":"㻿","unicodeCodePoint":"3EFF","pinYinChars":[{"char":"SHU3"}],"splitChars":[],"weight":"8"},{"charId":"359bde","unicodeChar":"𨱎","unicodeCodePoint":"28C4E","pinYinChars":[{"char":"TOU1"}],"splitChars":[{"char":"钅俞"}],"weight":"8"},{"charId":"fd1326","unicodeChar":"𨱑","unicodeCodePoint":"28C51","pinYinChars":[{"char":"HUANG2"}],"splitChars":[{"char":"钅黄"}],"weight":"8"},{"charId":"94733c","unicodeChar":"𰽚","unicodeCodePoint":"30F5A","pinYinChars":[{"char":"KUANG4"}],"splitChars":[{"char":"钅广"}],"weight":"8"},{"charId":"f1dd1c","unicodeChar":"𬬱","unicodeCodePoint":"2CB31","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"钅斤"}],"weight":"8"},{"charId":"9b123e","unicodeChar":"𬬲","unicodeCodePoint":"2CB32","pinYinChars":[{"char":"PI1"},{"char":"ZHAO1"}],"splitChars":[{"char":"钅爪"}],"weight":"8"},{"charId":"72757b","unicodeChar":"𱂐","unicodeCodePoint":"31090","pinYinChars":[{"char":"YUN4"}],"splitChars":[{"char":"音员"}],"weight":"10"},{"charId":"299be8","unicodeChar":"𰽥","unicodeCodePoint":"30F65","pinYinChars":[{"char":"BING3"}],"splitChars":[{"char":"钅丙"}],"weight":"8"},{"charId":"a25c47","unicodeChar":"𰽦","unicodeCodePoint":"30F66","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"钅龙"}],"weight":"8"},{"charId":"4d9080","unicodeChar":"𲇷","unicodeCodePoint":"321F7","pinYinChars":[{"char":"LIAN4"}],"splitChars":[{"char":"钅东"}],"weight":"8"},{"charId":"f610f4","unicodeChar":"𬬸","unicodeCodePoint":"2CB38","pinYinChars":[{"char":"SHU4"}],"splitChars":[{"char":"钅术"}],"weight":"8"},{"charId":"e7a9b2","unicodeChar":"𬬿","unicodeCodePoint":"2CB3F","pinYinChars":[{"char":"ZHAO1"}],"splitChars":[{"char":"钅召"}],"weight":"8"},{"charId":"fd1073","unicodeChar":"𬭎","unicodeCodePoint":"92D0","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"钅宏"}],"weight":"8"},{"charId":"9.97E+31","unicodeChar":"𲊿","unicodeCodePoint":"322BF","pinYinChars":[],"splitChars":[],"weight":"8"},{"charId":"ef6f47","unicodeChar":"𲂎","unicodeCodePoint":"3208E","pinYinChars":[{"char":"ZHA3"}],"splitChars":[{"char":"讠工白"}],"weight":"8"},{"charId":"9eb748","unicodeChar":"𡌴","unicodeCodePoint":"21334","pinYinChars":[{"char":"ZHI2"}],"splitChars":[{"char":"直土"}],"weight":"8"},{"charId":"531db2","unicodeChar":"𰙕","unicodeCodePoint":"30655","pinYinChars":[{"char":"LOU4"}],"splitChars":[{"char":"娄欠"}],"weight":"8"},{"charId":"1b73f192","unicodeChar":"㩳","unicodeCodePoint":"3A73","pinYinChars":[{"char":"SONG3"}],"splitChars":[{"char":"扌雙"}],"weight":10},{"charId":"7d569613","unicodeChar":"㧟","unicodeCodePoint":"39DF","pinYinChars":[{"char":"KUAI3"}],"splitChars":[{"char":"扌汇"}],"weight":10},{"charId":"4e3a02fc","unicodeChar":"㤘","unicodeCodePoint":"3918","pinYinChars":[{"char":"ZHOU4"}],"splitChars":[{"char":"忄刍"}],"weight":10},{"charId":"07c9da10","unicodeChar":"㥮","unicodeCodePoint":"396E","pinYinChars":[{"char":"ZHOU4"}],"splitChars":[{"char":"忄芻"}],"weight":10},{"charId":"7e6ae317","unicodeChar":"㘎","unicodeCodePoint":"360E","pinYinChars":[{"char":"HAN3"}],"splitChars":[{"char":"口敢"}],"weight":10},{"charId":"4e929a56","unicodeChar":"㘚","unicodeCodePoint":"361A","pinYinChars":[{"char":"HAN3"}],"splitChars":[{"char":"口敢"}],"weight":10},{"charId":"70954621","unicodeChar":"𠃌","unicodeCodePoint":"200CC","pinYinChars":[{"char":"GUN3"}],"splitChars":[{"char":"乙"}],"weight":10},{"charId":"8bc0e94c","unicodeChar":"𠂇","unicodeCodePoint":"20087","pinYinChars":[{"char":"ZUO3"}],"splitChars":[{"char":"一丿"}],"weight":10},{"charId":"fe470155","unicodeChar":"䓖","unicodeCodePoint":"44D6","pinYinChars":[{"char":"QIONG"}],"splitChars":[{"char":"艹穷"}],"weight":10},{"charId":"74aabee4","unicodeChar":"㧐","unicodeCodePoint":"39D0","pinYinChars":[{"char":"SONG3"}],"splitChars":[{"char":"扌双"}],"weight":10},{"charId":"7d73c595","unicodeChar":"䥇","unicodeCodePoint":"4947","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"金扇"}],"weight":10},{"charId":"4167fbfa","unicodeChar":"䙡","unicodeCodePoint":"4661","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"衤貴"}],"weight":10},{"charId":"8caf9937","unicodeChar":"䁖","unicodeCodePoint":"4056","pinYinChars":[{"char":"LOU2"}],"splitChars":[{"char":"目娄"}],"weight":10},{"charId":"888d2965","unicodeChar":"䅟","unicodeCodePoint":"415F","pinYinChars":[{"char":"CAN3"}],"splitChars":[{"char":"禾参"}],"weight":10},{"charId":"db1153cb","unicodeChar":"䴘","unicodeCodePoint":"4D18","pinYinChars":[{"char":"TI1"}],"splitChars":[{"char":"厂鸟"}],"weight":10},{"charId":"345c6d8e","unicodeChar":"䴗","unicodeCodePoint":"4D17","pinYinChars":[{"char":"JU2"}],"splitChars":[{"char":"目鸟"}],"weight":10},{"charId":"33db9798","unicodeChar":"䦃","unicodeCodePoint":"4983","pinYinChars":[{"char":"ZHUO1"}],"splitChars":[{"char":"钅著"}],"weight":10},{"charId":"9ea994c5","unicodeChar":"䥽","unicodeCodePoint":"497D","pinYinChars":[{"char":"PO1"}],"splitChars":[{"char":"钅发"}],"weight":10},{"charId":"c9498569","unicodeChar":"䱷","unicodeCodePoint":"4C77","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"虍攵"}],"weight":10},{"charId":"79b36e82","unicodeChar":"䦟","unicodeCodePoint":"499F","pinYinChars":[{"char":"CHUAI4"}],"splitChars":[{"char":"門坐"}],"weight":10},{"charId":"243cb32b","unicodeChar":"䦛","unicodeCodePoint":"499B","pinYinChars":[{"char":"ZHENG4"}],"splitChars":[{"char":"門争"}],"weight":10},{"charId":"d20b56e0","unicodeChar":"䏝","unicodeCodePoint":"43DD","pinYinChars":[{"char":"ZHUAN1"}],"splitChars":[{"char":"月专"}],"weight":10},{"charId":"f5ef5618","unicodeChar":"䲠","unicodeCodePoint":"4CA0","pinYinChars":[{"char":"CHUN1"}],"splitChars":[{"char":"鱼春"}],"weight":10},{"charId":"8b68b1ba","unicodeChar":"䲣","unicodeCodePoint":"4CA3","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"虍攵"}],"weight":10},{"charId":"585c08a3","unicodeChar":"䲟","unicodeCodePoint":"4C9F","pinYinChars":[{"char":"YIN4"}],"splitChars":[{"char":"鱼印"}],"weight":10},{"charId":"8d03da93","unicodeChar":"𤇾","unicodeCodePoint":"241FE","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"火冖"}],"weight":10},{"charId":"07ba210c","unicodeChar":"䴕","unicodeCodePoint":"4D15","pinYinChars":[{"char":"LIE4"}],"splitChars":[{"char":"列鸟"}],"weight":10},{"charId":"5bc1145e","unicodeChar":"䲢","unicodeCodePoint":"4CA2","pinYinChars":[{"char":"TENG2"}],"splitChars":[{"char":"月鱼"},{"char":"朕鱼"}],"weight":10},{"charId":"d91fcc8d","unicodeChar":"𠅀","unicodeCodePoint":"20140","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"幸云"},{"char":"執云"}],"weight":10},{"charId":"3f8043ef","unicodeChar":"𠂔","unicodeCodePoint":"20094","pinYinChars":[{"char":"ZI3"}],"splitChars":[{"char":"丿丿"}],"weight":10},{"charId":"3b6475f4","unicodeChar":"𠁣","unicodeCodePoint":"20063","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"丨彐"}],"weight":10},{"charId":"3f8c5a09","unicodeChar":"𠁭","unicodeCodePoint":"2006D","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"个个"}],"weight":10},{"charId":"72609326","unicodeChar":"𠀐","unicodeCodePoint":"20010","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"中一"}],"weight":10},{"charId":"1bf1318b","unicodeChar":"𠇁","unicodeCodePoint":"201C1","pinYinChars":[{"char":"YIN3"}],"splitChars":[{"char":"亻引"}],"weight":10},{"charId":"8897e4a8","unicodeChar":"𠆧","unicodeCodePoint":"201A7","pinYinChars":[{"char":"REN2"}],"splitChars":[{"char":"亻人"}],"weight":10},{"charId":"81f7eb3b","unicodeChar":"𠆫","unicodeCodePoint":"201AB","pinYinChars":[{"char":"CAI2"}],"splitChars":[{"char":"亻才"}],"weight":10},{"charId":"897ed12f","unicodeChar":"𠅯","unicodeCodePoint":"2016F","pinYinChars":[{"char":"HE4"}],"splitChars":[{"char":"亦亦"}],"weight":10},{"charId":"90905dc5","unicodeChar":"𠎄","unicodeCodePoint":"20384","pinYinChars":[{"char":"DUN1"}],"splitChars":[{"char":"亻敦"}],"weight":10},{"charId":"078bd327","unicodeChar":"𠋈","unicodeCodePoint":"202C8","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"亻奕"}],"weight":10},{"charId":"c3f335f7","unicodeChar":"𠋄","unicodeCodePoint":"202C4","pinYinChars":[{"char":"JIANG1"}],"splitChars":[{"char":"亻姜"}],"weight":10},{"charId":"347d0d36","unicodeChar":"𠋆","unicodeCodePoint":"202C6","pinYinChars":[{"char":"CHEN4"}],"splitChars":[{"char":"亻亲"}],"weight":10},{"charId":"85b5db1e","unicodeChar":"𠉏","unicodeCodePoint":"2024F","pinYinChars":[{"char":"FENG1"}],"splitChars":[{"char":"亻夆"}],"weight":10},{"charId":"9009a5a9","unicodeChar":"𠉍","unicodeCodePoint":"2024D","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"亻困"}],"weight":10},{"charId":"d27b8973","unicodeChar":"𠈗","unicodeCodePoint":"20217","pinYinChars":[{"char":"GENG4"}],"splitChars":[{"char":"亻亘"}],"weight":10},{"charId":"9e300520","unicodeChar":"𠇷","unicodeCodePoint":"201F7","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"亻生"}],"weight":10},{"charId":"d11ec51c","unicodeChar":"𠇟","unicodeCodePoint":"201DF","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"亻永"}],"weight":10},{"charId":"d0b56608","unicodeChar":"𠇆","unicodeCodePoint":"201C6","pinYinChars":[{"char":"YANG3"}],"splitChars":[{"char":"亻帀"}],"weight":10},{"charId":"dd17057d","unicodeChar":"𠏋","unicodeCodePoint":"203CB","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"亻愚"}],"weight":10},{"charId":"d0609815","unicodeChar":"𠎠","unicodeCodePoint":"203A0","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"亻景"}],"weight":10},{"charId":"e431c42c","unicodeChar":"𠎉","unicodeCodePoint":"20389","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"亻雲"}],"weight":10},{"charId":"1a37d843","unicodeChar":"𠘱","unicodeCodePoint":"20631","pinYinChars":[{"char":"ZHEN3"}],"splitChars":[{"char":"几彡"}],"weight":10},{"charId":"41079cda","unicodeChar":"𠘳","unicodeCodePoint":"20633","pinYinChars":[{"char":"YOU1"}],"splitChars":[{"char":"几山"}],"weight":10},{"charId":"dc3cbe10","unicodeChar":"𠘖","unicodeCodePoint":"20616","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"冫質"}],"weight":10},{"charId":"2ea42b2f","unicodeChar":"𠘰","unicodeCodePoint":"20630","pinYinChars":[{"char":"CHU4"}],"splitChars":[{"char":"几乂"}],"weight":10},{"charId":"6580ed28","unicodeChar":"𠘎","unicodeCodePoint":"2060E","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"冫會"}],"weight":10},{"charId":"949c9fc3","unicodeChar":"𠗚","unicodeCodePoint":"205DA","pinYinChars":[{"char":"CUI4"}],"splitChars":[{"char":"冫卒"}],"weight":10},{"charId":"263348f4","unicodeChar":"𠘂","unicodeCodePoint":"20602","pinYinChars":[{"char":"SOU1"}],"splitChars":[{"char":"冫欠"}],"weight":10},{"charId":"7d54417c","unicodeChar":"𠖓","unicodeCodePoint":"20593","pinYinChars":[{"char":"SI1"}],"splitChars":[{"char":"冖思"}],"weight":10},{"charId":"4c0d9343","unicodeChar":"𠗕","unicodeCodePoint":"205D5","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"冫夋"}],"weight":10},{"charId":"5f5eb1c0","unicodeChar":"𠊰","unicodeCodePoint":"202B0","pinYinChars":[{"char":"GUA1"}],"splitChars":[{"char":"亻咼"}],"weight":10},{"charId":"0d5b5d69","unicodeChar":"𠊙","unicodeCodePoint":"20299","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"亻宜"}],"weight":10},{"charId":"29a1bfb9","unicodeChar":"𠉛","unicodeCodePoint":"2025B","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"亻成"}],"weight":10},{"charId":"d70c90e7","unicodeChar":"𠒼","unicodeCodePoint":"204BC","pinYinChars":[{"char":"HUANG4"}],"splitChars":[{"char":"光晃"}],"weight":10},{"charId":"559c009a","unicodeChar":"𠓙","unicodeCodePoint":"204D9","pinYinChars":[{"char":"XIONG4"}],"splitChars":[{"char":"先先"}],"weight":10},{"charId":"fdcba676","unicodeChar":"𠑰","unicodeCodePoint":"20470","pinYinChars":[{"char":"XIN1"}],"splitChars":[{"char":"舍舍"}],"weight":10},{"charId":"9f93c9ac","unicodeChar":"𠒒","unicodeCodePoint":"20492","pinYinChars":[{"char":"YIN3"}],"splitChars":[{"char":"先引"}],"weight":10},{"charId":"35814e86","unicodeChar":"𠑐","unicodeCodePoint":"20450","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"倉倉"}],"weight":10},{"charId":"06a82d27","unicodeChar":"𠪙","unicodeCodePoint":"20A99","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"厂異"}],"weight":10},{"charId":"d002dceb","unicodeChar":"𠙦","unicodeCodePoint":"20666","pinYinChars":[{"char":"QIONG2"}],"splitChars":[{"char":"𤇾凡"}],"weight":10},{"charId":"2e45be5b","unicodeChar":"𠭦","unicodeCodePoint":"20B66","pinYinChars":[{"char":"BAO4"}],"splitChars":[{"char":"八叟"}],"weight":10},{"charId":"e8bacb02","unicodeChar":"𠝳","unicodeCodePoint":"20773","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"宣刂"}],"weight":10},{"charId":"03f31cc9","unicodeChar":"𠔼","unicodeCodePoint":"2053C","pinYinChars":[{"char":"MAO1"}],"splitChars":[{"char":"冂一"}],"weight":10},{"charId":"e70fbb0d","unicodeChar":"𠻨","unicodeCodePoint":"20EE8","pinYinChars":[{"char":"QIN3"}],"splitChars":[{"char":"口堇"}],"weight":10},{"charId":"632029e3","unicodeChar":"𠔑","unicodeCodePoint":"20511","pinYinChars":[{"char":"HAI4"}],"splitChars":[{"char":"分分"}],"weight":10},{"charId":"ae84f763","unicodeChar":"𠔳","unicodeCodePoint":"20533","pinYinChars":[{"char":"LIAN2"}],"splitChars":[{"char":"产兼"}],"weight":10},{"charId":"24c1cce7","unicodeChar":"𠓾","unicodeCodePoint":"204FE","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"全全"}],"weight":10},{"charId":"3bb6c5ab","unicodeChar":"𠣉","unicodeCodePoint":"208C9","pinYinChars":[{"char":"WAN4"}],"splitChars":[{"char":"需勉"}],"weight":10},{"charId":"8d5eee4c","unicodeChar":"𠢃","unicodeCodePoint":"20883","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"昜力"}],"weight":10},{"charId":"63e80bbf","unicodeChar":"𠡇","unicodeCodePoint":"20847","pinYinChars":[{"char":"TAI2"}],"splitChars":[{"char":"台力"}],"weight":10},{"charId":"68649b74","unicodeChar":"𠞭","unicodeCodePoint":"207AD","pinYinChars":[{"char":"LOU2"}],"splitChars":[{"char":"婁刂"}],"weight":10},{"charId":"51ba2cb3","unicodeChar":"𠳤","unicodeCodePoint":"20CE4","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"口步"}],"weight":10},{"charId":"692f1947","unicodeChar":"𠳇","unicodeCodePoint":"20CC7","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"听口"}],"weight":10},{"charId":"6b897d0f","unicodeChar":"𠯦","unicodeCodePoint":"20BE6","pinYinChars":[{"char":"QIE1"}],"splitChars":[{"char":"口切"}],"weight":10},{"charId":"02a2ba00","unicodeChar":"𠯫","unicodeCodePoint":"20BEB","pinYinChars":[{"char":"GE1"}],"splitChars":[{"char":"口戈"}],"weight":10},{"charId":"345ffae2","unicodeChar":"𠯆","unicodeCodePoint":"20BC6","pinYinChars":[{"char":"NV3"}],"splitChars":[{"char":"口女"}],"weight":10},{"charId":"d313071e","unicodeChar":"𠳿","unicodeCodePoint":"20CFF","pinYinChars":[{"char":"WEI1"}],"splitChars":[{"char":"口尾"}],"weight":10},{"charId":"c689288d","unicodeChar":"𠴇","unicodeCodePoint":"20D07","pinYinChars":[{"char":"BIN1"}],"splitChars":[{"char":"口兵"}],"weight":10},{"charId":"78db9d6c","unicodeChar":"𠳼","unicodeCodePoint":"20CFC","pinYinChars":[{"char":"SONG4"}],"splitChars":[{"char":"口宋"}],"weight":10},{"charId":"e2e25b66","unicodeChar":"𠳭","unicodeCodePoint":"20CED","pinYinChars":[{"char":"KE4"}],"splitChars":[{"char":"口克"}],"weight":10},{"charId":"1505eb03","unicodeChar":"𠰑","unicodeCodePoint":"20C11","pinYinChars":[{"char":"PO3"}],"splitChars":[{"char":"口干"}],"weight":10},{"charId":"a10ecc3f","unicodeChar":"𠰚","unicodeCodePoint":"20C1A","pinYinChars":[{"char":"SHI4"}],"splitChars":[{"char":"口尔"}],"weight":10},{"charId":"a6e6cc48","unicodeChar":"𠧚","unicodeCodePoint":"209DA","pinYinChars":[{"char":"CHI4"}],"splitChars":[{"char":"占人"}],"weight":10},{"charId":"cc21d3f9","unicodeChar":"𠣖","unicodeCodePoint":"208D6","pinYinChars":[{"char":"XUAN2"}],"splitChars":[{"char":"勹玄"}],"weight":10},{"charId":"11ece514","unicodeChar":"𠤏","unicodeCodePoint":"2090F","pinYinChars":[{"char":"BAO3"}],"splitChars":[{"char":"匕十"}],"weight":10},{"charId":"bf027d27","unicodeChar":"𠮵","unicodeCodePoint":"20BB5","pinYinChars":[{"char":"MANG4"}],"splitChars":[{"char":"口上"}],"weight":10},{"charId":"6daae90d","unicodeChar":"𠲍","unicodeCodePoint":"20C8D","pinYinChars":[{"char":"DIU1"}],"splitChars":[{"char":"口丢"}],"weight":10},{"charId":"c0a14dbc","unicodeChar":"𠰻","unicodeCodePoint":"20C3B","pinYinChars":[{"char":"WAI4"}],"splitChars":[{"char":"口外"}],"weight":10},{"charId":"11c27279","unicodeChar":"𠰼","unicodeCodePoint":"20C3C","pinYinChars":[{"char":"PO1"}],"splitChars":[{"char":"口巿"}],"weight":10},{"charId":"54a9cdc2","unicodeChar":"𠰧","unicodeCodePoint":"20C27","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"口玉"}],"weight":10},{"charId":"b4eb4fe4","unicodeChar":"𠰮","unicodeCodePoint":"20C2E","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"口生"}],"weight":10},{"charId":"b642a941","unicodeChar":"𠵖","unicodeCodePoint":"20D56","pinYinChars":[{"char":"JIAN1"}],"splitChars":[{"char":"口戔"}],"weight":10},{"charId":"993a410e","unicodeChar":"𠵕","unicodeCodePoint":"20D55","pinYinChars":[{"char":"MU4"}],"splitChars":[{"char":"口坴"}],"weight":10},{"charId":"5908d88a","unicodeChar":"𠷶","unicodeCodePoint":"20DF6","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"口生"}],"weight":10},{"charId":"d5dae330","unicodeChar":"𠷺","unicodeCodePoint":"20DFA","pinYinChars":[{"char":"BO2"}],"splitChars":[{"char":"口勃"}],"weight":10},{"charId":"16e8a1ef","unicodeChar":"𠷨","unicodeCodePoint":"20DE8","pinYinChars":[{"char":"BIAN3"}],"splitChars":[{"char":"口扁"}],"weight":10},{"charId":"7eb01c21","unicodeChar":"𠷯","unicodeCodePoint":"20DEF","pinYinChars":[{"char":"MEI2"}],"splitChars":[{"char":"口眉"}],"weight":10},{"charId":"ed8c466f","unicodeChar":"𠶗","unicodeCodePoint":"20D97","pinYinChars":[{"char":"ZHI2"}],"splitChars":[{"char":"口直"}],"weight":10},{"charId":"94ac68b3","unicodeChar":"𠵻","unicodeCodePoint":"20D7B","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"口宗"}],"weight":10},{"charId":"09243c21","unicodeChar":"𠵼","unicodeCodePoint":"20D7C","pinYinChars":[{"char":"MENG1"}],"splitChars":[{"char":"口孟"}],"weight":10},{"charId":"8d0edf08","unicodeChar":"𠲮","unicodeCodePoint":"20CAE","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"口巠"}],"weight":10},{"charId":"9f30ebf2","unicodeChar":"𠴢","unicodeCodePoint":"20D22","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"口声"}],"weight":10},{"charId":"3553b4a1","unicodeChar":"𠴱","unicodeCodePoint":"20D31","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"口固"}],"weight":10},{"charId":"6449e176","unicodeChar":"𠷥","unicodeCodePoint":"20DE5","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"口亭"}],"weight":10},{"charId":"ab3ba5e8","unicodeChar":"𠷋","unicodeCodePoint":"20DCB","pinYinChars":[{"char":"HOU4"}],"splitChars":[{"char":"口厚"}],"weight":10},{"charId":"5478f58d","unicodeChar":"𠷁","unicodeCodePoint":"20DC1","pinYinChars":[{"char":"QIAN2"}],"splitChars":[{"char":"口前"}],"weight":10},{"charId":"5ec32402","unicodeChar":"𠷈","unicodeCodePoint":"20DC8","pinYinChars":[{"char":"LV4"}],"splitChars":[{"char":"口律"}],"weight":10},{"charId":"933e6916","unicodeChar":"𠸂","unicodeCodePoint":"20E02","pinYinChars":[{"char":"TU1"}],"splitChars":[{"char":"口突"}],"weight":10},{"charId":"e92194a2","unicodeChar":"𠺕","unicodeCodePoint":"20E95","pinYinChars":[{"char":"LIU1"}],"splitChars":[{"char":"口留"}],"weight":10},{"charId":"98128a48","unicodeChar":"𠺋","unicodeCodePoint":"20E8B","pinYinChars":[{"char":"QUE1"}],"splitChars":[{"char":"口缺"}],"weight":10},{"charId":"c6f7193e","unicodeChar":"𠹔","unicodeCodePoint":"20E54","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"口唐"}],"weight":10},{"charId":"d17d57c1","unicodeChar":"𠹖","unicodeCodePoint":"20E56","pinYinChars":[{"char":"CHAN3"}],"splitChars":[{"char":"口展"}],"weight":10},{"charId":"e68d6314","unicodeChar":"𠹌","unicodeCodePoint":"20E4C","pinYinChars":[{"char":"NENG3"}],"splitChars":[{"char":"口能"}],"weight":10},{"charId":"34e5d968","unicodeChar":"𠸍","unicodeCodePoint":"20E0D","pinYinChars":[{"char":"MEI3"}],"splitChars":[{"char":"口美"}],"weight":10},{"charId":"713cdca6","unicodeChar":"𠸸","unicodeCodePoint":"20E38","pinYinChars":[{"char":"CHUN2"}],"splitChars":[{"char":"口唇"}],"weight":10},{"charId":"e7c28dae","unicodeChar":"𠸄","unicodeCodePoint":"20E04","pinYinChars":[{"char":"YING1"}],"splitChars":[{"char":"口英"}],"weight":10},{"charId":"202a72fb","unicodeChar":"𡊼","unicodeCodePoint":"212BC","pinYinChars":[{"char":"GONG3"}],"splitChars":[{"char":"巩土"}],"weight":10},{"charId":"58cffe22","unicodeChar":"𡊟","unicodeCodePoint":"2129F","pinYinChars":[{"char":"PO1"}],"splitChars":[{"char":"土目"}],"weight":10},{"charId":"da84b1c6","unicodeChar":"𡊵","unicodeCodePoint":"212B5","pinYinChars":[{"char":"TUO2"}],"splitChars":[{"char":"石土"}],"weight":10},{"charId":"1eebb15c","unicodeChar":"𡊔","unicodeCodePoint":"21294","pinYinChars":[{"char":"SHI4"}],"splitChars":[{"char":"土市"}],"weight":10},{"charId":"37d31fa7","unicodeChar":"𡊛","unicodeCodePoint":"2129B","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"土去"}],"weight":10},{"charId":"790035ce","unicodeChar":"𡊍","unicodeCodePoint":"2128D","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"土术"}],"weight":10},{"charId":"e875a183","unicodeChar":"𡉺","unicodeCodePoint":"2127A","pinYinChars":[{"char":"ZUAN1"}],"splitChars":[{"char":"土水"}],"weight":10},{"charId":"86c6b346","unicodeChar":"𡉼","unicodeCodePoint":"2127C","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"升土"}],"weight":10},{"charId":"9c1b1b3f","unicodeChar":"𡉁","unicodeCodePoint":"21241","pinYinChars":[{"char":"DONG"}],"splitChars":[{"char":"土乃"}],"weight":10},{"charId":"63cde096","unicodeChar":"𡉀","unicodeCodePoint":"21240","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"八土"}],"weight":10},{"charId":"d45445f9","unicodeChar":"𡇷","unicodeCodePoint":"211F7","pinYinChars":[{"char":"TAI4"}],"splitChars":[{"char":"八各"}],"weight":10},{"charId":"7c4e2a2c","unicodeChar":"𡄻","unicodeCodePoint":"2113B","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"壹咨"}],"weight":10},{"charId":"51a3b2e4","unicodeChar":"𡁠","unicodeCodePoint":"21060","pinYinChars":[{"char":"ER3"}],"splitChars":[{"char":"口爾"}],"weight":10},{"charId":"84185f5f","unicodeChar":"𡂠","unicodeCodePoint":"210A0","pinYinChars":[{"char":"QIE4"}],"splitChars":[{"char":"口蔡"}],"weight":10},{"charId":"34c5bea6","unicodeChar":"𡀂","unicodeCodePoint":"21002","pinYinChars":[{"char":"LEI2"}],"splitChars":[{"char":"口雷"}],"weight":10},{"charId":"a756cb44","unicodeChar":"𡀃","unicodeCodePoint":"21003","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[{"char":"口斟"}],"weight":10},{"charId":"28b37eda","unicodeChar":"𠿟","unicodeCodePoint":"20FDF","pinYinChars":[{"char":"WO4"}],"splitChars":[{"char":"臼口"}],"weight":10},{"charId":"9a2acf98","unicodeChar":"𠻤","unicodeCodePoint":"20EE4","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"口寅"}],"weight":10},{"charId":"907c67aa","unicodeChar":"𠻜","unicodeCodePoint":"20EDC","pinYinChars":[{"char":"CUI4"}],"splitChars":[{"char":"口率"}],"weight":10},{"charId":"de6a0f6a","unicodeChar":"𠻞","unicodeCodePoint":"20EDE","pinYinChars":[{"char":"KANG3"}],"splitChars":[{"char":"口康"}],"weight":10},{"charId":"8cd8e759","unicodeChar":"𠺝","unicodeCodePoint":"20E9D","pinYinChars":[{"char":"GE1"}],"splitChars":[{"char":"口格"}],"weight":10},{"charId":"58706eb9","unicodeChar":"𠺖","unicodeCodePoint":"20E96","pinYinChars":[{"char":"MU3"}],"splitChars":[{"char":"口畝"}],"weight":10},{"charId":"d3014b6c","unicodeChar":"𠺗","unicodeCodePoint":"20E97","pinYinChars":[{"char":"MI2"}],"splitChars":[{"char":"口迷"}],"weight":10},{"charId":"5730c633","unicodeChar":"𡓕","unicodeCodePoint":"214D5","pinYinChars":[{"char":"XUN1"}],"splitChars":[{"char":"土勳"}],"weight":10},{"charId":"28d8593a","unicodeChar":"𡑭","unicodeCodePoint":"2146D","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"土會"}],"weight":10},{"charId":"391e556f","unicodeChar":"𡒇","unicodeCodePoint":"21487","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"土𡕰"}],"weight":10},{"charId":"57757f79","unicodeChar":"𡐋","unicodeCodePoint":"2140B","pinYinChars":[{"char":"ZAO1"}],"splitChars":[{"char":"土曹"}],"weight":10},{"charId":"f71d23d7","unicodeChar":"𡐤","unicodeCodePoint":"21424","pinYinChars":[{"char":"QI4"}],"splitChars":[{"char":"土絜"}],"weight":10},{"charId":"1b05dcc1","unicodeChar":"𡘪","unicodeCodePoint":"2162A","pinYinChars":[{"char":"MANG2"}],"splitChars":[{"char":"大身"}],"weight":10},{"charId":"bf9781ce","unicodeChar":"𡚌","unicodeCodePoint":"2168C","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"天天"}],"weight":10},{"charId":"c9e72325","unicodeChar":"𡏛","unicodeCodePoint":"213DB","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"土奚"}],"weight":10},{"charId":"15ac9947","unicodeChar":"𡏒","unicodeCodePoint":"213D2","pinYinChars":[{"char":"GEN1"}],"splitChars":[{"char":"根土"}],"weight":10},{"charId":"9f090547","unicodeChar":"𡏅","unicodeCodePoint":"213C5","pinYinChars":[{"char":"LANG2"}],"splitChars":[{"char":"郎土"}],"weight":10},{"charId":"e3066ad5","unicodeChar":"𡎆","unicodeCodePoint":"21386","pinYinChars":[{"char":"DUN1"}],"splitChars":[{"char":"土盾"}],"weight":10},{"charId":"a85bdf86","unicodeChar":"𡌼","unicodeCodePoint":"2133C","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"放土"}],"weight":10},{"charId":"4a396ee4","unicodeChar":"𡍆","unicodeCodePoint":"21346","pinYinChars":[{"char":"FEN1"}],"splitChars":[{"char":"土芬"}],"weight":10},{"charId":"3e9ae2f5","unicodeChar":"𡌭","unicodeCodePoint":"2132D","pinYinChars":[{"char":"DUO1"}],"splitChars":[{"char":"叕土"}],"weight":10},{"charId":"bb501fd8","unicodeChar":"𡋭","unicodeCodePoint":"212ED","pinYinChars":[{"char":"BEI4"}],"splitChars":[{"char":"北土"}],"weight":10},{"charId":"8854234e","unicodeChar":"𡋯","unicodeCodePoint":"212EF","pinYinChars":[{"char":"BO2"}],"splitChars":[{"char":"土孛"}],"weight":10},{"charId":"5a06919b","unicodeChar":"𡋣","unicodeCodePoint":"212E3","pinYinChars":[{"char":"WA1"}],"splitChars":[{"char":"土圭"}],"weight":10},{"charId":"99d4e007","unicodeChar":"𡛈","unicodeCodePoint":"216C8","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"女升"}],"weight":10},{"charId":"31d1a853","unicodeChar":"𡛥","unicodeCodePoint":"216E5","pinYinChars":[{"char":"CHA4"}],"splitChars":[{"char":"女它"}],"weight":10},{"charId":"b21af7bc","unicodeChar":"𡛙","unicodeCodePoint":"216D9","pinYinChars":[{"char":"YAO3"}],"splitChars":[{"char":"女幼"}],"weight":10},{"charId":"e2e61ad3","unicodeChar":"𡛅","unicodeCodePoint":"216C5","pinYinChars":[{"char":"YIN3"}],"splitChars":[{"char":"女引"}],"weight":10},{"charId":"44121cdc","unicodeChar":"𡚽","unicodeCodePoint":"216BD","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"丑女"}],"weight":10},{"charId":"bbfa8744","unicodeChar":"𡚸","unicodeCodePoint":"216B8","pinYinChars":[{"char":"YAO1"}],"splitChars":[{"char":"女么"}],"weight":10},{"charId":"6a01cf22","unicodeChar":"𡚳","unicodeCodePoint":"216B3","pinYinChars":[{"char":"DU4"}],"splitChars":[{"char":"女土"}],"weight":10},{"charId":"54ee7232","unicodeChar":"𡚴","unicodeCodePoint":"216B4","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"山女"}],"weight":10},{"charId":"82088914","unicodeChar":"𡗩","unicodeCodePoint":"215E9","pinYinChars":[{"char":"ZHUAN4"}],"splitChars":[{"char":"火大"}],"weight":10},{"charId":"c4b05080","unicodeChar":"𡖞","unicodeCodePoint":"2159E","pinYinChars":[{"char":"CHAN1"}],"splitChars":[{"char":"多占"}],"weight":10},{"charId":"6b44c996","unicodeChar":"𡕷","unicodeCodePoint":"21577","pinYinChars":[{"char":"XIONG4"}],"splitChars":[{"char":"刀夂"}],"weight":10},{"charId":"69300089","unicodeChar":"𫫌","unicodeCodePoint":"2BACC","pinYinChars":[{"char":"SHAO2"}],"splitChars":[{"char":"咅召"}],"weight":10},{"charId":"279d50c5","unicodeChar":"𭇻","unicodeCodePoint":"2D1FB","pinYinChars":[{"char":"MI3"}],"splitChars":[{"char":"口芋"}],"weight":10},{"charId":"ba32e663","unicodeChar":"𫭗","unicodeCodePoint":"2BB57","pinYinChars":[{"char":"PA4"}],"splitChars":[{"char":"土八"}],"weight":10},{"charId":"c730487e","unicodeChar":"𪠋","unicodeCodePoint":"2A80B","pinYinChars":[{"char":"ZHI2"}],"splitChars":[{"char":"厂直"}],"weight":10},{"charId":"530868eb","unicodeChar":"𪠸","unicodeCodePoint":"2A838","pinYinChars":[{"char":"YO"}],"splitChars":[{"char":"口乐"}],"weight":10},{"charId":"24b5380f","unicodeChar":"𪠵","unicodeCodePoint":"2A835","pinYinChars":[{"char":"TUAN"}],"splitChars":[{"char":"口仑"}],"weight":10},{"charId":"13adcae0","unicodeChar":"𪣯","unicodeCodePoint":"2A8EF","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"土宜"}],"weight":10},{"charId":"58c33376","unicodeChar":"𫭾","unicodeCodePoint":"2BB7E","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"土金"}],"weight":10},{"charId":"646f3517","unicodeChar":"𫭴","unicodeCodePoint":"2BB74","pinYinChars":[{"char":"LI"}],"splitChars":[{"char":"利土"}],"weight":10},{"charId":"01208af5","unicodeChar":"𪣕","unicodeCodePoint":"2A8D5","pinYinChars":[{"char":"KE4"}],"splitChars":[{"char":"土克"}],"weight":10},{"charId":"af5aafa8","unicodeChar":"𦏷","unicodeCodePoint":"263F7","pinYinChars":[{"char":"XIAO1"}],"splitChars":[{"char":"大羽"}],"weight":10},{"charId":"929d6c17","unicodeChar":"𪢲","unicodeCodePoint":"2A8B2","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"土又"}],"weight":10},{"charId":"8e56bc01","unicodeChar":"𪥢","unicodeCodePoint":"2A962","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"火大"}],"weight":10},{"charId":"8111f357","unicodeChar":"𫮪","unicodeCodePoint":"2BBAA","pinYinChars":[{"char":"WO1"}],"splitChars":[{"char":"土窝"}],"weight":10},{"charId":"978f2e5b","unicodeChar":"𪤖","unicodeCodePoint":"2A916","pinYinChars":[{"char":"QIANG3"}],"splitChars":[{"char":"土將"}],"weight":10},{"charId":"1f46414a","unicodeChar":"𪣹","unicodeCodePoint":"2A8F9","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"土亭"}],"weight":10},{"charId":"6853fc5f","unicodeChar":"𫱭","unicodeCodePoint":"2BC6D","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"女雯"}],"weight":10},{"charId":"6730271b","unicodeChar":"𫱡","unicodeCodePoint":"2BC61","pinYinChars":[{"char":"ZHUANG1"}],"splitChars":[{"char":"女莊"}],"weight":10},{"charId":"c3517797","unicodeChar":"𫱛","unicodeCodePoint":"2BC5B","pinYinChars":[{"char":"YANG4"}],"splitChars":[{"char":"女恙"}],"weight":10},{"charId":"c53bbab7","unicodeChar":"𪦈","unicodeCodePoint":"2A988","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"女匽"}],"weight":10},{"charId":"a3e946ed","unicodeChar":"𪦀","unicodeCodePoint":"2A980","pinYinChars":[{"char":"FANG1"}],"splitChars":[{"char":"女芳"}],"weight":10},{"charId":"3001f9a0","unicodeChar":"𫰯","unicodeCodePoint":"2BC2F","pinYinChars":[{"char":"KUN4"}],"splitChars":[{"char":"女困"}],"weight":10},{"charId":"c25191ce","unicodeChar":"𫰭","unicodeCodePoint":"2BC2D","pinYinChars":[{"char":"CE4"}],"splitChars":[{"char":"女赤"}],"weight":10},{"charId":"0ea898f8","unicodeChar":"𫰤","unicodeCodePoint":"2BC24","pinYinChars":[{"char":"MI3"}],"splitChars":[{"char":"女米"}],"weight":10},{"charId":"63faa5f1","unicodeChar":"𦫚","unicodeCodePoint":"26ADA","pinYinChars":[{"char":"KU"}],"splitChars":[{"char":"夸色"}],"weight":10},{"charId":"dd995f4e","unicodeChar":"𪥳","unicodeCodePoint":"2A973","pinYinChars":[{"char":"DIAO4"}],"splitChars":[{"char":"女吊"}],"weight":10},{"charId":"9f8eab17","unicodeChar":"𫰞","unicodeCodePoint":"2BC1E","pinYinChars":[{"char":"LIE4"}],"splitChars":[{"char":"女列"}],"weight":10},{"charId":"1febe4ee","unicodeChar":"𫰝","unicodeCodePoint":"2BC1D","pinYinChars":[{"char":"ZAI4"}],"splitChars":[{"char":"女再"}],"weight":10},{"charId":"e3402c2c","unicodeChar":"𭖂","unicodeCodePoint":"2D582","pinYinChars":[{"char":"WU1"}],"splitChars":[{"char":"山于"}],"weight":10},{"charId":"af4b8cef","unicodeChar":"𪧷","unicodeCodePoint":"2A9F7","pinYinChars":[{"char":"LE4"}],"splitChars":[{"char":"夕寸"}],"weight":10},{"charId":"71d5217a","unicodeChar":"𫲘","unicodeCodePoint":"2BC98","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"女龍"}],"weight":10},{"charId":"17c475c8","unicodeChar":"𪦬","unicodeCodePoint":"2A9AC","pinYinChars":[{"char":"XIAN2"}],"splitChars":[{"char":"女賢"}],"weight":10},{"charId":"7a0960b9","unicodeChar":"𫲊","unicodeCodePoint":"2BC8A","pinYinChars":[{"char":"XUN1"}],"splitChars":[{"char":"女熏"}],"weight":10},{"charId":"102febae","unicodeChar":"𪦫","unicodeCodePoint":"2A9AB","pinYinChars":[{"char":"GE2"}],"splitChars":[{"char":"女閣"}],"weight":10},{"charId":"6dba6c84","unicodeChar":"𫲇","unicodeCodePoint":"2BC87","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"女蓉"}],"weight":10},{"charId":"61cb8b66","unicodeChar":"𫱵","unicodeCodePoint":"2BC75","pinYinChars":[{"char":"ZUN1"}],"splitChars":[{"char":"女尊"}],"weight":10},{"charId":"ca89b753","unicodeChar":"𫵻","unicodeCodePoint":"2BD7B","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"山安"}],"weight":10},{"charId":"6ff1507e","unicodeChar":"𪨯","unicodeCodePoint":"2AA2F","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"成山"}],"weight":10},{"charId":"68ef83b3","unicodeChar":"𭖑","unicodeCodePoint":"2D591","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"山必"}],"weight":10},{"charId":"8dac89dd","unicodeChar":"𡜱","unicodeCodePoint":"21731","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"女忌"}],"weight":10},{"charId":"9badcf9c","unicodeChar":"𡜬","unicodeCodePoint":"2172C","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"女伊"}],"weight":10},{"charId":"59c90e7e","unicodeChar":"𡜦","unicodeCodePoint":"21726","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"卉女"}],"weight":10},{"charId":"20e533a6","unicodeChar":"𡛺","unicodeCodePoint":"216FA","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"矛女"}],"weight":10},{"charId":"a52a5091","unicodeChar":"𡝚","unicodeCodePoint":"2175A","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"女呈"}],"weight":10},{"charId":"9a7f1405","unicodeChar":"𡝐","unicodeCodePoint":"21750","pinYinChars":[{"char":"CHA2"}],"splitChars":[{"char":"女余"}],"weight":10},{"charId":"ed851bec","unicodeChar":"𡛰","unicodeCodePoint":"216F0","pinYinChars":[{"char":"ZHI3"}],"splitChars":[{"char":"女只"}],"weight":10},{"charId":"101e5137","unicodeChar":"𡛯","unicodeCodePoint":"216EF","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"女弗"}],"weight":10},{"charId":"0e440def","unicodeChar":"𡛮","unicodeCodePoint":"216EE","pinYinChars":[{"char":"YOU4"}],"splitChars":[{"char":"女右"}],"weight":10},{"charId":"7553fdf2","unicodeChar":"𡞻","unicodeCodePoint":"217BB","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"女土"}],"weight":10},{"charId":"0f899955","unicodeChar":"𡞹","unicodeCodePoint":"217B9","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"女建"}],"weight":10},{"charId":"626d349e","unicodeChar":"𬁎","unicodeCodePoint":"2C04E","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"日容"}],"weight":10},{"charId":"989715a9","unicodeChar":"𡠀","unicodeCodePoint":"21800","pinYinChars":[{"char":"GAO3"}],"splitChars":[{"char":"女高"}],"weight":10},{"charId":"6dc595e0","unicodeChar":"𡟾","unicodeCodePoint":"217FE","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"女庭"}],"weight":10},{"charId":"7d38fb80","unicodeChar":"𡡡","unicodeCodePoint":"21861","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"女景"}],"weight":10},{"charId":"7ac0cc84","unicodeChar":"𡡠","unicodeCodePoint":"21860","pinYinChars":[{"char":"CHE4"}],"splitChars":[{"char":"女攵"}],"weight":10},{"charId":"f331e11f","unicodeChar":"𡡒","unicodeCodePoint":"21852","pinYinChars":[{"char":"SI1"}],"splitChars":[{"char":"女斯"}],"weight":10},{"charId":"403ae7e2","unicodeChar":"𡡑","unicodeCodePoint":"21851","pinYinChars":[{"char":"ZENG1"}],"splitChars":[{"char":"女曾"}],"weight":10},{"charId":"653a74e8","unicodeChar":"𡟇","unicodeCodePoint":"217C7","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"女彖"}],"weight":10},{"charId":"2aaf47d1","unicodeChar":"𡟄","unicodeCodePoint":"217C4","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"女昱"}],"weight":10},{"charId":"8613c583","unicodeChar":"𡜾","unicodeCodePoint":"2173E","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"女序"}],"weight":10},{"charId":"8d7d1ced","unicodeChar":"𡜲","unicodeCodePoint":"21732","pinYinChars":[{"char":"GAO4"}],"splitChars":[{"char":"女告"}],"weight":10},{"charId":"14243b0f","unicodeChar":"𪰕","unicodeCodePoint":"2AC15","pinYinChars":[{"char":"SHUN4"}],"splitChars":[{"char":"日矢"}],"weight":10},{"charId":"ab831c12","unicodeChar":"𡞫","unicodeCodePoint":"217AB","pinYinChars":[{"char":"NAI4"}],"splitChars":[{"char":"女柰"}],"weight":10},{"charId":"cb8a8e3b","unicodeChar":"𡞙","unicodeCodePoint":"21799","pinYinChars":[{"char":"MIE4"}],"splitChars":[{"char":"女盲"}],"weight":10},{"charId":"a71df32e","unicodeChar":"𡞇","unicodeCodePoint":"21787","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"女朋"}],"weight":10},{"charId":"f783f1b5","unicodeChar":"𡞀","unicodeCodePoint":"21780","pinYinChars":[{"char":"CHANG2"}],"splitChars":[{"char":"女尚"}],"weight":10},{"charId":"fa6b9fbf","unicodeChar":"𡟥","unicodeCodePoint":"217E5","pinYinChars":[{"char":"QU3"}],"splitChars":[{"char":"女禹"}],"weight":10},{"charId":"4c0a609c","unicodeChar":"𡟟","unicodeCodePoint":"217DF","pinYinChars":[{"char":"CONG1"}],"splitChars":[{"char":"女怱"}],"weight":10},{"charId":"75a45a26","unicodeChar":"𡟚","unicodeCodePoint":"217DA","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"女盈"}],"weight":10},{"charId":"5095e2f2","unicodeChar":"𡟊","unicodeCodePoint":"217CA","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"女秋"}],"weight":10},{"charId":"8a84edde","unicodeChar":"𡝍","unicodeCodePoint":"2174D","pinYinChars":[{"char":"QIE4"}],"splitChars":[{"char":"女豕"}],"weight":10},{"charId":"b9a86d84","unicodeChar":"𪰡","unicodeCodePoint":"2AC21","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"日全"}],"weight":10},{"charId":"34266e8e","unicodeChar":"𡝆","unicodeCodePoint":"21746","pinYinChars":[{"char":"JIONG3"}],"splitChars":[{"char":"女冏"}],"weight":10},{"charId":"0a56fae1","unicodeChar":"𡝃","unicodeCodePoint":"21743","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"女步"}],"weight":10},{"charId":"3651aec3","unicodeChar":"𡢾","unicodeCodePoint":"218BE","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"女禁"}],"weight":10},{"charId":"2db7d78b","unicodeChar":"𡢨","unicodeCodePoint":"218A8","pinYinChars":[{"char":"CHENG1"}],"splitChars":[{"char":"女聖"}],"weight":10},{"charId":"1ab997f7","unicodeChar":"𡢒","unicodeCodePoint":"21892","pinYinChars":[{"char":"JU3"}],"splitChars":[{"char":"女豆"}],"weight":10},{"charId":"acc57b8f","unicodeChar":"𬃧","unicodeCodePoint":"2C0E7","pinYinChars":[{"char":"GUAN1"}],"splitChars":[{"char":"木冠"}],"weight":10},{"charId":"006806a2","unicodeChar":"𡢄","unicodeCodePoint":"21884","pinYinChars":[{"char":"MIN3"}],"splitChars":[{"char":"女閔"}],"weight":10},{"charId":"c415bbca","unicodeChar":"𬃡","unicodeCodePoint":"2C0E1","pinYinChars":[{"char":"WEN3"}],"splitChars":[{"char":"木急"}],"weight":10},{"charId":"bfbe8db9","unicodeChar":"𬃠","unicodeCodePoint":"2C0E0","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"木盆"}],"weight":10},{"charId":"eb229dc8","unicodeChar":"𡤕","unicodeCodePoint":"21915","pinYinChars":[{"char":"XIA2"}],"splitChars":[{"char":"女霞"}],"weight":10},{"charId":"c3c73d31","unicodeChar":"𡣺","unicodeCodePoint":"218FA","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"女慧"}],"weight":10},{"charId":"8d059ad6","unicodeChar":"𪲀","unicodeCodePoint":"2AC80","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"木丘"}],"weight":10},{"charId":"bce7e919","unicodeChar":"𡱌","unicodeCodePoint":"21C4C","pinYinChars":[{"char":"HUAN2"}],"splitChars":[{"char":"尸亘"}],"weight":10},{"charId":"07713fc4","unicodeChar":"𬃟","unicodeCodePoint":"2C0DF","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"木苹"}],"weight":10},{"charId":"c16ac70e","unicodeChar":"𬃝","unicodeCodePoint":"2C0DD","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"木苗"}],"weight":10},{"charId":"510bafba","unicodeChar":"𡫀","unicodeCodePoint":"21AC0","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"宀敫"}],"weight":10},{"charId":"0939883e","unicodeChar":"𬃆","unicodeCodePoint":"2C0C6","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"木岳"}],"weight":10},{"charId":"2e74609b","unicodeChar":"𡩯","unicodeCodePoint":"21A6F","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"宀电"}],"weight":10},{"charId":"a54f6ec3","unicodeChar":"𡠧","unicodeCodePoint":"21827","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"其女"}],"weight":10},{"charId":"4ef12afa","unicodeChar":"𬂫","unicodeCodePoint":"2C0AB","pinYinChars":[{"char":"CHUI2"}],"splitChars":[{"char":"𠂤木"}],"weight":10},{"charId":"8c45569d","unicodeChar":"𡠤","unicodeCodePoint":"21824","pinYinChars":[{"char":"QIANG2"}],"splitChars":[{"char":"女强"}],"weight":10},{"charId":"1e1975d3","unicodeChar":"𪲉","unicodeCodePoint":"2AC89","pinYinChars":[{"char":"HOU4"}],"splitChars":[{"char":"木后"}],"weight":10},{"charId":"a2672076","unicodeChar":"𪲇","unicodeCodePoint":"2AC87","pinYinChars":[{"char":"QU1"}],"splitChars":[{"char":"木曲"}],"weight":10},{"charId":"c6def8c2","unicodeChar":"𡡶","unicodeCodePoint":"21876","pinYinChars":[{"char":"WAN3"}],"splitChars":[{"char":"女宛"}],"weight":10},{"charId":"28744e23","unicodeChar":"𡡬","unicodeCodePoint":"2186C","pinYinChars":[{"char":"DUN1"}],"splitChars":[{"char":"女敦"}],"weight":10},{"charId":"faf8e6a9","unicodeChar":"𡡥","unicodeCodePoint":"21865","pinYinChars":[{"char":"QU2"}],"splitChars":[{"char":"女渠"}],"weight":10},{"charId":"295cc2d2","unicodeChar":"𡣮","unicodeCodePoint":"218EE","pinYinChars":[{"char":"CAI4"}],"splitChars":[{"char":"女蔡"}],"weight":10},{"charId":"d412c51f","unicodeChar":"𪱻","unicodeCodePoint":"2AC7B","pinYinChars":[{"char":"BEN3"}],"splitChars":[{"char":"木本"}],"weight":10},{"charId":"c31bb229","unicodeChar":"𡣝","unicodeCodePoint":"218DD","pinYinChars":[{"char":"CUI4"}],"splitChars":[{"char":"女翠"}],"weight":10},{"charId":"e250287d","unicodeChar":"𡣗","unicodeCodePoint":"218D7","pinYinChars":[{"char":"JIA1"}],"splitChars":[{"char":"女嘉"}],"weight":10},{"charId":"36cee484","unicodeChar":"𡣈","unicodeCodePoint":"218C8","pinYinChars":[{"char":"SHU4"}],"splitChars":[{"char":"女署"}],"weight":10},{"charId":"2e73457d","unicodeChar":"𡢿","unicodeCodePoint":"218BF","pinYinChars":[{"char":"NONG2"}],"splitChars":[{"char":"女農"}],"weight":10},{"charId":"76eb31c2","unicodeChar":"𪲖","unicodeCodePoint":"2AC96","pinYinChars":[{"char":"BAO3"}],"splitChars":[{"char":"木呆"}],"weight":10},{"charId":"1a42ef55","unicodeChar":"𡠭","unicodeCodePoint":"2182D","pinYinChars":[{"char":"XUE3"}],"splitChars":[{"char":"女雪"}],"weight":10},{"charId":"81b9b288","unicodeChar":"𬈂","unicodeCodePoint":"2C202","pinYinChars":[{"char":"MENG4"}],"splitChars":[{"char":"氵孟"}],"weight":10},{"charId":"e1d0ce89","unicodeChar":"𡵖","unicodeCodePoint":"21D56","pinYinChars":[{"char":"SE4"}],"splitChars":[{"char":"山火"}],"weight":10},{"charId":"b773f141","unicodeChar":"𪶐","unicodeCodePoint":"2AD90","pinYinChars":[{"char":"AN4"}],"splitChars":[{"char":"氵岸"}],"weight":10},{"charId":"adbb54ff","unicodeChar":"𡳞","unicodeCodePoint":"21CDE","pinYinChars":[{"char":"LIN4"}],"splitChars":[{"char":"尸粦"}],"weight":10},{"charId":"789129fb","unicodeChar":"𡱝","unicodeCodePoint":"21C5D","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"尸羊"}],"weight":10},{"charId":"a0596a55","unicodeChar":"𡱘","unicodeCodePoint":"21C58","pinYinChars":[{"char":"GUANG1"}],"splitChars":[{"char":"尸光"}],"weight":10},{"charId":"3903a0fa","unicodeChar":"𡸔","unicodeCodePoint":"21E14","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"山圭"}],"weight":10},{"charId":"db2d74f5","unicodeChar":"𡸌","unicodeCodePoint":"21E0C","pinYinChars":[{"char":"ZHU4"}],"splitChars":[{"char":"山住"}],"weight":10},{"charId":"82e72eb1","unicodeChar":"𡷰","unicodeCodePoint":"21DF0","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"山辰"}],"weight":10},{"charId":"76ac853f","unicodeChar":"𡷥","unicodeCodePoint":"21DE5","pinYinChars":[{"char":"GAO4"}],"splitChars":[{"char":"告山"}],"weight":10},{"charId":"ab37627d","unicodeChar":"𡷗","unicodeCodePoint":"21DD7","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"山完"}],"weight":10},{"charId":"ef24aec8","unicodeChar":"𡷖","unicodeCodePoint":"21DD6","pinYinChars":[{"char":"CHE1"}],"splitChars":[{"char":"山車"}],"weight":10},{"charId":"b0ed461b","unicodeChar":"𪵬","unicodeCodePoint":"2AD6C","pinYinChars":[{"char":"FAN4"}],"splitChars":[{"char":"氵几"},{"char":"氵凢"}],"weight":10},{"charId":"fdcf6944","unicodeChar":"𡥘","unicodeCodePoint":"21958","pinYinChars":[{"char":"HAO3"}],"splitChars":[{"char":"母子"}],"weight":10},{"charId":"abd04ccd","unicodeChar":"𪵘","unicodeCodePoint":"2AD58","pinYinChars":[{"char":"HUO3"}],"splitChars":[{"char":"毛火"}],"weight":10},{"charId":"4586c981","unicodeChar":"𬆿","unicodeCodePoint":"2C1BF","pinYinChars":[{"char":"WU4"}],"splitChars":[{"char":"毛勿"}],"weight":10},{"charId":"a619d549","unicodeChar":"𡤭","unicodeCodePoint":"2192D","pinYinChars":[{"char":"DANG3"}],"splitChars":[{"char":"女黨"}],"weight":10},{"charId":"712dc80c","unicodeChar":"𡤜","unicodeCodePoint":"2191C","pinYinChars":[{"char":"ZI1"}],"splitChars":[{"char":"壹姿"}],"weight":10},{"charId":"8d099996","unicodeChar":"𬆭","unicodeCodePoint":"2C1AD","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"士冖示殳"}],"weight":10},{"charId":"99491513","unicodeChar":"𡤙","unicodeCodePoint":"21919","pinYinChars":[{"char":"NA4"}],"splitChars":[{"char":"女聶"}],"weight":10},{"charId":"e11a5430","unicodeChar":"𡶏","unicodeCodePoint":"21D8F","pinYinChars":[{"char":"KU1"}],"splitChars":[{"char":"山出"}],"weight":10},{"charId":"c4cd0683","unicodeChar":"𬄿","unicodeCodePoint":"2C13F","pinYinChars":[{"char":"CONG2"}],"splitChars":[{"char":"木取"}],"weight":10},{"charId":"2fd4fcd7","unicodeChar":"𭬎","unicodeCodePoint":"2DB0E","pinYinChars":[{"char":"YONG1"}],"splitChars":[{"char":"木雍"}],"weight":10},{"charId":"6b663564","unicodeChar":"𡵻","unicodeCodePoint":"21D7B","pinYinChars":[{"char":"KANG1"}],"splitChars":[{"char":"山亢"}],"weight":10},{"charId":"acae6209","unicodeChar":"𪳶","unicodeCodePoint":"2ACF6","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"木寒"}],"weight":10},{"charId":"7b5f45a7","unicodeChar":"𡵬","unicodeCodePoint":"21D6C","pinYinChars":[{"char":"MU4"}],"splitChars":[{"char":"山木"}],"weight":10},{"charId":"b8f4f89c","unicodeChar":"𡵚","unicodeCodePoint":"21D5A","pinYinChars":[{"char":"JIE4"}],"splitChars":[{"char":"山介"}],"weight":10},{"charId":"504e504b","unicodeChar":"𪸙","unicodeCodePoint":"2AE19","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"火未"}],"weight":10},{"charId":"8b3c287c","unicodeChar":"𬉼","unicodeCodePoint":"2C27C","pinYinChars":[{"char":"OU1"}],"splitChars":[{"char":"火区"}],"weight":10},{"charId":"47de99ea","unicodeChar":"𪸒","unicodeCodePoint":"2AE12","pinYinChars":[{"char":"HU4"}],"splitChars":[{"char":"火互"}],"weight":10},{"charId":"413c14d2","unicodeChar":"𪸑","unicodeCodePoint":"2AE11","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"火元"}],"weight":10},{"charId":"f3f17ada","unicodeChar":"𡸮","unicodeCodePoint":"21E2E","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"山录"}],"weight":10},{"charId":"be26f832","unicodeChar":"𪸀","unicodeCodePoint":"2AE00","pinYinChars":[{"char":"XIA2"}],"splitChars":[{"char":"氵霞"}],"weight":10},{"charId":"90f662bb","unicodeChar":"𪷸","unicodeCodePoint":"2ADF8","pinYinChars":[{"char":"QING4"}],"splitChars":[{"char":"氵慶"}],"weight":10},{"charId":"6284d947","unicodeChar":"𢁂","unicodeCodePoint":"22042","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"其巳"}],"weight":10},{"charId":"7fec1fa8","unicodeChar":"𪷱","unicodeCodePoint":"2ADF1","pinYinChars":[{"char":"SAI4"}],"splitChars":[{"char":"氵赛"}],"weight":10},{"charId":"6cb5a4f7","unicodeChar":"𡾱","unicodeCodePoint":"21FB1","pinYinChars":[{"char":"MI2"}],"splitChars":[{"char":"山彌"}],"weight":10},{"charId":"da10a47e","unicodeChar":"𡽜","unicodeCodePoint":"21F5C","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"山言"}],"weight":10},{"charId":"8ce5ba4d","unicodeChar":"𡽌","unicodeCodePoint":"21F4C","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"鼓山"}],"weight":10},{"charId":"68fa9b0a","unicodeChar":"𡽂","unicodeCodePoint":"21F42","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"山鼓"}],"weight":10},{"charId":"dac8a512","unicodeChar":"𡷑","unicodeCodePoint":"21DD1","pinYinChars":[{"char":"CI4"}],"splitChars":[{"char":"山次"}],"weight":10},{"charId":"9714ac3b","unicodeChar":"𡷎","unicodeCodePoint":"21DCE","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"山宇"}],"weight":10},{"charId":"b20079a9","unicodeChar":"𪷖","unicodeCodePoint":"2ADD6","pinYinChars":[{"char":"RAN2"}],"splitChars":[{"char":"氵然"}],"weight":10},{"charId":"80afeb41","unicodeChar":"𡶵","unicodeCodePoint":"21DB5","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"山共"}],"weight":10},{"charId":"3e403df3","unicodeChar":"𬈳","unicodeCodePoint":"2C233","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"氵雯"}],"weight":10},{"charId":"87ab5176","unicodeChar":"𬈲","unicodeCodePoint":"2C232","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"氵琪"}],"weight":10},{"charId":"f39a46e6","unicodeChar":"𡶑","unicodeCodePoint":"21D91","pinYinChars":[{"char":"GAN1"}],"splitChars":[{"char":"山甘"}],"weight":10},{"charId":"d7e8c06d","unicodeChar":"𡶐","unicodeCodePoint":"21D90","pinYinChars":[{"char":"QIE2"}],"splitChars":[{"char":"山加"}],"weight":10},{"charId":"4df91204","unicodeChar":"𪶹","unicodeCodePoint":"2ADB9","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"氵庭"}],"weight":10},{"charId":"2cc55639","unicodeChar":"𬈠","unicodeCodePoint":"2C220","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"氵畐"}],"weight":10},{"charId":"9ad3cfff","unicodeChar":"𡺨","unicodeCodePoint":"21EA8","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"山韋"}],"weight":10},{"charId":"c1bc3ffb","unicodeChar":"𡺠","unicodeCodePoint":"21EA0","pinYinChars":[{"char":"HUN2"}],"splitChars":[{"char":"山軍"}],"weight":10},{"charId":"18e6a788","unicodeChar":"𪶦","unicodeCodePoint":"2ADA6","pinYinChars":[{"char":"GUN3"}],"splitChars":[{"char":"氵哀"}],"weight":10},{"charId":"cc825d9b","unicodeChar":"𡺑","unicodeCodePoint":"21E91","pinYinChars":[{"char":"DIE2"}],"splitChars":[{"char":"山枼"}],"weight":10},{"charId":"04ece4ed","unicodeChar":"𡺍","unicodeCodePoint":"21E8D","pinYinChars":[{"char":"ZHONG1"}],"splitChars":[{"char":"山重"}],"weight":10},{"charId":"490ddc88","unicodeChar":"𡺀","unicodeCodePoint":"21E80","pinYinChars":[{"char":"KE4"}],"splitChars":[{"char":"山客"}],"weight":10},{"charId":"2edaf42e","unicodeChar":"𡹾","unicodeCodePoint":"21E7E","pinYinChars":[{"char":"BING3"}],"splitChars":[{"char":"山丙"}],"weight":10},{"charId":"5da5645b","unicodeChar":"𡹬","unicodeCodePoint":"21E6C","pinYinChars":[{"char":"TUO2"}],"splitChars":[{"char":"山咼"}],"weight":10},{"charId":"16523ac7","unicodeChar":"𪹊","unicodeCodePoint":"2AE4A","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"火俞"}],"weight":10},{"charId":"f009338b","unicodeChar":"𢄈","unicodeCodePoint":"22108","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"巾音"}],"weight":10},{"charId":"16c313d3","unicodeChar":"𪹁","unicodeCodePoint":"2AE41","pinYinChars":[{"char":"MENG3"}],"splitChars":[{"char":"火孟"}],"weight":10},{"charId":"90fdbbf7","unicodeChar":"𪸼","unicodeCodePoint":"2AE3C","pinYinChars":[{"char":"ZHOU1"}],"splitChars":[{"char":"火周"}],"weight":10},{"charId":"c2bb4237","unicodeChar":"𢃡","unicodeCodePoint":"220E1","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"巾易"}],"weight":10},{"charId":"031c266c","unicodeChar":"𬊝","unicodeCodePoint":"2C29D","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"火金"}],"weight":10},{"charId":"8912316f","unicodeChar":"𢃇","unicodeCodePoint":"220C7","pinYinChars":[{"char":"LI3"}],"splitChars":[{"char":"巾里"}],"weight":10},{"charId":"4aa3eea8","unicodeChar":"𢂔","unicodeCodePoint":"22094","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"巾共"}],"weight":10},{"charId":"e9bb02af","unicodeChar":"𢁾","unicodeCodePoint":"2207E","pinYinChars":[{"char":"CHAO1"}],"splitChars":[{"char":"巾召"}],"weight":10},{"charId":"e2a30084","unicodeChar":"𪸵","unicodeCodePoint":"2AE35","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"火武"}],"weight":10},{"charId":"d5b30b6c","unicodeChar":"𪸴","unicodeCodePoint":"2AE34","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"火奇"}],"weight":10},{"charId":"d4887948","unicodeChar":"𬊑","unicodeCodePoint":"2C291","pinYinChars":[{"char":"CHUAN4"}],"splitChars":[{"char":"火串"}],"weight":10},{"charId":"a34fa601","unicodeChar":"𡼪","unicodeCodePoint":"21F2A","pinYinChars":[{"char":"DA2"}],"splitChars":[{"char":"山答"}],"weight":10},{"charId":"e8cf5b53","unicodeChar":"𬊌","unicodeCodePoint":"2C28C","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"火志"}],"weight":10},{"charId":"3a8c1bb2","unicodeChar":"𡻯","unicodeCodePoint":"21EEF","pinYinChars":[{"char":"QIANG3"}],"splitChars":[{"char":"山爽"}],"weight":10},{"charId":"549b5021","unicodeChar":"𬊋","unicodeCodePoint":"2C28B","pinYinChars":[{"char":"QIU2"}],"splitChars":[{"char":"火求"}],"weight":10},{"charId":"1dd59445","unicodeChar":"𡺸","unicodeCodePoint":"21EB8","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"山耆"}],"weight":10},{"charId":"9fc5bde4","unicodeChar":"𪸫","unicodeCodePoint":"2AE2B","pinYinChars":[{"char":"GENG1"}],"splitChars":[{"char":"火更"}],"weight":10},{"charId":"f95fdf8a","unicodeChar":"𡺯","unicodeCodePoint":"21EAF","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"山䍃"}],"weight":10},{"charId":"0533cb78","unicodeChar":"𡺭","unicodeCodePoint":"21EAD","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"山貢"}],"weight":10},{"charId":"3536992f","unicodeChar":"𪸥","unicodeCodePoint":"2AE25","pinYinChars":[{"char":"ER3"}],"splitChars":[{"char":"火耳"}],"weight":10},{"charId":"2d683ac7","unicodeChar":"𪸞","unicodeCodePoint":"2AE1E","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"火尔"}],"weight":10},{"charId":"5a4dfa7b","unicodeChar":"𪸛","unicodeCodePoint":"2AE1B","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"火玉"}],"weight":10},{"charId":"cd085af2","unicodeChar":"𬊱","unicodeCodePoint":"2C2B1","pinYinChars":[{"char":"DI4"}],"splitChars":[{"char":"火帝"}],"weight":10},{"charId":"5b136f5f","unicodeChar":"𪹏","unicodeCodePoint":"2AE4F","pinYinChars":[{"char":"MEI3"}],"splitChars":[{"char":"火美"}],"weight":10},{"charId":"0c69e0de","unicodeChar":"𫵿","unicodeCodePoint":"2BD7F","pinYinChars":[{"char":"XIU4"}],"splitChars":[{"char":"山秀"}],"weight":10},{"charId":"da0e0a17","unicodeChar":"𪩚","unicodeCodePoint":"2AA5A","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"山會"}],"weight":10},{"charId":"bcffe4ff","unicodeChar":"𪩉","unicodeCodePoint":"2AA49","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"山尃"}],"weight":10},{"charId":"97c2d7cb","unicodeChar":"𪩂","unicodeCodePoint":"2AA42","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"山南"}],"weight":10},{"charId":"1a6baec6","unicodeChar":"𫷋","unicodeCodePoint":"2BDCB","pinYinChars":[{"char":"KAI3"}],"splitChars":[{"char":"巾豈"}],"weight":10},{"charId":"1c14a76e","unicodeChar":"𪫍","unicodeCodePoint":"2AACD","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"彳志"}],"weight":10},{"charId":"21baab2b","unicodeChar":"𪫋","unicodeCodePoint":"2AACB","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"彳文"}],"weight":10},{"charId":"88172759","unicodeChar":"𫶣","unicodeCodePoint":"2BDA3","pinYinChars":[{"char":"HENG2"}],"splitChars":[{"char":"山衡"}],"weight":10},{"charId":"2e9e37fb","unicodeChar":"𪫧","unicodeCodePoint":"2AAE7","pinYinChars":[{"char":"KE3"}],"splitChars":[{"char":"忄可"}],"weight":10},{"charId":"d96da2ad","unicodeChar":"𪭤","unicodeCodePoint":"2AB64","pinYinChars":[{"char":"ZHENG4"}],"splitChars":[{"char":"扌正"}],"weight":10},{"charId":"46b95487","unicodeChar":"𫼚","unicodeCodePoint":"2BF1A","pinYinChars":[{"char":"LA1"}],"splitChars":[{"char":"扌六"}],"weight":10},{"charId":"5953e029","unicodeChar":"𫼖","unicodeCodePoint":"2BF16","pinYinChars":[{"char":"JIU3"}],"splitChars":[{"char":"扌久"}],"weight":10},{"charId":"a2458e86","unicodeChar":"𫻑","unicodeCodePoint":"2BED1","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"忄匱"}],"weight":10},{"charId":"ad218451","unicodeChar":"𫷷","unicodeCodePoint":"2BDF7","pinYinChars":[{"char":"XIN1"}],"splitChars":[{"char":"广钦"}],"weight":10},{"charId":"1c2c7f57","unicodeChar":"𪪎","unicodeCodePoint":"2AA8E","pinYinChars":[{"char":"ZHENG4"}],"splitChars":[{"char":"广正"}],"weight":10},{"charId":"8dd4a5a9","unicodeChar":"𪬃","unicodeCodePoint":"2AB03","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"忄宜"}],"weight":10},{"charId":"5bafa81f","unicodeChar":"𪫹","unicodeCodePoint":"2AAF9","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"忄谷"}],"weight":10},{"charId":"e989ddc1","unicodeChar":"𪫷","unicodeCodePoint":"2AAF7","pinYinChars":[{"char":"CHOU2"}],"splitChars":[{"char":"寿心"}],"weight":10},{"charId":"94588bb9","unicodeChar":"𪫮","unicodeCodePoint":"2AAEE","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"忄百"}],"weight":10},{"charId":"ce104446","unicodeChar":"𪭶","unicodeCodePoint":"2AB76","pinYinChars":[{"char":"CHUAN4"}],"splitChars":[{"char":"扌串"}],"weight":10},{"charId":"e362bfb6","unicodeChar":"𫼯","unicodeCodePoint":"2BF2F","pinYinChars":[{"char":"BIAN1"}],"splitChars":[{"char":"扌边"}],"weight":10},{"charId":"2ed8a23b","unicodeChar":"𪯢","unicodeCodePoint":"2ABE2","pinYinChars":[{"char":"HUAN1"}],"splitChars":[{"char":"文文"}],"weight":10},{"charId":"b91d7b9d","unicodeChar":"𫾪","unicodeCodePoint":"2BFAA","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"吉攵"}],"weight":10},{"charId":"637c0bfa","unicodeChar":"𪮾","unicodeCodePoint":"2ABBE","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"扌木"}],"weight":10},{"charId":"21311a3d","unicodeChar":"𪰌","unicodeCodePoint":"2AC0C","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"日毛"}],"weight":10},{"charId":"ecf3f718","unicodeChar":"𢬶","unicodeCodePoint":"22B36","pinYinChars":[{"char":"JIN4"}],"splitChars":[{"char":"扌𠬶"}],"weight":10},{"charId":"409f2a74","unicodeChar":"𢬢","unicodeCodePoint":"22B22","pinYinChars":[{"char":"DIAO4"}],"splitChars":[{"char":"扌吊"}],"weight":10},{"charId":"15109578","unicodeChar":"𢬐","unicodeCodePoint":"22B10","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"扌旭"}],"weight":10},{"charId":"19c300dd","unicodeChar":"𢫓","unicodeCodePoint":"22AD3","pinYinChars":[{"char":"NU3"}],"splitChars":[{"char":"扌奴"}],"weight":10},{"charId":"1e5455c1","unicodeChar":"𢪧","unicodeCodePoint":"22AA7","pinYinChars":[{"char":"YE4"}],"splitChars":[{"char":"扌牛"}],"weight":10},{"charId":"4dae1a99","unicodeChar":"𢳀","unicodeCodePoint":"22CC0","pinYinChars":[{"char":"MO2"}],"splitChars":[{"char":"扌麻"}],"weight":10},{"charId":"29c9f679","unicodeChar":"𢲡","unicodeCodePoint":"22CA1","pinYinChars":[{"char":"NA2"}],"splitChars":[{"char":"扌拿"}],"weight":10},{"charId":"53c82736","unicodeChar":"𢱍","unicodeCodePoint":"22C4D","pinYinChars":[{"char":"WAN3"}],"splitChars":[{"char":"扌勉"}],"weight":10},{"charId":"0ebfa06b","unicodeChar":"𢱈","unicodeCodePoint":"22C48","pinYinChars":[{"char":"JIA4"}],"splitChars":[{"char":"扌叚"}],"weight":10},{"charId":"29ee6122","unicodeChar":"𢩱","unicodeCodePoint":"22A71","pinYinChars":[{"char":"BANG4"}],"splitChars":[{"char":"扌才"}],"weight":10},{"charId":"d8f8a44c","unicodeChar":"𢸔","unicodeCodePoint":"22E14","pinYinChars":[{"char":"PAN2"}],"splitChars":[{"char":"扌盤"}],"weight":10},{"charId":"a4e51b0e","unicodeChar":"𢾑","unicodeCodePoint":"22F91","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"音攴"}],"weight":10},{"charId":"6698974a","unicodeChar":"𣅮","unicodeCodePoint":"2316E","pinYinChars":[{"char":"SHENG1"}],"splitChars":[{"char":"日升"}],"weight":10},{"charId":"47524fb7","unicodeChar":"𣅡","unicodeCodePoint":"23161","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"日夬"}],"weight":10},{"charId":"0bcfb6b0","unicodeChar":"𣅟","unicodeCodePoint":"2315F","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"日冘"}],"weight":10},{"charId":"f05c1b3f","unicodeChar":"𣄿","unicodeCodePoint":"2313F","pinYinChars":[{"char":"TING3"}],"splitChars":[{"char":"日丁"}],"weight":10},{"charId":"6abce19c","unicodeChar":"𬒔","unicodeCodePoint":"2C494","pinYinChars":[{"char":"GENG3"}],"splitChars":[{"char":"石肯"}],"weight":10},{"charId":"ce52f786","unicodeChar":"𢸍","unicodeCodePoint":"22E0D","pinYinChars":[{"char":"ZHEN4"}],"splitChars":[{"char":"扌震"}],"weight":10},{"charId":"ec193bcf","unicodeChar":"𢷪","unicodeCodePoint":"22DEA","pinYinChars":[{"char":"KUI2"}],"splitChars":[{"char":"扌魁"}],"weight":10},{"charId":"98f69656","unicodeChar":"𢶉","unicodeCodePoint":"22D89","pinYinChars":[{"char":"PO4"}],"splitChars":[{"char":"扌雹"}],"weight":10},{"charId":"1f62e500","unicodeChar":"𢳧","unicodeCodePoint":"22CE7","pinYinChars":[{"char":"KANG3"}],"splitChars":[{"char":"扌康"}],"weight":10},{"charId":"0f9100db","unicodeChar":"𢾄","unicodeCodePoint":"22F84","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"俞攵"}],"weight":10},{"charId":"cfbdcda4","unicodeChar":"𢼣","unicodeCodePoint":"22F23","pinYinChars":[{"char":"QIA4"}],"splitChars":[{"char":"吉攴"}],"weight":10},{"charId":"ebf236e7","unicodeChar":"𢰸","unicodeCodePoint":"22C38","pinYinChars":[{"char":"GUO1"}],"splitChars":[{"char":"扌咼"}],"weight":10},{"charId":"2606fc29","unicodeChar":"𢰲","unicodeCodePoint":"22C32","pinYinChars":[{"char":"MEI2"}],"splitChars":[{"char":"扌眉"}],"weight":10},{"charId":"f5cedd13","unicodeChar":"𣇋","unicodeCodePoint":"231CB","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"日兑"}],"weight":10},{"charId":"d1c0c19b","unicodeChar":"𣆳","unicodeCodePoint":"231B3","pinYinChars":[{"char":"GENG3"}],"splitChars":[{"char":"日更"}],"weight":10},{"charId":"a82e3bcc","unicodeChar":"𫁪","unicodeCodePoint":"2B06A","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"立立"}],"weight":10},{"charId":"9ac604be","unicodeChar":"𣆲","unicodeCodePoint":"231B2","pinYinChars":[{"char":"QIN4"}],"splitChars":[{"char":"日𠬶"}],"weight":10},{"charId":"e5cb37ad","unicodeChar":"𣆟","unicodeCodePoint":"2319F","pinYinChars":[{"char":"XIE1"}],"splitChars":[{"char":"此旦"}],"weight":10},{"charId":"2264667e","unicodeChar":"𣉥","unicodeCodePoint":"23265","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"日殷"}],"weight":10},{"charId":"ea57c009","unicodeChar":"𣎅","unicodeCodePoint":"23385","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"月曷"}],"weight":10},{"charId":"4f32b6d3","unicodeChar":"𣍾","unicodeCodePoint":"2337E","pinYinChars":[{"char":"LIANG3"}],"splitChars":[{"char":"月雨"}],"weight":10},{"charId":"6d19eeb7","unicodeChar":"𬓤","unicodeCodePoint":"2C4E4","pinYinChars":[{"char":"CHI3"}],"splitChars":[{"char":"禾尺"}],"weight":10},{"charId":"7f5fa2b2","unicodeChar":"𮂱","unicodeCodePoint":"2E0B1","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"禾尤"}],"weight":10},{"charId":"b701f9ac","unicodeChar":"𣍆","unicodeCodePoint":"23346","pinYinChars":[{"char":"NING2"}],"splitChars":[{"char":"殸曰"}],"weight":10},{"charId":"b227c361","unicodeChar":"𣌸","unicodeCodePoint":"23338","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"日即"}],"weight":10},{"charId":"54c2671c","unicodeChar":"𫁵","unicodeCodePoint":"2B075","pinYinChars":[{"char":"DOU3"}],"splitChars":[{"char":"竹斗"}],"weight":10},{"charId":"98a63877","unicodeChar":"𬔱","unicodeCodePoint":"2C531","pinYinChars":[{"char":"ZHI1"}],"splitChars":[{"char":"竹之"}],"weight":10},{"charId":"fffd6cc5","unicodeChar":"𬒺","unicodeCodePoint":"2C4BA","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"礻足"}],"weight":10},{"charId":"f23abfd9","unicodeChar":"𫀊","unicodeCodePoint":"2B00A","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"礻衣"}],"weight":10},{"charId":"046ddbbb","unicodeChar":"𬒮","unicodeCodePoint":"2C4AE","pinYinChars":[{"char":"MEI4"}],"splitChars":[{"char":"礻夬"}],"weight":10},{"charId":"2a2f39c3","unicodeChar":"𪿢","unicodeCodePoint":"2AFE2","pinYinChars":[{"char":"PI4"}],"splitChars":[{"char":"石辛"}],"weight":10},{"charId":"6ae66a85","unicodeChar":"𣅾","unicodeCodePoint":"2317E","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"冉日"}],"weight":10},{"charId":"f255c200","unicodeChar":"𣈥","unicodeCodePoint":"23225","pinYinChars":[{"char":"TU2"}],"splitChars":[{"char":"日俞"}],"weight":10},{"charId":"5d53a28c","unicodeChar":"𬒙","unicodeCodePoint":"2C499","pinYinChars":[{"char":"MEI3"}],"splitChars":[{"char":"石美"}],"weight":10},{"charId":"279e1e8b","unicodeChar":"𣈇","unicodeCodePoint":"23207","pinYinChars":[{"char":"AN4"}],"splitChars":[{"char":"不明"}],"weight":10},{"charId":"985eff13","unicodeChar":"𣈄","unicodeCodePoint":"23204","pinYinChars":[{"char":"CAI3"}],"splitChars":[{"char":"日采"}],"weight":10},{"charId":"0d9c4474","unicodeChar":"𣇼","unicodeCodePoint":"231FC","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"日宗"}],"weight":10},{"charId":"1b90243b","unicodeChar":"𬓉","unicodeCodePoint":"2C4C9","pinYinChars":[{"char":"CHUANG1"}],"splitChars":[{"char":"礻春"}],"weight":10},{"charId":"3ca8a3df","unicodeChar":"𬘓","unicodeCodePoint":"2C613","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"纟川"}],"weight":10},{"charId":"40b86fb4","unicodeChar":"𣏾","unicodeCodePoint":"233FE","pinYinChars":[{"char":"GE1"}],"splitChars":[{"char":"木戈"}],"weight":10},{"charId":"2a9511ff","unicodeChar":"𫃻","unicodeCodePoint":"2B0FB","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"糹容"}],"weight":10},{"charId":"10625797","unicodeChar":"𣏪","unicodeCodePoint":"233EA","pinYinChars":[{"char":"SHU"}],"splitChars":[{"char":"木双"}],"weight":10},{"charId":"e4e0400f","unicodeChar":"𫃥","unicodeCodePoint":"2B0E5","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"糹足"}],"weight":10},{"charId":"a69971f5","unicodeChar":"𬖴","unicodeCodePoint":"2C5B4","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"米祭"}],"weight":10},{"charId":"2221132e","unicodeChar":"𣐿","unicodeCodePoint":"2343F","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"木衣"}],"weight":10},{"charId":"2a9fa533","unicodeChar":"𣔌","unicodeCodePoint":"2350C","pinYinChars":[{"char":"TI"}],"splitChars":[{"char":"木条"}],"weight":10},{"charId":"f6c1e36c","unicodeChar":"𬖔","unicodeCodePoint":"2C594","pinYinChars":[{"char":"ZU1"}],"splitChars":[{"char":"米术"}],"weight":10},{"charId":"baffc347","unicodeChar":"𣓉","unicodeCodePoint":"234C9","pinYinChars":[{"char":"SHA4"}],"splitChars":[{"char":"木疌"}],"weight":10},{"charId":"f18ee9f1","unicodeChar":"𣓃","unicodeCodePoint":"234C3","pinYinChars":[{"char":"NEI4"}],"splitChars":[{"char":"木芮"}],"weight":10},{"charId":"faaf3340","unicodeChar":"𫂕","unicodeCodePoint":"2B095","pinYinChars":[{"char":"BEI4"}],"splitChars":[{"char":"竹倍"}],"weight":10},{"charId":"229ace1a","unicodeChar":"𣌓","unicodeCodePoint":"23313","pinYinChars":[{"char":"HUAN1"}],"splitChars":[{"char":"日雚"}],"weight":10},{"charId":"df427b6e","unicodeChar":"𫂇","unicodeCodePoint":"2B087","pinYinChars":[{"char":"DI1"}],"splitChars":[{"char":"竹的"}],"weight":10},{"charId":"28ba7a62","unicodeChar":"𣋄","unicodeCodePoint":"232C4","pinYinChars":[{"char":"TUN1"}],"splitChars":[{"char":"昔享"}],"weight":10},{"charId":"2fda6c1a","unicodeChar":"𬕅","unicodeCodePoint":"2C545","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"竹位"}],"weight":10},{"charId":"6c62d4c5","unicodeChar":"𣎴","unicodeCodePoint":"233B4","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"一个"}],"weight":10},{"charId":"2ad809e1","unicodeChar":"𫀷","unicodeCodePoint":"2B037","pinYinChars":[{"char":"REN3"}],"splitChars":[{"char":"禾忍"}],"weight":10},{"charId":"c551064c","unicodeChar":"𣐯","unicodeCodePoint":"2342F","pinYinChars":[{"char":"CHONG2"}],"splitChars":[{"char":"出木"}],"weight":10},{"charId":"8199b361","unicodeChar":"𬔴","unicodeCodePoint":"2C534","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"竹未"}],"weight":10},{"charId":"96aeaa88","unicodeChar":"𣐎","unicodeCodePoint":"2340E","pinYinChars":[{"char":"WA3"}],"splitChars":[{"char":"木瓦"}],"weight":10},{"charId":"02187ef4","unicodeChar":"𣐋","unicodeCodePoint":"2340B","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"木戉"}],"weight":10},{"charId":"3c0b0672","unicodeChar":"𣐅","unicodeCodePoint":"23405","pinYinChars":[{"char":"REN4"}],"splitChars":[{"char":"木壬"}],"weight":10},{"charId":"3cdfff75","unicodeChar":"𫂡","unicodeCodePoint":"2B0A1","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"竹棘"}],"weight":10},{"charId":"17193775","unicodeChar":"𫅧","unicodeCodePoint":"2B167","pinYinChars":[{"char":"XIANG2"}],"splitChars":[{"char":"羽羊"}],"weight":10},{"charId":"2a47d6d7","unicodeChar":"𫅦","unicodeCodePoint":"2B166","pinYinChars":[{"char":"XIANG2"}],"splitChars":[{"char":"屰羽"}],"weight":10},{"charId":"d2a30a49","unicodeChar":"𫄻","unicodeCodePoint":"2B13B","pinYinChars":[{"char":"DUI4"}],"splitChars":[{"char":"缶隹"}],"weight":10},{"charId":"b19fbe8e","unicodeChar":"𫄷","unicodeCodePoint":"2B137","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"纟意"}],"weight":10},{"charId":"169be139","unicodeChar":"𣔯","unicodeCodePoint":"2352F","pinYinChars":[{"char":"ZHU3"}],"splitChars":[{"char":"木雨"}],"weight":10},{"charId":"953c287e","unicodeChar":"𬘱","unicodeCodePoint":"2C631","pinYinChars":[{"char":"YAO1"}],"splitChars":[{"char":"纟要"}],"weight":10},{"charId":"670030de","unicodeChar":"𣝡","unicodeCodePoint":"23761","pinYinChars":[{"char":"YANG3"}],"splitChars":[{"char":"木養"}],"weight":10},{"charId":"332b8d7f","unicodeChar":"𣜯","unicodeCodePoint":"2372F","pinYinChars":[{"char":"XU"}],"splitChars":[{"char":"木萱"}],"weight":10},{"charId":"c767a21a","unicodeChar":"𫄨","unicodeCodePoint":"2B128","pinYinChars":[{"char":"CHI1"}],"splitChars":[{"char":"纟希"}],"weight":10},{"charId":"0c1a8f93","unicodeChar":"𫄧","unicodeCodePoint":"2B127","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"纟延"}],"weight":10},{"charId":"b7e05d52","unicodeChar":"𣚺","unicodeCodePoint":"236BA","pinYinChars":[{"char":"XIANG4"}],"splitChars":[{"char":"未母"}],"weight":10},{"charId":"c8af1cdf","unicodeChar":"𬘩","unicodeCodePoint":"2C629","pinYinChars":[{"char":"TING1"}],"splitChars":[{"char":"纟廷"}],"weight":10},{"charId":"71f854c4","unicodeChar":"𣒖","unicodeCodePoint":"23496","pinYinChars":[{"char":"KE4"}],"splitChars":[{"char":"木克"}],"weight":10},{"charId":"f3adce28","unicodeChar":"𬘨","unicodeCodePoint":"2C628","pinYinChars":[{"char":"ZHI1"}],"splitChars":[{"char":"纟志"}],"weight":10},{"charId":"f265f52b","unicodeChar":"𣑬","unicodeCodePoint":"2346C","pinYinChars":[{"char":"ZAO3"}],"splitChars":[{"char":"木早"}],"weight":10},{"charId":"80752b0d","unicodeChar":"𬘟","unicodeCodePoint":"2C61F","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"纟西"}],"weight":10},{"charId":"37e09f3b","unicodeChar":"𣘚","unicodeCodePoint":"2361A","pinYinChars":[{"char":"SHUAI4"}],"splitChars":[{"char":"木率"}],"weight":10},{"charId":"77fb7488","unicodeChar":"𣘎","unicodeCodePoint":"2360E","pinYinChars":[{"char":"QI"}],"splitChars":[{"char":"木羌"}],"weight":10},{"charId":"b418c7ef","unicodeChar":"𣗼","unicodeCodePoint":"235FC","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"木員"}],"weight":10},{"charId":"af0d120b","unicodeChar":"𣗹","unicodeCodePoint":"235F9","pinYinChars":[{"char":"YANG4"}],"splitChars":[{"char":"木恙"}],"weight":10},{"charId":"ed9e7382","unicodeChar":"𮉡","unicodeCodePoint":"2E261","pinYinChars":[{"char":"LU1"}],"splitChars":[{"char":"纟卢"}],"weight":10},{"charId":"f9eba5c0","unicodeChar":"𣖮","unicodeCodePoint":"235AE","pinYinChars":[{"char":"ANG4"}],"splitChars":[{"char":"木盎"}],"weight":10},{"charId":"7d164d9b","unicodeChar":"𫈄","unicodeCodePoint":"2B204","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"艹似"}],"weight":10},{"charId":"7b2b566e","unicodeChar":"𣢹","unicodeCodePoint":"238B9","pinYinChars":[{"char":"QIAN4"}],"splitChars":[{"char":"耒欠"}],"weight":10},{"charId":"b92d0e0f","unicodeChar":"𫇱","unicodeCodePoint":"2B1F1","pinYinChars":[{"char":"ZI3"}],"splitChars":[{"char":"艹仔"}],"weight":10},{"charId":"6c432180","unicodeChar":"𬜦","unicodeCodePoint":"2C726","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"艹卉"}],"weight":10},{"charId":"5c58154f","unicodeChar":"𬜢","unicodeCodePoint":"2C722","pinYinChars":[{"char":"JIU3"}],"splitChars":[{"char":"艹久"}],"weight":10},{"charId":"e7293124","unicodeChar":"𬜡","unicodeCodePoint":"2C721","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"艹山"}],"weight":10},{"charId":"8cfedfd0","unicodeChar":"𫆣","unicodeCodePoint":"2B1A3","pinYinChars":[{"char":"GU4"}],"splitChars":[{"char":"月固"}],"weight":10},{"charId":"6401db77","unicodeChar":"𬚟","unicodeCodePoint":"2C69F","pinYinChars":[{"char":"YA3"}],"splitChars":[{"char":"耳隹"}],"weight":10},{"charId":"11353011","unicodeChar":"𫆅","unicodeCodePoint":"2B185","pinYinChars":[{"char":"SHENG4"}],"splitChars":[{"char":"耳呈"}],"weight":10},{"charId":"4e86caab","unicodeChar":"𢏫","unicodeCodePoint":"223EB","pinYinChars":[{"char":"TAO1"}],"splitChars":[{"char":"弓支"}],"weight":10},{"charId":"ec9c2253","unicodeChar":"𢏤","unicodeCodePoint":"223E4","pinYinChars":[{"char":"XUN4"}],"splitChars":[{"char":"弓夋"}],"weight":10},{"charId":"5f19643b","unicodeChar":"𢎪","unicodeCodePoint":"223AA","pinYinChars":[{"char":"DAN4"}],"splitChars":[{"char":"弓几"}],"weight":10},{"charId":"12d3743b","unicodeChar":"𢎘","unicodeCodePoint":"22398","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"乙乙"}],"weight":10},{"charId":"20596b72","unicodeChar":"𢍂","unicodeCodePoint":"22342","pinYinChars":[{"char":"BI2"}],"splitChars":[{"char":"自廾"}],"weight":10},{"charId":"ec94d0a1","unicodeChar":"𢌜","unicodeCodePoint":"2231C","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"廴手"}],"weight":10},{"charId":"7c0b4272","unicodeChar":"𢌚","unicodeCodePoint":"2231A","pinYinChars":[{"char":"CHAN1"}],"splitChars":[{"char":"廴山"}],"weight":10},{"charId":"19f4ba1b","unicodeChar":"𢋄","unicodeCodePoint":"222C4","pinYinChars":[{"char":"JUAN3"}],"splitChars":[{"char":"广雋"}],"weight":10},{"charId":"fa081e11","unicodeChar":"𬊸","unicodeCodePoint":"2C2B8","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"火昱"}],"weight":10},{"charId":"c6c858a3","unicodeChar":"𢒰","unicodeCodePoint":"224B0","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"有或"}],"weight":10},{"charId":"22999c40","unicodeChar":"𢈚","unicodeCodePoint":"2221A","pinYinChars":[{"char":"LV3"}],"splitChars":[{"char":"广吕"}],"weight":10},{"charId":"c1ca93b6","unicodeChar":"𢈇","unicodeCodePoint":"22207","pinYinChars":[{"char":"SHEN3"}],"splitChars":[{"char":"广先"}],"weight":10},{"charId":"8c0aaa4a","unicodeChar":"𢆶","unicodeCodePoint":"221B6","pinYinChars":[{"char":"YOU1"}],"splitChars":[{"char":"幺幺"}],"weight":10},{"charId":"da14aab0","unicodeChar":"𢄏","unicodeCodePoint":"2210F","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"宀巾"}],"weight":10},{"charId":"ff099da9","unicodeChar":"𢊯","unicodeCodePoint":"222AF","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"广爲"}],"weight":10},{"charId":"4c1ea390","unicodeChar":"𢉦","unicodeCodePoint":"22266","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"广軍"}],"weight":10},{"charId":"b711f736","unicodeChar":"𢈻","unicodeCodePoint":"2223B","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"广疌"}],"weight":10},{"charId":"3d249ce8","unicodeChar":"𬍒","unicodeCodePoint":"2C352","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"王云"}],"weight":10},{"charId":"14104119","unicodeChar":"𢙇","unicodeCodePoint":"22647","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"忄衣"}],"weight":10},{"charId":"5e9b0edf","unicodeChar":"𢙅","unicodeCodePoint":"22645","pinYinChars":[{"char":"XI2"}],"splitChars":[{"char":"合心"}],"weight":10},{"charId":"7baa5a17","unicodeChar":"𢘝","unicodeCodePoint":"2261D","pinYinChars":[{"char":"NI3"}],"splitChars":[{"char":"忄尔"}],"weight":10},{"charId":"75f80b3b","unicodeChar":"𢘅","unicodeCodePoint":"22605","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"矛心"}],"weight":10},{"charId":"a7332cd7","unicodeChar":"𪻛","unicodeCodePoint":"2AEDB","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"王同"}],"weight":10},{"charId":"6994940f","unicodeChar":"𪻘","unicodeCodePoint":"2AED8","pinYinChars":[{"char":"GEN4"}],"splitChars":[{"char":"王亘"}],"weight":10},{"charId":"63edc3c8","unicodeChar":"𢗨","unicodeCodePoint":"225E8","pinYinChars":[{"char":"DUAN3"}],"splitChars":[{"char":"水心"}],"weight":10},{"charId":"0bb4cf7e","unicodeChar":"𬍬","unicodeCodePoint":"2C36C","pinYinChars":[{"char":"XING4"}],"splitChars":[{"char":"王幸"}],"weight":10},{"charId":"bb62b7e2","unicodeChar":"𢗦","unicodeCodePoint":"225E6","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"木心"}],"weight":10},{"charId":"98ad7662","unicodeChar":"𬍫","unicodeCodePoint":"2C36B","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"王疌"}],"weight":10},{"charId":"f86a380f","unicodeChar":"𢗝","unicodeCodePoint":"225DD","pinYinChars":[{"char":"HENG2"}],"splitChars":[{"char":"忄互"}],"weight":10},{"charId":"c84d6c3a","unicodeChar":"𪻧","unicodeCodePoint":"2AEE7","pinYinChars":[{"char":"MU4"}],"splitChars":[{"char":"王坴"}],"weight":10},{"charId":"4c429bbb","unicodeChar":"𪻦","unicodeCodePoint":"2AEE6","pinYinChars":[{"char":"NAI4"}],"splitChars":[{"char":"王奈"}],"weight":10},{"charId":"82e5e7ae","unicodeChar":"𢖵","unicodeCodePoint":"225B5","pinYinChars":[{"char":"RU4"}],"splitChars":[{"char":"忄女"}],"weight":10},{"charId":"7a1c1886","unicodeChar":"𢖳","unicodeCodePoint":"225B3","pinYinChars":[{"char":"XU1"}],"splitChars":[{"char":"忄于"}],"weight":10},{"charId":"2bf71963","unicodeChar":"𢚁","unicodeCodePoint":"22681","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"忄忌"}],"weight":10},{"charId":"4473318b","unicodeChar":"𢚀","unicodeCodePoint":"22680","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"忄延"}],"weight":10},{"charId":"428db1db","unicodeChar":"𢕻","unicodeCodePoint":"2257B","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"彳詹"}],"weight":10},{"charId":"ebd9bb33","unicodeChar":"𢔪","unicodeCodePoint":"2252A","pinYinChars":[{"char":"ZHU1"}],"splitChars":[{"char":"彳者"}],"weight":10},{"charId":"66043034","unicodeChar":"𢓵","unicodeCodePoint":"224F5","pinYinChars":[{"char":"XIU4"}],"splitChars":[{"char":"彳秀"}],"weight":10},{"charId":"368e87c0","unicodeChar":"𢓱","unicodeCodePoint":"224F1","pinYinChars":[{"char":"FENG1"}],"splitChars":[{"char":"彳夆"}],"weight":10},{"charId":"ba5467f5","unicodeChar":"𢓰","unicodeCodePoint":"224F0","pinYinChars":[{"char":"TUO3"}],"splitChars":[{"char":"彳妥"}],"weight":10},{"charId":"19bb8fae","unicodeChar":"𢎎","unicodeCodePoint":"2238E","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"厶式"}],"weight":10},{"charId":"71ce3984","unicodeChar":"𪹯","unicodeCodePoint":"2AE6F","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"火集"}],"weight":10},{"charId":"bbed61e2","unicodeChar":"𢓨","unicodeCodePoint":"224E8","pinYinChars":[{"char":"YE4"}],"splitChars":[{"char":"彳因"}],"weight":10},{"charId":"f087fbd0","unicodeChar":"𢓥","unicodeCodePoint":"224E5","pinYinChars":[{"char":"HUANG3"}],"splitChars":[{"char":"彳光"}],"weight":10},{"charId":"ff449199","unicodeChar":"𢓕","unicodeCodePoint":"224D5","pinYinChars":[{"char":"YIN2"}],"splitChars":[{"char":"彳占"}],"weight":10},{"charId":"419e6630","unicodeChar":"𢓆","unicodeCodePoint":"224C6","pinYinChars":[{"char":"WAN2"}],"splitChars":[{"char":"彳元"}],"weight":10},{"charId":"69a0b1f8","unicodeChar":"𪻕","unicodeCodePoint":"2AED5","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"王古"}],"weight":10},{"charId":"a8b4ef1b","unicodeChar":"𪻓","unicodeCodePoint":"2AED3","pinYinChars":[{"char":"HUO3"}],"splitChars":[{"char":"王火"}],"weight":10},{"charId":"abdc3284","unicodeChar":"𪻎","unicodeCodePoint":"2AECE","pinYinChars":[{"char":"JUN2"}],"splitChars":[{"char":"王匀"}],"weight":10},{"charId":"42772831","unicodeChar":"𢖠","unicodeCodePoint":"225A0","pinYinChars":[{"char":"YING1"}],"splitChars":[{"char":"彳嬰"}],"weight":10},{"charId":"d0f90cbe","unicodeChar":"𢖝","unicodeCodePoint":"2259D","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"彳韭"}],"weight":10},{"charId":"26432991","unicodeChar":"𢖏","unicodeCodePoint":"2258F","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"彳賣"}],"weight":10},{"charId":"171e448b","unicodeChar":"𢦤","unicodeCodePoint":"229A4","pinYinChars":[{"char":"ZANG1"}],"splitChars":[{"char":"片戈"}],"weight":10},{"charId":"1e1c4237","unicodeChar":"𪻳","unicodeCodePoint":"2AEF3","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"王南"}],"weight":10},{"charId":"8efc70df","unicodeChar":"𢥘","unicodeCodePoint":"22958","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"忄冏(巂)"}],"weight":10},{"charId":"8be4d031","unicodeChar":"𢥏","unicodeCodePoint":"2294F","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"忄營"}],"weight":10},{"charId":"43c3d797","unicodeChar":"𪻱","unicodeCodePoint":"2AEF1","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"王函"}],"weight":10},{"charId":"ea7a9aa8","unicodeChar":"𢤲","unicodeCodePoint":"22932","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"龍心"}],"weight":10},{"charId":"84887a51","unicodeChar":"𪻬","unicodeCodePoint":"2AEEC","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"王岳"}],"weight":10},{"charId":"b7a2d4fd","unicodeChar":"𢣤","unicodeCodePoint":"228E4","pinYinChars":[{"char":"CHUANG2"}],"splitChars":[{"char":"忄熏"}],"weight":10},{"charId":"57d1f714","unicodeChar":"𢣐","unicodeCodePoint":"228D0","pinYinChars":[{"char":"BIN1"}],"splitChars":[{"char":"忄賓"}],"weight":10},{"charId":"fa37c668","unicodeChar":"𪼄","unicodeCodePoint":"2AF04","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"王袁"}],"weight":10},{"charId":"97d8b461","unicodeChar":"𢡁","unicodeCodePoint":"22841","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"忄羽(翕)"}],"weight":10},{"charId":"168097e1","unicodeChar":"𬎌","unicodeCodePoint":"2C38C","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"王雲"}],"weight":10},{"charId":"223bc65c","unicodeChar":"𪼕","unicodeCodePoint":"2AF15","pinYinChars":[{"char":"ZU2"}],"splitChars":[{"char":"王族"}],"weight":10},{"charId":"673cd07d","unicodeChar":"𭹰","unicodeCodePoint":"2DE70","pinYinChars":[{"char":"QU2"}],"splitChars":[{"char":"王處"}],"weight":10},{"charId":"f2e62a16","unicodeChar":"𢠘","unicodeCodePoint":"22818","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"林(夕)心"}],"weight":10},{"charId":"10cdabe0","unicodeChar":"𪼑","unicodeCodePoint":"2AF11","pinYinChars":[{"char":"JIAN1"}],"splitChars":[{"char":"王堅"}],"weight":10},{"charId":"7bb7a5e7","unicodeChar":"𬎅","unicodeCodePoint":"2C385","pinYinChars":[{"char":"XUE3"}],"splitChars":[{"char":"王雪"}],"weight":10},{"charId":"b3266425","unicodeChar":"𪼐","unicodeCodePoint":"2AF10","pinYinChars":[{"char":"SHUANG3"}],"splitChars":[{"char":"王爽"}],"weight":10},{"charId":"2b43dc64","unicodeChar":"𢝜","unicodeCodePoint":"2275C","pinYinChars":[{"char":"TING3"}],"splitChars":[{"char":"忄亭"}],"weight":10},{"charId":"2b56e679","unicodeChar":"𬍣","unicodeCodePoint":"2C363","pinYinChars":[{"char":"RU2"}],"splitChars":[{"char":"王如"}],"weight":10},{"charId":"2f45c4ba","unicodeChar":"𢝆","unicodeCodePoint":"22746","pinYinChars":[{"char":"ZHONG4"}],"splitChars":[{"char":"忄重"}],"weight":10},{"charId":"3fe5bf23","unicodeChar":"𢝁","unicodeCodePoint":"22741","pinYinChars":[{"char":"HONG1"}],"splitChars":[{"char":"忄言"}],"weight":10},{"charId":"378070c8","unicodeChar":"𢜽","unicodeCodePoint":"2273D","pinYinChars":[{"char":"KUI2"}],"splitChars":[{"char":"忄癸"}],"weight":10},{"charId":"6e7d06c9","unicodeChar":"𬍠","unicodeCodePoint":"2C360","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"王衣"}],"weight":10},{"charId":"13d1e9b7","unicodeChar":"𢜱","unicodeCodePoint":"22731","pinYinChars":[{"char":"QI4"}],"splitChars":[{"char":"忄耳"}],"weight":10},{"charId":"85920848","unicodeChar":"𢜛","unicodeCodePoint":"2271B","pinYinChars":[{"char":"XIN1"}],"splitChars":[{"char":"欣心"}],"weight":10},{"charId":"4f652721","unicodeChar":"𪻪","unicodeCodePoint":"2AEEA","pinYinChars":[{"char":"MING2"}],"splitChars":[{"char":"王明"}],"weight":10},{"charId":"d1feb714","unicodeChar":"𪼃","unicodeCodePoint":"2AF03","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"王泰"}],"weight":10},{"charId":"102285c0","unicodeChar":"𪻿","unicodeCodePoint":"2AEFF","pinYinChars":[{"char":"DU4"}],"splitChars":[{"char":"王度"}],"weight":10},{"charId":"275c118a","unicodeChar":"𢛵","unicodeCodePoint":"226F5","pinYinChars":[{"char":"ZANG2"}],"splitChars":[{"char":"忄争"}],"weight":10},{"charId":"de7ad002","unicodeChar":"𪻾","unicodeCodePoint":"2AEFE","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"王彦"}],"weight":10},{"charId":"f6db47ea","unicodeChar":"𢛔","unicodeCodePoint":"226D4","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"忄東"}],"weight":10},{"charId":"13e842dd","unicodeChar":"𢚢","unicodeCodePoint":"226A2","pinYinChars":[{"char":"GAI3"}],"splitChars":[{"char":"改心"}],"weight":10},{"charId":"9858e0c4","unicodeChar":"𪻷","unicodeCodePoint":"2AEF7","pinYinChars":[{"char":"RUO4"}],"splitChars":[{"char":"王若"}],"weight":10},{"charId":"1a929807","unicodeChar":"𬍴","unicodeCodePoint":"2C374","pinYinChars":[{"char":"ZOU4"}],"splitChars":[{"char":"王奏"}],"weight":10},{"charId":"377105fe","unicodeChar":"𪼥","unicodeCodePoint":"2AF25","pinYinChars":[{"char":"LIAN2"}],"splitChars":[{"char":"王廉"}],"weight":10},{"charId":"d02f632e","unicodeChar":"𪼤","unicodeCodePoint":"2AF24","pinYinChars":[{"char":"ZHAN1"}],"splitChars":[{"char":"王詹"}],"weight":10},{"charId":"47aeb205","unicodeChar":"𪼣","unicodeCodePoint":"2AF23","pinYinChars":[{"char":"AO4"}],"splitChars":[{"char":"王奥"}],"weight":10},{"charId":"4fd20bd2","unicodeChar":"𬎃","unicodeCodePoint":"2C383","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"王益"}],"weight":10},{"charId":"838fed41","unicodeChar":"𬍽","unicodeCodePoint":"2C37D","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"王員"}],"weight":10},{"charId":"072e3b52","unicodeChar":"𢨮","unicodeCodePoint":"22A2E","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"户千"}],"weight":10},{"charId":"68f5e46b","unicodeChar":"𢧇","unicodeCodePoint":"229C7","pinYinChars":[{"char":"SHU2"}],"splitChars":[{"char":"𢦏八夊"}],"weight":10},{"charId":"c4fe61f6","unicodeChar":"𢧂","unicodeCodePoint":"229C2","pinYinChars":[{"char":"POU3"}],"splitChars":[{"char":"咅戈"}],"weight":10},{"charId":"3aafa5f4","unicodeChar":"𪼬","unicodeCodePoint":"2AF2C","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"王霖"}],"weight":10},{"charId":"3ee41be6","unicodeChar":"𤊻","unicodeCodePoint":"242BB","pinYinChars":[{"char":"FOU1"}],"splitChars":[{"char":"火冒"}],"weight":10},{"charId":"558d77b2","unicodeChar":"𤊴","unicodeCodePoint":"242B4","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"火石"}],"weight":10},{"charId":"d7a0aa12","unicodeChar":"𤈍","unicodeCodePoint":"2420D","pinYinChars":[{"char":"XI"}],"splitChars":[{"char":"火向"}],"weight":10},{"charId":"8d42ec70","unicodeChar":"𤌭","unicodeCodePoint":"2432D","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"火真"}],"weight":10},{"charId":"de00ee24","unicodeChar":"𤌧","unicodeCodePoint":"24327","pinYinChars":[{"char":"SANG1"}],"splitChars":[{"char":"火桑"}],"weight":10},{"charId":"8913c2a1","unicodeChar":"𫐼","unicodeCodePoint":"2B43C","pinYinChars":[{"char":"PANG2"}],"splitChars":[{"char":"辶旁"}],"weight":10},{"charId":"3c325687","unicodeChar":"𤐶","unicodeCodePoint":"24436","pinYinChars":[{"char":"HAO2"}],"splitChars":[{"char":"火豪"}],"weight":10},{"charId":"2907c8f7","unicodeChar":"𤏻","unicodeCodePoint":"243FB","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"辛又"}],"weight":10},{"charId":"a3f3ed7e","unicodeChar":"𤏸","unicodeCodePoint":"243F8","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"火著"}],"weight":10},{"charId":"4c2ec65e","unicodeChar":"𤘧","unicodeCodePoint":"24627","pinYinChars":[{"char":"GUI3"}],"splitChars":[{"char":"牛牛"}],"weight":10},{"charId":"f037ecb0","unicodeChar":"𤗜","unicodeCodePoint":"245DC","pinYinChars":[{"char":"JIA3"}],"splitChars":[{"char":"片叚"}],"weight":10},{"charId":"84f618e3","unicodeChar":"𤔣","unicodeCodePoint":"24523","pinYinChars":[{"char":"BAO4"}],"splitChars":[{"char":"爪叟"}],"weight":10},{"charId":"2d2b0944","unicodeChar":"𫑳","unicodeCodePoint":"2B473","pinYinChars":[{"char":"WAN2"}],"splitChars":[{"char":"酉丸"}],"weight":10},{"charId":"8fff98f8","unicodeChar":"𤌷","unicodeCodePoint":"24337","pinYinChars":[{"char":"XI4"}],"splitChars":[{"char":"火心(恚)"}],"weight":10},{"charId":"ff793509","unicodeChar":"𫑡","unicodeCodePoint":"2B461","pinYinChars":[{"char":"MENG2"}],"splitChars":[{"char":"黾阝"}],"weight":10},{"charId":"87b34aa9","unicodeChar":"𤌴","unicodeCodePoint":"24334","pinYinChars":[{"char":"JI"}],"splitChars":[{"char":"火桀"}],"weight":10},{"charId":"b873746c","unicodeChar":"𫑟","unicodeCodePoint":"2B45F","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"言阝"}],"weight":10},{"charId":"d23c0d1e","unicodeChar":"𫐐","unicodeCodePoint":"2B410","pinYinChars":[{"char":"NI2"}],"splitChars":[{"char":"车兒"}],"weight":10},{"charId":"23d2516a","unicodeChar":"𤌙","unicodeCodePoint":"24319","pinYinChars":[{"char":"TA1"}],"splitChars":[{"char":"火塌𦐇"}],"weight":10},{"charId":"1670c696","unicodeChar":"𤋙","unicodeCodePoint":"242D9","pinYinChars":[{"char":"MIAO2"}],"splitChars":[{"char":"火苗"}],"weight":10},{"charId":"301be90c","unicodeChar":"𤎥","unicodeCodePoint":"243A5","pinYinChars":[{"char":"TAN3"}],"splitChars":[{"char":"帛炎"}],"weight":10},{"charId":"84729ef3","unicodeChar":"𤍓","unicodeCodePoint":"24353","pinYinChars":[{"char":"SHU4"}],"splitChars":[{"char":"野火"}],"weight":10},{"charId":"84a4b23f","unicodeChar":"𫐣","unicodeCodePoint":"2B423","pinYinChars":[{"char":"BING3"}],"splitChars":[{"char":"辶丙"}],"weight":10},{"charId":"315a4ced","unicodeChar":"㐷","unicodeCodePoint":"3437","pinYinChars":[{"char":"MA4"}],"splitChars":[{"char":"亻马"}],"weight":10},{"charId":"70451245","unicodeChar":"𤣰","unicodeCodePoint":"248F0","pinYinChars":[{"char":"BU3"}],"splitChars":[{"char":"王土"}],"weight":10},{"charId":"ba674aba","unicodeChar":"𬬹","unicodeCodePoint":"2CB39","pinYinChars":[{"char":"SHEN2"}],"splitChars":[{"char":"钅申"}],"weight":10},{"charId":"4468bacb","unicodeChar":"㐸","unicodeCodePoint":"3438","pinYinChars":[{"char":"CI4"}],"splitChars":[{"char":"亻欠"}],"weight":10},{"charId":"b3ccb855","unicodeChar":"㐨","unicodeCodePoint":"3428","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"予予"}],"weight":10},{"charId":"5f09b2dc","unicodeChar":"𬬵","unicodeCodePoint":"2CB35","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"钅冘"}],"weight":10},{"charId":"48752227","unicodeChar":"𤞶","unicodeCodePoint":"247B6","pinYinChars":[{"char":"HAN1"}],"splitChars":[{"char":"犭罕"}],"weight":10},{"charId":"4932bdfd","unicodeChar":"𬬭","unicodeCodePoint":"2CB2D","pinYinChars":[{"char":"LUN2"}],"splitChars":[{"char":"钅仑"}],"weight":10},{"charId":"9ed44dd3","unicodeChar":"㐅","unicodeCodePoint":"3405","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"丿丶"}],"weight":10},{"charId":"0a4d7fcb","unicodeChar":"𤤥","unicodeCodePoint":"24925","pinYinChars":[{"char":"TI"}],"splitChars":[{"char":"王失"}],"weight":10},{"charId":"6ede676c","unicodeChar":"𬫯","unicodeCodePoint":"2CAEF","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"金茂"}],"weight":10},{"charId":"108c838b","unicodeChar":"𫒩","unicodeCodePoint":"2B4A9","pinYinChars":[{"char":"BANG3"}],"splitChars":[{"char":"金奉"}],"weight":10},{"charId":"8467e965","unicodeChar":"𤥢","unicodeCodePoint":"24962","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"王告"}],"weight":10},{"charId":"f9266de0","unicodeChar":"𤥒","unicodeCodePoint":"24952","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"王西"}],"weight":10},{"charId":"a372f1c7","unicodeChar":"𬬩","unicodeCodePoint":"2CB29","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"钅弋"}],"weight":10},{"charId":"7758f333","unicodeChar":"𤥇","unicodeCodePoint":"24947","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"王至"}],"weight":10},{"charId":"d2bfccc8","unicodeChar":"㑎","unicodeCodePoint":"344E","pinYinChars":[{"char":"NAO3"}],"splitChars":[{"char":"亻山"}],"weight":10},{"charId":"03ade7f3","unicodeChar":"㐾","unicodeCodePoint":"343E","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"亻元"}],"weight":10},{"charId":"bb987d1b","unicodeChar":"𤣹","unicodeCodePoint":"248F9","pinYinChars":[{"char":"FA3"}],"splitChars":[{"char":"王尹"}],"weight":10},{"charId":"a177f783","unicodeChar":"𬬻","unicodeCodePoint":"2CB3B","pinYinChars":[{"char":"LU2"}],"splitChars":[{"char":"钅卢"}],"weight":10},{"charId":"d2314db6","unicodeChar":"𤞞","unicodeCodePoint":"2479E","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"犭谷"}],"weight":10},{"charId":"7e7d6bba","unicodeChar":"𤝲","unicodeCodePoint":"24772","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"犭吴"}],"weight":10},{"charId":"be317725","unicodeChar":"𤛱","unicodeCodePoint":"246F1","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"臼牛"}],"weight":10},{"charId":"131cba72","unicodeChar":"𤤛","unicodeCodePoint":"2491B","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"王主"}],"weight":10},{"charId":"cc4e4b4c","unicodeChar":"𫒞","unicodeCodePoint":"2B49E","pinYinChars":[{"char":"JIE4"}],"splitChars":[{"char":"金戒"}],"weight":10},{"charId":"abea88bd","unicodeChar":"𤤌","unicodeCodePoint":"2490C","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"王冗"}],"weight":10},{"charId":"76136498","unicodeChar":"𫒝","unicodeCodePoint":"2B49D","pinYinChars":[{"char":"GENG1"}],"splitChars":[{"char":"金更"}],"weight":10},{"charId":"368657ff","unicodeChar":"𤤄","unicodeCodePoint":"24904","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"王殳"}],"weight":10},{"charId":"ba9cdb1e","unicodeChar":"𤤂","unicodeCodePoint":"24902","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"王予"}],"weight":10},{"charId":"c4bce773","unicodeChar":"𤔅","unicodeCodePoint":"24505","pinYinChars":[{"char":"DI"}],"splitChars":[{"char":"爪失"}],"weight":10},{"charId":"db0e147b","unicodeChar":"𬬔","unicodeCodePoint":"2CB14","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"金疑"}],"weight":10},{"charId":"080aea3f","unicodeChar":"𫓔","unicodeCodePoint":"2B4D4","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"金義"}],"weight":10},{"charId":"eca34e9f","unicodeChar":"𫓐","unicodeCodePoint":"2B4D0","pinYinChars":[{"char":"LI3"}],"splitChars":[{"char":"金豊(豆)"}],"weight":10},{"charId":"8fb71ebf","unicodeChar":"㙞","unicodeCodePoint":"365E","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"土臬"}],"weight":10},{"charId":"5331e9ca","unicodeChar":"𬭝","unicodeCodePoint":"2CB5D","pinYinChars":[{"char":"SAN3"}],"splitChars":[{"char":"钅参"}],"weight":10},{"charId":"db09dfed","unicodeChar":"㙍","unicodeCodePoint":"364D","pinYinChars":[{"char":"DUO1"}],"splitChars":[{"char":"土叕"}],"weight":10},{"charId":"02d8433f","unicodeChar":"𬭛","unicodeCodePoint":"2CB5B","pinYinChars":[{"char":"BO1"}],"splitChars":[{"char":"钅波"}],"weight":10},{"charId":"72b58059","unicodeChar":"㙘","unicodeCodePoint":"3658","pinYinChars":[{"char":"YAO1"}],"splitChars":[{"char":"土要"}],"weight":10},{"charId":"1d454d7c","unicodeChar":"𤦃","unicodeCodePoint":"24983","pinYinChars":[{"char":"LAI2"}],"splitChars":[{"char":"來玉"}],"weight":10},{"charId":"60376967","unicodeChar":"𤥿","unicodeCodePoint":"2497F","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"王夜"}],"weight":10},{"charId":"b6c786c6","unicodeChar":"𤨖","unicodeCodePoint":"24A16","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"王邑"}],"weight":10},{"charId":"e84cc369","unicodeChar":"𬭓","unicodeCodePoint":"2CB53","pinYinChars":[{"char":"TIAN3"}],"splitChars":[{"char":"钅典"}],"weight":10},{"charId":"283f173b","unicodeChar":"㘰","unicodeCodePoint":"3630","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[{"char":"土斗"}],"weight":10},{"charId":"cba2bed7","unicodeChar":"㗑","unicodeCodePoint":"35D1","pinYinChars":[{"char":"BEI"}],"splitChars":[{"char":"口拜"}],"weight":10},{"charId":"1560ef85","unicodeChar":"𤧶","unicodeCodePoint":"249F6","pinYinChars":[{"char":"XIA4"}],"splitChars":[{"char":"王夏"}],"weight":10},{"charId":"139a8c1a","unicodeChar":"𫓷","unicodeCodePoint":"2B4F7","pinYinChars":[{"char":"XUAN2"}],"splitChars":[{"char":"钅疋"}],"weight":10},{"charId":"fde800e1","unicodeChar":"𤧴","unicodeCodePoint":"249F4","pinYinChars":[{"char":"GONG3"}],"splitChars":[{"char":"王恭"}],"weight":10},{"charId":"e8cd81cf","unicodeChar":"𤧥","unicodeCodePoint":"249E5","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"珀玉"}],"weight":10},{"charId":"127e7677","unicodeChar":"𤧛","unicodeCodePoint":"249DB","pinYinChars":[{"char":"DI4"}],"splitChars":[{"char":"王帝"}],"weight":10},{"charId":"1ec35745","unicodeChar":"㙦","unicodeCodePoint":"3666","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"斜土"}],"weight":10},{"charId":"c2b26223","unicodeChar":"㙩","unicodeCodePoint":"3669","pinYinChars":[{"char":"LIAO2"}],"splitChars":[{"char":"土尞"}],"weight":10},{"charId":"cd90313c","unicodeChar":"㕊","unicodeCodePoint":"354A","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"厂甫"}],"weight":10},{"charId":"44a8737c","unicodeChar":"𬭋","unicodeCodePoint":"2CB4B","pinYinChars":[{"char":"JIE4"}],"splitChars":[{"char":"钅戒"}],"weight":10},{"charId":"24fc84d0","unicodeChar":"㕤","unicodeCodePoint":"3564","pinYinChars":[{"char":"QUI2"}],"splitChars":[{"char":"口九"}],"weight":10},{"charId":"8589bcb7","unicodeChar":"𤤸","unicodeCodePoint":"24938","pinYinChars":[{"char":"DUO4"}],"splitChars":[{"char":"王朵"}],"weight":10},{"charId":"e603a027","unicodeChar":"鿏","unicodeCodePoint":"9FCF","pinYinChars":[{"char":"MAI4"}],"splitChars":[{"char":"钅麦"}],"weight":10},{"charId":"81a681fe","unicodeChar":"㕅","unicodeCodePoint":"3545","pinYinChars":[{"char":"JIA2"}],"splitChars":[{"char":"厂甲"}],"weight":10},{"charId":"0509ff0b","unicodeChar":"𤤧","unicodeCodePoint":"24927","pinYinChars":[{"char":"YOU2"}],"splitChars":[{"char":"王由"}],"weight":10},{"charId":"d9ad0f75","unicodeChar":"𤤦","unicodeCodePoint":"24926","pinYinChars":[{"char":"TIAN2"}],"splitChars":[{"char":"王田"}],"weight":10},{"charId":"f91b62c6","unicodeChar":"㓦","unicodeCodePoint":"34E6","pinYinChars":[{"char":"BAI1"}],"splitChars":[{"char":"百刂"}],"weight":10},{"charId":"3ccb9c1f","unicodeChar":"𤥴","unicodeCodePoint":"24974","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"王志"}],"weight":10},{"charId":"9efc15c3","unicodeChar":"𤥰","unicodeCodePoint":"24970","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"王皃"}],"weight":10},{"charId":"16792336","unicodeChar":"𤥨","unicodeCodePoint":"24968","pinYinChars":[{"char":"ZHU"}],"splitChars":[{"char":"王豕"}],"weight":10},{"charId":"fc26929e","unicodeChar":"𤦬","unicodeCodePoint":"249AC","pinYinChars":[{"char":"NI"}],"splitChars":[{"char":"王念"}],"weight":10},{"charId":"6b7e41b4","unicodeChar":"㑲","unicodeCodePoint":"3472","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"亻南"}],"weight":10},{"charId":"9e413e9e","unicodeChar":"㑗","unicodeCodePoint":"3457","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"亻身"}],"weight":10},{"charId":"bf55cc36","unicodeChar":"㑚","unicodeCodePoint":"345A","pinYinChars":[{"char":"NUO2"}],"splitChars":[{"char":"亻那"}],"weight":10},{"charId":"2e9373d9","unicodeChar":"𤦤","unicodeCodePoint":"249A4","pinYinChars":[{"char":"NI2"}],"splitChars":[{"char":"王兒"}],"weight":10},{"charId":"0a065d47","unicodeChar":"𤦎","unicodeCodePoint":"2498E","pinYinChars":[{"char":"LUN2"}],"splitChars":[{"char":"王侖"}],"weight":10},{"charId":"3ad71770","unicodeChar":"㗄","unicodeCodePoint":"35C4","pinYinChars":[{"char":"MAN4"}],"splitChars":[{"char":"口方"}],"weight":10},{"charId":"71fa3852","unicodeChar":"𫓶","unicodeCodePoint":"2B4F6","pinYinChars":[{"char":"XUAN1"}],"splitChars":[{"char":"钅肙"}],"weight":10},{"charId":"9dc154aa","unicodeChar":"㕸","unicodeCodePoint":"3578","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"口立"}],"weight":10},{"charId":"501ecfc7","unicodeChar":"㖒","unicodeCodePoint":"3592","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"口弟"}],"weight":10},{"charId":"5fc3f8da","unicodeChar":"㜬","unicodeCodePoint":"372C","pinYinChars":[{"char":"ZHAN1"}],"splitChars":[{"char":"女詹"}],"weight":10},{"charId":"9a45ebcb","unicodeChar":"𫔻","unicodeCodePoint":"2B53B","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"阝文"}],"weight":10},{"charId":"a58c5227","unicodeChar":"㜊","unicodeCodePoint":"370A","pinYinChars":[{"char":"ZHAN3"}],"splitChars":[{"char":"女展"}],"weight":10},{"charId":"a9770070","unicodeChar":"㜣","unicodeCodePoint":"3723","pinYinChars":[{"char":"RAN3"}],"splitChars":[{"char":"女然"}],"weight":10},{"charId":"4c995a74","unicodeChar":"㛾","unicodeCodePoint":"36FE","pinYinChars":[{"char":"XIAN2"}],"splitChars":[{"char":"女咸"}],"weight":10},{"charId":"f2573af4","unicodeChar":"㜁","unicodeCodePoint":"3701","pinYinChars":[{"char":"ZHA1"}],"splitChars":[{"char":"女查"}],"weight":10},{"charId":"13d9b2b2","unicodeChar":"𤨧","unicodeCodePoint":"24A27","pinYinChars":[{"char":"PIAO4"}],"splitChars":[{"char":"王票"}],"weight":10},{"charId":"d542e144","unicodeChar":"㛦","unicodeCodePoint":"36E6","pinYinChars":[{"char":"LAN2"}],"splitChars":[{"char":"女林"}],"weight":10},{"charId":"b7f3f283","unicodeChar":"𬮇","unicodeCodePoint":"2CB87","pinYinChars":[{"char":"LU1"}],"splitChars":[{"char":"門犬"}],"weight":10},{"charId":"37288121","unicodeChar":"㛫","unicodeCodePoint":"36EB","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"女易"}],"weight":10},{"charId":"0e341def","unicodeChar":"𤫁","unicodeCodePoint":"24AC1","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"王螢"}],"weight":10},{"charId":"50050a60","unicodeChar":"㛡","unicodeCodePoint":"36E1","pinYinChars":[{"char":"WAN2"}],"splitChars":[{"char":"女完"}],"weight":10},{"charId":"36a31957","unicodeChar":"𤪼","unicodeCodePoint":"24ABC","pinYinChars":[{"char":"LIAN2"}],"splitChars":[{"char":"王蓮"}],"weight":10},{"charId":"42390e76","unicodeChar":"𫔎","unicodeCodePoint":"2B50E","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"钅矞"}],"weight":10},{"charId":"ebfe587a","unicodeChar":"㛢","unicodeCodePoint":"36E2","pinYinChars":[{"char":"XIU4"}],"splitChars":[{"char":"女秀"}],"weight":10},{"charId":"00af8f00","unicodeChar":"𬭼","unicodeCodePoint":"2CB7C","pinYinChars":[{"char":"SUI4"}],"splitChars":[{"char":"钅遂"}],"weight":10},{"charId":"c7f417cb","unicodeChar":"𤪺","unicodeCodePoint":"24ABA","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"王審"}],"weight":10},{"charId":"bd7bcc6e","unicodeChar":"𤪤","unicodeCodePoint":"24AA4","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"王榮"}],"weight":10},{"charId":"aabbaccd","unicodeChar":"㛚","unicodeCodePoint":"36DA","pinYinChars":[{"char":"TONG3"}],"splitChars":[{"char":"女甬"}],"weight":10},{"charId":"f144e836","unicodeChar":"𤪟","unicodeCodePoint":"24A9F","pinYinChars":[{"char":"PU2"}],"splitChars":[{"char":"王僕"}],"weight":10},{"charId":"bbd5385f","unicodeChar":"𤪌","unicodeCodePoint":"24A8C","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"王糸"}],"weight":10},{"charId":"b3dea7ca","unicodeChar":"㝋","unicodeCodePoint":"374B","pinYinChars":[{"char":"LIAO3"}],"splitChars":[{"char":"宀了"}],"weight":10},{"charId":"4a16ed6d","unicodeChar":"㛈","unicodeCodePoint":"36C8","pinYinChars":[{"char":"KAO3"}],"splitChars":[{"char":"女考"}],"weight":10},{"charId":"f715daf2","unicodeChar":"㛉","unicodeCodePoint":"36C9","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"女西"}],"weight":10},{"charId":"2a7721d1","unicodeChar":"𬭩","unicodeCodePoint":"2CB69","pinYinChars":[{"char":"WENG1"}],"splitChars":[{"char":"钅翁"}],"weight":10},{"charId":"04ece3df","unicodeChar":"㛅","unicodeCodePoint":"36C5","pinYinChars":[{"char":"ER4"}],"splitChars":[{"char":"女耳"}],"weight":10},{"charId":"c6266887","unicodeChar":"㛄","unicodeCodePoint":"36C4","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"女衣"}],"weight":10},{"charId":"39663f1e","unicodeChar":"㚵","unicodeCodePoint":"36B5","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"女冬"}],"weight":10},{"charId":"ec78e73f","unicodeChar":"𤦹","unicodeCodePoint":"249B9","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[{"char":"王貞"}],"weight":10},{"charId":"4d4469f8","unicodeChar":"㘵","unicodeCodePoint":"3635","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"土布"}],"weight":10},{"charId":"3de36186","unicodeChar":"㚱","unicodeCodePoint":"36B1","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"女丘"}],"weight":10},{"charId":"01846104","unicodeChar":"㚴","unicodeCodePoint":"36B4","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"女布"}],"weight":10},{"charId":"cbf4ec8a","unicodeChar":"㚬","unicodeCodePoint":"36AC","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"女匀"}],"weight":10},{"charId":"ef1c0e8a","unicodeChar":"𤩥","unicodeCodePoint":"24A65","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"王舜"}],"weight":10},{"charId":"35061cd3","unicodeChar":"㚰","unicodeCodePoint":"36B0","pinYinChars":[{"char":"PEI1"}],"splitChars":[{"char":"女丕"}],"weight":10},{"charId":"4ba59e32","unicodeChar":"𤩢","unicodeCodePoint":"24A62","pinYinChars":[{"char":"GAO1"}],"splitChars":[{"char":"王十"}],"weight":10},{"charId":"5a17d078","unicodeChar":"𤩝","unicodeCodePoint":"24A5D","pinYinChars":[{"char":"QI"}],"splitChars":[{"char":"王喬"}],"weight":10},{"charId":"725495a6","unicodeChar":"㚥","unicodeCodePoint":"36A5","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"女于"}],"weight":10},{"charId":"a6d68337","unicodeChar":"𤩛","unicodeCodePoint":"24A5B","pinYinChars":[{"char":"SUI4"}],"splitChars":[{"char":"王最"}],"weight":10},{"charId":"4fbf373d","unicodeChar":"𤩊","unicodeCodePoint":"24A4A","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"王堯"}],"weight":10},{"charId":"9b94ad56","unicodeChar":"𤩄","unicodeCodePoint":"24A44","pinYinChars":[{"char":"ZHUAN4"}],"splitChars":[{"char":"王巽"}],"weight":10},{"charId":"32b03aca","unicodeChar":"㛓","unicodeCodePoint":"36D3","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"女希"}],"weight":10},{"charId":"b1139738","unicodeChar":"㛖","unicodeCodePoint":"36D6","pinYinChars":[{"char":"SUO1"}],"splitChars":[{"char":"女夋"}],"weight":10},{"charId":"2506967b","unicodeChar":"㭠","unicodeCodePoint":"3B60","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"木先"}],"weight":10},{"charId":"aaae2b60","unicodeChar":"𬱣","unicodeCodePoint":"2CC63","pinYinChars":[{"char":"CEN2"}],"splitChars":[{"char":"山(岑)页"}],"weight":10},{"charId":"71ac1eb3","unicodeChar":"㬳","unicodeCodePoint":"3B33","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"月午"}],"weight":10},{"charId":"d292fefd","unicodeChar":"㭁","unicodeCodePoint":"3B41","pinYinChars":[{"char":"RENG1"}],"splitChars":[{"char":"木乃"}],"weight":10},{"charId":"7eda61bb","unicodeChar":"𤫞","unicodeCodePoint":"24ADE","pinYinChars":[{"char":"TIAN2"}],"splitChars":[{"char":"王寶(寳)"}],"weight":10},{"charId":"dfff0f1e","unicodeChar":"㬊","unicodeCodePoint":"3B0A","pinYinChars":[{"char":"HUAN3"}],"splitChars":[{"char":"日爰"}],"weight":10},{"charId":"ef33c162","unicodeChar":"𤫉","unicodeCodePoint":"24AC9","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"王燮"}],"weight":10},{"charId":"8fa02248","unicodeChar":"㫃","unicodeCodePoint":"3AC3","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"方人"}],"weight":10},{"charId":"b010f3c6","unicodeChar":"㩄","unicodeCodePoint":"3A44","pinYinChars":[{"char":"SHAI1"}],"splitChars":[{"char":"扌思"}],"weight":10},{"charId":"1618dda4","unicodeChar":"㧥","unicodeCodePoint":"39E5","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"扌先"}],"weight":10},{"charId":"67078107","unicodeChar":"㥔","unicodeCodePoint":"3954","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"忄育"}],"weight":10},{"charId":"e349640a","unicodeChar":"𫕻","unicodeCodePoint":"2B57B","pinYinChars":[{"char":"QING1"}],"splitChars":[{"char":"青青"}],"weight":10},{"charId":"12aba12d","unicodeChar":"𨛍","unicodeCodePoint":"286CD","pinYinChars":[{"char":"SHAO4"}],"splitChars":[{"char":"肖阝"}],"weight":10},{"charId":"83be24aa","unicodeChar":"𫕴","unicodeCodePoint":"2B574","pinYinChars":[{"char":"AI3"}],"splitChars":[{"char":"雨竭"}],"weight":10},{"charId":"b2de90f2","unicodeChar":"𫕩","unicodeCodePoint":"2B569","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"雨虹"}],"weight":10},{"charId":"cae35725","unicodeChar":"㤏","unicodeCodePoint":"390F","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"忄冬"}],"weight":10},{"charId":"6bd43aa9","unicodeChar":"㢍","unicodeCodePoint":"388D","pinYinChars":[{"char":"YING3"}],"splitChars":[{"char":"广英"}],"weight":10},{"charId":"95474864","unicodeChar":"𬯼","unicodeCodePoint":"2CBFC","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"雨利"}],"weight":10},{"charId":"744636f5","unicodeChar":"㢀","unicodeCodePoint":"3880","pinYinChars":[{"char":"CI4"}],"splitChars":[{"char":"广朿"}],"weight":10},{"charId":"b866998d","unicodeChar":"𤩼","unicodeCodePoint":"24A7C","pinYinChars":[{"char":"SU"}],"splitChars":[{"char":"王月(遀)"}],"weight":10},{"charId":"5b030383","unicodeChar":"𫕠","unicodeCodePoint":"2B560","pinYinChars":[{"char":"BA1"}],"splitChars":[{"char":"雨巴"}],"weight":10},{"charId":"a0ce305d","unicodeChar":"㠉","unicodeCodePoint":"3809","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"山童"}],"weight":10},{"charId":"f1025eee","unicodeChar":"𤩶","unicodeCodePoint":"24A76","pinYinChars":[{"char":"PU2"}],"splitChars":[{"char":"王業"}],"weight":10},{"charId":"cdbee1a2","unicodeChar":"㟤","unicodeCodePoint":"37E4","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"山录"}],"weight":10},{"charId":"9fc91272","unicodeChar":"𤩲","unicodeCodePoint":"24A72","pinYinChars":[{"char":"GE2"}],"splitChars":[{"char":"王葛"}],"weight":10},{"charId":"f63a7e15","unicodeChar":"𫕛","unicodeCodePoint":"2B55B","pinYinChars":[{"char":"GUA1"}],"splitChars":[{"char":"舌隹"}],"weight":10},{"charId":"0d216ffa","unicodeChar":"㟪","unicodeCodePoint":"37EA","pinYinChars":[{"char":"WEI1"}],"splitChars":[{"char":"山畏"}],"weight":10},{"charId":"7e3ae3c4","unicodeChar":"𤩱","unicodeCodePoint":"24A71","pinYinChars":[{"char":"DIAN4"}],"splitChars":[{"char":"殿玉"}],"weight":10},{"charId":"265f91eb","unicodeChar":"𬉦","unicodeCodePoint":"2C266","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"氵俞"}],"weight":10},{"charId":"93b166e5","unicodeChar":"㟏","unicodeCodePoint":"37CF","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"山含"}],"weight":10},{"charId":"84aa6f34","unicodeChar":"𤩭","unicodeCodePoint":"24A6D","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"王號"}],"weight":10},{"charId":"49758563","unicodeChar":"㟖","unicodeCodePoint":"37D6","pinYinChars":[{"char":"LONG4"}],"splitChars":[{"char":"山弄"}],"weight":10},{"charId":"9c750514","unicodeChar":"㟍","unicodeCodePoint":"37CD","pinYinChars":[{"char":"LANG2"}],"splitChars":[{"char":"山良"}],"weight":10},{"charId":"8257bbe6","unicodeChar":"𬯀","unicodeCodePoint":"2CBC0","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"阝齐"}],"weight":10},{"charId":"5a91a187","unicodeChar":"㞩","unicodeCodePoint":"37A9","pinYinChars":[{"char":"LAN2"}],"splitChars":[{"char":"山凡"}],"weight":10},{"charId":"be9ae7dc","unicodeChar":"㵿","unicodeCodePoint":"3D7F","pinYinChars":[{"char":"XIAO4"}],"splitChars":[{"char":"氵白"}],"weight":10},{"charId":"516caab0","unicodeChar":"㵘","unicodeCodePoint":"3D58","pinYinChars":[{"char":"MAN4"}],"splitChars":[{"char":"水水"}],"weight":10},{"charId":"e67a98c4","unicodeChar":"㴓","unicodeCodePoint":"3D13","pinYinChars":[{"char":"SHAI1"}],"splitChars":[{"char":"氵思"}],"weight":10},{"charId":"383476b0","unicodeChar":"㳱","unicodeCodePoint":"3CF1","pinYinChars":[{"char":"YANG2"}],"splitChars":[{"char":"氵阳"}],"weight":10},{"charId":"135ab1ba","unicodeChar":"㳯","unicodeCodePoint":"3CEF","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"氵辛"}],"weight":10},{"charId":"92b94c87","unicodeChar":"㳋","unicodeCodePoint":"3CCB","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"氵丘"}],"weight":10},{"charId":"8fdf8107","unicodeChar":"㳍","unicodeCodePoint":"3CCD","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"氵布"}],"weight":10},{"charId":"7e13db85","unicodeChar":"㱔","unicodeCodePoint":"3C54","pinYinChars":[{"char":"XIE1"}],"splitChars":[{"char":"此夕"}],"weight":10},{"charId":"604b7acd","unicodeChar":"㯎","unicodeCodePoint":"3BCE","pinYinChars":[{"char":"NEN4"}],"splitChars":[{"char":"林言"}],"weight":10},{"charId":"35f1728a","unicodeChar":"㯝","unicodeCodePoint":"3BDD","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"木路"}],"weight":10},{"charId":"cead8e5d","unicodeChar":"㯌","unicodeCodePoint":"3BCC","pinYinChars":[{"char":"CHUAN2"}],"splitChars":[{"char":"木逐"}],"weight":10},{"charId":"cd6bdc13","unicodeChar":"㮩","unicodeCodePoint":"3BA9","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"木息"}],"weight":10},{"charId":"16958bce","unicodeChar":"㮟","unicodeCodePoint":"3B9F","pinYinChars":[{"char":"NIAN3"}],"splitChars":[{"char":"林石"}],"weight":10},{"charId":"ad585e0f","unicodeChar":"㮊","unicodeCodePoint":"3B8A","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"林予"}],"weight":10},{"charId":"f88a3d48","unicodeChar":"㭪","unicodeCodePoint":"3B6A","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"木甫"}],"weight":10},{"charId":"3f87ea77","unicodeChar":"㭫","unicodeCodePoint":"3B6B","pinYinChars":[{"char":"CUO2"}],"splitChars":[{"char":"木坐"}],"weight":10},{"charId":"080b3451","unicodeChar":"㻍","unicodeCodePoint":"3ECD","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"王吴"}],"weight":10},{"charId":"4fc57d5b","unicodeChar":"㻇","unicodeCodePoint":"3EC7","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"王全"}],"weight":10},{"charId":"b6239716","unicodeChar":"㻂","unicodeCodePoint":"3EC2","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"王并"}],"weight":10},{"charId":"c952af40","unicodeChar":"㹧","unicodeCodePoint":"3E67","pinYinChars":[{"char":"YANG1"}],"splitChars":[{"char":"犭央"}],"weight":10},{"charId":"f00362ec","unicodeChar":"㷬","unicodeCodePoint":"3DEC","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"火莫"}],"weight":10},{"charId":"c1613bd1","unicodeChar":"㷒","unicodeCodePoint":"3DD2","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"火禺"}],"weight":10},{"charId":"6bdb9397","unicodeChar":"㶿","unicodeCodePoint":"3DBF","pinYinChars":[{"char":"BO2"}],"splitChars":[{"char":"火孛"}],"weight":10},{"charId":"015380ca","unicodeChar":"㶴","unicodeCodePoint":"3DB4","pinYinChars":[{"char":"CHI3"}],"splitChars":[{"char":"火多"}],"weight":10},{"charId":"cbeaec32","unicodeChar":"㶬","unicodeCodePoint":"3DAC","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"火末"}],"weight":10},{"charId":"fd556233","unicodeChar":"𣳤","unicodeCodePoint":"23CE4","pinYinChars":[{"char":"ZHAN4"}],"splitChars":[{"char":"氵土"}],"weight":10},{"charId":"02abe87c","unicodeChar":"𣳃","unicodeCodePoint":"23CC3","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"氵士"}],"weight":10},{"charId":"30381d62","unicodeChar":"𣲭","unicodeCodePoint":"23CAD","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"氵毛"}],"weight":10},{"charId":"c785e6ef","unicodeChar":"𣱼","unicodeCodePoint":"23C7C","pinYinChars":[{"char":"LE4"}],"splitChars":[{"char":"氵刀"}],"weight":10},{"charId":"73b8f8ae","unicodeChar":"龿","unicodeCodePoint":"9FBF","pinYinChars":[{"char":"JIA1"}],"splitChars":[{"char":"艹佳"}],"weight":10},{"charId":"ddae9cf4","unicodeChar":"𣭠","unicodeCodePoint":"23B60","pinYinChars":[{"char":"RU2"}],"splitChars":[{"char":"如毛"}],"weight":10},{"charId":"7a2c907c","unicodeChar":"𫈒","unicodeCodePoint":"2B212","pinYinChars":[{"char":"BIAO3"}],"splitChars":[{"char":"艹表"}],"weight":10},{"charId":"f9551b77","unicodeChar":"𣴙","unicodeCodePoint":"23D19","pinYinChars":[{"char":"CHI4"}],"splitChars":[{"char":"氵多"}],"weight":10},{"charId":"54ada9c8","unicodeChar":"𣴓","unicodeCodePoint":"23D13","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"氵件"}],"weight":10},{"charId":"e0c0cb3c","unicodeChar":"𣣣","unicodeCodePoint":"238E3","pinYinChars":[{"char":"DIAN4"}],"splitChars":[{"char":"尸欠"}],"weight":10},{"charId":"d577bd39","unicodeChar":"𣬂","unicodeCodePoint":"23B02","pinYinChars":[{"char":"GUAN4"}],"splitChars":[{"char":"比干"}],"weight":10},{"charId":"2ed6bd3c","unicodeChar":"𫉃","unicodeCodePoint":"2B243","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"艹利(浰)"}],"weight":10},{"charId":"04c6b0ae","unicodeChar":"𬝚","unicodeCodePoint":"2C75A","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"艹素"}],"weight":10},{"charId":"fc374b54","unicodeChar":"𣸥","unicodeCodePoint":"23E25","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"氵彦"}],"weight":10},{"charId":"950114e6","unicodeChar":"𬞸","unicodeCodePoint":"2C7B8","pinYinChars":[{"char":"KUAN1"}],"splitChars":[{"char":"艹見"}],"weight":10},{"charId":"3f1f1507","unicodeChar":"𫉯","unicodeCodePoint":"2B26F","pinYinChars":[{"char":"HUO4"}],"splitChars":[{"char":"艹()又"}],"weight":10},{"charId":"64004476","unicodeChar":"𣵡","unicodeCodePoint":"23D61","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"氵旱"}],"weight":10},{"charId":"f12f479e","unicodeChar":"𬞦","unicodeCodePoint":"2C7A6","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"艹()廾"}],"weight":10},{"charId":"d11fd3b1","unicodeChar":"𣷿","unicodeCodePoint":"23DFF","pinYinChars":[{"char":"TUO3"}],"splitChars":[{"char":"氵月"}],"weight":10},{"charId":"b8d3ea33","unicodeChar":"𣻼","unicodeCodePoint":"23EFC","pinYinChars":[{"char":"HAO2"}],"splitChars":[{"char":"氵毫"}],"weight":10},{"charId":"b161ffad","unicodeChar":"𣻐","unicodeCodePoint":"23ED0","pinYinChars":[{"char":"JU1"}],"splitChars":[{"char":"氵且"}],"weight":10},{"charId":"e8581502","unicodeChar":"𣶶","unicodeCodePoint":"23DB6","pinYinChars":[{"char":"CAI3"}],"splitChars":[{"char":"氵采"}],"weight":10},{"charId":"adece15f","unicodeChar":"𣶏","unicodeCodePoint":"23D8F","pinYinChars":[{"char":"JIE1"}],"splitChars":[{"char":"氵疌"}],"weight":10},{"charId":"2426e8f9","unicodeChar":"𣶋","unicodeCodePoint":"23D8B","pinYinChars":[{"char":"ZHE4"}],"splitChars":[{"char":"氵炙"}],"weight":10},{"charId":"e0df76d2","unicodeChar":"𬝒","unicodeCodePoint":"2C752","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"艹俐"}],"weight":10},{"charId":"c7e8e945","unicodeChar":"𬝎","unicodeCodePoint":"2C74E","pinYinChars":[{"char":"RUI4"}],"splitChars":[{"char":"艹皿"}],"weight":10},{"charId":"a250af4b","unicodeChar":"𣲒","unicodeCodePoint":"23C92","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"氵力"}],"weight":10},{"charId":"16ec05be","unicodeChar":"𣱽","unicodeCodePoint":"23C7D","pinYinChars":[{"char":"ZHEN3"}],"splitChars":[{"char":"氵乃"}],"weight":10},{"charId":"ce838ac0","unicodeChar":"𣴥","unicodeCodePoint":"23D25","pinYinChars":[{"char":"KUANG2"}],"splitChars":[{"char":"氵狂"}],"weight":10},{"charId":"6d3b2a2b","unicodeChar":"𫉟","unicodeCodePoint":"2B25F","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"艹鈞"}],"weight":10},{"charId":"2ae31a32","unicodeChar":"𣴞","unicodeCodePoint":"23D1E","pinYinChars":[{"char":"BEN4"}],"splitChars":[{"char":"氵土"}],"weight":10},{"charId":"06ac3028","unicodeChar":"𫉔","unicodeCodePoint":"2B254","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"艹偉"}],"weight":10},{"charId":"f3a0027b","unicodeChar":"𣷫","unicodeCodePoint":"23DEB","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"氵放"}],"weight":10},{"charId":"47641682","unicodeChar":"𬢲","unicodeCodePoint":"2C8B2","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"言函"}],"weight":10},{"charId":"d1b1e1c5","unicodeChar":"𫌶","unicodeCodePoint":"2B336","pinYinChars":[{"char":"PI1"}],"splitChars":[{"char":"言丕"}],"weight":10},{"charId":"dfc9b4fd","unicodeChar":"𤆞","unicodeCodePoint":"2419E","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"火勿"}],"weight":10},{"charId":"dd8da4d0","unicodeChar":"𤆃","unicodeCodePoint":"24183","pinYinChars":[{"char":"TAI2"}],"splitChars":[{"char":"厶火"}],"weight":10},{"charId":"e29e3508","unicodeChar":"𤄖","unicodeCodePoint":"24116","pinYinChars":[{"char":"CA1"}],"splitChars":[{"char":"氵雜"}],"weight":10},{"charId":"15be9b20","unicodeChar":"𬤕","unicodeCodePoint":"2C915","pinYinChars":[{"char":"TA1"}],"splitChars":[{"char":"讠塌𦐇"}],"weight":10},{"charId":"b0c3e545","unicodeChar":"𤃈","unicodeCodePoint":"240C8","pinYinChars":[{"char":"NANG3"}],"splitChars":[{"char":"氵囊"}],"weight":10},{"charId":"46e25891","unicodeChar":"𫍲","unicodeCodePoint":"2B372","pinYinChars":[{"char":"XIAO3"}],"splitChars":[{"char":"讠叟"}],"weight":10},{"charId":"2f6a53f6","unicodeChar":"𤁪","unicodeCodePoint":"2406A","pinYinChars":[{"char":"HUA2"}],"splitChars":[{"char":"活頁"}],"weight":10},{"charId":"d6a5cac8","unicodeChar":"𫊉","unicodeCodePoint":"2B289","pinYinChars":[{"char":"SE4"}],"splitChars":[{"char":"艹止(澁)"}],"weight":10},{"charId":"3e55f031","unicodeChar":"𬟇","unicodeCodePoint":"2C7C7","pinYinChars":[{"char":"YUN4"}],"splitChars":[{"char":"艹昷"}],"weight":10},{"charId":"7bc8e33a","unicodeChar":"𣾜","unicodeCodePoint":"23F9C","pinYinChars":[{"char":"MI"}],"splitChars":[{"char":"氵淼"}],"weight":10},{"charId":"48e46ea8","unicodeChar":"𫋳","unicodeCodePoint":"2B2F3","pinYinChars":[{"char":"FANG1"}],"splitChars":[{"char":"衤方"}],"weight":10},{"charId":"c860cd76","unicodeChar":"𣽸","unicodeCodePoint":"23F78","pinYinChars":[{"char":"JIAO4"}],"splitChars":[{"char":"氵窖"}],"weight":10},{"charId":"94e83b2b","unicodeChar":"𬣡","unicodeCodePoint":"2C8E1","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"讠戋"}],"weight":10},{"charId":"476f10d3","unicodeChar":"𣽛","unicodeCodePoint":"23F5B","pinYinChars":[{"char":"ZHA2"}],"splitChars":[{"char":"氵答"}],"weight":10},{"charId":"ed68fd7e","unicodeChar":"𤂶","unicodeCodePoint":"240B6","pinYinChars":[{"char":"LIN4"}],"splitChars":[{"char":"氵隹"}],"weight":10},{"charId":"cb5b0386","unicodeChar":"𬤊","unicodeCodePoint":"2C90A","pinYinChars":[{"char":"SHI4"}],"splitChars":[{"char":"讠是"}],"weight":10},{"charId":"558f201b","unicodeChar":"𬤇","unicodeCodePoint":"2C907","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"讠土"}],"weight":10},{"charId":"63394b64","unicodeChar":"𬤁","unicodeCodePoint":"2C901","pinYinChars":[{"char":"TAO2"}],"splitChars":[{"char":"讠匋"}],"weight":10},{"charId":"07fa0f9d","unicodeChar":"𬨎","unicodeCodePoint":"2CA0E","pinYinChars":[{"char":"YOU2"}],"splitChars":[{"char":"车酋"}],"weight":10},{"charId":"d9f56bc2","unicodeChar":"𫏴","unicodeCodePoint":"2B3F4","pinYinChars":[{"char":"JU2"}],"splitChars":[{"char":"車白"}],"weight":10},{"charId":"66f28728","unicodeChar":"𫏬","unicodeCodePoint":"2B3EC","pinYinChars":[{"char":"LIA1"}],"splitChars":[{"char":"身身"}],"weight":10},{"charId":"d0a0e396","unicodeChar":"𤇕","unicodeCodePoint":"241D5","pinYinChars":[{"char":"QI"}],"splitChars":[{"char":"禾灬"}],"weight":10},{"charId":"9526caad","unicodeChar":"𬦈","unicodeCodePoint":"2C988","pinYinChars":[{"char":"TU1"}],"splitChars":[{"char":"走月"}],"weight":10},{"charId":"c66cd1b1","unicodeChar":"𥛢","unicodeCodePoint":"256E2","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"礻崇"}],"weight":10},{"charId":"b5bf03d7","unicodeChar":"𥛚","unicodeCodePoint":"256DA","pinYinChars":[{"char":"DI2"}],"splitChars":[{"char":"礻啇"}],"weight":10},{"charId":"dbb2c74e","unicodeChar":"𥚷","unicodeCodePoint":"256B7","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"礻胃"}],"weight":10},{"charId":"d6706128","unicodeChar":"𥚊","unicodeCodePoint":"2568A","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"礻坴"}],"weight":10},{"charId":"5f135f61","unicodeChar":"𥙹","unicodeCodePoint":"25679","pinYinChars":[{"char":"QI"}],"splitChars":[{"char":"礻求"}],"weight":10},{"charId":"60902a1c","unicodeChar":"𥘺","unicodeCodePoint":"2563A","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"礻正"}],"weight":10},{"charId":"74179b15","unicodeChar":"𥘮","unicodeCodePoint":"2562E","pinYinChars":[{"char":"JU1"}],"splitChars":[{"char":"礻句"}],"weight":10},{"charId":"c28c67da","unicodeChar":"𥜴","unicodeCodePoint":"25734","pinYinChars":[{"char":"QIAN1"}],"splitChars":[{"char":"礻馬"}],"weight":10},{"charId":"6ec6f635","unicodeChar":"𥘫","unicodeCodePoint":"2562B","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"礻可"}],"weight":10},{"charId":"8da97f1a","unicodeChar":"𥞧","unicodeCodePoint":"257A7","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"禾行"}],"weight":10},{"charId":"433f9293","unicodeChar":"𥣳","unicodeCodePoint":"258F3","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"禾審"}],"weight":10},{"charId":"9294352e","unicodeChar":"𥣩","unicodeCodePoint":"258E9","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"禾戈"}],"weight":10},{"charId":"b3a2751c","unicodeChar":"𥢹","unicodeCodePoint":"258B9","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"禾敫"}],"weight":10},{"charId":"1e84e324","unicodeChar":"𥫝","unicodeCodePoint":"25ADD","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"竹弋"}],"weight":10},{"charId":"b2366802","unicodeChar":"𥪀","unicodeCodePoint":"25A80","pinYinChars":[{"char":"BU1"}],"splitChars":[{"char":"立甫"}],"weight":10},{"charId":"bfa873f2","unicodeChar":"𥟠","unicodeCodePoint":"257E0","pinYinChars":[{"char":"JIE1"}],"splitChars":[{"char":"禾皆"}],"weight":10},{"charId":"fe3ba49e","unicodeChar":"𮥍","unicodeCodePoint":"2E94D","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"阝昆"}],"weight":10},{"charId":"86ba3810","unicodeChar":"𥟍","unicodeCodePoint":"257CD","pinYinChars":[{"char":"FEI3"}],"splitChars":[{"char":"禾非"}],"weight":10},{"charId":"a26e4046","unicodeChar":"𥞚","unicodeCodePoint":"2579A","pinYinChars":[{"char":"RU2"}],"splitChars":[{"char":"禾如"}],"weight":10},{"charId":"4cd822cc","unicodeChar":"𥞊","unicodeCodePoint":"2578A","pinYinChars":[{"char":"MEI4"}],"splitChars":[{"char":"禾未"}],"weight":10},{"charId":"f7362fc1","unicodeChar":"𥞃","unicodeCodePoint":"25783","pinYinChars":[{"char":"CHUI4"}],"splitChars":[{"char":"禾出"}],"weight":10},{"charId":"dad32926","unicodeChar":"𥝴","unicodeCodePoint":"25774","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"禾冘"}],"weight":10},{"charId":"604a130b","unicodeChar":"𥝦","unicodeCodePoint":"25766","pinYinChars":[{"char":"NIU3"}],"splitChars":[{"char":"禾丑"}],"weight":10},{"charId":"84e4104a","unicodeChar":"𥝥","unicodeCodePoint":"25765","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"禾及"}],"weight":10},{"charId":"bf7ef6e9","unicodeChar":"𥡅","unicodeCodePoint":"25845","pinYinChars":[{"char":"GAO1"}],"splitChars":[{"char":"禾本"}],"weight":10},{"charId":"435449a9","unicodeChar":"𥠅","unicodeCodePoint":"25805","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"禾奂"}],"weight":10},{"charId":"02374d38","unicodeChar":"𥛷","unicodeCodePoint":"256F7","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"礻粦"}],"weight":10},{"charId":"0d2237e7","unicodeChar":"𫣅","unicodeCodePoint":"2B8C5","pinYinChars":[{"char":"KUI2"}],"splitChars":[{"char":"亻豈"}],"weight":10},{"charId":"835baeb8","unicodeChar":"𥛯","unicodeCodePoint":"256EF","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"礻矞"}],"weight":10},{"charId":"4e004ef1","unicodeChar":"𠊄","unicodeCodePoint":"20284","pinYinChars":[{"char":"QIN2"}],"splitChars":[{"char":"亻金"}],"weight":10},{"charId":"15c0d4f2","unicodeChar":"𥮤","unicodeCodePoint":"25BA4","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"竹隶"}],"weight":10},{"charId":"8d6b0bfb","unicodeChar":"𠋥","unicodeCodePoint":"202E5","pinYinChars":[{"char":"MEI2"}],"splitChars":[{"char":"亻眉"}],"weight":10},{"charId":"d4ad9c85","unicodeChar":"𬝌","unicodeCodePoint":"2C74C","pinYinChars":[{"char":"BO1"}],"splitChars":[{"char":"艹柏"}],"weight":10},{"charId":"22a78759","unicodeChar":"𠉄","unicodeCodePoint":"20244","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"亻辛"}],"weight":10},{"charId":"657f0a2d","unicodeChar":"𥭡","unicodeCodePoint":"25B61","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"竹志"}],"weight":10},{"charId":"28cd2a64","unicodeChar":"𥳾","unicodeCodePoint":"25CFE","pinYinChars":[{"char":"GOU1"}],"splitChars":[{"char":"竹鈞"}],"weight":10},{"charId":"cd456a73","unicodeChar":"𥳕","unicodeCodePoint":"25CD5","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"竹舒"}],"weight":10},{"charId":"f09bed47","unicodeChar":"𥳇","unicodeCodePoint":"25CC7","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"竹复"}],"weight":10},{"charId":"cf3132a5","unicodeChar":"𥲑","unicodeCodePoint":"25C91","pinYinChars":[{"char":"MAN2"}],"splitChars":[{"char":"竹曼"}],"weight":10},{"charId":"b284c94b","unicodeChar":"𥿩","unicodeCodePoint":"25FE9","pinYinChars":[{"char":"ZI4"}],"splitChars":[{"char":"次糸"}],"weight":10},{"charId":"f9432202","unicodeChar":"𥿝","unicodeCodePoint":"25FDD","pinYinChars":[{"char":"DAI4"}],"splitChars":[{"char":"代糸"}],"weight":10},{"charId":"e51d4d38","unicodeChar":"𥾋","unicodeCodePoint":"25F8B","pinYinChars":[{"char":"RENG2"}],"splitChars":[{"char":"糹乃"}],"weight":10},{"charId":"2f26278f","unicodeChar":"𥽬","unicodeCodePoint":"25F6C","pinYinChars":[{"char":"NIANG4"}],"splitChars":[{"char":"米襄"}],"weight":10},{"charId":"0468ab75","unicodeChar":"𥼁","unicodeCodePoint":"25F01","pinYinChars":[{"char":"LV3"}],"splitChars":[{"char":"米率"}],"weight":10},{"charId":"025b7200","unicodeChar":"𠒣","unicodeCodePoint":"204A3","pinYinChars":[{"char":"XING2"}],"splitChars":[{"char":"先行"}],"weight":10},{"charId":"ea04f94d","unicodeChar":"𠓰","unicodeCodePoint":"204F0","pinYinChars":[{"char":"SHUANG1"}],"splitChars":[{"char":"全双"}],"weight":10},{"charId":"37ad6590","unicodeChar":"𥯔","unicodeCodePoint":"25BD4","pinYinChars":[{"char":"JU3"}],"splitChars":[{"char":"竹禹"}],"weight":10},{"charId":"37e4b763","unicodeChar":"𠍐","unicodeCodePoint":"20350","pinYinChars":[{"char":"LENG2"}],"splitChars":[{"char":"令狐"}],"weight":10},{"charId":"f0c4ea8b","unicodeChar":"𠎶","unicodeCodePoint":"203B6","pinYinChars":[{"char":"ZAI3"}],"splitChars":[{"char":"未人"}],"weight":10},{"charId":"72052fa1","unicodeChar":"𥮬","unicodeCodePoint":"25BAC","pinYinChars":[{"char":"XI4"}],"splitChars":[{"char":"竹易"}],"weight":10},{"charId":"73e93c56","unicodeChar":"𥦨","unicodeCodePoint":"259A8","pinYinChars":[{"char":"KE4"}],"splitChars":[{"char":"穴金"}],"weight":10},{"charId":"b5796fa7","unicodeChar":"𥭞","unicodeCodePoint":"25B5E","pinYinChars":[{"char":"YUAN4"}],"splitChars":[{"char":"竹肙"}],"weight":10},{"charId":"33b3121b","unicodeChar":"𥬯","unicodeCodePoint":"25B2F","pinYinChars":[{"char":"KAO3"}],"splitChars":[{"char":"竹考"}],"weight":10},{"charId":"3ef193fa","unicodeChar":"𥬝","unicodeCodePoint":"25B1D","pinYinChars":[{"char":"BAI2"}],"splitChars":[{"char":"竹白"}],"weight":10},{"charId":"0f553876","unicodeChar":"𥬉","unicodeCodePoint":"25B09","pinYinChars":[{"char":"GOU1"}],"splitChars":[{"char":"竹勾"}],"weight":10},{"charId":"cf8631f0","unicodeChar":"𥫸","unicodeCodePoint":"25AF8","pinYinChars":[{"char":"SHUI3"}],"splitChars":[{"char":"竹水"}],"weight":10},{"charId":"31155e2d","unicodeChar":"𥱤","unicodeCodePoint":"25C64","pinYinChars":[{"char":"XIU1"}],"splitChars":[{"char":"竹修"}],"weight":10},{"charId":"4c12f20c","unicodeChar":"𥯪","unicodeCodePoint":"25BEA","pinYinChars":[{"char":"SOU4"}],"splitChars":[{"char":"竹奏"}],"weight":10},{"charId":"e7c50a58","unicodeChar":"𥯤","unicodeCodePoint":"25BE4","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"竹韋"}],"weight":10},{"charId":"e9124c18","unicodeChar":"𥯕","unicodeCodePoint":"25BD5","pinYinChars":[{"char":"DANG4"}],"splitChars":[{"char":"竹昜"}],"weight":10},{"charId":"60598c64","unicodeChar":"𥧓","unicodeCodePoint":"259D3","pinYinChars":[{"char":"MA3"}],"splitChars":[{"char":"穴馬"}],"weight":10},{"charId":"c5d13461","unicodeChar":"𥧏","unicodeCodePoint":"259CF","pinYinChars":[{"char":"CEN3"}],"splitChars":[{"char":"穴者"}],"weight":10},{"charId":"c7225acf","unicodeChar":"𡊰","unicodeCodePoint":"212B0","pinYinChars":[{"char":"TIAN2"}],"splitChars":[{"char":"土田"}],"weight":10},{"charId":"230e9390","unicodeChar":"𦁤","unicodeCodePoint":"26064","pinYinChars":[{"char":"NIAN4"}],"splitChars":[{"char":"糹念"}],"weight":10},{"charId":"f2f0cb65","unicodeChar":"𡊤","unicodeCodePoint":"212A4","pinYinChars":[{"char":"YING4"}],"splitChars":[{"char":"土用"}],"weight":10},{"charId":"3127a7e7","unicodeChar":"𡊚","unicodeCodePoint":"2129A","pinYinChars":[{"char":"PO1"}],"splitChars":[{"char":"土白"}],"weight":10},{"charId":"7a21016f","unicodeChar":"𠛼","unicodeCodePoint":"206FC","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"并刂"}],"weight":10},{"charId":"873fd6d2","unicodeChar":"𦆆","unicodeCodePoint":"26186","pinYinChars":[{"char":"LIAN2"}],"splitChars":[{"char":"糹廉"}],"weight":10},{"charId":"79971a53","unicodeChar":"𠚵","unicodeCodePoint":"206B5","pinYinChars":[{"char":"JU4"}],"splitChars":[{"char":"及刂"}],"weight":10},{"charId":"f95f5f4f","unicodeChar":"𦅼","unicodeCodePoint":"2617C","pinYinChars":[{"char":"DAN4"}],"splitChars":[{"char":"糹詹"}],"weight":10},{"charId":"c1ae2ed6","unicodeChar":"𠛀","unicodeCodePoint":"206C0","pinYinChars":[{"char":"ZHONG1"}],"splitChars":[{"char":"公刂"}],"weight":10},{"charId":"8979fe2f","unicodeChar":"𦅣","unicodeCodePoint":"26163","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"糹攵"}],"weight":10},{"charId":"1ec4bec7","unicodeChar":"𡉦","unicodeCodePoint":"21266","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"土午"}],"weight":10},{"charId":"0f553b11","unicodeChar":"𦏸","unicodeCodePoint":"263F8","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"羽也"}],"weight":10},{"charId":"a6454840","unicodeChar":"𡉫","unicodeCodePoint":"2126B","pinYinChars":[{"char":"TUN2"}],"splitChars":[{"char":"屯土"}],"weight":10},{"charId":"d8c2ce68","unicodeChar":"𡉑","unicodeCodePoint":"21251","pinYinChars":[{"char":"DA1"}],"splitChars":[{"char":"土大"}],"weight":10},{"charId":"984259b6","unicodeChar":"𡉥","unicodeCodePoint":"21265","pinYinChars":[{"char":"CHONG1"}],"splitChars":[{"char":"土中"}],"weight":10},{"charId":"02d7191b","unicodeChar":"𦌊","unicodeCodePoint":"2630A","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"四欠"}],"weight":10},{"charId":"167bf169","unicodeChar":"𦋅","unicodeCodePoint":"262C5","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"四圭"}],"weight":10},{"charId":"7b52c12a","unicodeChar":"𡊿","unicodeCodePoint":"212BF","pinYinChars":[{"char":"CHONG1"}],"splitChars":[{"char":"土充"}],"weight":10},{"charId":"897190ab","unicodeChar":"𡋎","unicodeCodePoint":"212CE","pinYinChars":[{"char":"LAO3"}],"splitChars":[{"char":"土老"}],"weight":10},{"charId":"111d848a","unicodeChar":"𡊱","unicodeCodePoint":"212B1","pinYinChars":[{"char":"ZHAO1"}],"splitChars":[{"char":"土召"}],"weight":10},{"charId":"bfc25cbc","unicodeChar":"𡊻","unicodeCodePoint":"212BB","pinYinChars":[{"char":"LIE4"}],"splitChars":[{"char":"土列"}],"weight":10},{"charId":"f247007a","unicodeChar":"𦂄","unicodeCodePoint":"26084","pinYinChars":[{"char":"KAI1"}],"splitChars":[{"char":"糹皆"}],"weight":10},{"charId":"3e0e47eb","unicodeChar":"𠰉","unicodeCodePoint":"20C09","pinYinChars":[{"char":"CHAO1"}],"splitChars":[{"char":"口召"}],"weight":10},{"charId":"a81c8b47","unicodeChar":"𥵧","unicodeCodePoint":"25D67","pinYinChars":[{"char":"QIN3"}],"splitChars":[{"char":"竹盡"}],"weight":10},{"charId":"f094f733","unicodeChar":"𠰩","unicodeCodePoint":"20C29","pinYinChars":[{"char":"YONG4"}],"splitChars":[{"char":"口用"}],"weight":10},{"charId":"8cf9f693","unicodeChar":"𥵞","unicodeCodePoint":"25D5E","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"竹截"}],"weight":10},{"charId":"7c8c57ed","unicodeChar":"𠱐","unicodeCodePoint":"20C50","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"口吴"}],"weight":10},{"charId":"44d9bff9","unicodeChar":"𠡒","unicodeCodePoint":"20852","pinYinChars":[{"char":"DUI3"}],"splitChars":[{"char":"𠂤力"}],"weight":10},{"charId":"dc161582","unicodeChar":"𦀕","unicodeCodePoint":"26015","pinYinChars":[{"char":"YE4"}],"splitChars":[{"char":"糹邑"}],"weight":10},{"charId":"1a31488b","unicodeChar":"𠕽","unicodeCodePoint":"2057D","pinYinChars":[{"char":"LAN"}],"splitChars":[{"char":"冖水"}],"weight":10},{"charId":"dd60f313","unicodeChar":"𠙶","unicodeCodePoint":"20676","pinYinChars":[{"char":"OU3"}],"splitChars":[{"char":"了凵"}],"weight":10},{"charId":"28cae6af","unicodeChar":"𦅘","unicodeCodePoint":"26158","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"糹間"}],"weight":10},{"charId":"90f8c65e","unicodeChar":"𠕇","unicodeCodePoint":"20547","pinYinChars":[{"char":"DIAN4"}],"splitChars":[{"char":"冇丶"}],"weight":10},{"charId":"eeb08818","unicodeChar":"𦄢","unicodeCodePoint":"26122","pinYinChars":[{"char":"YONG1"}],"splitChars":[{"char":"糹庸"}],"weight":10},{"charId":"2688dc17","unicodeChar":"𦂕","unicodeCodePoint":"26095","pinYinChars":[{"char":"OU2"}],"splitChars":[{"char":"糹禺"}],"weight":10},{"charId":"013f4f6d","unicodeChar":"𠵌","unicodeCodePoint":"20D4C","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"口宜"}],"weight":10},{"charId":"c046b80a","unicodeChar":"𠼟","unicodeCodePoint":"20F1F","pinYinChars":[{"char":"LUE4"}],"splitChars":[{"char":"口面"}],"weight":10},{"charId":"16599511","unicodeChar":"𠳐","unicodeCodePoint":"20CD0","pinYinChars":[{"char":"BANG1"}],"splitChars":[{"char":"口邦"}],"weight":10},{"charId":"e742cc25","unicodeChar":"𡛕","unicodeCodePoint":"216D5","pinYinChars":[{"char":"TAI4"}],"splitChars":[{"char":"女太"}],"weight":10},{"charId":"2521b859","unicodeChar":"𡛩","unicodeCodePoint":"216E9","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"女立"}],"weight":10},{"charId":"119dbcb9","unicodeChar":"𡘧","unicodeCodePoint":"21627","pinYinChars":[{"char":"QIA2"}],"splitChars":[{"char":"大步"}],"weight":10},{"charId":"1f8161ef","unicodeChar":"𦑍","unicodeCodePoint":"2644D","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"或羽"}],"weight":10},{"charId":"3d1ffe61","unicodeChar":"𦑋","unicodeCodePoint":"2644B","pinYinChars":[{"char":"ZU2"}],"splitChars":[{"char":"卒羽"}],"weight":10},{"charId":"79c4efaf","unicodeChar":"𡑒","unicodeCodePoint":"21452","pinYinChars":[{"char":"GAN3"}],"splitChars":[{"char":"土敢"}],"weight":10},{"charId":"d088b558","unicodeChar":"𡘙","unicodeCodePoint":"21619","pinYinChars":[{"char":"TAI4"}],"splitChars":[{"char":"大大"}],"weight":10},{"charId":"e7af4bfd","unicodeChar":"𦑁","unicodeCodePoint":"26441","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"羽夋"}],"weight":10},{"charId":"a8a9dd30","unicodeChar":"𡐹","unicodeCodePoint":"21439","pinYinChars":[{"char":"EN3"}],"splitChars":[{"char":"土景"}],"weight":10},{"charId":"437adc36","unicodeChar":"𡑄","unicodeCodePoint":"21444","pinYinChars":[{"char":"ZHANG3"}],"splitChars":[{"char":"土掌"}],"weight":10},{"charId":"e14bd9a4","unicodeChar":"𦒘","unicodeCodePoint":"26498","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"西羽"}],"weight":10},{"charId":"df0a05d6","unicodeChar":"𡏼","unicodeCodePoint":"213FC","pinYinChars":[{"char":"AO2"}],"splitChars":[{"char":"土敖"}],"weight":10},{"charId":"9d2c8865","unicodeChar":"𦗭","unicodeCodePoint":"265ED","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"彭耳"}],"weight":10},{"charId":"cc4415a9","unicodeChar":"𡐓","unicodeCodePoint":"21413","pinYinChars":[{"char":"KANG1"}],"splitChars":[{"char":"土康"}],"weight":10},{"charId":"727d39af","unicodeChar":"𦖽","unicodeCodePoint":"265BD","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"𤇾耳"}],"weight":10},{"charId":"0a84e91c","unicodeChar":"𡏞","unicodeCodePoint":"213DE","pinYinChars":[{"char":"JIANG3"}],"splitChars":[{"char":"土冓"}],"weight":10},{"charId":"39825c6d","unicodeChar":"𦖵","unicodeCodePoint":"265B5","pinYinChars":[{"char":"NU"}],"splitChars":[{"char":"耳爰"}],"weight":10},{"charId":"fb1c038b","unicodeChar":"𡎜","unicodeCodePoint":"2139C","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"土南"}],"weight":10},{"charId":"0209ec94","unicodeChar":"𦕠","unicodeCodePoint":"26560","pinYinChars":[{"char":"JU4"}],"splitChars":[{"char":"耳共"}],"weight":10},{"charId":"19aab38d","unicodeChar":"𡏊","unicodeCodePoint":"213CA","pinYinChars":[{"char":"QIAN1"}],"splitChars":[{"char":"土兼"}],"weight":10},{"charId":"1e3047c2","unicodeChar":"𦔿","unicodeCodePoint":"2653F","pinYinChars":[{"char":"TIAN4"}],"splitChars":[{"char":"耳天"}],"weight":10},{"charId":"3b880b68","unicodeChar":"𡛻","unicodeCodePoint":"216FB","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"女永"}],"weight":10},{"charId":"cf218bc5","unicodeChar":"𡛼","unicodeCodePoint":"216FC","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"女玉"}],"weight":10},{"charId":"8f6919a9","unicodeChar":"𡍲","unicodeCodePoint":"21372","pinYinChars":[{"char":"DA1"}],"splitChars":[{"char":"土耳(耷)"}],"weight":10},{"charId":"9f72934d","unicodeChar":"𦊓","unicodeCodePoint":"26293","pinYinChars":[{"char":"LING3"}],"splitChars":[{"char":"四令"}],"weight":10},{"charId":"148177e7","unicodeChar":"𡍹","unicodeCodePoint":"21379","pinYinChars":[{"char":"BAI3"}],"splitChars":[{"char":"土拜"}],"weight":10},{"charId":"9838998d","unicodeChar":"𡌢","unicodeCodePoint":"21322","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"土含"}],"weight":10},{"charId":"ba3fb09d","unicodeChar":"𡌚","unicodeCodePoint":"2131A","pinYinChars":[{"char":"CHA3"}],"splitChars":[{"char":"土坐"}],"weight":10},{"charId":"d141c630","unicodeChar":"𦆴","unicodeCodePoint":"261B4","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"糹絲("}],"weight":10},{"charId":"631a4dda","unicodeChar":"𦐹","unicodeCodePoint":"26439","pinYinChars":[{"char":"SHEN2"}],"splitChars":[{"char":"羽辛"}],"weight":10},{"charId":"884cff8d","unicodeChar":"𡉽","unicodeCodePoint":"2127D","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"土六"}],"weight":10},{"charId":"c65f2029","unicodeChar":"𦐄","unicodeCodePoint":"26404","pinYinChars":[{"char":"HANG2"}],"splitChars":[{"char":"亢羽"}],"weight":10},{"charId":"5da25476","unicodeChar":"𡋟","unicodeCodePoint":"212DF","pinYinChars":[{"char":"GAO4"}],"splitChars":[{"char":"土交"}],"weight":10},{"charId":"48a1feda","unicodeChar":"𦒑","unicodeCodePoint":"26491","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"矛(矞)羽"}],"weight":10},{"charId":"3f732993","unicodeChar":"𡋗","unicodeCodePoint":"212D7","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"土会"}],"weight":10},{"charId":"c4fc542b","unicodeChar":"𦒍","unicodeCodePoint":"2648D","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"童羽"}],"weight":10},{"charId":"680b66e3","unicodeChar":"𡋙","unicodeCodePoint":"212D9","pinYinChars":[{"char":"HUI2"}],"splitChars":[{"char":"土回"}],"weight":10},{"charId":"b0c446ab","unicodeChar":"𦑹","unicodeCodePoint":"26479","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"臼羽"}],"weight":10},{"charId":"0a2a0c02","unicodeChar":"𡋕","unicodeCodePoint":"212D5","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"土旬"}],"weight":10},{"charId":"a43d1fb3","unicodeChar":"𦑡","unicodeCodePoint":"26461","pinYinChars":[{"char":"CHI2"}],"splitChars":[{"char":"是羽"}],"weight":10},{"charId":"98221421","unicodeChar":"𦑠","unicodeCodePoint":"26460","pinYinChars":[{"char":"HONG1"}],"splitChars":[{"char":"羽皇"}],"weight":10},{"charId":"ff65932b","unicodeChar":"𦑝","unicodeCodePoint":"2645D","pinYinChars":[{"char":"CHONG3"}],"splitChars":[{"char":"重羽"}],"weight":10},{"charId":"5172e189","unicodeChar":"𦑘","unicodeCodePoint":"26458","pinYinChars":[{"char":"XIAN2"}],"splitChars":[{"char":"咸羽"}],"weight":10},{"charId":"77b048b7","unicodeChar":"𡎚","unicodeCodePoint":"2139A","pinYinChars":[{"char":"PIAN3"}],"splitChars":[{"char":"土扁"}],"weight":10},{"charId":"110fa7fb","unicodeChar":"𡍼","unicodeCodePoint":"2137C","pinYinChars":[{"char":"TU2"}],"splitChars":[{"char":"涂土"}],"weight":10},{"charId":"c1389c03","unicodeChar":"𡎑","unicodeCodePoint":"21391","pinYinChars":[{"char":"AN4"}],"splitChars":[{"char":"土彦"}],"weight":10},{"charId":"9661230e","unicodeChar":"𢆓","unicodeCodePoint":"22193","pinYinChars":[{"char":"BA1"}],"splitChars":[{"char":"不平"}],"weight":10},{"charId":"df9a9cc9","unicodeChar":"𡺎","unicodeCodePoint":"21E8E","pinYinChars":[{"char":"CHAN2"}],"splitChars":[{"char":"山丶"}],"weight":10},{"charId":"13f39cd7","unicodeChar":"𡼎","unicodeCodePoint":"21F0E","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"山喜"}],"weight":10},{"charId":"d8974245","unicodeChar":"𦙮","unicodeCodePoint":"2666E","pinYinChars":[{"char":"JU2"}],"splitChars":[{"char":"月穴"}],"weight":10},{"charId":"dd056e7b","unicodeChar":"𦙀","unicodeCodePoint":"26640","pinYinChars":[{"char":"PAN4"}],"splitChars":[{"char":"月反"}],"weight":10},{"charId":"b407fb8b","unicodeChar":"𡷀","unicodeCodePoint":"21DC0","pinYinChars":[{"char":"GUANG1"}],"splitChars":[{"char":"光山"}],"weight":10},{"charId":"26549899","unicodeChar":"𡷈","unicodeCodePoint":"21DC8","pinYinChars":[{"char":"SHI4"}],"splitChars":[{"char":"山山"}],"weight":10},{"charId":"9e5d9e69","unicodeChar":"𦘪","unicodeCodePoint":"2662A","pinYinChars":[{"char":"CHI4"}],"splitChars":[{"char":"月匕"}],"weight":10},{"charId":"d26749c9","unicodeChar":"𡶦","unicodeCodePoint":"21DA6","pinYinChars":[{"char":"YA4"}],"splitChars":[{"char":"山丘"}],"weight":10},{"charId":"2fe6a6cd","unicodeChar":"𡶄","unicodeCodePoint":"21D84","pinYinChars":[{"char":"BAO1"}],"splitChars":[{"char":"山包"}],"weight":10},{"charId":"2e38a6ed","unicodeChar":"𡵅","unicodeCodePoint":"21D45","pinYinChars":[{"char":"LA4"}],"splitChars":[{"char":"山川"}],"weight":10},{"charId":"b11f4931","unicodeChar":"𡴭","unicodeCodePoint":"21D2D","pinYinChars":[{"char":"YA4"}],"splitChars":[{"char":"山乙"}],"weight":10},{"charId":"6ada8e8e","unicodeChar":"𡥧","unicodeCodePoint":"21967","pinYinChars":[{"char":"JIN4"}],"splitChars":[{"char":"子尽"}],"weight":10},{"charId":"7cbb4a9f","unicodeChar":"𦔖","unicodeCodePoint":"26516","pinYinChars":[{"char":"LIAN2"}],"splitChars":[{"char":"耒連"}],"weight":10},{"charId":"4af77b09","unicodeChar":"𦓱","unicodeCodePoint":"264F1","pinYinChars":[{"char":"GE4"}],"splitChars":[{"char":"耒各"}],"weight":10},{"charId":"f38e218c","unicodeChar":"𡟛","unicodeCodePoint":"217DB","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"女屏"}],"weight":10},{"charId":"0e4a1fc0","unicodeChar":"𦓰","unicodeCodePoint":"264F0","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"耒全"}],"weight":10},{"charId":"d9ac7e4a","unicodeChar":"𡟯","unicodeCodePoint":"217EF","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"女恩"}],"weight":10},{"charId":"981d3f69","unicodeChar":"𦓔","unicodeCodePoint":"264D4","pinYinChars":[{"char":"ER2"}],"splitChars":[{"char":"而而"}],"weight":10},{"charId":"f4643434","unicodeChar":"𡟃","unicodeCodePoint":"217C3","pinYinChars":[{"char":"YUAN4"}],"splitChars":[{"char":"女苑"}],"weight":10},{"charId":"3ad428e5","unicodeChar":"𦓎","unicodeCodePoint":"264CE","pinYinChars":[{"char":"NAI4"}],"splitChars":[{"char":"而刂"}],"weight":10},{"charId":"57c22bc8","unicodeChar":"𡝹","unicodeCodePoint":"21779","pinYinChars":[{"char":"MENG4"}],"splitChars":[{"char":"女孟"}],"weight":10},{"charId":"f00f7ef8","unicodeChar":"𡜿","unicodeCodePoint":"2173F","pinYinChars":[{"char":"MU3"}],"splitChars":[{"char":"女亩"}],"weight":10},{"charId":"c84ee4df","unicodeChar":"𡜵","unicodeCodePoint":"21735","pinYinChars":[{"char":"PU1"}],"splitChars":[{"char":"女甫"}],"weight":10},{"charId":"386bb786","unicodeChar":"𣗬","unicodeCodePoint":"235EC","pinYinChars":[{"char":"QIU3"}],"splitChars":[{"char":"木臭"}],"weight":10},{"charId":"997c7d01","unicodeChar":"𣗁","unicodeCodePoint":"235C1","pinYinChars":[{"char":"QIA4"}],"splitChars":[{"char":"石木"}],"weight":10},{"charId":"227ca19e","unicodeChar":"𣒍","unicodeCodePoint":"2348D","pinYinChars":[{"char":"HE2"}],"splitChars":[{"char":"木何"}],"weight":10},{"charId":"224e157b","unicodeChar":"𣔙","unicodeCodePoint":"23519","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"木欣"}],"weight":10},{"charId":"3f66fff8","unicodeChar":"𣑯","unicodeCodePoint":"2346F","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"木兆"}],"weight":10},{"charId":"5298d1e2","unicodeChar":"𣍏","unicodeCodePoint":"2334F","pinYinChars":[{"char":"CHA4"}],"splitChars":[{"char":"更差"}],"weight":10},{"charId":"d97ec019","unicodeChar":"𣊭","unicodeCodePoint":"232AD","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"昌昌"}],"weight":10},{"charId":"c2aa8b93","unicodeChar":"𣍇","unicodeCodePoint":"23347","pinYinChars":[{"char":"JU4"}],"splitChars":[{"char":"更取"}],"weight":10},{"charId":"73da2473","unicodeChar":"𣈅","unicodeCodePoint":"23205","pinYinChars":[{"char":"CAO2"}],"splitChars":[{"char":"林日"}],"weight":10},{"charId":"086d6d03","unicodeChar":"𣊐","unicodeCodePoint":"23290","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"日晨"}],"weight":10},{"charId":"9f28db70","unicodeChar":"𣁦","unicodeCodePoint":"23066","pinYinChars":[{"char":"PAN2"}],"splitChars":[{"char":"斌全"}],"weight":10},{"charId":"4a63b8f2","unicodeChar":"𣁚","unicodeCodePoint":"2305A","pinYinChars":[{"char":"QING1"}],"splitChars":[{"char":"文即"}],"weight":10},{"charId":"f8b4f9ce","unicodeChar":"𢬑","unicodeCodePoint":"22B11","pinYinChars":[{"char":"QU1"}],"splitChars":[{"char":"扌曲"}],"weight":10},{"charId":"2605b5aa","unicodeChar":"𢭪","unicodeCodePoint":"22B6A","pinYinChars":[{"char":"KE1"}],"splitChars":[{"char":"扌克"}],"weight":10},{"charId":"59b12a6a","unicodeChar":"𢠖","unicodeCodePoint":"22816","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"林(女)心"}],"weight":10},{"charId":"921d4e76","unicodeChar":"𢛜","unicodeCodePoint":"226DC","pinYinChars":[{"char":"NI4"}],"splitChars":[{"char":"泥心"}],"weight":10},{"charId":"a3ed0ccd","unicodeChar":"𢔁","unicodeCodePoint":"22501","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"彳夌"}],"weight":10},{"charId":"85a56786","unicodeChar":"𢌷","unicodeCodePoint":"22337","pinYinChars":[{"char":"QU1"}],"splitChars":[{"char":"内廾"}],"weight":10},{"charId":"d9d102c6","unicodeChar":"𢈍","unicodeCodePoint":"2220D","pinYinChars":[{"char":"SHI3"}],"splitChars":[{"char":"广米"}],"weight":10},{"charId":"ec925908","unicodeChar":"𣸣","unicodeCodePoint":"23E23","pinYinChars":[{"char":"FEN2"}],"splitChars":[{"char":"氵贲"}],"weight":10},{"charId":"a7788900","unicodeChar":"𣵜","unicodeCodePoint":"23D5C","pinYinChars":[{"char":"AO4"}],"splitChars":[{"char":"氵山"}],"weight":10},{"charId":"0056e363","unicodeChar":"𣵛","unicodeCodePoint":"23D5B","pinYinChars":[{"char":"XIU4"}],"splitChars":[{"char":"氵秀"}],"weight":10},{"charId":"906fc1f2","unicodeChar":"𣳑","unicodeCodePoint":"23CD1","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"氵申"}],"weight":10},{"charId":"364c75bc","unicodeChar":"𣲲","unicodeCodePoint":"23CB2","pinYinChars":[{"char":"NI4"}],"splitChars":[{"char":"氵禾"}],"weight":10},{"charId":"ebc3657a","unicodeChar":"𣲾","unicodeCodePoint":"23CBE","pinYinChars":[{"char":"GUAI4"}],"splitChars":[{"char":"氵圣"}],"weight":10},{"charId":"ae8f38a4","unicodeChar":"𣲥","unicodeCodePoint":"23CA5","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"氵丹"}],"weight":10},{"charId":"ee23feaf","unicodeChar":"𣭲","unicodeCodePoint":"23B72","pinYinChars":[{"char":"RONG3"}],"splitChars":[{"char":"甬毛"}],"weight":10},{"charId":"98627846","unicodeChar":"𣬛","unicodeCodePoint":"23B1B","pinYinChars":[{"char":"SAN1"}],"splitChars":[{"char":"丿七"}],"weight":10},{"charId":"5a9fadce","unicodeChar":"𣚭","unicodeCodePoint":"236AD","pinYinChars":[{"char":"JU2"}],"splitChars":[{"char":"木菊"}],"weight":10},{"charId":"8c5122ea","unicodeChar":"𤲞","unicodeCodePoint":"24C9E","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"人田"}],"weight":10},{"charId":"13c342c7","unicodeChar":"𤱧","unicodeCodePoint":"24C67","pinYinChars":[{"char":"TUO3"}],"splitChars":[{"char":"田朵"}],"weight":10},{"charId":"6e6403bf","unicodeChar":"𤴻","unicodeCodePoint":"24D3B","pinYinChars":[{"char":"TAO2"}],"splitChars":[{"char":"疒犬"}],"weight":10},{"charId":"6056afc1","unicodeChar":"𤳖","unicodeCodePoint":"24CD6","pinYinChars":[{"char":"BAN1"}],"splitChars":[{"char":"番去"}],"weight":10},{"charId":"132ec342","unicodeChar":"𤫫","unicodeCodePoint":"24AEB","pinYinChars":[{"char":"BAN1"}],"splitChars":[{"char":"分瓜"}],"weight":10},{"charId":"67d606f3","unicodeChar":"𮪒","unicodeCodePoint":"2EA92","pinYinChars":[{"char":"YING1"}],"splitChars":[{"char":"馬英"}],"weight":10},{"charId":"d34d2c7b","unicodeChar":"𥇦","unicodeCodePoint":"251E6","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"目析"}],"weight":10},{"charId":"198ade85","unicodeChar":"𥇖","unicodeCodePoint":"251D6","pinYinChars":[{"char":"FEI1"}],"splitChars":[{"char":"非目"}],"weight":10},{"charId":"16f4cb09","unicodeChar":"𤽈","unicodeCodePoint":"24F48","pinYinChars":[{"char":"GAO3"}],"splitChars":[{"char":"白火"}],"weight":10},{"charId":"3674590b","unicodeChar":"𬊣","unicodeCodePoint":"2C2A3","pinYinChars":[{"char":"CHUN1"}],"splitChars":[{"char":"火京"}],"weight":10},{"charId":"0aa7ca4b","unicodeChar":"𥅉","unicodeCodePoint":"25149","pinYinChars":[{"char":"MEI2"}],"splitChars":[{"char":"丿冒"}],"weight":10},{"charId":"dd6dbd8e","unicodeChar":"𥅅","unicodeCodePoint":"25145","pinYinChars":[{"char":"MU4"}],"splitChars":[{"char":"目击"}],"weight":10},{"charId":"7ced85cb","unicodeChar":"𥊧","unicodeCodePoint":"252A7","pinYinChars":[{"char":"KOU4"}],"splitChars":[{"char":"声(殸)目"}],"weight":10},{"charId":"2e1f19ad","unicodeChar":"𥉐","unicodeCodePoint":"25250","pinYinChars":[{"char":"QI1"}],"splitChars":[{"char":"目奚"}],"weight":10},{"charId":"8f83e05e","unicodeChar":"𫘘","unicodeCodePoint":"2B618","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"路馬"}],"weight":10},{"charId":"96181621","unicodeChar":"𥈨","unicodeCodePoint":"25228","pinYinChars":[{"char":"DU"}],"splitChars":[{"char":"目段"}],"weight":10},{"charId":"0b6bc938","unicodeChar":"龭","unicodeCodePoint":"9FAD","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"馬異"}],"weight":10},{"charId":"813b92b8","unicodeChar":"𤽹","unicodeCodePoint":"24F79","pinYinChars":[{"char":"BAI4"}],"splitChars":[{"char":"白卑"}],"weight":10},{"charId":"d2305a9c","unicodeChar":"𫗧","unicodeCodePoint":"2B5E7","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"饣束"}],"weight":10},{"charId":"701ff451","unicodeChar":"𤰼","unicodeCodePoint":"24C3C","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"田牛"}],"weight":10},{"charId":"8cb5963c","unicodeChar":"𬲯","unicodeCodePoint":"2CCAF","pinYinChars":[{"char":"GOU1"}],"splitChars":[{"char":"饣句"}],"weight":10},{"charId":"80f72228","unicodeChar":"𤷍","unicodeCodePoint":"24DCD","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"疒其"}],"weight":10},{"charId":"d630cba1","unicodeChar":"𤵐","unicodeCodePoint":"24D50","pinYinChars":[{"char":"WU4"}],"splitChars":[{"char":"疒勿"}],"weight":10},{"charId":"e95d4812","unicodeChar":"龮","unicodeCodePoint":"9FAE","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"馬翼"}],"weight":10},{"charId":"da5b10a5","unicodeChar":"𥄟","unicodeCodePoint":"2511F","pinYinChars":[{"char":"SHAN3"}],"splitChars":[{"char":"分目"}],"weight":10},{"charId":"44dfd3c0","unicodeChar":"𥕥","unicodeCodePoint":"25565","pinYinChars":[{"char":"OU1"}],"splitChars":[{"char":"石區"}],"weight":10},{"charId":"ed3066a6","unicodeChar":"𬶐","unicodeCodePoint":"2CD90","pinYinChars":[{"char":"ZHAO4"}],"splitChars":[{"char":"鱼兆"}],"weight":10},{"charId":"baf4f381","unicodeChar":"𬶍","unicodeCodePoint":"2CD8D","pinYinChars":[{"char":"TUO2"}],"splitChars":[{"char":"鱼它"}],"weight":10},{"charId":"febd8476","unicodeChar":"𥔿","unicodeCodePoint":"2553F","pinYinChars":[{"char":"TAO1"}],"splitChars":[{"char":"石舀"}],"weight":10},{"charId":"c54f1a3c","unicodeChar":"𥓒","unicodeCodePoint":"254D2","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"石臽"}],"weight":10},{"charId":"c58049a1","unicodeChar":"㻞","unicodeCodePoint":"3EDE","pinYinChars":[{"char":"BIN1"}],"splitChars":[{"char":"王扁"}],"weight":10},{"charId":"aec84bbc","unicodeChar":"𬷕","unicodeCodePoint":"2CDD5","pinYinChars":[{"char":"BU1"}],"splitChars":[{"char":"甫鸟"}],"weight":10},{"charId":"52c9edef","unicodeChar":"㻢","unicodeCodePoint":"3EE2","pinYinChars":[{"char":"SHI1"}],"splitChars":[{"char":"王施"}],"weight":10},{"charId":"2e9a93e8","unicodeChar":"𥐚","unicodeCodePoint":"2541A","pinYinChars":[{"char":"PU3"}],"splitChars":[{"char":"石卜"}],"weight":10},{"charId":"0332a471","unicodeChar":"䃅","unicodeCodePoint":"40C5","pinYinChars":[{"char":"DI1"}],"splitChars":[{"char":"石单"}],"weight":10},{"charId":"596a12d0","unicodeChar":"𥒰","unicodeCodePoint":"254B0","pinYinChars":[{"char":"FU3"}],"splitChars":[{"char":"石甫"}],"weight":10},{"charId":"941139db","unicodeChar":"䂼","unicodeCodePoint":"40BC","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"石念"}],"weight":10},{"charId":"1613a738","unicodeChar":"𥒞","unicodeCodePoint":"2549E","pinYinChars":[{"char":"YANG2"}],"splitChars":[{"char":"石羊"}],"weight":10},{"charId":"75d1aa98","unicodeChar":"䃂","unicodeCodePoint":"40C2","pinYinChars":[{"char":"GUN3"}],"splitChars":[{"char":"石昆"}],"weight":10},{"charId":"65ae24c5","unicodeChar":"䂬","unicodeCodePoint":"40AC","pinYinChars":[{"char":"GONG3"}],"splitChars":[{"char":"巩石"}],"weight":10},{"charId":"caa9891c","unicodeChar":"𥑸","unicodeCodePoint":"25478","pinYinChars":[{"char":"ZHOU1"}],"splitChars":[{"char":"石舟"}],"weight":10},{"charId":"48e9428a","unicodeChar":"䂭","unicodeCodePoint":"40AD","pinYinChars":[{"char":"QIAO1"}],"splitChars":[{"char":"石交"}],"weight":10},{"charId":"be13ddb3","unicodeChar":"𥑮","unicodeCodePoint":"2546E","pinYinChars":[{"char":"GU"}],"splitChars":[{"char":"石古"}],"weight":10},{"charId":"20081b6a","unicodeChar":"䀹","unicodeCodePoint":"4039","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"目夾"}],"weight":10},{"charId":"3c5cdfe0","unicodeChar":"𥖁","unicodeCodePoint":"25581","pinYinChars":[{"char":"ZUN1"}],"splitChars":[{"char":"石尊"}],"weight":10},{"charId":"875ca36e","unicodeChar":"𥕵","unicodeCodePoint":"25575","pinYinChars":[{"char":"GAN3"}],"splitChars":[{"char":"石敢"}],"weight":10},{"charId":"5c5b99ed","unicodeChar":"𥑇","unicodeCodePoint":"25447","pinYinChars":[{"char":"DIE2"}],"splitChars":[{"char":"石失"}],"weight":10},{"charId":"d74c3300","unicodeChar":"𬴃","unicodeCodePoint":"2CD03","pinYinChars":[{"char":"HUO1"}],"splitChars":[{"char":"马石"}],"weight":10},{"charId":"d1a1bab1","unicodeChar":"𥐸","unicodeCodePoint":"25438","pinYinChars":[{"char":"YIN3"}],"splitChars":[{"char":"石允"}],"weight":10},{"charId":"e66d29f8","unicodeChar":"𥐱","unicodeCodePoint":"25431","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"石冗"}],"weight":10},{"charId":"13dc0299","unicodeChar":"𥐯","unicodeCodePoint":"2542F","pinYinChars":[{"char":"TAN2"}],"splitChars":[{"char":"石云"}],"weight":10},{"charId":"53f366f0","unicodeChar":"𥐩","unicodeCodePoint":"25429","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"石匀"}],"weight":10},{"charId":"d668149a","unicodeChar":"𥐜","unicodeCodePoint":"2541C","pinYinChars":[{"char":"JI"}],"splitChars":[{"char":"石九"}],"weight":10},{"charId":"c1a0bdc9","unicodeChar":"𥆡","unicodeCodePoint":"251A1","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"目含"}],"weight":10},{"charId":"58762bf5","unicodeChar":"𥅽","unicodeCodePoint":"2517D","pinYinChars":[{"char":"JI"}],"splitChars":[{"char":"合目"}],"weight":10},{"charId":"9920db9f","unicodeChar":"㻚","unicodeCodePoint":"3EDA","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"王朋"}],"weight":10},{"charId":"183f28cd","unicodeChar":"𥏜","unicodeCodePoint":"253DC","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"矢奇"}],"weight":10},{"charId":"efa02c03","unicodeChar":"𬷈","unicodeCodePoint":"2CDC8","pinYinChars":[{"char":"DAI4"}],"splitChars":[{"char":"代鳥"}],"weight":10},{"charId":"2674e8aa","unicodeChar":"㻖","unicodeCodePoint":"3ED6","pinYinChars":[{"char":"DAI4"}],"splitChars":[{"char":"王隶"}],"weight":10},{"charId":"006ef067","unicodeChar":"㻙","unicodeCodePoint":"3ED9","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"王育"}],"weight":10},{"charId":"4bd43dd9","unicodeChar":"㻐","unicodeCodePoint":"3ED0","pinYinChars":[{"char":"QUN1"}],"splitChars":[{"char":"王夋"}],"weight":10},{"charId":"e7f1acea","unicodeChar":"𥋆","unicodeCodePoint":"252C6","pinYinChars":[{"char":"DUN1"}],"splitChars":[{"char":"目敦"}],"weight":10},{"charId":"e77f3a72","unicodeChar":"𥑘","unicodeCodePoint":"25458","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"石未"}],"weight":10},{"charId":"32c65965","unicodeChar":"䄸","unicodeCodePoint":"4138","pinYinChars":[{"char":"PO4"}],"splitChars":[{"char":"禾白"}],"weight":10},{"charId":"4894fbec","unicodeChar":"䄓","unicodeCodePoint":"4113","pinYinChars":[{"char":"HUANG2"}],"splitChars":[{"char":"礻皇"}],"weight":10},{"charId":"d2526164","unicodeChar":"䄙","unicodeCodePoint":"4119","pinYinChars":[{"char":"MING2"}],"splitChars":[{"char":"礻冥"}],"weight":10},{"charId":"b8e8f672","unicodeChar":"𬸦","unicodeCodePoint":"2CE26","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"族鸟"}],"weight":10},{"charId":"e0a7ebdc","unicodeChar":"䃿","unicodeCodePoint":"40FF","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"礻夫"}],"weight":10},{"charId":"7c02b4d3","unicodeChar":"䉪","unicodeCodePoint":"426A","pinYinChars":[{"char":"LEI4"}],"splitChars":[{"char":"竹田"}],"weight":10},{"charId":"31d5923c","unicodeChar":"𡷟","unicodeCodePoint":"21DDF","pinYinChars":[{"char":"LONG4"}],"splitChars":[{"char":"山弄"}],"weight":10},{"charId":"91b4c504","unicodeChar":"䓶","unicodeCodePoint":"44F6","pinYinChars":[{"char":"LAI4"}],"splitChars":[{"char":"艹剌"}],"weight":10},{"charId":"c082c948","unicodeChar":"䔉","unicodeCodePoint":"4509","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"艹禾"}],"weight":10},{"charId":"c29fa156","unicodeChar":"䓂","unicodeCodePoint":"44C2","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"艹言"}],"weight":10},{"charId":"ecaaca71","unicodeChar":"䓊","unicodeCodePoint":"44CA","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"艹吾"}],"weight":10},{"charId":"a211bd18","unicodeChar":"䒩","unicodeCodePoint":"44A9","pinYinChars":[{"char":"HE2"}],"splitChars":[{"char":"艹禾"}],"weight":10},{"charId":"91fbf221","unicodeChar":"䒵","unicodeCodePoint":"44B5","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"艹好"}],"weight":10},{"charId":"bf771498","unicodeChar":"䒕","unicodeCodePoint":"4495","pinYinChars":[{"char":"XIAO3"}],"splitChars":[{"char":"艹小"}],"weight":10},{"charId":"9969a951","unicodeChar":"㽘","unicodeCodePoint":"3F58","pinYinChars":[{"char":"GANG3"}],"splitChars":[{"char":"田亢"}],"weight":10},{"charId":"618f9e2c","unicodeChar":"㿠","unicodeCodePoint":"3FE0","pinYinChars":[{"char":"HUANG4"}],"splitChars":[{"char":"白光"}],"weight":10},{"charId":"4c6f2244","unicodeChar":"㽏","unicodeCodePoint":"3F4F","pinYinChars":[{"char":"GAN4"}],"splitChars":[{"char":"洽甘"}],"weight":10},{"charId":"3047febb","unicodeChar":"䃥","unicodeCodePoint":"40E5","pinYinChars":[{"char":"CHUANG2"}],"splitChars":[{"char":"石童"}],"weight":10},{"charId":"835ce8af","unicodeChar":"䃎","unicodeCodePoint":"40CE","pinYinChars":[{"char":"ZHA4"}],"splitChars":[{"char":"石多"}],"weight":10},{"charId":"8256df09","unicodeChar":"䃗","unicodeCodePoint":"40D7","pinYinChars":[{"char":"BO1"}],"splitChars":[{"char":"石剥"}],"weight":10},{"charId":"ddcd38af","unicodeChar":"𬸘","unicodeCodePoint":"2CE18","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"匚(匽)鸟"}],"weight":10},{"charId":"34b7523b","unicodeChar":"䇯","unicodeCodePoint":"41EF","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"竹耳"}],"weight":10},{"charId":"b0e71023","unicodeChar":"䇛","unicodeCodePoint":"41DB","pinYinChars":[{"char":"ZHI3"}],"splitChars":[{"char":"竹止"}],"weight":10},{"charId":"bf29cfae","unicodeChar":"䇭","unicodeCodePoint":"41ED","pinYinChars":[{"char":"LAO3"}],"splitChars":[{"char":"竹老"}],"weight":10},{"charId":"74f0560b","unicodeChar":"䅼","unicodeCodePoint":"417C","pinYinChars":[{"char":"MAN2"}],"splitChars":[{"char":"禾曼"}],"weight":10},{"charId":"dc4de4f2","unicodeChar":"𥘏","unicodeCodePoint":"2560F","pinYinChars":[{"char":"GAN3"}],"splitChars":[{"char":"礻干"}],"weight":10},{"charId":"1e640f62","unicodeChar":"䆔","unicodeCodePoint":"4194","pinYinChars":[{"char":"CHONG1"}],"splitChars":[{"char":"穴中"}],"weight":10},{"charId":"da834d6f","unicodeChar":"𥗝","unicodeCodePoint":"255DD","pinYinChars":[{"char":"RANG3"}],"splitChars":[{"char":"石襄"}],"weight":10},{"charId":"2c1022d1","unicodeChar":"𥖏","unicodeCodePoint":"2558F","pinYinChars":[{"char":"GU"}],"splitChars":[{"char":"石貫"}],"weight":10},{"charId":"ac660c3d","unicodeChar":"𨑾","unicodeCodePoint":"2847E","pinYinChars":[{"char":"NANG2"}],"splitChars":[{"char":"辶水"}],"weight":10},{"charId":"6668cdef","unicodeChar":"䝞","unicodeCodePoint":"475E","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"豸虎"}],"weight":10},{"charId":"8c1fc523","unicodeChar":"䕕","unicodeCodePoint":"4555","pinYinChars":[{"char":"MAN4"}],"splitChars":[{"char":"艹曼"}],"weight":10},{"charId":"176e39d5","unicodeChar":"䖑","unicodeCodePoint":"4591","pinYinChars":[{"char":"MI4"}],"splitChars":[{"char":"虎日"}],"weight":10},{"charId":"17da41bb","unicodeChar":"䔧","unicodeCodePoint":"4527","pinYinChars":[{"char":"LI2"}],"splitChars":[{"char":"艹梨"}],"weight":10},{"charId":"a4731e78","unicodeChar":"䔽","unicodeCodePoint":"453D","pinYinChars":[{"char":"DU2"}],"splitChars":[{"char":"艹渴"}],"weight":10},{"charId":"9043f109","unicodeChar":"䵚","unicodeCodePoint":"4D5A","pinYinChars":[{"char":"TAO3"}],"splitChars":[{"char":"黍舀"}],"weight":10},{"charId":"49688874","unicodeChar":"𫝴","unicodeCodePoint":"2B774","pinYinChars":[{"char":"HOU4"}],"splitChars":[{"char":"山后"}],"weight":10},{"charId":"b9bcfd14","unicodeChar":"𫟭","unicodeCodePoint":"2B7ED","pinYinChars":[{"char":"KE4"}],"splitChars":[{"char":"客阝"}],"weight":10},{"charId":"e705b56c","unicodeChar":"䑩","unicodeCodePoint":"4469","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"舟古"}],"weight":10},{"charId":"e80d4dce","unicodeChar":"䑣","unicodeCodePoint":"4463","pinYinChars":[{"char":"CHEN1"}],"splitChars":[{"char":"舟彡"}],"weight":10},{"charId":"4192199d","unicodeChar":"䌹","unicodeCodePoint":"4339","pinYinChars":[{"char":"JIONG1"}],"splitChars":[{"char":"纟冋"}],"weight":10},{"charId":"e8077171","unicodeChar":"䔟","unicodeCodePoint":"451F","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"艹移"}],"weight":10},{"charId":"b1f2dab2","unicodeChar":"䧄","unicodeCodePoint":"49C4","pinYinChars":[{"char":"GE4"}],"splitChars":[{"char":"阝各"}],"weight":10},{"charId":"d52addaa","unicodeChar":"䢺","unicodeCodePoint":"48BA","pinYinChars":[{"char":"CHU1"}],"splitChars":[{"char":"出阝"}],"weight":10},{"charId":"bfa9f573","unicodeChar":"䤰","unicodeCodePoint":"4930","pinYinChars":[{"char":"YONG2"}],"splitChars":[{"char":"坎金"}],"weight":10},{"charId":"60356310","unicodeChar":"𠇱","unicodeCodePoint":"201F1","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"亻末"}],"weight":10},{"charId":"bc3fad5a","unicodeChar":"𠆩","unicodeCodePoint":"201A9","pinYinChars":[{"char":"FAN4"}],"splitChars":[{"char":"亻凡"}],"weight":10},{"charId":"87946de4","unicodeChar":"𠃝","unicodeCodePoint":"200DD","pinYinChars":[{"char":"NIU4"}],"splitChars":[{"char":"乙小"}],"weight":10},{"charId":"335898c1","unicodeChar":"䨝","unicodeCodePoint":"4A1D","pinYinChars":[{"char":"QING1"}],"splitChars":[{"char":"雨青"}],"weight":10},{"charId":"0905c7a3","unicodeChar":"䨒","unicodeCodePoint":"4A12","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"雨羽"}],"weight":10},{"charId":"74b21c0a","unicodeChar":"𦸁","unicodeCodePoint":"26E01","pinYinChars":[{"char":"TAN1"}],"splitChars":[{"char":"艹淡"}],"weight":10},{"charId":"87946312","unicodeChar":"𦷪","unicodeCodePoint":"26DEA","pinYinChars":[{"char":"SU"}],"splitChars":[{"char":"艹妥"}],"weight":10},{"charId":"aec913d8","unicodeChar":"𧁃","unicodeCodePoint":"27043","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"艹畜"}],"weight":10},{"charId":"a7ba295d","unicodeChar":"𧀺","unicodeCodePoint":"2703A","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"艹頁"}],"weight":10},{"charId":"66cc4d64","unicodeChar":"𧀮","unicodeCodePoint":"2702E","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"艹敷"}],"weight":10},{"charId":"d83dc590","unicodeChar":"𧀠","unicodeCodePoint":"27020","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"艹是"}],"weight":10},{"charId":"c1f03b12","unicodeChar":"𧄁","unicodeCodePoint":"27101","pinYinChars":[{"char":"XI"}],"splitChars":[{"char":"艹霞"}],"weight":10},{"charId":"5a2f8eba","unicodeChar":"𧃸","unicodeCodePoint":"270F8","pinYinChars":[{"char":"HUI1"}],"splitChars":[{"char":"艹徽"}],"weight":10},{"charId":"01d441bc","unicodeChar":"𦽎","unicodeCodePoint":"26F4E","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"艹禄"}],"weight":10},{"charId":"54993cdc","unicodeChar":"𦼊","unicodeCodePoint":"26F0A","pinYinChars":[{"char":"LENG2"}],"splitChars":[{"char":"艹棱"}],"weight":10},{"charId":"ee0869d7","unicodeChar":"𦺷","unicodeCodePoint":"26EB7","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"艹先"}],"weight":10},{"charId":"0d29df7b","unicodeChar":"𦺦","unicodeCodePoint":"26EA6","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"艹寒"}],"weight":10},{"charId":"ef943c74","unicodeChar":"𦺖","unicodeCodePoint":"26E96","pinYinChars":[{"char":"JU2"}],"splitChars":[{"char":"艹矞"}],"weight":10},{"charId":"60a7c972","unicodeChar":"𦺓","unicodeCodePoint":"26E93","pinYinChars":[{"char":"ZHAO4"}],"splitChars":[{"char":"艹朝"}],"weight":10},{"charId":"9df2cd3d","unicodeChar":"𦺊","unicodeCodePoint":"26E8A","pinYinChars":[{"char":"GUAN1"}],"splitChars":[{"char":"艹完"}],"weight":10},{"charId":"ce3a42e7","unicodeChar":"𦾿","unicodeCodePoint":"26FBF","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"艹精"}],"weight":10},{"charId":"d4a1142b","unicodeChar":"𦹔","unicodeCodePoint":"26E54","pinYinChars":[{"char":"KU"}],"splitChars":[{"char":"艹欵"}],"weight":10},{"charId":"c3bb4665","unicodeChar":"𦸗","unicodeCodePoint":"26E17","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"艹戚"}],"weight":10},{"charId":"b162f21a","unicodeChar":"𦸐","unicodeCodePoint":"26E10","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"艹陸"}],"weight":10},{"charId":"16867771","unicodeChar":"𦸂","unicodeCodePoint":"26E02","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"艹深"}],"weight":10},{"charId":"5def3398","unicodeChar":"𥚛","unicodeCodePoint":"2569B","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"礻昆"}],"weight":10},{"charId":"989ff229","unicodeChar":"𧉟","unicodeCodePoint":"2725F","pinYinChars":[{"char":"TAI1"}],"splitChars":[{"char":"虫台"}],"weight":10},{"charId":"ce67688b","unicodeChar":"𥚉","unicodeCodePoint":"25689","pinYinChars":[{"char":"ZI1"}],"splitChars":[{"char":"礻甾"}],"weight":10},{"charId":"44272d7f","unicodeChar":"𧕖","unicodeCodePoint":"27556","pinYinChars":[{"char":"XI"}],"splitChars":[{"char":"虫霞"}],"weight":10},{"charId":"758e2a9c","unicodeChar":"𧒽","unicodeCodePoint":"274BD","pinYinChars":[{"char":"LEI2"}],"splitChars":[{"char":"虫雷"}],"weight":10},{"charId":"53eb1588","unicodeChar":"𧎚","unicodeCodePoint":"2739A","pinYinChars":[{"char":"DU"}],"splitChars":[{"char":"虫段"}],"weight":10},{"charId":"218300b4","unicodeChar":"𧙣","unicodeCodePoint":"27663","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"衤夷"}],"weight":10},{"charId":"1be778f7","unicodeChar":"𧙝","unicodeCodePoint":"2765D","pinYinChars":[{"char":"CHE4"}],"splitChars":[{"char":"衤斥"}],"weight":10},{"charId":"e346f1d1","unicodeChar":"𥥧","unicodeCodePoint":"25967","pinYinChars":[{"char":"XIONG4"}],"splitChars":[{"char":"穴老"}],"weight":10},{"charId":"080a86d1","unicodeChar":"𥥅","unicodeCodePoint":"25945","pinYinChars":[{"char":"KONG3"}],"splitChars":[{"char":"穴孔"}],"weight":10},{"charId":"70aa4041","unicodeChar":"𧊂","unicodeCodePoint":"27282","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"虫冬"}],"weight":10},{"charId":"d2f133b8","unicodeChar":"𧉽","unicodeCodePoint":"2727D","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"虫市"}],"weight":10},{"charId":"72077674","unicodeChar":"𥞍","unicodeCodePoint":"2578D","pinYinChars":[{"char":"KE2"}],"splitChars":[{"char":"禾可"}],"weight":10},{"charId":"c289b117","unicodeChar":"𥤺","unicodeCodePoint":"2593A","pinYinChars":[{"char":"WA1"}],"splitChars":[{"char":"穴手"}],"weight":10},{"charId":"368e5882","unicodeChar":"𧉣","unicodeCodePoint":"27263","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"虫玉"}],"weight":10},{"charId":"bb8f94c1","unicodeChar":"𧄠","unicodeCodePoint":"27120","pinYinChars":[{"char":"ZHA2"}],"splitChars":[{"char":"艹枼"}],"weight":10},{"charId":"5cc5c0f4","unicodeChar":"𧌊","unicodeCodePoint":"2730A","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"虫夜"}],"weight":10},{"charId":"1aeab96e","unicodeChar":"𧊬","unicodeCodePoint":"272AC","pinYinChars":[{"char":"HE4"}],"splitChars":[{"char":"艹虫"}],"weight":10},{"charId":"85433d1b","unicodeChar":"𧂨","unicodeCodePoint":"270A8","pinYinChars":[{"char":"DI4"}],"splitChars":[{"char":"艹(蒂)足"}],"weight":10},{"charId":"eef56fe1","unicodeChar":"𧂈","unicodeCodePoint":"27088","pinYinChars":[{"char":"JIAO3"}],"splitChars":[{"char":"艹操"}],"weight":10},{"charId":"202400f8","unicodeChar":"𧁜","unicodeCodePoint":"2705C","pinYinChars":[{"char":"HU"}],"splitChars":[{"char":"艹慧"}],"weight":10},{"charId":"a4c3835b","unicodeChar":"𧛀","unicodeCodePoint":"276C0","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"林衣"}],"weight":10},{"charId":"a08c36fe","unicodeChar":"𦸪","unicodeCodePoint":"26E2A","pinYinChars":[{"char":"PEI2"}],"splitChars":[{"char":"艹非"}],"weight":10},{"charId":"4db76229","unicodeChar":"𧚫","unicodeCodePoint":"276AB","pinYinChars":[{"char":"QIAN4"}],"splitChars":[{"char":"衤青"}],"weight":10},{"charId":"2a425f24","unicodeChar":"𧚨","unicodeCodePoint":"276A8","pinYinChars":[{"char":"QI4"}],"splitChars":[{"char":"衤疌"}],"weight":10},{"charId":"48089003","unicodeChar":"𦊫","unicodeCodePoint":"262AB","pinYinChars":[{"char":"GONG1"}],"splitChars":[{"char":"四光"}],"weight":10},{"charId":"acfa5850","unicodeChar":"𧟄","unicodeCodePoint":"277C4","pinYinChars":[{"char":"RANG2"}],"splitChars":[{"char":"衤襄"}],"weight":10},{"charId":"be2a79ea","unicodeChar":"𧞏","unicodeCodePoint":"2778F","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"衤與"}],"weight":10},{"charId":"b92532c0","unicodeChar":"𦬎","unicodeCodePoint":"26B0E","pinYinChars":[{"char":"YE2"}],"splitChars":[{"char":"艹也"}],"weight":10},{"charId":"3e1ebc52","unicodeChar":"𧦞","unicodeCodePoint":"2799E","pinYinChars":[{"char":"PU4"}],"splitChars":[{"char":"言布"}],"weight":10},{"charId":"e362cb9d","unicodeChar":"𦭜","unicodeCodePoint":"26B5C","pinYinChars":[{"char":"ZHI1"}],"splitChars":[{"char":"艹只"}],"weight":10},{"charId":"f933e33b","unicodeChar":"𦬅","unicodeCodePoint":"26B05","pinYinChars":[{"char":"KOU1"}],"splitChars":[{"char":"艹口"}],"weight":10},{"charId":"abac21b1","unicodeChar":"𧥣","unicodeCodePoint":"27963","pinYinChars":[{"char":"KOU4"}],"splitChars":[{"char":"言口"}],"weight":10},{"charId":"0e18ad32","unicodeChar":"𧣖","unicodeCodePoint":"278D6","pinYinChars":[{"char":"TUO2"}],"splitChars":[{"char":"角它"}],"weight":10},{"charId":"466774f9","unicodeChar":"𧊅","unicodeCodePoint":"27285","pinYinChars":[{"char":"GUAI3"}],"splitChars":[{"char":"虫另"}],"weight":10},{"charId":"53132173","unicodeChar":"𧈢","unicodeCodePoint":"27222","pinYinChars":[{"char":"BA1"}],"splitChars":[{"char":"虫八"}],"weight":10},{"charId":"f5b4dac5","unicodeChar":"𧉀","unicodeCodePoint":"27240","pinYinChars":[{"char":"CHI3"}],"splitChars":[{"char":"虫止"}],"weight":10},{"charId":"0770ea6c","unicodeChar":"𧛟","unicodeCodePoint":"276DF","pinYinChars":[{"char":"XING1"}],"splitChars":[{"char":"衤星"}],"weight":10},{"charId":"b85cfc40","unicodeChar":"𧆺","unicodeCodePoint":"271BA","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"令虎"}],"weight":10},{"charId":"de1a386a","unicodeChar":"𦓐","unicodeCodePoint":"264D0","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"丿丨"}],"weight":10},{"charId":"fe10e7be","unicodeChar":"𧗠","unicodeCodePoint":"275E0","pinYinChars":[{"char":"AO"}],"splitChars":[{"char":"行冫"}],"weight":10},{"charId":"5b2a9dba","unicodeChar":"𦖠","unicodeCodePoint":"265A0","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"耳炎"}],"weight":10},{"charId":"d30d7c94","unicodeChar":"𧚉","unicodeCodePoint":"27689","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"衤夋"}],"weight":10},{"charId":"ba10f1cd","unicodeChar":"𫟼","unicodeCodePoint":"2B7FC","pinYinChars":[{"char":"DA2"}],"splitChars":[{"char":"钅达"}],"weight":10},{"charId":"494d3c22","unicodeChar":"𧚀","unicodeCodePoint":"27680","pinYinChars":[{"char":"MU4"}],"splitChars":[{"char":"衤每"}],"weight":10},{"charId":"687462ea","unicodeChar":"𥸱","unicodeCodePoint":"25E31","pinYinChars":[{"char":"GU1"}],"splitChars":[{"char":"米几(凢)"}],"weight":10},{"charId":"2ff69fb5","unicodeChar":"𧜧","unicodeCodePoint":"27727","pinYinChars":[{"char":"CHUANG1"}],"splitChars":[{"char":"衤舂"}],"weight":10},{"charId":"0adc9788","unicodeChar":"𧜊","unicodeCodePoint":"2770A","pinYinChars":[{"char":"LV3"}],"splitChars":[{"char":"衣日"}],"weight":10},{"charId":"cc8a537c","unicodeChar":"𧛭","unicodeCodePoint":"276ED","pinYinChars":[{"char":"RUO4"}],"splitChars":[{"char":"衤若"}],"weight":10},{"charId":"3e941c77","unicodeChar":"𮃇","unicodeCodePoint":"2E0C7","pinYinChars":[{"char":"QIAN4"}],"splitChars":[{"char":"禾青"}],"weight":10},{"charId":"a8a159c4","unicodeChar":"𦥏","unicodeCodePoint":"2694F","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"至至"}],"weight":10},{"charId":"d8f66fd6","unicodeChar":"𧘏","unicodeCodePoint":"2760F","pinYinChars":[{"char":"GONG1"}],"splitChars":[{"char":"衤弓"}],"weight":10},{"charId":"20d1d034","unicodeChar":"𧘍","unicodeCodePoint":"2760D","pinYinChars":[{"char":"JIANG1"}],"splitChars":[{"char":"衤工"}],"weight":10},{"charId":"e4d322eb","unicodeChar":"𧨳","unicodeCodePoint":"27A33","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"言卓"}],"weight":10},{"charId":"c2b10e9e","unicodeChar":"𨥖","unicodeCodePoint":"28956","pinYinChars":[{"char":"SHU"}],"splitChars":[{"char":"金双"}],"weight":10},{"charId":"0ad4d0b1","unicodeChar":"𧨡","unicodeCodePoint":"27A21","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"言君"}],"weight":10},{"charId":"c08f1956","unicodeChar":"𨚗","unicodeCodePoint":"28697","pinYinChars":[{"char":"NA4"}],"splitChars":[{"char":"冉阝"}],"weight":10},{"charId":"8b021324","unicodeChar":"𧧾","unicodeCodePoint":"279FE","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"言貝"}],"weight":10},{"charId":"6ccd5cfc","unicodeChar":"𨟠","unicodeCodePoint":"287E0","pinYinChars":[{"char":"QUE4"}],"splitChars":[{"char":"瞿阝"}],"weight":10},{"charId":"80f6e4ab","unicodeChar":"𨓨","unicodeCodePoint":"284E8","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"辶角"}],"weight":10},{"charId":"6e51643a","unicodeChar":"𧧸","unicodeCodePoint":"279F8","pinYinChars":[{"char":"BIE2"}],"splitChars":[{"char":"言别"}],"weight":10},{"charId":"73c49457","unicodeChar":"𧧕","unicodeCodePoint":"279D5","pinYinChars":[{"char":"ZI4"}],"splitChars":[{"char":"言字"}],"weight":10},{"charId":"39c0adcb","unicodeChar":"𠽠","unicodeCodePoint":"20F60","pinYinChars":[{"char":"DUAN4"}],"splitChars":[{"char":"古段"}],"weight":10},{"charId":"bd3ce554","unicodeChar":"𧙖","unicodeCodePoint":"27656","pinYinChars":[{"char":"GU1"}],"splitChars":[{"char":"衤古"}],"weight":10},{"charId":"4fcb0a82","unicodeChar":"𧪦","unicodeCodePoint":"27AA6","pinYinChars":[{"char":"TA1"}],"splitChars":[{"char":"訁𦐇"}],"weight":10},{"charId":"2d2611d6","unicodeChar":"𧬌","unicodeCodePoint":"27B0C","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"言山"}],"weight":10},{"charId":"4c65e913","unicodeChar":"𨐒","unicodeCodePoint":"28412","pinYinChars":[{"char":"GU1"}],"splitChars":[{"char":"古辛"}],"weight":10},{"charId":"e5929084","unicodeChar":"𧬆","unicodeCodePoint":"27B06","pinYinChars":[{"char":"ZHAN3"}],"splitChars":[{"char":"言善"}],"weight":10},{"charId":"afe1eccc","unicodeChar":"𨑥","unicodeCodePoint":"28465","pinYinChars":[{"char":"WU4"}],"splitChars":[{"char":"辶勿"}],"weight":10},{"charId":"5062372c","unicodeChar":"𧬂","unicodeCodePoint":"27B02","pinYinChars":[{"char":"HE4"}],"splitChars":[{"char":"言賀"}],"weight":10},{"charId":"681a3a18","unicodeChar":"𬭤","unicodeCodePoint":"2CB64","pinYinChars":[{"char":"HOU2"}],"splitChars":[{"char":"钅侯"}],"weight":10},{"charId":"1307e744","unicodeChar":"𨈘","unicodeCodePoint":"28218","pinYinChars":[{"char":"SHAO3"}],"splitChars":[{"char":"身少"}],"weight":10},{"charId":"fa918320","unicodeChar":"𧫿","unicodeCodePoint":"27AFF","pinYinChars":[{"char":"TAN3"}],"splitChars":[{"char":"言尋"}],"weight":10},{"charId":"e9ebd213","unicodeChar":"𧫱","unicodeCodePoint":"27AF1","pinYinChars":[{"char":"ZHANG1"}],"splitChars":[{"char":"言章"}],"weight":10},{"charId":"9eb64a46","unicodeChar":"𧫥","unicodeCodePoint":"27AE5","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"言庵"}],"weight":10},{"charId":"7cadb65c","unicodeChar":"𨦮","unicodeCodePoint":"289AE","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"氵金"}],"weight":10},{"charId":"77c65e3f","unicodeChar":"𠃛","unicodeCodePoint":"200DB","pinYinChars":[{"char":"YA4"}],"splitChars":[{"char":"彑(彐)乙"}],"weight":10},{"charId":"bc2bcc39","unicodeChar":"𧺫","unicodeCodePoint":"27EAB","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"走尺"}],"weight":10},{"charId":"fef5bd0c","unicodeChar":"𧡤","unicodeCodePoint":"27864","pinYinChars":[{"char":"PIAN1"}],"splitChars":[{"char":"扁見"}],"weight":10},{"charId":"5570c1d0","unicodeChar":"𧻢","unicodeCodePoint":"27EE2","pinYinChars":[{"char":"HU"}],"splitChars":[{"char":"走回"}],"weight":10},{"charId":"fccb3cbd","unicodeChar":"𧠯","unicodeCodePoint":"2782F","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"吉見"}],"weight":10},{"charId":"df0b8aaa","unicodeChar":"𧠪","unicodeCodePoint":"2782A","pinYinChars":[{"char":"QI1"}],"splitChars":[{"char":"上(尗)見"}],"weight":10},{"charId":"a8f7e33c","unicodeChar":"𧲧","unicodeCodePoint":"27CA7","pinYinChars":[{"char":"BA1"}],"splitChars":[{"char":"豸巴"}],"weight":10},{"charId":"b5b784fa","unicodeChar":"𧠩","unicodeCodePoint":"27829","pinYinChars":[{"char":"HU1"}],"splitChars":[{"char":"共見"}],"weight":10},{"charId":"e287e1f0","unicodeChar":"𧠆","unicodeCodePoint":"27806","pinYinChars":[{"char":"WAN3"}],"splitChars":[{"char":"自儿"}],"weight":10},{"charId":"ff4caf2d","unicodeChar":"𧝁","unicodeCodePoint":"27741","pinYinChars":[{"char":"XUAN1"}],"splitChars":[{"char":"衤羽"}],"weight":10},{"charId":"3eb705e9","unicodeChar":"𦰡","unicodeCodePoint":"26C21","pinYinChars":[{"char":"NA4"}],"splitChars":[{"char":"艹那"}],"weight":10},{"charId":"db352ff0","unicodeChar":"𧧏","unicodeCodePoint":"279CF","pinYinChars":[{"char":"RE4"}],"splitChars":[{"char":"如言"}],"weight":10},{"charId":"0f161093","unicodeChar":"𦭳","unicodeCodePoint":"26B73","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"艹羽"}],"weight":10},{"charId":"f1f70098","unicodeChar":"𦯿","unicodeCodePoint":"26BFF","pinYinChars":[{"char":"GU"}],"splitChars":[{"char":"艹寸"}],"weight":10},{"charId":"765913dd","unicodeChar":"𧪚","unicodeCodePoint":"27A9A","pinYinChars":[{"char":"AI2"}],"splitChars":[{"char":"言豈"}],"weight":10},{"charId":"a536fe00","unicodeChar":"𧪕","unicodeCodePoint":"27A95","pinYinChars":[{"char":"XIA1"}],"splitChars":[{"char":"言叚"}],"weight":10},{"charId":"d8cc97c7","unicodeChar":"𧐔","unicodeCodePoint":"27414","pinYinChars":[{"char":"XI2"}],"splitChars":[{"char":"虫習"}],"weight":10},{"charId":"78547a89","unicodeChar":"𧩦","unicodeCodePoint":"27A66","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"言亟"}],"weight":10},{"charId":"0cf5a5d5","unicodeChar":"𧨿","unicodeCodePoint":"27A3F","pinYinChars":[{"char":"ZHA3"}],"splitChars":[{"char":"言白"}],"weight":10},{"charId":"bf10e51d","unicodeChar":"𨈓","unicodeCodePoint":"28213","pinYinChars":[{"char":"LENG2"}],"splitChars":[{"char":"身小"}],"weight":10},{"charId":"773a2a28","unicodeChar":"𧼯","unicodeCodePoint":"27F2F","pinYinChars":[{"char":"SHU4"}],"splitChars":[{"char":"走俞"}],"weight":10},{"charId":"26eb040d","unicodeChar":"𬽦","unicodeCodePoint":"2CF66","pinYinChars":[{"char":"ZHI"}],"splitChars":[{"char":"亻丸"}],"weight":10},{"charId":"2c3b0938","unicodeChar":"𧮞","unicodeCodePoint":"27B9E","pinYinChars":[{"char":"XUE4"}],"splitChars":[{"char":"言矍"}],"weight":10},{"charId":"6dc72b3f","unicodeChar":"𧭮","unicodeCodePoint":"27B6E","pinYinChars":[{"char":"MIAN2"}],"splitChars":[{"char":"言方"}],"weight":10},{"charId":"a918555a","unicodeChar":"𧭜","unicodeCodePoint":"27B5C","pinYinChars":[{"char":"LV4"}],"splitChars":[{"char":"言慮"}],"weight":10},{"charId":"55f504ef","unicodeChar":"𬽬","unicodeCodePoint":"2CF6C","pinYinChars":[{"char":"GU4"}],"splitChars":[{"char":"亻户"}],"weight":10},{"charId":"daf75e80","unicodeChar":"𧫤","unicodeCodePoint":"27AE4","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"言畢"}],"weight":10},{"charId":"f7d124fd","unicodeChar":"𨿅","unicodeCodePoint":"28FC5","pinYinChars":[{"char":"MING2"}],"splitChars":[{"char":"名隹"}],"weight":10},{"charId":"345810fa","unicodeChar":"𧫜","unicodeCodePoint":"27ADC","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"既言"}],"weight":10},{"charId":"71761895","unicodeChar":"𨹓","unicodeCodePoint":"28E53","pinYinChars":[{"char":"HAN"}],"splitChars":[{"char":"阝巾"}],"weight":10},{"charId":"095d6446","unicodeChar":"𧫕","unicodeCodePoint":"27AD5","pinYinChars":[{"char":"QIE4"}],"splitChars":[{"char":"言祭"}],"weight":10},{"charId":"d167ce71","unicodeChar":"𨻧","unicodeCodePoint":"28EE7","pinYinChars":[{"char":"LIU2"}],"splitChars":[{"char":"阝留"}],"weight":10},{"charId":"50cb8f48","unicodeChar":"𧫓","unicodeCodePoint":"27AD3","pinYinChars":[{"char":"LU3"}],"splitChars":[{"char":"言鹵"}],"weight":10},{"charId":"56715809","unicodeChar":"𩡝","unicodeCodePoint":"2985D","pinYinChars":[{"char":"TAN2"}],"splitChars":[{"char":"香覃"}],"weight":10},{"charId":"5f95ddd7","unicodeChar":"𤦵","unicodeCodePoint":"249B5","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"王妟(匽)"}],"weight":10},{"charId":"345140b1","unicodeChar":"𪢼","unicodeCodePoint":"2A8BC","pinYinChars":[{"char":"WA2"}],"splitChars":[{"char":"土化"}],"weight":10},{"charId":"7266aacd","unicodeChar":"𪢻","unicodeCodePoint":"2A8BB","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"土月"}],"weight":10},{"charId":"ff17a032","unicodeChar":"𫭟","unicodeCodePoint":"2BB5F","pinYinChars":[{"char":"OU1"}],"splitChars":[{"char":"土区"}],"weight":10},{"charId":"fe0ba937","unicodeChar":"𫭝","unicodeCodePoint":"2BB5D","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"土夫"}],"weight":10},{"charId":"b939f632","unicodeChar":"𪢹","unicodeCodePoint":"2A8B9","pinYinChars":[{"char":"PAN4"}],"splitChars":[{"char":"土冇"}],"weight":10},{"charId":"ea620e97","unicodeChar":"𪢸","unicodeCodePoint":"2A8B8","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"土无"}],"weight":10},{"charId":"5f01d64a","unicodeChar":"𪢫","unicodeCodePoint":"2A8AB","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"囗車"}],"weight":10},{"charId":"97978e15","unicodeChar":"𪟝","unicodeCodePoint":"2A7DD","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"责力"}],"weight":10},{"charId":"cb1db5d4","unicodeChar":"𪞤","unicodeCodePoint":"2A7A4","pinYinChars":[{"char":"NIAN4"}],"splitChars":[{"char":"冫念"}],"weight":10},{"charId":"1e650623","unicodeChar":"𫥆","unicodeCodePoint":"2B946","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"冫永"}],"weight":10},{"charId":"a4bf28dc","unicodeChar":"𭖊","unicodeCodePoint":"2D58A","pinYinChars":[{"char":"LONG"}],"splitChars":[{"char":"冖("}],"weight":10},{"charId":"6f3dfd6f","unicodeChar":"𪝆","unicodeCodePoint":"2A746","pinYinChars":[{"char":"FANG1"}],"splitChars":[{"char":"亻芳"}],"weight":10},{"charId":"10dff3f6","unicodeChar":"𫮉","unicodeCodePoint":"2BB89","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"土苹"}],"weight":10},{"charId":"04838e6a","unicodeChar":"𪣤","unicodeCodePoint":"2A8E4","pinYinChars":[{"char":"CUO4"}],"splitChars":[{"char":"土昔"}],"weight":10},{"charId":"21425c2a","unicodeChar":"𪣟","unicodeCodePoint":"2A8DF","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"土罕"}],"weight":10},{"charId":"c080c2db","unicodeChar":"𪣜","unicodeCodePoint":"2A8DC","pinYinChars":[{"char":"XIU4"}],"splitChars":[{"char":"土秀"}],"weight":10},{"charId":"051ded75","unicodeChar":"𪣑","unicodeCodePoint":"2A8D1","pinYinChars":[{"char":"NONG2"}],"splitChars":[{"char":"土农"}],"weight":10},{"charId":"3b3cae45","unicodeChar":"鿍","unicodeCodePoint":"9FCD","pinYinChars":[{"char":"GANG4"}],"splitChars":[{"char":"土夅"}],"weight":10},{"charId":"cfd95724","unicodeChar":"𪣉","unicodeCodePoint":"2A8C9","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"土永"}],"weight":10},{"charId":"d5210e72","unicodeChar":"𦤎","unicodeCodePoint":"2690E","pinYinChars":[{"char":"GAO3"}],"splitChars":[{"char":"自本"}],"weight":10},{"charId":"73761138","unicodeChar":"𦣦","unicodeCodePoint":"268E6","pinYinChars":[{"char":"WANG2"}],"splitChars":[{"char":"臣臣"}],"weight":10},{"charId":"194c6f43","unicodeChar":"𪻏","unicodeCodePoint":"2AECF","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"王及"}],"weight":10},{"charId":"ebaa61bd","unicodeChar":"𦨴","unicodeCodePoint":"26A34","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"舟同"}],"weight":10},{"charId":"628bcda9","unicodeChar":"𦨤","unicodeCodePoint":"26A24","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"永舟"}],"weight":10},{"charId":"b7c22172","unicodeChar":"𦨢","unicodeCodePoint":"26A22","pinYinChars":[{"char":"DI4"}],"splitChars":[{"char":"舟氐"}],"weight":10},{"charId":"1bb99ad4","unicodeChar":"𦨍","unicodeCodePoint":"26A0D","pinYinChars":[{"char":"DING1"}],"splitChars":[{"char":"舟丁"}],"weight":10},{"charId":"7f890755","unicodeChar":"𦨉","unicodeCodePoint":"26A09","pinYinChars":[{"char":"WU4"}],"splitChars":[{"char":"舟刂"}],"weight":10},{"charId":"c3ad299f","unicodeChar":"𦙶","unicodeCodePoint":"26676","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"月古"}],"weight":10},{"charId":"b73070d2","unicodeChar":"𦛋","unicodeCodePoint":"266CB","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"月吉"}],"weight":10},{"charId":"aa378c7a","unicodeChar":"𦚱","unicodeCodePoint":"266B1","pinYinChars":[{"char":"LAO3"}],"splitChars":[{"char":"月老"}],"weight":10},{"charId":"127d5e65","unicodeChar":"𦚧","unicodeCodePoint":"266A7","pinYinChars":[{"char":"CHUN3"}],"splitChars":[{"char":"月旬"}],"weight":10},{"charId":"008a5531","unicodeChar":"𦚔","unicodeCodePoint":"26694","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"月召"}],"weight":10},{"charId":"9e38b345","unicodeChar":"𦮛","unicodeCodePoint":"26B9B","pinYinChars":[{"char":"JI"}],"splitChars":[{"char":"艹久"}],"weight":10},{"charId":"d726da0c","unicodeChar":"𦭻","unicodeCodePoint":"26B7B","pinYinChars":[{"char":"JIU4"}],"splitChars":[{"char":"艹臼"}],"weight":10},{"charId":"9b174539","unicodeChar":"𦭶","unicodeCodePoint":"26B76","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"艹先"}],"weight":10},{"charId":"51b03cc1","unicodeChar":"𦭰","unicodeCodePoint":"26B70","pinYinChars":[{"char":"RU2"}],"splitChars":[{"char":"艹汝"}],"weight":10},{"charId":"397c4b6f","unicodeChar":"𦩠","unicodeCodePoint":"26A60","pinYinChars":[{"char":"XING1"}],"splitChars":[{"char":"舟星"}],"weight":10},{"charId":"0df5a92b","unicodeChar":"𦩘","unicodeCodePoint":"26A58","pinYinChars":[{"char":"DING4"}],"splitChars":[{"char":"舟定"}],"weight":10},{"charId":"27945642","unicodeChar":"𦩏","unicodeCodePoint":"26A4F","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"舟隹"}],"weight":10},{"charId":"48aa6e63","unicodeChar":"𦩌","unicodeCodePoint":"26A4C","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"舟疌"}],"weight":10},{"charId":"fa304920","unicodeChar":"𦭑","unicodeCodePoint":"26B51","pinYinChars":[{"char":"TING1"}],"splitChars":[{"char":"艹丁"}],"weight":10},{"charId":"cf0b4907","unicodeChar":"𦮹","unicodeCodePoint":"26BB9","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"艹巴"}],"weight":10},{"charId":"ed2af285","unicodeChar":"𦮶","unicodeCodePoint":"26BB6","pinYinChars":[{"char":"WEN3"}],"splitChars":[{"char":"艹吻"}],"weight":10},{"charId":"3f880bdc","unicodeChar":"𦮭","unicodeCodePoint":"26BAD","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"艹水"}],"weight":10},{"charId":"5b355964","unicodeChar":"𦬁","unicodeCodePoint":"26B01","pinYinChars":[{"char":"CAI2"}],"splitChars":[{"char":"艹才"}],"weight":10},{"charId":"cf8b8e14","unicodeChar":"𦪙","unicodeCodePoint":"26A99","pinYinChars":[{"char":"TA4"}],"splitChars":[{"char":"舟羽(翕)"}],"weight":10},{"charId":"a3bea615","unicodeChar":"𦪑","unicodeCodePoint":"26A91","pinYinChars":[{"char":"FA2"}],"splitChars":[{"char":"舟發"}],"weight":10},{"charId":"251f880e","unicodeChar":"𦢂","unicodeCodePoint":"26882","pinYinChars":[{"char":"PU2"}],"splitChars":[{"char":"月美"}],"weight":10},{"charId":"e26350b3","unicodeChar":"𦟟","unicodeCodePoint":"267DF","pinYinChars":[{"char":"MO2"}],"splitChars":[{"char":"月麻"}],"weight":10},{"charId":"a85bea2d","unicodeChar":"𦞳","unicodeCodePoint":"267B3","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"月容"}],"weight":10},{"charId":"14219a68","unicodeChar":"𭸷","unicodeCodePoint":"2DE37","pinYinChars":[{"char":"ZHI1"}],"splitChars":[{"char":"王支"}],"weight":10},{"charId":"d3d7fc11","unicodeChar":"𦝨","unicodeCodePoint":"26768","pinYinChars":[{"char":"JIE1"}],"splitChars":[{"char":"月皆"}],"weight":10},{"charId":"12f88044","unicodeChar":"𦨾","unicodeCodePoint":"26A3E","pinYinChars":[{"char":"HENG1"}],"splitChars":[{"char":"舟亨"}],"weight":10},{"charId":"e7eb1527","unicodeChar":"𦬱","unicodeCodePoint":"26B31","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"艹升"}],"weight":10},{"charId":"ff3e6252","unicodeChar":"𦬪","unicodeCodePoint":"26B2A","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"艹丁"}],"weight":10},{"charId":"cc377700","unicodeChar":"𦬞","unicodeCodePoint":"26B1E","pinYinChars":[{"char":"TIAN1"}],"splitChars":[{"char":"艹天"}],"weight":10},{"charId":"0413dfd3","unicodeChar":"𦬕","unicodeCodePoint":"26B15","pinYinChars":[{"char":"ZHONG1"}],"splitChars":[{"char":"艹中"}],"weight":10},{"charId":"b8065c44","unicodeChar":"𦴊","unicodeCodePoint":"26D0A","pinYinChars":[{"char":"YANG1"}],"splitChars":[{"char":"艹殃"}],"weight":10},{"charId":"3c54fa58","unicodeChar":"𦳫","unicodeCodePoint":"26CEB","pinYinChars":[{"char":"SHAN1"}],"splitChars":[{"char":"艹欠"}],"weight":10},{"charId":"625acd61","unicodeChar":"𦳝","unicodeCodePoint":"26CDD","pinYinChars":[{"char":"TANG1"}],"splitChars":[{"char":"艹昜"}],"weight":10},{"charId":"efe81d2d","unicodeChar":"𤇏","unicodeCodePoint":"241CF","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"氶灬"}],"weight":10},{"charId":"c9aaa065","unicodeChar":"𦰱","unicodeCodePoint":"26C31","pinYinChars":[{"char":"CHANG2"}],"splitChars":[{"char":"艹尚"}],"weight":10},{"charId":"130dcd77","unicodeChar":"𦳌","unicodeCodePoint":"26CCC","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"艹急"}],"weight":10},{"charId":"c65f6304","unicodeChar":"𤓾","unicodeCodePoint":"244FE","pinYinChars":[{"char":"DAO4"}],"splitChars":[{"char":"爪丈"}],"weight":10},{"charId":"9b945778","unicodeChar":"𦳄","unicodeCodePoint":"26CC4","pinYinChars":[{"char":"PIAN2"}],"splitChars":[{"char":"艹便"}],"weight":10},{"charId":"e67f84c8","unicodeChar":"𤍤","unicodeCodePoint":"24364","pinYinChars":[{"char":"ZHANG1"}],"splitChars":[{"char":"火章"}],"weight":10},{"charId":"ed0cd464","unicodeChar":"𦲶","unicodeCodePoint":"26CB6","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"艹承"}],"weight":10},{"charId":"a1a683a3","unicodeChar":"𤉙","unicodeCodePoint":"24259","pinYinChars":[{"char":"QUN2"}],"splitChars":[{"char":"火君"}],"weight":10},{"charId":"c45130a6","unicodeChar":"𦵧","unicodeCodePoint":"26D67","pinYinChars":[{"char":"LANG2"}],"splitChars":[{"char":"艹狼"}],"weight":10},{"charId":"51258e6d","unicodeChar":"𦱊","unicodeCodePoint":"26C4A","pinYinChars":[{"char":"ZHENG1"}],"splitChars":[{"char":"艹争"}],"weight":10},{"charId":"54a296b8","unicodeChar":"𦱅","unicodeCodePoint":"26C45","pinYinChars":[{"char":"JU1"}],"splitChars":[{"char":"艹居"}],"weight":10},{"charId":"0abccd00","unicodeChar":"𦱀","unicodeCodePoint":"26C40","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"艹育"}],"weight":10},{"charId":"0c7567f7","unicodeChar":"𦰺","unicodeCodePoint":"26C3A","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"艹阜"}],"weight":10},{"charId":"788e4f56","unicodeChar":"𦭛","unicodeCodePoint":"26B5B","pinYinChars":[{"char":"QI"}],"splitChars":[{"char":"艹仟"}],"weight":10},{"charId":"28b9445a","unicodeChar":"𦭘","unicodeCodePoint":"26B58","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"艹卩"}],"weight":10},{"charId":"2ca91bce","unicodeChar":"𦰏","unicodeCodePoint":"26C0F","pinYinChars":[{"char":"TI"}],"splitChars":[{"char":"艹条"}],"weight":10},{"charId":"e9e8d308","unicodeChar":"𦯬","unicodeCodePoint":"26BEC","pinYinChars":[{"char":"SHE2"}],"splitChars":[{"char":"艹佘"}],"weight":10},{"charId":"d9b618f1","unicodeChar":"𣺮","unicodeCodePoint":"23EAE","pinYinChars":[{"char":"TAO4"}],"splitChars":[{"char":"氵套"}],"weight":10},{"charId":"c0aaa9b0","unicodeChar":"𦯀","unicodeCodePoint":"26BC0","pinYinChars":[{"char":"BEN4"}],"splitChars":[{"char":"艹(芬)土"}],"weight":10},{"charId":"31aba09a","unicodeChar":"𦱷","unicodeCodePoint":"26C77","pinYinChars":[{"char":"FEI1"}],"splitChars":[{"char":"艹灬"}],"weight":10},{"charId":"a99acdd1","unicodeChar":"𤤗","unicodeCodePoint":"24917","pinYinChars":[{"char":"NI2"}],"splitChars":[{"char":"王尼"}],"weight":10},{"charId":"206c97ec","unicodeChar":"𤤮","unicodeCodePoint":"2492E","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"王冬"}],"weight":10},{"charId":"d7fe362c","unicodeChar":"𭩈","unicodeCodePoint":"2DA48","pinYinChars":[{"char":"XIANG4"}],"splitChars":[{"char":"月象"}],"weight":10},{"charId":"68dc90e7","unicodeChar":"𤤆","unicodeCodePoint":"24906","pinYinChars":[{"char":"QIN2"}],"splitChars":[{"char":"王斤"}],"weight":10},{"charId":"424cfb9f","unicodeChar":"𤩠","unicodeCodePoint":"24A60","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"王喜"}],"weight":10},{"charId":"b2adfe40","unicodeChar":"𤩔","unicodeCodePoint":"24A54","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"王童"}],"weight":10},{"charId":"c54944e8","unicodeChar":"𤨲","unicodeCodePoint":"24A32","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"王崇"}],"weight":10},{"charId":"03be3097","unicodeChar":"𤧼","unicodeCodePoint":"249FC","pinYinChars":[{"char":"GAO3"}],"splitChars":[{"char":"王高"}],"weight":10},{"charId":"7e09f046","unicodeChar":"𤙔","unicodeCodePoint":"24654","pinYinChars":[{"char":"ZHAO4"}],"splitChars":[{"char":"牛兆"}],"weight":10},{"charId":"fbeaf302","unicodeChar":"𤘪","unicodeCodePoint":"2462A","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"牛丹"}],"weight":10},{"charId":"4dfaf2dc","unicodeChar":"𤛭","unicodeCodePoint":"246ED","pinYinChars":[{"char":"QUN2"}],"splitChars":[{"char":"牛牛"}],"weight":10},{"charId":"c87e0318","unicodeChar":"𦶕","unicodeCodePoint":"26D95","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"艹書"}],"weight":10},{"charId":"58b17ff8","unicodeChar":"𦵼","unicodeCodePoint":"26D7C","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"艹郡"}],"weight":10},{"charId":"f39572b4","unicodeChar":"𦵫","unicodeCodePoint":"26D6B","pinYinChars":[{"char":"SUO3"}],"splitChars":[{"char":"艹索"}],"weight":10},{"charId":"02767142","unicodeChar":"𤥐","unicodeCodePoint":"24950","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"王吉"}],"weight":10},{"charId":"644d453f","unicodeChar":"𦵩","unicodeCodePoint":"26D69","pinYinChars":[{"char":"ZAO1"}],"splitChars":[{"char":"艹酒"}],"weight":10},{"charId":"602bbfbe","unicodeChar":"𤥁","unicodeCodePoint":"24941","pinYinChars":[{"char":"MING2"}],"splitChars":[{"char":"王名"}],"weight":10},{"charId":"ac101c85","unicodeChar":"𤈄","unicodeCodePoint":"24204","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"火吉"}],"weight":10},{"charId":"9afc72f1","unicodeChar":"𤯥","unicodeCodePoint":"24BE5","pinYinChars":[{"char":"CHAN3"}],"splitChars":[{"char":"如生"}],"weight":10},{"charId":"bcc378a3","unicodeChar":"𤬪","unicodeCodePoint":"24B2A","pinYinChars":[{"char":"DU4"}],"splitChars":[{"char":"土瓦"}],"weight":10},{"charId":"91243f31","unicodeChar":"𥖜","unicodeCodePoint":"2559C","pinYinChars":[{"char":"JIN3"}],"splitChars":[{"char":"石禁"}],"weight":10},{"charId":"4b2e5e30","unicodeChar":"𥖨","unicodeCodePoint":"255A8","pinYinChars":[{"char":"ZAO4"}],"splitChars":[{"char":"石喿"}],"weight":10},{"charId":"ff8ae9d9","unicodeChar":"𥕞","unicodeCodePoint":"2555E","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"石章"}],"weight":10},{"charId":"672e34fe","unicodeChar":"𥕢","unicodeCodePoint":"25562","pinYinChars":[{"char":"CAO2"}],"splitChars":[{"char":"石曹"}],"weight":10},{"charId":"136d4f61","unicodeChar":"𤧣","unicodeCodePoint":"249E3","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"王建"}],"weight":10},{"charId":"d852cd8e","unicodeChar":"𤧘","unicodeCodePoint":"249D8","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"王香"}],"weight":10},{"charId":"e0083355","unicodeChar":"𤧊","unicodeCodePoint":"249CA","pinYinChars":[{"char":"KU"}],"splitChars":[{"char":"王奎"}],"weight":10},{"charId":"af7fe819","unicodeChar":"𤧐","unicodeCodePoint":"249D0","pinYinChars":[{"char":"QI"}],"splitChars":[{"char":"王秋"}],"weight":10},{"charId":"e2f2fccb","unicodeChar":"𤪑","unicodeCodePoint":"24A91","pinYinChars":[{"char":"MENG2"}],"splitChars":[{"char":"王蒙"}],"weight":10},{"charId":"1a0d903c","unicodeChar":"𥐰","unicodeCodePoint":"25430","pinYinChars":[{"char":"OU1"}],"splitChars":[{"char":"石区"}],"weight":10},{"charId":"c79305e5","unicodeChar":"𥐙","unicodeCodePoint":"25419","pinYinChars":[{"char":"PA1"}],"splitChars":[{"char":"石八"}],"weight":10},{"charId":"7387413e","unicodeChar":"𥂋","unicodeCodePoint":"2508B","pinYinChars":[{"char":"TU2"}],"splitChars":[{"char":"涂皿"}],"weight":10},{"charId":"e3393aaa","unicodeChar":"𤰚","unicodeCodePoint":"24C1A","pinYinChars":[{"char":"LA2"}],"splitChars":[{"char":"九田"}],"weight":10},{"charId":"d6a4ab9c","unicodeChar":"𤱙","unicodeCodePoint":"24C59","pinYinChars":[{"char":"BEN4"}],"splitChars":[{"char":"田本"}],"weight":10},{"charId":"d87bd7e1","unicodeChar":"𥘌","unicodeCodePoint":"2560C","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"礻几"}],"weight":10},{"charId":"af020a84","unicodeChar":"𥖮","unicodeCodePoint":"255AE","pinYinChars":[{"char":"CU"}],"splitChars":[{"char":"石翠"}],"weight":10},{"charId":"46a178d3","unicodeChar":"𥒫","unicodeCodePoint":"254AB","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"石孚"}],"weight":10},{"charId":"e74f5f33","unicodeChar":"𥓂","unicodeCodePoint":"254C2","pinYinChars":[{"char":"HAN1"}],"splitChars":[{"char":"石含"}],"weight":10},{"charId":"2f169368","unicodeChar":"𥑬","unicodeCodePoint":"2546C","pinYinChars":[{"char":"SHAN1"}],"splitChars":[{"char":"石册"}],"weight":10},{"charId":"cc803f45","unicodeChar":"𥑋","unicodeCodePoint":"2544B","pinYinChars":[{"char":"GUAI4"}],"splitChars":[{"char":"石圣"}],"weight":10},{"charId":"54ffa1a6","unicodeChar":"𨨅","unicodeCodePoint":"28A05","pinYinChars":[{"char":"HU"}],"splitChars":[{"char":"金或"}],"weight":10},{"charId":"d4cf8809","unicodeChar":"𨧰","unicodeCodePoint":"289F0","pinYinChars":[{"char":"ZU2"}],"splitChars":[{"char":"金乖"}],"weight":10},{"charId":"6efce1e0","unicodeChar":"𨧤","unicodeCodePoint":"289E4","pinYinChars":[{"char":"HENG1"}],"splitChars":[{"char":"金亨"}],"weight":10},{"charId":"afd3462d","unicodeChar":"𨧡","unicodeCodePoint":"289E1","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"金君"}],"weight":10},{"charId":"5770e6c8","unicodeChar":"𨦫","unicodeCodePoint":"289AB","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"金羽"}],"weight":10},{"charId":"bbc88f7e","unicodeChar":"𨹸","unicodeCodePoint":"28E78","pinYinChars":[{"char":"ZHA4"}],"splitChars":[{"char":"阝土"}],"weight":10},{"charId":"5c344144","unicodeChar":"𨹚","unicodeCodePoint":"28E5A","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"阝成"}],"weight":10},{"charId":"eea92f95","unicodeChar":"𨹗","unicodeCodePoint":"28E57","pinYinChars":[{"char":"BING1"}],"splitChars":[{"char":"阝并"}],"weight":10},{"charId":"92dd4142","unicodeChar":"𨹑","unicodeCodePoint":"28E51","pinYinChars":[{"char":"QU"}],"splitChars":[{"char":"阝全"}],"weight":10},{"charId":"4b09829f","unicodeChar":"𨹍","unicodeCodePoint":"28E4D","pinYinChars":[{"char":"JIAO1"}],"splitChars":[{"char":"阝交"}],"weight":10},{"charId":"86ee1c84","unicodeChar":"𨸘","unicodeCodePoint":"28E18","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"阝广"}],"weight":10},{"charId":"628aa5b7","unicodeChar":"𨶈","unicodeCodePoint":"28D88","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"門唐"}],"weight":10},{"charId":"a6f2c103","unicodeChar":"𨶇","unicodeCodePoint":"28D87","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"門烏"}],"weight":10},{"charId":"d45933ba","unicodeChar":"𨱔","unicodeCodePoint":"28C54","pinYinChars":[{"char":"ZUN1"}],"splitChars":[{"char":"钅尊"}],"weight":10},{"charId":"c46921a0","unicodeChar":"𨱈","unicodeCodePoint":"28C48","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"钅束"}],"weight":10},{"charId":"d216d90f","unicodeChar":"𨱃","unicodeCodePoint":"28C43","pinYinChars":[{"char":"GU1"}],"splitChars":[{"char":"钅瓜"}],"weight":10},{"charId":"738c3bdb","unicodeChar":"𨰣","unicodeCodePoint":"28C23","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"金麗"}],"weight":10},{"charId":"cf441d77","unicodeChar":"𨰃","unicodeCodePoint":"28C03","pinYinChars":[{"char":"YING1"}],"splitChars":[{"char":"金嬰"}],"weight":10},{"charId":"87f9da35","unicodeChar":"𨯚","unicodeCodePoint":"28BDA","pinYinChars":[{"char":"HU"}],"splitChars":[{"char":"金慧"}],"weight":10},{"charId":"a90c3630","unicodeChar":"𨯌","unicodeCodePoint":"28BCC","pinYinChars":[{"char":"LI"}],"splitChars":[{"char":"金蓮"}],"weight":10},{"charId":"ec457a1d","unicodeChar":"𨮔","unicodeCodePoint":"28B94","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"金與"}],"weight":10},{"charId":"9d250bd3","unicodeChar":"𨮒","unicodeCodePoint":"28B92","pinYinChars":[{"char":"MENG4"}],"splitChars":[{"char":"金夢"}],"weight":10},{"charId":"61ba3b3f","unicodeChar":"𨭐","unicodeCodePoint":"28B50","pinYinChars":[{"char":"CHAN2"}],"splitChars":[{"char":"金單"}],"weight":10},{"charId":"580c52fa","unicodeChar":"𨸕","unicodeCodePoint":"28E15","pinYinChars":[{"char":"DENG4"}],"splitChars":[{"char":"阝又"}],"weight":10},{"charId":"084f5142","unicodeChar":"𨬛","unicodeCodePoint":"28B1B","pinYinChars":[{"char":"ZHENG4"}],"splitChars":[{"char":"艹金"}],"weight":10},{"charId":"9f71d42e","unicodeChar":"𨪄","unicodeCodePoint":"28A84","pinYinChars":[{"char":"YING4"}],"splitChars":[{"char":"土金"}],"weight":10},{"charId":"385bcb62","unicodeChar":"𨨖","unicodeCodePoint":"28A16","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[{"char":"王金"}],"weight":10},{"charId":"cdd4a9cd","unicodeChar":"𩂿","unicodeCodePoint":"290BF","pinYinChars":[{"char":"YUN3"}],"splitChars":[{"char":"雨君"}],"weight":10},{"charId":"6ffe7b93","unicodeChar":"𪯲","unicodeCodePoint":"2ABF2","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"方斤"}],"weight":10},{"charId":"a673400a","unicodeChar":"𩊬","unicodeCodePoint":"292AC","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"革甫"}],"weight":10},{"charId":"4078597f","unicodeChar":"𩊂","unicodeCodePoint":"29282","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"革令"}],"weight":10},{"charId":"bc2d64f9","unicodeChar":"𩔊","unicodeCodePoint":"2950A","pinYinChars":[{"char":"ZHUAN4"}],"splitChars":[{"char":"頁頁"}],"weight":10},{"charId":"b677cc33","unicodeChar":"𬂣","unicodeCodePoint":"2C0A3","pinYinChars":[{"char":"JIE4"}],"splitChars":[{"char":"木介"}],"weight":10},{"charId":"e56aaf1b","unicodeChar":"𩅿","unicodeCodePoint":"2917F","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"雨溥"}],"weight":10},{"charId":"c66029b2","unicodeChar":"𩅄","unicodeCodePoint":"29144","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"雨鹿"}],"weight":10},{"charId":"e1d47ddc","unicodeChar":"𬀉","unicodeCodePoint":"2C009","pinYinChars":[{"char":"FANG1"}],"splitChars":[{"char":"方方"}],"weight":10},{"charId":"cad03738","unicodeChar":"𩄻","unicodeCodePoint":"2913B","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"雨莫"}],"weight":10},{"charId":"5e57cb4b","unicodeChar":"𩃀","unicodeCodePoint":"290C0","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"雨延"}],"weight":10},{"charId":"794ad854","unicodeChar":"𩂴","unicodeCodePoint":"290B4","pinYinChars":[{"char":"SE4"}],"splitChars":[{"char":"雨朿"}],"weight":10},{"charId":"4cc59f66","unicodeChar":"𩂤","unicodeCodePoint":"290A4","pinYinChars":[{"char":"HUA4"}],"splitChars":[{"char":"雨舟"}],"weight":10},{"charId":"3adb364c","unicodeChar":"𩂓","unicodeCodePoint":"29093","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"雨冬"}],"weight":10},{"charId":"188e09ee","unicodeChar":"𩂍","unicodeCodePoint":"2908D","pinYinChars":[{"char":"CHUAN1"}],"splitChars":[{"char":"雨水"}],"weight":10},{"charId":"708c99ea","unicodeChar":"𩂄","unicodeCodePoint":"29084","pinYinChars":[{"char":"TUN1"}],"splitChars":[{"char":"雨屯"}],"weight":10},{"charId":"7886812b","unicodeChar":"𩇔","unicodeCodePoint":"291D4","pinYinChars":[{"char":"NONG2"}],"splitChars":[{"char":"雲雲"}],"weight":10},{"charId":"fdd0e5a1","unicodeChar":"𩆩","unicodeCodePoint":"291A9","pinYinChars":[{"char":"ZH"}],"splitChars":[{"char":"雨寸"}],"weight":10},{"charId":"0343ef08","unicodeChar":"𨿁","unicodeCodePoint":"28FC1","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"爪隹"}],"weight":10},{"charId":"13f18e69","unicodeChar":"𨾉","unicodeCodePoint":"28F89","pinYinChars":[{"char":"JIU3"}],"splitChars":[{"char":"久隹"}],"weight":10},{"charId":"0f1640c7","unicodeChar":"𨼿","unicodeCodePoint":"28F3F","pinYinChars":[{"char":"MENG2"}],"splitChars":[{"char":"阝蒙"}],"weight":10},{"charId":"05924dd2","unicodeChar":"𩙡","unicodeCodePoint":"29661","pinYinChars":[{"char":"HOU1"}],"splitChars":[{"char":"風風"}],"weight":10},{"charId":"a0046efd","unicodeChar":"𩢸","unicodeCodePoint":"298B8","pinYinChars":[{"char":"ZHOU1"}],"splitChars":[{"char":"馬舟"}],"weight":10},{"charId":"64a50595","unicodeChar":"𩢷","unicodeCodePoint":"298B7","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"馬百"}],"weight":10},{"charId":"5b80c2a2","unicodeChar":"𩢴","unicodeCodePoint":"298B4","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"馬吉"}],"weight":10},{"charId":"ab9efb7a","unicodeChar":"𬂭","unicodeCodePoint":"2C0AD","pinYinChars":[{"char":"XIANG1"}],"splitChars":[{"char":"木向"}],"weight":10},{"charId":"f5bae0fa","unicodeChar":"𪳆","unicodeCodePoint":"2ACC6","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"木勇"}],"weight":10},{"charId":"4acd370a","unicodeChar":"𩤥","unicodeCodePoint":"29925","pinYinChars":[{"char":"XIAN2"}],"splitChars":[{"char":"馬咸"}],"weight":10},{"charId":"5bfbf305","unicodeChar":"𩤠","unicodeCodePoint":"29920","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"馬皆"}],"weight":10},{"charId":"a619a2ce","unicodeChar":"𩤏","unicodeCodePoint":"2990F","pinYinChars":[{"char":"CUI4"}],"splitChars":[{"char":"馬卒"}],"weight":10},{"charId":"6c6ef814","unicodeChar":"𩣸","unicodeCodePoint":"298F8","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"馬阜"}],"weight":10},{"charId":"d105e483","unicodeChar":"𬇨","unicodeCodePoint":"2C1E8","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"氵志"}],"weight":10},{"charId":"b0d0b44f","unicodeChar":"𩚹","unicodeCodePoint":"296B9","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"食令"}],"weight":10},{"charId":"e944e370","unicodeChar":"𩐁","unicodeCodePoint":"29401","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"歹韭"}],"weight":10},{"charId":"c792a1a0","unicodeChar":"𩎿","unicodeCodePoint":"293BF","pinYinChars":[{"char":"CHANG1"}],"splitChars":[{"char":"韋昌"}],"weight":10},{"charId":"bf82bbef","unicodeChar":"𩖣","unicodeCodePoint":"295A3","pinYinChars":[{"char":"XIN2"}],"splitChars":[{"char":"文風"}],"weight":10},{"charId":"adac7bc1","unicodeChar":"𩖠","unicodeCodePoint":"295A0","pinYinChars":[{"char":"BEI4"}],"splitChars":[{"char":"風女"}],"weight":10},{"charId":"abeb1851","unicodeChar":"𩖛","unicodeCodePoint":"2959B","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"風凡"}],"weight":10},{"charId":"3a045a71","unicodeChar":"𩡺","unicodeCodePoint":"2987A","pinYinChars":[{"char":"JIE4"}],"splitChars":[{"char":"馬介"}],"weight":10},{"charId":"9ec6a77a","unicodeChar":"𩡕","unicodeCodePoint":"29855","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"旁香"}],"weight":10},{"charId":"07d61ff2","unicodeChar":"𩠻","unicodeCodePoint":"2983B","pinYinChars":[{"char":"HAN1"}],"splitChars":[{"char":"香今"}],"weight":10},{"charId":"a454d905","unicodeChar":"𩒀","unicodeCodePoint":"29480","pinYinChars":[{"char":"ZHEN3"}],"splitChars":[{"char":"人頁"}],"weight":10},{"charId":"e2ed8478","unicodeChar":"𬃒","unicodeCodePoint":"2C0D2","pinYinChars":[{"char":"LIANG2"}],"splitChars":[{"char":"木木"}],"weight":10},{"charId":"3fa68d11","unicodeChar":"𩑻","unicodeCodePoint":"2947B","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"白頁"}],"weight":10},{"charId":"b1af06e9","unicodeChar":"𪲞","unicodeCodePoint":"2AC9E","pinYinChars":[{"char":"QIANG1"}],"splitChars":[{"char":"木羌"}],"weight":10},{"charId":"c5dc19b2","unicodeChar":"𩐤","unicodeCodePoint":"29424","pinYinChars":[{"char":"DONG4"}],"splitChars":[{"char":"音同"}],"weight":10},{"charId":"78753b80","unicodeChar":"𩦹","unicodeCodePoint":"299B9","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"馬監"}],"weight":10},{"charId":"e34db497","unicodeChar":"𩦠","unicodeCodePoint":"299A0","pinYinChars":[{"char":"BANG4"}],"splitChars":[{"char":"馬剽"}],"weight":10},{"charId":"391f7340","unicodeChar":"𩻪","unicodeCodePoint":"29EEA","pinYinChars":[{"char":"CH"}],"splitChars":[{"char":"敞魚"}],"weight":10},{"charId":"2b62f434","unicodeChar":"𬉿","unicodeCodePoint":"2C27F","pinYinChars":[{"char":"PAO1"}],"splitChars":[{"char":"爪火"}],"weight":10},{"charId":"f34f0091","unicodeChar":"𩺰","unicodeCodePoint":"29EB0","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"魚魚"}],"weight":10},{"charId":"126456ce","unicodeChar":"𬉾","unicodeCodePoint":"2C27E","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"火丹"}],"weight":10},{"charId":"88fa3231","unicodeChar":"𩵖","unicodeCodePoint":"29D56","pinYinChars":[{"char":"XIAO3"}],"splitChars":[{"char":"魚小"}],"weight":10},{"charId":"cfdf871f","unicodeChar":"𩱞","unicodeCodePoint":"29C5E","pinYinChars":[{"char":"JIAO4"}],"splitChars":[{"char":"孝鬲"}],"weight":10},{"charId":"045b56ef","unicodeChar":"𩧉","unicodeCodePoint":"299C9","pinYinChars":[{"char":"GUANG1"}],"splitChars":[{"char":"馬廣"}],"weight":10},{"charId":"efad04ca","unicodeChar":"𩣱","unicodeCodePoint":"298F1","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"馬坴"}],"weight":10},{"charId":"4ecb629c","unicodeChar":"𩣮","unicodeCodePoint":"298EE","pinYinChars":[{"char":"TU4"}],"splitChars":[{"char":"馬兔"}],"weight":10},{"charId":"d0cf3ef7","unicodeChar":"𪶽","unicodeCodePoint":"2ADBD","pinYinChars":[{"char":"SANG1"}],"splitChars":[{"char":"氵桑"}],"weight":10},{"charId":"08669109","unicodeChar":"𪵩","unicodeCodePoint":"2AD69","pinYinChars":[{"char":"XIA4"}],"splitChars":[{"char":"氵下"}],"weight":10},{"charId":"dd252a9e","unicodeChar":"𩥐","unicodeCodePoint":"29950","pinYinChars":[{"char":"SHI1"}],"splitChars":[{"char":"馬師"}],"weight":10},{"charId":"c0e1426d","unicodeChar":"𩥋","unicodeCodePoint":"2994B","pinYinChars":[{"char":"OU4"}],"splitChars":[{"char":"馬馬"}],"weight":10},{"charId":"44cfcd93","unicodeChar":"𩥉","unicodeCodePoint":"29949","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"馬豈"}],"weight":10},{"charId":"92acc0a2","unicodeChar":"𩤽","unicodeCodePoint":"2993D","pinYinChars":[{"char":"TI1"}],"splitChars":[{"char":"馬虎"}],"weight":10},{"charId":"2da248f9","unicodeChar":"𪸎","unicodeCodePoint":"2AE0E","pinYinChars":[{"char":"FAN2"}],"splitChars":[{"char":"火几(凢)"}],"weight":10},{"charId":"202515ab","unicodeChar":"𩣳","unicodeCodePoint":"298F3","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"馬東"}],"weight":10},{"charId":"4f44eab7","unicodeChar":"𬈷","unicodeCodePoint":"2C237","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"氵棠"}],"weight":10},{"charId":"43faeaf4","unicodeChar":"𩣲","unicodeCodePoint":"298F2","pinYinChars":[{"char":"YAN1"}],"splitChars":[{"char":"馬典"}],"weight":10},{"charId":"5d4b89ec","unicodeChar":"𬎏","unicodeCodePoint":"2C38F","pinYinChars":[{"char":"ZI3"}],"splitChars":[{"char":"王紫"}],"weight":10},{"charId":"55424081","unicodeChar":"𪂕","unicodeCodePoint":"2A095","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"雨鳥"}],"weight":10},{"charId":"613a97e1","unicodeChar":"𬎇","unicodeCodePoint":"2C387","pinYinChars":[{"char":"MO4"}],"splitChars":[{"char":"王莫"}],"weight":10},{"charId":"46ab23f1","unicodeChar":"𪂈","unicodeCodePoint":"2A088","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"炎鳥"}],"weight":10},{"charId":"f6b733a4","unicodeChar":"𬎋","unicodeCodePoint":"2C38B","pinYinChars":[{"char":"QIN2"}],"splitChars":[{"char":"王琴"}],"weight":10},{"charId":"53cae372","unicodeChar":"𪁿","unicodeCodePoint":"2A07F","pinYinChars":[{"char":"SONG1"}],"splitChars":[{"char":"松鳥"}],"weight":10},{"charId":"757e6d2e","unicodeChar":"𪁏","unicodeCodePoint":"2A04F","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"山鳥"}],"weight":10},{"charId":"4b08145b","unicodeChar":"𪼏","unicodeCodePoint":"2AF0F","pinYinChars":[{"char":"SANG1"}],"splitChars":[{"char":"王桑"}],"weight":10},{"charId":"7f9ef6de","unicodeChar":"𪻽","unicodeCodePoint":"2AEFD","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"王客"}],"weight":10},{"charId":"4d68cb26","unicodeChar":"𪀩","unicodeCodePoint":"2A029","pinYinChars":[{"char":"QI1"}],"splitChars":[{"char":"多鳥"}],"weight":10},{"charId":"a6db9c2c","unicodeChar":"𬍺","unicodeCodePoint":"2C37A","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"王勇"}],"weight":10},{"charId":"d7bc07ff","unicodeChar":"𪻤","unicodeCodePoint":"2AEE4","pinYinChars":[{"char":"BING1"}],"splitChars":[{"char":"王兵"}],"weight":10},{"charId":"3f7ae35b","unicodeChar":"𩱇","unicodeCodePoint":"29C47","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"鬲鬲"}],"weight":10},{"charId":"9f434ef3","unicodeChar":"𩫆","unicodeCodePoint":"29AC6","pinYinChars":[{"char":"SH"}],"splitChars":[{"char":"高升"}],"weight":10},{"charId":"ef02f169","unicodeChar":"𩪛","unicodeCodePoint":"29A9B","pinYinChars":[{"char":"PU2"}],"splitChars":[{"char":"骨菐"}],"weight":10},{"charId":"d88908a1","unicodeChar":"𩨑","unicodeCodePoint":"29A11","pinYinChars":[{"char":"TING1"}],"splitChars":[{"char":"骨丁"}],"weight":10},{"charId":"5c12387e","unicodeChar":"𬊀","unicodeCodePoint":"2C280","pinYinChars":[{"char":"FANG1"}],"splitChars":[{"char":"火方"}],"weight":10},{"charId":"82079527","unicodeChar":"𩾽","unicodeCodePoint":"29FBD","pinYinChars":[{"char":"XIN1"}],"splitChars":[{"char":"鳥心"}],"weight":10},{"charId":"fa0a7c1a","unicodeChar":"𩽾","unicodeCodePoint":"29F7E","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"鱼安"}],"weight":10},{"charId":"ee05a053","unicodeChar":"𬋅","unicodeCodePoint":"2C2C5","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"火惠"}],"weight":10},{"charId":"60bf089d","unicodeChar":"𬍥","unicodeCodePoint":"2C365","pinYinChars":[{"char":"FU3"}],"splitChars":[{"char":"王甫"}],"weight":10},{"charId":"c3c0e727","unicodeChar":"𬒗","unicodeCodePoint":"2C497","pinYinChars":[{"char":"LAN2"}],"splitChars":[{"char":"石览"}],"weight":10},{"charId":"3f42fc23","unicodeChar":"鿎","unicodeCodePoint":"9FCE","pinYinChars":[{"char":"TA3"}],"splitChars":[{"char":"石达"}],"weight":10},{"charId":"8fb993f5","unicodeChar":"𬒈","unicodeCodePoint":"2C488","pinYinChars":[{"char":"QUE4"}],"splitChars":[{"char":"小石"}],"weight":10},{"charId":"28b3f223","unicodeChar":"𮀔","unicodeCodePoint":"2E014","pinYinChars":[{"char":"ZHAI4"}],"splitChars":[{"char":"石示"}],"weight":10},{"charId":"121d8aaa","unicodeChar":"𪾢","unicodeCodePoint":"2AFA2","pinYinChars":[{"char":"XIAN4"}],"splitChars":[{"char":"目见"}],"weight":10},{"charId":"7470f15c","unicodeChar":"𪽏","unicodeCodePoint":"2AF4F","pinYinChars":[{"char":"LENG4"}],"splitChars":[{"char":"田令"}],"weight":10},{"charId":"6b302409","unicodeChar":"𪽇","unicodeCodePoint":"2AF47","pinYinChars":[{"char":"KE1"}],"splitChars":[{"char":"田九"}],"weight":10},{"charId":"292f0d14","unicodeChar":"𪼦","unicodeCodePoint":"2AF26","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"王意"}],"weight":10},{"charId":"a68c8069","unicodeChar":"𬘧","unicodeCodePoint":"2C627","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"纟齐"}],"weight":10},{"charId":"eb6a52c9","unicodeChar":"𬘡","unicodeCodePoint":"2C621","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"纟因"}],"weight":10},{"charId":"895b5c94","unicodeChar":"𫂺","unicodeCodePoint":"2B0BA","pinYinChars":[{"char":"FAN1"}],"splitChars":[{"char":"米田"}],"weight":10},{"charId":"323a7fd0","unicodeChar":"𬕂","unicodeCodePoint":"2C542","pinYinChars":[{"char":"GONG1"}],"splitChars":[{"char":"竹贡"}],"weight":10},{"charId":"62c04212","unicodeChar":"𬓮","unicodeCodePoint":"2C4EE","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"禾尚"}],"weight":10},{"charId":"752eb8d9","unicodeChar":"𪿲","unicodeCodePoint":"2AFF2","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"石窑"}],"weight":10},{"charId":"cb54ca0d","unicodeChar":"𧻚","unicodeCodePoint":"27EDA","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"走亘"}],"weight":10},{"charId":"4e4469e6","unicodeChar":"𨀘","unicodeCodePoint":"28018","pinYinChars":[{"char":"XIANG2"}],"splitChars":[{"char":"足羊"}],"weight":10},{"charId":"93dac241","unicodeChar":"𧿥","unicodeCodePoint":"27FE5","pinYinChars":[{"char":"BIE2"}],"splitChars":[{"char":"足比"}],"weight":10},{"charId":"882b8149","unicodeChar":"𧾰","unicodeCodePoint":"27FB0","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"走翼"}],"weight":10},{"charId":"94086d2c","unicodeChar":"𧼨","unicodeCodePoint":"27F28","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"走曷"}],"weight":10},{"charId":"10c31798","unicodeChar":"𧯀","unicodeCodePoint":"27BC0","pinYinChars":[{"char":"YING1"}],"splitChars":[{"char":"谷英"}],"weight":10},{"charId":"30bd66ef","unicodeChar":"𧲡","unicodeCodePoint":"27CA1","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"豸力"}],"weight":10},{"charId":"239f71a4","unicodeChar":"𨒇","unicodeCodePoint":"28487","pinYinChars":[{"char":"JIA3"}],"splitChars":[{"char":"辶甲"}],"weight":10},{"charId":"23d804af","unicodeChar":"𨒃","unicodeCodePoint":"28483","pinYinChars":[{"char":"PAN4"}],"splitChars":[{"char":"辶半"}],"weight":10},{"charId":"fff8be25","unicodeChar":"𨄗","unicodeCodePoint":"28117","pinYinChars":[{"char":"KANG1"}],"splitChars":[{"char":"足康"}],"weight":10},{"charId":"38fd7d2a","unicodeChar":"𨂿","unicodeCodePoint":"280BF","pinYinChars":[{"char":"WAI3"}],"splitChars":[{"char":"足歪"}],"weight":10},{"charId":"d1cded81","unicodeChar":"𨁏","unicodeCodePoint":"2804F","pinYinChars":[{"char":"PU1"}],"splitChars":[{"char":"足甫"}],"weight":10},{"charId":"a39a1dcc","unicodeChar":"𨁂","unicodeCodePoint":"28042","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"足夾"}],"weight":10},{"charId":"03d1ebdd","unicodeChar":"𨓿","unicodeCodePoint":"284FF","pinYinChars":[{"char":"PEI2"}],"splitChars":[{"char":"辶非"}],"weight":10},{"charId":"88de5d5c","unicodeChar":"𧂋","unicodeCodePoint":"2708B","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"艹心(憑)"}],"weight":10},{"charId":"cfe66ac7","unicodeChar":"𨓯","unicodeCodePoint":"284EF","pinYinChars":[{"char":"YUAN1"}],"splitChars":[{"char":"辶片"}],"weight":10},{"charId":"8c9a4269","unicodeChar":"𨓞","unicodeCodePoint":"284DE","pinYinChars":[{"char":"DIA4"}],"splitChars":[{"char":"辶㐬"}],"weight":10},{"charId":"6ebc0dcb","unicodeChar":"𨒱","unicodeCodePoint":"284B1","pinYinChars":[{"char":"GONG1"}],"splitChars":[{"char":"辶共"}],"weight":10},{"charId":"66daf2c0","unicodeChar":"𢙿","unicodeCodePoint":"2267F","pinYinChars":[{"char":"JIN4"}],"splitChars":[{"char":"忄今(岑)"}],"weight":10},{"charId":"2f84c757","unicodeChar":"𨒫","unicodeCodePoint":"284AB","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"辶羊"}],"weight":10},{"charId":"52ab979a","unicodeChar":"𨆬","unicodeCodePoint":"281AC","pinYinChars":[{"char":"CHUO4"}],"splitChars":[{"char":"足足"}],"weight":10},{"charId":"5e603db9","unicodeChar":"𨄮","unicodeCodePoint":"2812E","pinYinChars":[{"char":"SHUAI1"}],"splitChars":[{"char":"足率"}],"weight":10},{"charId":"884fea83","unicodeChar":"𧺸","unicodeCodePoint":"27EB8","pinYinChars":[{"char":"YONG2"}],"splitChars":[{"char":"走冋"}],"weight":10},{"charId":"c9317377","unicodeChar":"𧺊","unicodeCodePoint":"27E8A","pinYinChars":[{"char":"HU"}],"splitChars":[{"char":"走匕"}],"weight":10},{"charId":"a50602b7","unicodeChar":"𨀙","unicodeCodePoint":"28019","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"足吉"}],"weight":10},{"charId":"6375d2f9","unicodeChar":"𩢀","unicodeCodePoint":"29880","pinYinChars":[{"char":"TUN2"}],"splitChars":[{"char":"馬屯"}],"weight":10},{"charId":"f3e78c1d","unicodeChar":"𨍶","unicodeCodePoint":"28376","pinYinChars":[{"char":"QIONG2"}],"splitChars":[{"char":"𤇾車"}],"weight":10},{"charId":"8e0d102e","unicodeChar":"𨋺","unicodeCodePoint":"282FA","pinYinChars":[{"char":"FA2"}],"splitChars":[{"char":"臼車"}],"weight":10},{"charId":"fe84a319","unicodeChar":"𨊧","unicodeCodePoint":"282A7","pinYinChars":[{"char":"GANG1"}],"splitChars":[{"char":"車工"}],"weight":10},{"charId":"355d1b5a","unicodeChar":"𨇤","unicodeCodePoint":"281E4","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"足鮮"}],"weight":10},{"charId":"9d6a35ca","unicodeChar":"𨠏","unicodeCodePoint":"2880F","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"酉氐"}],"weight":10},{"charId":"dd9d3677","unicodeChar":"𨟵","unicodeCodePoint":"287F5","pinYinChars":[{"char":"BI3"}],"splitChars":[{"char":"酉比"}],"weight":10},{"charId":"db19a5ee","unicodeChar":"𨞺","unicodeCodePoint":"287BA","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"厲阝"}],"weight":10},{"charId":"c20319d9","unicodeChar":"𨞕","unicodeCodePoint":"28795","pinYinChars":[{"char":"ZHU2"}],"splitChars":[{"char":"蜀阝"}],"weight":10},{"charId":"a3d6d688","unicodeChar":"𫮑","unicodeCodePoint":"2BB91","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"土建"}],"weight":10},{"charId":"4950d39b","unicodeChar":"𨗦","unicodeCodePoint":"285E6","pinYinChars":[{"char":"QIAN3"}],"splitChars":[{"char":"辶僉"}],"weight":10},{"charId":"6c4a045e","unicodeChar":"𫮃","unicodeCodePoint":"2BB83","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"土单"}],"weight":10},{"charId":"68ab702a","unicodeChar":"𨝎","unicodeCodePoint":"2874E","pinYinChars":[{"char":"KANG1"}],"splitChars":[{"char":"康阝"}],"weight":10},{"charId":"cdea090d","unicodeChar":"𪤊","unicodeCodePoint":"2A90A","pinYinChars":[{"char":"LANG4"}],"splitChars":[{"char":"浪土"}],"weight":10},{"charId":"70f192ae","unicodeChar":"𨜶","unicodeCodePoint":"28736","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"益阝"}],"weight":10},{"charId":"852c2abf","unicodeChar":"𨜓","unicodeCodePoint":"28713","pinYinChars":[{"char":"ZHENG1"}],"splitChars":[{"char":"貞阝"}],"weight":10},{"charId":"d0c3f67d","unicodeChar":"𨜏","unicodeCodePoint":"2870F","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"盈阝"}],"weight":10},{"charId":"cd92fe2f","unicodeChar":"𨢌","unicodeCodePoint":"2888C","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"酉鬲"}],"weight":10},{"charId":"aff643d1","unicodeChar":"𨡹","unicodeCodePoint":"28879","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"酉泉"}],"weight":10},{"charId":"dd76d6ce","unicodeChar":"𨚔","unicodeCodePoint":"28694","pinYinChars":[{"char":"BAO1"}],"splitChars":[{"char":"包阝"}],"weight":10},{"charId":"99133474","unicodeChar":"𨙴","unicodeCodePoint":"28674","pinYinChars":[{"char":"CAI2"}],"splitChars":[{"char":"才阝"}],"weight":10},{"charId":"84d9b2c8","unicodeChar":"𨗴","unicodeCodePoint":"285F4","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"辶隹"}],"weight":10},{"charId":"dfc02080","unicodeChar":"𨗨","unicodeCodePoint":"285E8","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"辶韋"}],"weight":10},{"charId":"2a604a6b","unicodeChar":"𨑨","unicodeCodePoint":"28468","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"辶日"}],"weight":10},{"charId":"0fc50acd","unicodeChar":"𨔦","unicodeCodePoint":"28526","pinYinChars":[{"char":"SHU4"}],"splitChars":[{"char":"辶壴"}],"weight":10},{"charId":"8ab9cc5d","unicodeChar":"𨛴","unicodeCodePoint":"286F4","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"昊阝"}],"weight":10},{"charId":"9d79e000","unicodeChar":"𨛮","unicodeCodePoint":"286EE","pinYinChars":[{"char":"JU1"}],"splitChars":[{"char":"居阝"}],"weight":10},{"charId":"dbb6bf49","unicodeChar":"𨛬","unicodeCodePoint":"286EC","pinYinChars":[{"char":"XI2"}],"splitChars":[{"char":"非邑"}],"weight":10},{"charId":"dc79ecc1","unicodeChar":"𨚮","unicodeCodePoint":"286AE","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"白阝"}],"weight":10},{"charId":"489522b4","unicodeChar":"𪤗","unicodeCodePoint":"2A917","pinYinChars":[{"char":"LIAO4"}],"splitChars":[{"char":"土翏"}],"weight":10},{"charId":"9ab383a1","unicodeChar":"𫰛","unicodeCodePoint":"2BC1B","pinYinChars":[{"char":"XING2"}],"splitChars":[{"char":"女𢀖"}],"weight":10},{"charId":"d9c79386","unicodeChar":"𪥰","unicodeCodePoint":"2A970","pinYinChars":[{"char":"NING2"}],"splitChars":[{"char":"女宁"}],"weight":10},{"charId":"0519717d","unicodeChar":"𨥜","unicodeCodePoint":"2895C","pinYinChars":[{"char":"AO3"}],"splitChars":[{"char":"金夭"}],"weight":10},{"charId":"1172f2e9","unicodeChar":"𫳑","unicodeCodePoint":"2BCD1","pinYinChars":[{"char":"YAN1"}],"splitChars":[{"char":"宀奄"}],"weight":10},{"charId":"319d4e63","unicodeChar":"𫱮","unicodeCodePoint":"2BC6E","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"女惠"}],"weight":10},{"charId":"a72a90ea","unicodeChar":"𫰾","unicodeCodePoint":"2BC3E","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"女金"}],"weight":10},{"charId":"80950feb","unicodeChar":"𭏦","unicodeCodePoint":"2D3E6","pinYinChars":[{"char":"AI4"}],"splitChars":[{"char":"土盖"}],"weight":10},{"charId":"76fc4087","unicodeChar":"𪤏","unicodeCodePoint":"2A90F","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"土基"}],"weight":10},{"charId":"7442e9fb","unicodeChar":"𨝯","unicodeCodePoint":"2876F","pinYinChars":[{"char":"TONG2"}],"splitChars":[{"char":"童阝"}],"weight":10},{"charId":"86139900","unicodeChar":"𨥙","unicodeCodePoint":"28959","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"金井"}],"weight":10},{"charId":"7a5f411a","unicodeChar":"𫰎","unicodeCodePoint":"2BC0E","pinYinChars":[{"char":"YA1"}],"splitChars":[{"char":"女牙"}],"weight":10},{"charId":"99828527","unicodeChar":"𪥈","unicodeCodePoint":"2A948","pinYinChars":[{"char":"DUN1"}],"splitChars":[{"char":"大平"}],"weight":10},{"charId":"41119732","unicodeChar":"𨥌","unicodeCodePoint":"2894C","pinYinChars":[{"char":"CHI2"}],"splitChars":[{"char":"金氏"}],"weight":10},{"charId":"12d2133b","unicodeChar":"𨥈","unicodeCodePoint":"28948","pinYinChars":[{"char":"JI3"}],"splitChars":[{"char":"金己"}],"weight":10},{"charId":"3bba04c4","unicodeChar":"𪤅","unicodeCodePoint":"2A905","pinYinChars":[{"char":"DANG3"}],"splitChars":[{"char":"土党"}],"weight":10},{"charId":"7568cd43","unicodeChar":"𪨪","unicodeCodePoint":"2AA2A","pinYinChars":[{"char":"CE4"}],"splitChars":[{"char":"山册"}],"weight":10},{"charId":"3a3fa569","unicodeChar":"𪥵","unicodeCodePoint":"2A975","pinYinChars":[{"char":"XU3"}],"splitChars":[{"char":"女羽"}],"weight":10},{"charId":"51265e07","unicodeChar":"𡸫","unicodeCodePoint":"21E2B","pinYinChars":[{"char":"PIN1"}],"splitChars":[{"char":"山并(幷)"}],"weight":10},{"charId":"cd6e9db2","unicodeChar":"𪨳","unicodeCodePoint":"2AA33","pinYinChars":[{"char":"HENG4"}],"splitChars":[{"char":"山行"}],"weight":10},{"charId":"12f515d2","unicodeChar":"𪥼","unicodeCodePoint":"2A97C","pinYinChars":[{"char":"QI1"}],"splitChars":[{"char":"女妻"}],"weight":10},{"charId":"219a9806","unicodeChar":"𪭴","unicodeCodePoint":"2AB74","pinYinChars":[{"char":"ZOU3"}],"splitChars":[{"char":"扌走"}],"weight":10},{"charId":"8ebf4028","unicodeChar":"𭜸","unicodeCodePoint":"2D738","pinYinChars":[{"char":"XIAO4"}],"splitChars":[{"char":"忄孝"}],"weight":10},{"charId":"f21fe2ed","unicodeChar":"𫶇","unicodeCodePoint":"2BD87","pinYinChars":[{"char":"DIE2"}],"splitChars":[{"char":"山带"}],"weight":10},{"charId":"17cc5320","unicodeChar":"𪩃","unicodeCodePoint":"2AA43","pinYinChars":[{"char":"SHI4"}],"splitChars":[{"char":"山是"}],"weight":10},{"charId":"3a78c4a1","unicodeChar":"𫓯","unicodeCodePoint":"2B4EF","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"钅圭"}],"weight":10},{"charId":"ae27f533","unicodeChar":"𬬾","unicodeCodePoint":"2CB3E","pinYinChars":[{"char":"NING2"}],"splitChars":[{"char":"钅宁"}],"weight":10},{"charId":"691b53e3","unicodeChar":"𬭸","unicodeCodePoint":"2CB78","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"钅粦"}],"weight":10},{"charId":"9a0effa3","unicodeChar":"𬭳","unicodeCodePoint":"2CB73","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"钅喜"}],"weight":10},{"charId":"8829c6b4","unicodeChar":"𬭯","unicodeCodePoint":"2CB6F","pinYinChars":[{"char":"PIE3"}],"splitChars":[{"char":"钅敝"}],"weight":10},{"charId":"bbaeee52","unicodeChar":"𬭄","unicodeCodePoint":"2CB44","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"钅西"}],"weight":10},{"charId":"0d3c33bb","unicodeChar":"𫓹","unicodeCodePoint":"2B4F9","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"钅其"}],"weight":10},{"charId":"bb9f76fb","unicodeChar":"𬮡","unicodeCodePoint":"2CBA1","pinYinChars":[{"char":"MA3"}],"splitChars":[{"char":"门外"}],"weight":10},{"charId":"e7e88266","unicodeChar":"𫕟","unicodeCodePoint":"2B55F","pinYinChars":[{"char":"XIAO1"}],"splitChars":[{"char":"雨月"}],"weight":10},{"charId":"bb95afc8","unicodeChar":"𫠃","unicodeCodePoint":"2B803","pinYinChars":[{"char":"XIAN"}],"splitChars":[{"char":"阝显"}],"weight":10},{"charId":"7830fd00","unicodeChar":"𬯎","unicodeCodePoint":"2CBCE","pinYinChars":[{"char":"TUI2"}],"splitChars":[{"char":"阝贵"}],"weight":10},{"charId":"371ba62d","unicodeChar":"𬷻","unicodeCodePoint":"2CDFB","pinYinChars":[{"char":"JIE"}],"splitChars":[{"char":"鸟乙"}],"weight":10},{"charId":"f7d8f6b6","unicodeChar":"𬶖","unicodeCodePoint":"2CD96","pinYinChars":[{"char":"YE4"}],"splitChars":[{"char":"鱼奄"}],"weight":10},{"charId":"7efe3dc7","unicodeChar":"𬳽","unicodeCodePoint":"2CCFD","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"马先"}],"weight":10},{"charId":"fc795622","unicodeChar":"𬴊","unicodeCodePoint":"2CD0A","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"马粦"}],"weight":10},{"charId":"d8efcb10","unicodeChar":"𫘪","unicodeCodePoint":"2B62A","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"马原"}],"weight":10},{"charId":"f79f9e32","unicodeChar":"𬳿","unicodeCodePoint":"2CCFF","pinYinChars":[{"char":"TU2"}],"splitChars":[{"char":"马余"}],"weight":10},{"charId":"58de861e","unicodeChar":"𬳶","unicodeCodePoint":"2CCF6","pinYinChars":[{"char":"JIONG1"}],"splitChars":[{"char":"马冋"}],"weight":10},{"charId":"3029fb34","unicodeChar":"𫘜","unicodeCodePoint":"2B61C","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"马文"}],"weight":10},{"charId":"b60b7c8b","unicodeChar":"𫘝","unicodeCodePoint":"2B61D","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"马夬"}],"weight":10},{"charId":"c5e32c79","unicodeChar":"𫘨","unicodeCodePoint":"2B628","pinYinChars":[{"char":"TI2"}],"splitChars":[{"char":"马是"}],"weight":10},{"charId":"cd8188e8","unicodeChar":"𫘦","unicodeCodePoint":"2B626","pinYinChars":[{"char":"TAO2"}],"splitChars":[{"char":"马匋"}],"weight":10},{"charId":"20d024c4","unicodeChar":"𪝉","unicodeCodePoint":"2A749","pinYinChars":[{"char":"TIAO2"}],"splitChars":[{"char":"亻条"}],"weight":10},{"charId":"360a99db","unicodeChar":"𫠡","unicodeCodePoint":"2B821","pinYinChars":[{"char":"DENG4"}],"splitChars":[{"char":"一个"}],"weight":10},{"charId":"757fc29a","unicodeChar":"𬸣","unicodeCodePoint":"2CE23","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"宀鸟"}],"weight":10},{"charId":"ed4565c6","unicodeChar":"𬶌","unicodeCodePoint":"2CD8C","pinYinChars":[{"char":"DAI4"}],"splitChars":[{"char":"鱼代"}],"weight":10},{"charId":"c2a5be3c","unicodeChar":"𫛲","unicodeCodePoint":"2B6F2","pinYinChars":[{"char":"DIAO1"}],"splitChars":[{"char":"周鸟"}],"weight":10},{"charId":"0ff8af82","unicodeChar":"𬸚","unicodeCodePoint":"2CE1A","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"狱鸟"}],"weight":10},{"charId":"dcb6bd47","unicodeChar":"𪋮","unicodeCodePoint":"2A2EE","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"鹿與"}],"weight":10},{"charId":"c6779768","unicodeChar":"𪋬","unicodeCodePoint":"2A2EC","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"鹿吴(虞)"}],"weight":10},{"charId":"2fa4d2e7","unicodeChar":"𪋡","unicodeCodePoint":"2A2E1","pinYinChars":[{"char":"PU2"}],"splitChars":[{"char":"鹿菐"}],"weight":10},{"charId":"c500fbe7","unicodeChar":"𪊷","unicodeCodePoint":"2A2B7","pinYinChars":[{"char":"XIAO4"}],"splitChars":[{"char":"鹿孝"}],"weight":10},{"charId":"4c5b3ca2","unicodeChar":"𪊶","unicodeCodePoint":"2A2B6","pinYinChars":[{"char":"TING3"}],"splitChars":[{"char":"鹿廷"}],"weight":10},{"charId":"a34a4ab1","unicodeChar":"𪇵","unicodeCodePoint":"2A1F5","pinYinChars":[{"char":"GUANG3"}],"splitChars":[{"char":"廣鳥"}],"weight":10},{"charId":"9325a45b","unicodeChar":"𪆶","unicodeCodePoint":"2A1B6","pinYinChars":[{"char":"CAN4"}],"splitChars":[{"char":"粲鳥"}],"weight":10},{"charId":"d792df1d","unicodeChar":"𪄹","unicodeCodePoint":"2A139","pinYinChars":[{"char":"CHANG2"}],"splitChars":[{"char":"常鳥"}],"weight":10},{"charId":"34e0c785","unicodeChar":"𪄴","unicodeCodePoint":"2A134","pinYinChars":[{"char":"MIN3"}],"splitChars":[{"char":"敏鳥"}],"weight":10},{"charId":"856d06e3","unicodeChar":"𪃾","unicodeCodePoint":"2A0FE","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"容鳥"}],"weight":10},{"charId":"89ca7dbc","unicodeChar":"𪃑","unicodeCodePoint":"2A0D1","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"冒鳥"}],"weight":10},{"charId":"fe32ef02","unicodeChar":"𪂹","unicodeCodePoint":"2A0B9","pinYinChars":[{"char":"CHUN1"}],"splitChars":[{"char":"春鳥"}],"weight":10},{"charId":"a1ff160b","unicodeChar":"𫢎","unicodeCodePoint":"2B88E","pinYinChars":[{"char":"SHUN3"}],"splitChars":[{"char":"亻允"}],"weight":10},{"charId":"7b9c3ba5","unicodeChar":"𪕀","unicodeCodePoint":"2A540","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"鼠元"}],"weight":10},{"charId":"588af633","unicodeChar":"𪒠","unicodeCodePoint":"2A4A0","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"黑敢"}],"weight":10},{"charId":"df64b479","unicodeChar":"𪎒","unicodeCodePoint":"2A392","pinYinChars":[{"char":"SHUO4"}],"splitChars":[{"char":"麻凡"}],"weight":10},{"charId":"0ed1c49d","unicodeChar":"𪌼","unicodeCodePoint":"2A33C","pinYinChars":[{"char":"TAO2"}],"splitChars":[{"char":"麥匋"}],"weight":10},{"charId":"9e4349b8","unicodeChar":"𪜳","unicodeCodePoint":"2A733","pinYinChars":[{"char":"MIAN2"}],"splitChars":[{"char":"亻民"}],"weight":10},{"charId":"fc720c64","unicodeChar":"𪈼","unicodeCodePoint":"2A23C","pinYinChars":[{"char":"NIAO3"}],"splitChars":[{"char":"鳥鳥"}],"weight":10},{"charId":"a8309abf","unicodeChar":"𫢉","unicodeCodePoint":"2B889","pinYinChars":[{"char":"GAN4"}],"splitChars":[{"char":"人干"}],"weight":10},{"charId":"06df16e7","unicodeChar":"𫥡","unicodeCodePoint":"2B961","pinYinChars":[{"char":"DOU1"}],"splitChars":[{"char":"比几"}],"weight":10},{"charId":"69ad5b09","unicodeChar":"𫥞","unicodeCodePoint":"2B95E","pinYinChars":[{"char":"PEI4"}],"splitChars":[{"char":"几帀"}],"weight":10},{"charId":"83702bb6","unicodeChar":"𬙂","unicodeCodePoint":"2C642","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"纟寅"}],"weight":10},{"charId":"434d73c3","unicodeChar":"𬙙","unicodeCodePoint":"2C659","pinYinChars":[{"char":"LENG4"}],"splitChars":[{"char":"四方"}],"weight":10},{"charId":"4db0a415","unicodeChar":"𬘴","unicodeCodePoint":"2C634","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"纟秋"}],"weight":10},{"charId":"44a5d969","unicodeChar":"𬘭","unicodeCodePoint":"2C62D","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"纟林"}],"weight":10},{"charId":"ca97ac92","unicodeChar":"𫢷","unicodeCodePoint":"2B8B7","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"亻享"}],"weight":10},{"charId":"0b8092ed","unicodeChar":"𬜥","unicodeCodePoint":"2C725","pinYinChars":[{"char":"LAN2"}],"splitChars":[{"char":"艹风"}],"weight":10},{"charId":"803cb6a3","unicodeChar":"𫇭","unicodeCodePoint":"2B1ED","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"艹为"}],"weight":10},{"charId":"163e6eb9","unicodeChar":"𭃂","unicodeCodePoint":"2D0C2","pinYinChars":[{"char":"LIANG3"}],"splitChars":[{"char":"刀二"}],"weight":10},{"charId":"4bf360e8","unicodeChar":"𫢌","unicodeCodePoint":"2B88C","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"亻丹"}],"weight":10},{"charId":"6f1acb19","unicodeChar":"𬽪","unicodeCodePoint":"2CF6A","pinYinChars":[{"char":"RI4"}],"splitChars":[{"char":"亻日"}],"weight":10},{"charId":"aad6dd02","unicodeChar":"𬘫","unicodeCodePoint":"2C62B","pinYinChars":[{"char":"HUAN2"}],"splitChars":[{"char":"纟完"}],"weight":10},{"charId":"3ccecf3b","unicodeChar":"𫢝","unicodeCodePoint":"2B89D","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"亻宇"}],"weight":10},{"charId":"3eddb85f","unicodeChar":"鿇","unicodeCodePoint":"9FC7","pinYinChars":[{"char":"ZHENG1"}],"splitChars":[{"char":"亻争"}],"weight":10},{"charId":"418249f2","unicodeChar":"𪝞","unicodeCodePoint":"2A75E","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"亻益"}],"weight":10},{"charId":"64ac85a2","unicodeChar":"𪟺","unicodeCodePoint":"2A7FA","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"卓俞"}],"weight":10},{"charId":"c77d6b93","unicodeChar":"𬣞","unicodeCodePoint":"2C8DE","pinYinChars":[{"char":"ZHU4"}],"splitChars":[{"char":"讠㝉贮"}],"weight":10},{"charId":"30816d46","unicodeChar":"𫅪","unicodeCodePoint":"2B16A","pinYinChars":[{"char":"FEI3"}],"splitChars":[{"char":"羽非"}],"weight":10},{"charId":"19e272f8","unicodeChar":"𬚖","unicodeCodePoint":"2C696","pinYinChars":[{"char":"CHAO3"}],"splitChars":[{"char":"耳召"}],"weight":10},{"charId":"9c48f105","unicodeChar":"𬜯","unicodeCodePoint":"2C72F","pinYinChars":[{"char":"LIANG3"}],"splitChars":[{"char":"艹两"}],"weight":10},{"charId":"9a536bf1","unicodeChar":"𫥓","unicodeCodePoint":"2B953","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"冫俞"}],"weight":10},{"charId":"be93f9e4","unicodeChar":"𫇺","unicodeCodePoint":"2B1FA","pinYinChars":[{"char":"ZHUANG1"}],"splitChars":[{"char":"艹庄"}],"weight":10},{"charId":"48891159","unicodeChar":"𬟽","unicodeCodePoint":"2C7FD","pinYinChars":[{"char":"DONG1"}],"splitChars":[{"char":"虫东"}],"weight":10},{"charId":"b90053f3","unicodeChar":"𫦪","unicodeCodePoint":"2B9AA","pinYinChars":[{"char":"JUAN1"}],"splitChars":[{"char":"肙力"}],"weight":10},{"charId":"43b2fb1f","unicodeChar":"𪟘","unicodeCodePoint":"2A7D8","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"丘力"}],"weight":10},{"charId":"b44ce0f6","unicodeChar":"𫍯","unicodeCodePoint":"2B36F","pinYinChars":[{"char":"XIAN2"}],"splitChars":[{"char":"讠咸"}],"weight":10},{"charId":"3b4273ef","unicodeChar":"𫐄","unicodeCodePoint":"2B404","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"车兀"}],"weight":10},{"charId":"0a502cb2","unicodeChar":"𬩽","unicodeCodePoint":"2CA7D","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"寻阝"}],"weight":10},{"charId":"2726f50e","unicodeChar":"𬢤","unicodeCodePoint":"2C8A4","pinYinChars":[{"char":"ZI1"}],"splitChars":[{"char":"次言"}],"weight":10},{"charId":"828a68da","unicodeChar":"𬣙","unicodeCodePoint":"2C8D9","pinYinChars":[{"char":"XU1"}],"splitChars":[{"char":"讠于"}],"weight":10},{"charId":"1177260f","unicodeChar":"𬬮","unicodeCodePoint":"2CB2E","pinYinChars":[{"char":"CHANG3"}],"splitChars":[{"char":"钅长"}],"weight":10},{"charId":"ee66dfd1","unicodeChar":"𫓧","unicodeCodePoint":"2B4E7","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"钅夫"}],"weight":10},{"charId":"9e442d9a","unicodeChar":"𮞑","unicodeCodePoint":"2E791","pinYinChars":[{"char":"GE4"}],"splitChars":[{"char":"辶各"}],"weight":10},{"charId":"254d46dc","unicodeChar":"𬩳","unicodeCodePoint":"2CA73","pinYinChars":[{"char":"LI"}],"splitChars":[{"char":"力阝"}],"weight":10},{"charId":"4c664628","unicodeChar":"𪦪","unicodeCodePoint":"2A9AA","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"女粤"}],"weight":10},{"charId":"73bc7892","unicodeChar":"𫞩","unicodeCodePoint":"2B7A9","pinYinChars":[{"char":"MEN2"}],"splitChars":[{"char":"𤣩𬜯满"}],"weight":10},{"charId":"cfe89738","unicodeChar":"𬍕","unicodeCodePoint":"2C355","pinYinChars":[{"char":"HUA4"}],"splitChars":[{"char":"王化"}],"weight":10},{"charId":"5ececbeb","unicodeChar":"𤉹","unicodeCodePoint":"24279","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"或火"}],"weight":10},{"charId":"996b818c","unicodeChar":"牪","unicodeCodePoint":"726A","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"牛牛"}],"weight":10},{"charId":"aa555301","unicodeChar":"𢶀","unicodeCodePoint":"22D80","pinYinChars":[{"char":"CHUAI2"}],"splitChars":[{"char":"扌罪"}],"weight":10},{"charId":"81121f33","unicodeChar":"𡎠","unicodeCodePoint":"213A0","pinYinChars":[{"char":"YING4"}],"splitChars":[{"char":"土盈"}],"weight":10},{"charId":"3af1ea4c","unicodeChar":"𫭽","unicodeCodePoint":"2BB7D","pinYinChars":[{"char":"LENG4"}],"splitChars":[{"char":"土罗"}],"weight":10},{"charId":"ee66a668","unicodeChar":"𬟔","unicodeCodePoint":"2C7D4","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"艹憶"}],"weight":10},{"charId":"a23a7092","unicodeChar":"𫩑","unicodeCodePoint":"2BA51","pinYinChars":[{"char":"BENG4"}],"splitChars":[{"char":"一口"}],"weight":10},{"charId":"b454d49b","unicodeChar":"𫵺","unicodeCodePoint":"2BD7A","pinYinChars":[{"char":"SHU"}],"splitChars":[{"char":"山色"}],"weight":10},{"charId":"265e1d75","unicodeChar":"㕵","unicodeCodePoint":"3575","pinYinChars":[{"char":"MANG2"}],"splitChars":[{"char":"口王"}],"weight":10},{"charId":"577ec1f6","unicodeChar":"𠕆","unicodeCodePoint":"20546","pinYinChars":[{"char":"DIAN4"}],"splitChars":[{"char":"冇一"}],"weight":10},{"charId":"b8585d7d","unicodeChar":"𬈯","unicodeCodePoint":"2C22F","pinYinChars":[{"char":"JIAO4"}],"splitChars":[{"char":"氵告"}],"weight":10},{"charId":"2e5d6062","unicodeChar":"䭰","unicodeCodePoint":"4B70","pinYinChars":[{"char":"BENG4"}],"splitChars":[{"char":"香奉"}],"weight":10},{"charId":"d4425efa","unicodeChar":"𫭢","unicodeCodePoint":"2BB62","pinYinChars":[{"char":"LUN3"}],"splitChars":[{"char":"土仑"}],"weight":10},{"charId":"c2befa40","unicodeChar":"䥈","unicodeCodePoint":"4948","pinYinChars":[{"char":"MU3"}],"splitChars":[{"char":"金莽"}],"weight":10},{"charId":"6f7f313a","unicodeChar":"𬦱","unicodeCodePoint":"2C9B1","pinYinChars":[{"char":"PAI4"}],"splitChars":[{"char":"𧾷𠂢派"}],"weight":10},{"charId":"9bb380ed","unicodeChar":"𪮅","unicodeCodePoint":"2AB85","pinYinChars":[{"char":"TIAO2"}],"splitChars":[{"char":"扌条"}],"weight":10},{"charId":"802cdf67","unicodeChar":"𫰠","unicodeCodePoint":"2BC20","pinYinChars":[{"char":"DANG1"}],"splitChars":[{"char":"女当"}],"weight":10},{"charId":"197da0f3","unicodeChar":"鿭","unicodeCodePoint":"9FED","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"钅尔"}],"weight":"10"},{"charId":"0e6b9434","unicodeChar":"龻","unicodeCodePoint":"9FBB","pinYinChars":[{"char":"LUAN2"}],"splitChars":[{"char":"糹言"}],"weight":"10"},{"charId":"3cbfe2db","unicodeChar":"龺","unicodeCodePoint":"9FBA","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"十早"}],"weight":"10"},{"charId":"5dce642f","unicodeChar":"龹","unicodeCodePoint":"9FB9","pinYinChars":[{"char":"JUAN3"}],"splitChars":[{"char":"火二"}],"weight":"10"},{"charId":"aee76a3a","unicodeChar":"龸","unicodeCodePoint":"9FB8","pinYinChars":[{"char":"CHANG2"}],"splitChars":[{"char":"⺌冖"}],"weight":"10"},{"charId":"f2af6762","unicodeChar":"龷","unicodeCodePoint":"9FB7","pinYinChars":[{"char":"GONG4"},{"char":"HUANG2"}],"splitChars":[{"char":"艹一"}],"weight":"10"},{"charId":"7e1f8720","unicodeChar":"龶","unicodeCodePoint":"9FB6","pinYinChars":[{"char":"QING1"}],"splitChars":[{"char":"𰀁一"}],"weight":"10"},{"charId":"b5b0af82","unicodeChar":"龴","unicodeCodePoint":"9FB4","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"乛丶"}],"weight":"10"},{"charId":"565052d1","unicodeChar":"䲡","unicodeCodePoint":"4CA1","pinYinChars":[{"char":"QIU1"}],"splitChars":[{"char":"鱼酋"}],"weight":"10"},{"charId":"f4f16753","unicodeChar":"䲞","unicodeCodePoint":"4C9E","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"鱼立"}],"weight":"10"},{"charId":"3f627495","unicodeChar":"䲎","unicodeCodePoint":"4C8E","pinYinChars":[{"char":"NEI3"}],"splitChars":[{"char":"魚敢"}],"weight":"10"},{"charId":"d897abcd","unicodeChar":"䮾","unicodeCodePoint":"4BBE","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"馬龍"}],"weight":"10"},{"charId":"f5dab525","unicodeChar":"䩄","unicodeCodePoint":"4A44","pinYinChars":[{"char":"TIAN3"}],"splitChars":[{"char":"面见"}],"weight":"10"},{"charId":"4403047f","unicodeChar":"䨌","unicodeCodePoint":"4A0C","pinYinChars":[{"char":"BAO2"}],"splitChars":[{"char":"雨元"}],"weight":"10"},{"charId":"d8653a6a","unicodeChar":"䦆","unicodeCodePoint":"4986","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"钅矍"}],"weight":"10"},{"charId":"dffa1f79","unicodeChar":"䦅","unicodeCodePoint":"4985","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"钅善"}],"weight":"10"},{"charId":"5006b707","unicodeChar":"䦂","unicodeCodePoint":"4982","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"钅扇"}],"weight":"10"},{"charId":"8b0aa2bd","unicodeChar":"䦀","unicodeCodePoint":"4980","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"钅羽"}],"weight":"10"},{"charId":"caad5d2c","unicodeChar":"䥺","unicodeCodePoint":"497A","pinYinChars":[{"char":"YE2"}],"splitChars":[{"char":"钅牙"}],"weight":"10"},{"charId":"e9930939","unicodeChar":"䢰","unicodeCodePoint":"48B0","pinYinChars":[{"char":"TI4"}],"splitChars":[{"char":"辶翟"}],"weight":"10"},{"charId":"e8bf22ac","unicodeChar":"䢁","unicodeCodePoint":"4881","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"车月"}],"weight":"10"},{"charId":"192b57ef","unicodeChar":"䢀","unicodeCodePoint":"4880","pinYinChars":[{"char":"QI4"}],"splitChars":[{"char":"车乞"}],"weight":"10"},{"charId":"b012bf5d","unicodeChar":"䞍","unicodeCodePoint":"478D","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"贝青"}],"weight":"10"},{"charId":"d2a72369","unicodeChar":"䜩","unicodeCodePoint":"4729","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"讠燕"}],"weight":"10"},{"charId":"b30c7183","unicodeChar":"䙌","unicodeCodePoint":"464C","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"衤贵"}],"weight":"10"},{"charId":"1ce9016d","unicodeChar":"䘞","unicodeCodePoint":"461E","pinYinChars":[{"char":"MA3"}],"splitChars":[{"char":"衤马"}],"weight":"10"},{"charId":"bb6c218f","unicodeChar":"䓵","unicodeCodePoint":"44F5","pinYinChars":[{"char":"FU1"}],"splitChars":[{"char":"艹品"}],"weight":"10"},{"charId":"c8c76b20","unicodeChar":"䎱","unicodeCodePoint":"43B1","pinYinChars":[{"char":"BEI1"}],"splitChars":[{"char":"耒罷"}],"weight":"10"},{"charId":"5e2c6c24","unicodeChar":"䎬","unicodeCodePoint":"43AC","pinYinChars":[{"char":"BEI1"}],"splitChars":[{"char":"耒罢"}],"weight":"10"},{"charId":"dbfeb96b","unicodeChar":"䎆","unicodeCodePoint":"4386","pinYinChars":[{"char":"LIU4"}],"splitChars":[{"char":"羽令"}],"weight":"10"},{"charId":"736480f5","unicodeChar":"䌽","unicodeCodePoint":"433D","pinYinChars":[{"char":"CAI3"}],"splitChars":[{"char":"纟采"}],"weight":"10"},{"charId":"559be4cd","unicodeChar":"䌻","unicodeCodePoint":"433B","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"纟羽"}],"weight":"10"},{"charId":"07a9848d","unicodeChar":"䌷","unicodeCodePoint":"4337","pinYinChars":[{"char":"CHOU2"}],"splitChars":[{"char":"纟由"}],"weight":"10"},{"charId":"449a2a52","unicodeChar":"䇹","unicodeCodePoint":"41F9","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"𥫗君"}],"weight":"10"},{"charId":"886ef32d","unicodeChar":"䄠","unicodeCodePoint":"4120","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"示亶"}],"weight":"10"},{"charId":"c1e3cb29","unicodeChar":"䄎","unicodeCodePoint":"410E","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"示奇"}],"weight":"10"},{"charId":"2cf305fa","unicodeChar":"䃆","unicodeCodePoint":"40C6","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"石其"}],"weight":"10"},{"charId":"d60dac87","unicodeChar":"䀪","unicodeCodePoint":"402A","pinYinChars":[{"char":"HANG2"}],"splitChars":[{"char":"目行"}],"weight":"10"},{"charId":"c880a566","unicodeChar":"㼆","unicodeCodePoint":"3F06","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"王瑩"}],"weight":"10"},{"charId":"00f04439","unicodeChar":"㻦","unicodeCodePoint":"3EE6","pinYinChars":[{"char":"王禺"}],"splitChars":[],"weight":"10"},{"charId":"10b959da","unicodeChar":"㻛","unicodeCodePoint":"3EDB","pinYinChars":[{"char":"CHANG4"},{"char":"YANG2"}],"splitChars":[{"char":"王易"}],"weight":"10"},{"charId":"8bff9468","unicodeChar":"㻅","unicodeCodePoint":"3EC5","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"王会"}],"weight":"10"},{"charId":"07b4e9f1","unicodeChar":"㺶","unicodeCodePoint":"3EB6","pinYinChars":[{"char":"GEU"}],"splitChars":[{"char":"王斗"}],"weight":"10"},{"charId":"e304d54b","unicodeChar":"㺵","unicodeCodePoint":"3EB5","pinYinChars":[{"char":"JIU3"}],"splitChars":[{"char":"王欠"}],"weight":"10"},{"charId":"e11afe18","unicodeChar":"㺬","unicodeCodePoint":"3EAC","pinYinChars":[{"char":"GONG3"}],"splitChars":[{"char":"王凡"}],"weight":"10"},{"charId":"bc004cbf","unicodeChar":"㺪","unicodeCodePoint":"3EAA","pinYinChars":[{"char":"PU2"}],"splitChars":[{"char":"王卜"}],"weight":"10"},{"charId":"d15fff67","unicodeChar":"㸠","unicodeCodePoint":"3E20","pinYinChars":[{"char":"DIAO4"}],"splitChars":[{"char":"片兆"}],"weight":"10"},{"charId":"cae3dac5","unicodeChar":"㷽","unicodeCodePoint":"3DFD","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"火善"}],"weight":"10"},{"charId":"6ca655d5","unicodeChar":"㶻","unicodeCodePoint":"3DBB","pinYinChars":[{"char":"FENG1"}],"splitChars":[{"char":"夆灬"}],"weight":"10"},{"charId":"49f0225b","unicodeChar":"㶉","unicodeCodePoint":"3D89","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"溪鸟"}],"weight":"10"},{"charId":"2adc5788","unicodeChar":"㵲","unicodeCodePoint":"3D72","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"氵舞"}],"weight":"10"},{"charId":"eaf983fe","unicodeChar":"㵙","unicodeCodePoint":"3D59","pinYinChars":[{"char":"XI1"},{"char":"QING1"}],"splitChars":[{"char":"氵喜"}],"weight":"10"},{"charId":"0c08efb6","unicodeChar":"㴻","unicodeCodePoint":"3D3B","pinYinChars":[{"char":"SHU4"}],"splitChars":[{"char":"浢寸"}],"weight":"10"},{"charId":"ef4159c3","unicodeChar":"㴋","unicodeCodePoint":"3D0B","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"氵肃"}],"weight":"10"},{"charId":"3fbb4d57","unicodeChar":"㳽","unicodeCodePoint":"3CFD","pinYinChars":[{"char":"MI2"}],"splitChars":[{"char":"氵弥"}],"weight":"10"},{"charId":"2f1520ba","unicodeChar":"㳕","unicodeCodePoint":"3CD5","pinYinChars":[{"char":"LAN2"}],"splitChars":[{"char":"氵兰"}],"weight":"10"},{"charId":"205c857e","unicodeChar":"㳔","unicodeCodePoint":"3CD4","pinYinChars":[{"char":"DUI4"}],"splitChars":[{"char":"氵对"}],"weight":"10"},{"charId":"10954b1d","unicodeChar":"㳅","unicodeCodePoint":"3CC5","pinYinChars":[{"char":"LIU2"}],"splitChars":[{"char":"氵不"}],"weight":"10"},{"charId":"91c173f2","unicodeChar":"㲿","unicodeCodePoint":"3CBF","pinYinChars":[{"char":"WANG3"}],"splitChars":[{"char":"氵广"}],"weight":"10"},{"charId":"4c71c791","unicodeChar":"㱮","unicodeCodePoint":"3C6E","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"歹贵"}],"weight":"10"},{"charId":"c50e5aae","unicodeChar":"㯳","unicodeCodePoint":"3BF3","pinYinChars":[{"char":"QING2"}],"splitChars":[{"char":"木敬"}],"weight":"10"},{"charId":"119cab4d","unicodeChar":"㮡","unicodeCodePoint":"3BA1","pinYinChars":[{"char":"GUAN4"}],"splitChars":[{"char":"炬木"}],"weight":"10"},{"charId":"41c6944f","unicodeChar":"㮠","unicodeCodePoint":"3BA0","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"木荣"}],"weight":"10"},{"charId":"4d16a70e","unicodeChar":"㮀","unicodeCodePoint":"3B80","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"木函"}],"weight":"10"},{"charId":"a7d8907d","unicodeChar":"㭏","unicodeCodePoint":"3B4F","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"木韦"}],"weight":"10"},{"charId":"6d3579a5","unicodeChar":"㬫","unicodeCodePoint":"3B2B","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"燕日"}],"weight":"10"},{"charId":"6864f1a4","unicodeChar":"㬇","unicodeCodePoint":"3B07","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"日奐"}],"weight":"10"},{"charId":"0cec48dc","unicodeChar":"㫬","unicodeCodePoint":"3AEC","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"日旬"}],"weight":"10"},{"charId":"0f73b008","unicodeChar":"㫤","unicodeCodePoint":"3AE4","pinYinChars":[{"char":"CHANG3"}],"splitChars":[{"char":"日永"}],"weight":"10"},{"charId":"d99d1947","unicodeChar":"㢷","unicodeCodePoint":"38B7","pinYinChars":[{"char":"SUI4"}],"splitChars":[{"char":"弓岁"}],"weight":"10"},{"charId":"35b95e87","unicodeChar":"㠭","unicodeCodePoint":"382D","pinYinChars":[{"char":"ZHAN3"}],"splitChars":[{"char":"工工工工"}],"weight":"10"},{"charId":"d253a91d","unicodeChar":"㟷","unicodeCodePoint":"37F7","pinYinChars":[{"char":"DA5"}],"splitChars":[{"char":"山荅"}],"weight":"10"},{"charId":"206c136f","unicodeChar":"㞵","unicodeCodePoint":"37B5","pinYinChars":[{"char":"TAO1"}],"splitChars":[{"char":"山文"}],"weight":"10"},{"charId":"f084ef74","unicodeChar":"㞯","unicodeCodePoint":"37AF","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"己山"}],"weight":"10"},{"charId":"69fcab38","unicodeChar":"㝃","unicodeCodePoint":"3743","pinYinChars":[{"char":"MIAN3"}],"splitChars":[{"char":"子免"}],"weight":"10"},{"charId":"b42efe1d","unicodeChar":"㛤","unicodeCodePoint":"36E4","pinYinChars":[{"char":"LI2"}],"splitChars":[{"char":"女丽"}],"weight":"10"},{"charId":"17b969b0","unicodeChar":"㛣","unicodeCodePoint":"36E3","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"女员"}],"weight":"10"},{"charId":"efd7119e","unicodeChar":"㛟","unicodeCodePoint":"36DF","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"女奂"}],"weight":"10"},{"charId":"c9e5e7e7","unicodeChar":"㚸","unicodeCodePoint":"36B8","pinYinChars":[{"char":"SI1"}],"splitChars":[{"char":"女司"}],"weight":"10"},{"charId":"6dc2e621","unicodeChar":"㚁","unicodeCodePoint":"3681","pinYinChars":[{"char":"QIAO4"}],"splitChars":[{"char":"堯堯"}],"weight":"10"},{"charId":"320dfd14","unicodeChar":"㙋","unicodeCodePoint":"364B","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"土其"}],"weight":"10"},{"charId":"a24aacbf","unicodeChar":"㘼","unicodeCodePoint":"363C","pinYinChars":[{"char":"KAO3"}],"splitChars":[{"char":"土考"}],"weight":"10"},{"charId":"ccad38b7","unicodeChar":"㘻","unicodeCodePoint":"363B","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"土因"}],"weight":"10"},{"charId":"c04da763","unicodeChar":"㘮","unicodeCodePoint":"362E","pinYinChars":[{"char":"YI4"},{"char":"TU2"}],"splitChars":[{"char":"土尺"}],"weight":"10"},{"charId":"45c5f96b","unicodeChar":"㘫","unicodeCodePoint":"362B","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"土井"}],"weight":"10"},{"charId":"0692fc45","unicodeChar":"㖞","unicodeCodePoint":"359E","pinYinChars":[{"char":"WAI1"}],"splitChars":[{"char":"口呙"}],"weight":"10"},{"charId":"5299bb27","unicodeChar":"㓻","unicodeCodePoint":"34FB","pinYinChars":[{"char":"GANG1"}],"splitChars":[{"char":"罡刂"}],"weight":"10"},{"charId":"e7da0471","unicodeChar":"㓥","unicodeCodePoint":"34E5","pinYinChars":[{"char":"TANG1"}],"splitChars":[{"char":"当刂"}],"weight":"10"},{"charId":"cabdee3b","unicodeChar":"㒰","unicodeCodePoint":"34B0","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"入工"}],"weight":"10"},{"charId":"75b3e013","unicodeChar":"㒬","unicodeCodePoint":"34AC","pinYinChars":[{"char":"WANG1"}],"splitChars":[{"char":"尢 王"}],"weight":"10"},{"charId":"e392e287","unicodeChar":"㑺","unicodeCodePoint":"347A","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"亻隽"}],"weight":"10"},{"charId":"c8999e07","unicodeChar":"㑩","unicodeCodePoint":"3469","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"亻罗"}],"weight":"10"},{"charId":"2c038bc5","unicodeChar":"㐽","unicodeCodePoint":"343D","pinYinChars":[{"char":"FENG1"}],"splitChars":[{"char":"亻风"}],"weight":"10"},{"charId":"009e8508","unicodeChar":"㐻","unicodeCodePoint":"343B","pinYinChars":[{"char":"NEI4"}],"splitChars":[{"char":"亻内"}],"weight":"10"},{"charId":"bf63db30","unicodeChar":"𱉱","unicodeCodePoint":"31271","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"军鸟"}],"weight":"10"},{"charId":"2dc9c261","unicodeChar":"⻊","unicodeCodePoint":"2ECA","pinYinChars":[{"char":"ZU2"}],"splitChars":[{"char":"⻊"}],"weight":"10"},{"charId":"81c8ae42","unicodeChar":"⺻","unicodeCodePoint":"2EBB","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"⺻"}],"weight":"10"},{"charId":"a457d9be","unicodeChar":"𮮇","unicodeCodePoint":"2EB87","pinYinChars":[{"char":"MOU2"}],"splitChars":[{"char":"麦牟"}],"weight":"10"},{"charId":"aad69e74","unicodeChar":"⺷","unicodeCodePoint":"2EB7","pinYinChars":[{"char":"YANG2"}],"splitChars":[{"char":"⺷"}],"weight":"10"},{"charId":"a9201ce5","unicodeChar":"𮭪","unicodeCodePoint":"2EB6A","pinYinChars":[{"char":"SHUANG1"}],"splitChars":[{"char":"爽鸟"}],"weight":"10"},{"charId":"4ae61a98","unicodeChar":"𮭨","unicodeCodePoint":"2EB68","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"晏鸟"}],"weight":"10"},{"charId":"a3193b09","unicodeChar":"𮭥","unicodeCodePoint":"2EB65","pinYinChars":[{"char":"GONG1"}],"splitChars":[{"char":"共鸟"}],"weight":"10"},{"charId":"7bc9ba70","unicodeChar":"⺶","unicodeCodePoint":"2EB6","pinYinChars":[{"char":"YANG2"}],"splitChars":[{"char":"羊"}],"weight":"10"},{"charId":"fd57e7c0","unicodeChar":"⺳","unicodeCodePoint":"2EB3","pinYinChars":[{"char":"WANG3"}],"splitChars":[{"char":"⺳"}],"weight":"10"},{"charId":"89b479d1","unicodeChar":"𮬟","unicodeCodePoint":"2EB1F","pinYinChars":[{"char":"HUO4"}],"splitChars":[{"char":"鱼或"}],"weight":"10"},{"charId":"11ead999","unicodeChar":"𮬞","unicodeCodePoint":"2EB1E","pinYinChars":[{"char":"CAN1"}],"splitChars":[{"char":"𣦼鱼"}],"weight":"10"},{"charId":"44a0b19e","unicodeChar":"⺮","unicodeCodePoint":"2EAE","pinYinChars":[{"char":"ZHU2"}],"splitChars":[{"char":"⺮"}],"weight":"10"},{"charId":"e22ea325","unicodeChar":"𮪥","unicodeCodePoint":"2EAA5","pinYinChars":[{"char":"DUN1"}],"splitChars":[{"char":"马敦"}],"weight":"10"},{"charId":"75fcb9e3","unicodeChar":"𮪣","unicodeCodePoint":"2EAA3","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"马㚇"}],"weight":"10"},{"charId":"379c0a39","unicodeChar":"⺪","unicodeCodePoint":"2EAA","pinYinChars":[{"char":"PI3"},{"char":"YA3"}],"splitChars":[{"char":"⺪"}],"weight":"10"},{"charId":"097d2e61","unicodeChar":"𮪌","unicodeCodePoint":"2EA8C","pinYinChars":[{"char":"馬甾"}],"splitChars":[],"weight":"10"},{"charId":"b1e8d993","unicodeChar":"⺧","unicodeCodePoint":"2EA7","pinYinChars":[{"char":"NIU2"}],"splitChars":[{"char":"⺧"}],"weight":"10"},{"charId":"cc28eca6","unicodeChar":"𮩞","unicodeCodePoint":"2EA5E","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"饣壹"}],"weight":"10"},{"charId":"adb0f0d1","unicodeChar":"𮨶","unicodeCodePoint":"2EA36","pinYinChars":[{"char":"FIE1"}],"splitChars":[{"char":"飞去"}],"weight":"10"},{"charId":"aab5af59","unicodeChar":"𮨵","unicodeCodePoint":"2EA35","pinYinChars":[{"char":"LIU4"}],"splitChars":[{"char":"风翏"}],"weight":"10"},{"charId":"3b7fb5e4","unicodeChar":"𮧴","unicodeCodePoint":"2E9F4","pinYinChars":[{"char":"CHANG4"}],"splitChars":[{"char":"韦长"}],"weight":"10"},{"charId":"adb1d2bb","unicodeChar":"𮥼","unicodeCodePoint":"2E97C","pinYinChars":[{"char":"JUN4"},{"char":"JUAN4"}],"splitChars":[{"char":"隹冏"}],"weight":"10"},{"charId":"56de232e","unicodeChar":"⺗","unicodeCodePoint":"2E97","pinYinChars":[{"char":"XIN1"}],"splitChars":[{"char":"⺗"}],"weight":"10"},{"charId":"f100fdc6","unicodeChar":"𮥄","unicodeCodePoint":"2E944","pinYinChars":[],"splitChars":[],"weight":"10"},{"charId":"276d8a6e","unicodeChar":"𮣲","unicodeCodePoint":"2E8F2","pinYinChars":[{"char":"GANG1"}],"splitChars":[{"char":"钅工"}],"weight":"10"},{"charId":"42505445","unicodeChar":"⺌","unicodeCodePoint":"2E8C","pinYinChars":[{"char":"xiao3"}],"splitChars":[{"char":"丶リ"}],"weight":"10"},{"charId":"40a1ddf4","unicodeChar":"⺋","unicodeCodePoint":"2E8B","pinYinChars":[{"char":"fan4"}],"splitChars":[{"char":"乙 乙"}],"weight":"10"},{"charId":"2ed28b07","unicodeChar":"⺈","unicodeCodePoint":"2E88","pinYinChars":[{"char":"dao1"}],"splitChars":[{"char":"刀"}],"weight":"10"},{"charId":"3e1663ea","unicodeChar":"⺄","unicodeCodePoint":"2E84","pinYinChars":[{"char":"yi3"}],"splitChars":[{"char":"乙"}],"weight":"10"},{"charId":"8d07490c","unicodeChar":"⺁","unicodeCodePoint":"2E81","pinYinChars":[{"char":"chang3"}],"splitChars":[{"char":"丿 丿"}],"weight":"10"},{"charId":"ecbc34c1","unicodeChar":"𮝴","unicodeCodePoint":"2E774","pinYinChars":[{"char":"GU1"}],"splitChars":[{"char":"车瓜"}],"weight":"10"},{"charId":"402bf5a8","unicodeChar":"𮙋","unicodeCodePoint":"2E64B","pinYinChars":[{"char":"DU2"}],"splitChars":[{"char":"读言"}],"weight":"10"},{"charId":"a8586412","unicodeChar":"𮘫","unicodeCodePoint":"2E62B","pinYinChars":[{"char":"言 恭"}],"splitChars":[],"weight":"10"},{"charId":"873965fa","unicodeChar":"𮐚","unicodeCodePoint":"2E41A","pinYinChars":[{"char":"FAN2"}],"splitChars":[{"char":"艹烦"}],"weight":"10"},{"charId":"22372bcd","unicodeChar":"𮏛","unicodeCodePoint":"2E3DB","pinYinChars":[{"char":"艹 狗"}],"splitChars":[],"weight":"10"},{"charId":"27ffe4d9","unicodeChar":"𮏈","unicodeCodePoint":"2E3C8","pinYinChars":[{"char":"艹 但"}],"splitChars":[],"weight":"10"},{"charId":"79c84378","unicodeChar":"𮌝","unicodeCodePoint":"2E31D","pinYinChars":[{"char":"shi4"}],"splitChars":[{"char":"月易"}],"weight":"10"},{"charId":"190a8a54","unicodeChar":"𮊅","unicodeCodePoint":"2E285","pinYinChars":[{"char":"cheng2"}],"splitChars":[{"char":"四 成"}],"weight":"10"},{"charId":"7f70c9d7","unicodeChar":"𮉫","unicodeCodePoint":"2E26B","pinYinChars":[{"char":"RUI2"}],"splitChars":[{"char":"纟委"}],"weight":"10"},{"charId":"95920e7f","unicodeChar":"𮉪","unicodeCodePoint":"2E26A","pinYinChars":[{"char":"ZOU1"}],"splitChars":[{"char":"纟取"}],"weight":"10"},{"charId":"f0ac618f","unicodeChar":"𮉦","unicodeCodePoint":"2E266","pinYinChars":[{"char":"wang3"}],"splitChars":[{"char":"纟网"}],"weight":"10"},{"charId":"c30155ec","unicodeChar":"𮉤","unicodeCodePoint":"2E264","pinYinChars":[{"char":"KUA1"}],"splitChars":[{"char":"纟圭"}],"weight":"10"},{"charId":"7c780b19","unicodeChar":"𮆏","unicodeCodePoint":"2E18F","pinYinChars":[{"char":"LAN2"}],"splitChars":[{"char":"𥫗阑"}],"weight":"10"},{"charId":"d30204d8","unicodeChar":"𮄲","unicodeCodePoint":"2E132","pinYinChars":[{"char":"立 奇"}],"splitChars":[],"weight":"10"},{"charId":"227cc29e","unicodeChar":"𮃄","unicodeCodePoint":"2E0C4","pinYinChars":[{"char":"duo4"}],"splitChars":[{"char":"禾朶"}],"weight":"10"},{"charId":"3ab46f66","unicodeChar":"𮂹","unicodeCodePoint":"2E0B9","pinYinChars":[{"char":"wen3"}],"splitChars":[{"char":"禾文"}],"weight":"10"},{"charId":"fb308ab4","unicodeChar":"𮂓","unicodeCodePoint":"2E093","pinYinChars":[{"char":"礻 莫"}],"splitChars":[],"weight":"10"},{"charId":"94b611ec","unicodeChar":"𮁣","unicodeCodePoint":"2E063","pinYinChars":[{"char":"ku4"}],"splitChars":[{"char":"示令"}],"weight":"10"},{"charId":"2c794608","unicodeChar":"𮀎","unicodeCodePoint":"2E00E","pinYinChars":[{"char":"分 石"}],"splitChars":[],"weight":"10"},{"charId":"a5f0e804","unicodeChar":"𭹜","unicodeCodePoint":"2DE5C","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"王罗"}],"weight":"10"},{"charId":"e16e7116","unicodeChar":"𭹛","unicodeCodePoint":"2DE5B","pinYinChars":[{"char":"王 芳"}],"splitChars":[],"weight":"10"},{"charId":"0d6c947b","unicodeChar":"𭸾","unicodeCodePoint":"2DE3E","pinYinChars":[{"char":"王 巨"}],"splitChars":[],"weight":"10"},{"charId":"ff331d78","unicodeChar":"𭷝","unicodeCodePoint":"2DDDD","pinYinChars":[{"char":"bao4"}],"splitChars":[{"char":"牛包"}],"weight":"10"},{"charId":"acbfa5f6","unicodeChar":"𭵵","unicodeCodePoint":"2DD75","pinYinChars":[{"char":"火 盛"}],"splitChars":[],"weight":"10"},{"charId":"9225d80c","unicodeChar":"𭵩","unicodeCodePoint":"2DD69","pinYinChars":[{"char":"火 臭"}],"splitChars":[],"weight":"10"},{"charId":"ff7fda88","unicodeChar":"𭵝","unicodeCodePoint":"2DD5D","pinYinChars":[{"char":"zi1"},{"char":"ci2"}],"splitChars":[{"char":"兹灬"}],"weight":"10"},{"charId":"0e42fb53","unicodeChar":"𭴽","unicodeCodePoint":"2DD3D","pinYinChars":[{"char":"火炅"}],"splitChars":[],"weight":"10"},{"charId":"b6fa5674","unicodeChar":"𭴼","unicodeCodePoint":"2DD3C","pinYinChars":[{"char":"火 青"}],"splitChars":[],"weight":"10"},{"charId":"75edaaa3","unicodeChar":"𭴫","unicodeCodePoint":"2DD2B","pinYinChars":[{"char":"zhao4"}],"splitChars":[{"char":"日 灬"}],"weight":"10"},{"charId":"0a3c0131","unicodeChar":"𭴧","unicodeCodePoint":"2DD27","pinYinChars":[{"char":"火豆"}],"splitChars":[],"weight":"10"},{"charId":"6668db51","unicodeChar":"𭴌","unicodeCodePoint":"2DD0C","pinYinChars":[{"char":"yan1"}],"splitChars":[{"char":"火 日"}],"weight":"10"},{"charId":"4a867760","unicodeChar":"𭴈","unicodeCodePoint":"2DD08","pinYinChars":[{"char":"yun4"},{"char":"yu4"}],"splitChars":[{"char":"火云"}],"weight":"10"},{"charId":"bda2465a","unicodeChar":"𭳬","unicodeCodePoint":"2DCEC","pinYinChars":[{"char":"li4"}],"splitChars":[{"char":"氵隸"}],"weight":"10"},{"charId":"d2f5dcaf","unicodeChar":"𭱣","unicodeCodePoint":"2DC63","pinYinChars":[{"char":"氵夏"}],"splitChars":[],"weight":"10"},{"charId":"8d6bd1d1","unicodeChar":"𭱊","unicodeCodePoint":"2DC4A","pinYinChars":[{"char":"HONG4"}],"splitChars":[{"char":"氵项"}],"weight":"10"},{"charId":"c8f97c2b","unicodeChar":"𭯽","unicodeCodePoint":"2DBFD","pinYinChars":[{"char":"wa3"}],"splitChars":[{"char":"氵瓦"}],"weight":"10"},{"charId":"d234342e","unicodeChar":"𭯖","unicodeCodePoint":"2DBD6","pinYinChars":[{"char":"毛 白"}],"splitChars":[],"weight":"10"},{"charId":"2153f327","unicodeChar":"𭬝","unicodeCodePoint":"2DB1D","pinYinChars":[{"char":"木 蒼"}],"splitChars":[],"weight":"10"},{"charId":"f6be62fc","unicodeChar":"𭫀","unicodeCodePoint":"2DAC0","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"木贵"}],"weight":"10"},{"charId":"187a4fdb","unicodeChar":"𭪆","unicodeCodePoint":"2DA86","pinYinChars":[{"char":"ZHUA1"}],"splitChars":[{"char":"木过"}],"weight":"10"},{"charId":"d8680145","unicodeChar":"𭩹","unicodeCodePoint":"2DA79","pinYinChars":[{"char":"ming2"}],"splitChars":[{"char":"木名"}],"weight":"10"},{"charId":"24af1ca9","unicodeChar":"𭩚","unicodeCodePoint":"2DA5A","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"木义"}],"weight":"10"},{"charId":"2a97ae42","unicodeChar":"𭦾","unicodeCodePoint":"2D9BE","pinYinChars":[{"char":"liang4"}],"splitChars":[{"char":"日亮"}],"weight":"10"},{"charId":"f1098a62","unicodeChar":"𭥖","unicodeCodePoint":"2D956","pinYinChars":[{"char":"guang1"}],"splitChars":[{"char":"日 元"}],"weight":"10"},{"charId":"b5bb5a0e","unicodeChar":"𭥕","unicodeCodePoint":"2D955","pinYinChars":[{"char":"xing1"}],"splitChars":[{"char":"日王"}],"weight":"10"},{"charId":"ea546f5f","unicodeChar":"𭥓","unicodeCodePoint":"2D953","pinYinChars":[{"char":"日云"}],"splitChars":[],"weight":"10"},{"charId":"62d27197","unicodeChar":"𭤴","unicodeCodePoint":"2D934","pinYinChars":[{"char":"ni3"}],"splitChars":[{"char":"方 七"}],"weight":"10"},{"charId":"8c2f8498","unicodeChar":"𭝈","unicodeCodePoint":"2D748","pinYinChars":[],"splitChars":[],"weight":"10"},{"charId":"37269229","unicodeChar":"𭝅","unicodeCodePoint":"2D745","pinYinChars":[],"splitChars":[],"weight":"10"},{"charId":"0a14b870","unicodeChar":"𭚴","unicodeCodePoint":"2D6B4","pinYinChars":[{"char":"hong2"}],"splitChars":[{"char":"弓 宏"}],"weight":"10"},{"charId":"7a8f37c9","unicodeChar":"𭚱","unicodeCodePoint":"2D6B1","pinYinChars":[{"char":"tao1"}],"splitChars":[{"char":"弓㞵"}],"weight":"10"},{"charId":"4463f8da","unicodeChar":"𭚦","unicodeCodePoint":"2D6A6","pinYinChars":[{"char":"GUO1"}],"splitChars":[{"char":"弓广"}],"weight":"10"},{"charId":"537ac121","unicodeChar":"𭙛","unicodeCodePoint":"2D65B","pinYinChars":[{"char":"guang3"}],"splitChars":[{"char":"广光"}],"weight":"10"},{"charId":"e912c3c8","unicodeChar":"𭙏","unicodeCodePoint":"2D64F","pinYinChars":[{"char":"liao4"}],"splitChars":[{"char":"广了"}],"weight":"10"},{"charId":"8e20084c","unicodeChar":"𭖦","unicodeCodePoint":"2D5A6","pinYinChars":[{"char":"yu4"}],"splitChars":[{"char":"山谷"}],"weight":"10"},{"charId":"6ecd359e","unicodeChar":"𭖌","unicodeCodePoint":"2D58C","pinYinChars":[{"char":"ju1"},{"char":"ju3"},{"char":"zu2"}],"splitChars":[{"char":"山旦"}],"weight":"10"},{"charId":"d67f7edb","unicodeChar":"𭖆","unicodeCodePoint":"2D586","pinYinChars":[{"char":"e2"}],"splitChars":[{"char":"山厄"}],"weight":"10"},{"charId":"bd06aa7b","unicodeChar":"𭕆","unicodeCodePoint":"2D546","pinYinChars":[{"char":"SUO3"}],"splitChars":[{"char":"⺌贝"}],"weight":"10"},{"charId":"5f09986e","unicodeChar":"𭓞","unicodeCodePoint":"2D4DE","pinYinChars":[{"char":"宀山"}],"splitChars":[],"weight":"10"},{"charId":"c933edba","unicodeChar":"𭒠","unicodeCodePoint":"2D4A0","pinYinChars":[{"char":"jue2"}],"splitChars":[{"char":"女 矞"}],"weight":"10"},{"charId":"eb675a32","unicodeChar":"𭒈","unicodeCodePoint":"2D488","pinYinChars":[{"char":"miao4"}],"splitChars":[{"char":"女 眇"}],"weight":"10"},{"charId":"3785e0f2","unicodeChar":"𭑸","unicodeCodePoint":"2D478","pinYinChars":[{"char":"nong2"}],"splitChars":[{"char":"女农"}],"weight":"10"},{"charId":"652ebe6b","unicodeChar":"𭏨","unicodeCodePoint":"2D3E8","pinYinChars":[{"char":"bu1"},{"char":"fu1"}],"splitChars":[{"char":"土冨"}],"weight":"10"},{"charId":"d44ea35c","unicodeChar":"𭏠","unicodeCodePoint":"2D3E0","pinYinChars":[{"char":"土 堂"}],"splitChars":[],"weight":"10"},{"charId":"a9c5c992","unicodeChar":"𭏜","unicodeCodePoint":"2D3DC","pinYinChars":[{"char":"土 般"}],"splitChars":[],"weight":"10"},{"charId":"ecc45b01","unicodeChar":"𭎟","unicodeCodePoint":"2D39F","pinYinChars":[{"char":"huai4"}],"splitChars":[{"char":"土 否"}],"weight":"10"},{"charId":"37d46555","unicodeChar":"𭎜","unicodeCodePoint":"2D39C","pinYinChars":[{"char":"DAO3"}],"splitChars":[{"char":"土寿"}],"weight":"10"},{"charId":"0053ea94","unicodeChar":"𭎌","unicodeCodePoint":"2D38C","pinYinChars":[],"splitChars":[],"weight":"10"},{"charId":"4d443281","unicodeChar":"𭎂","unicodeCodePoint":"2D382","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"土从"}],"weight":"10"},{"charId":"5f5dab55","unicodeChar":"𭍾","unicodeCodePoint":"2D37E","pinYinChars":[{"char":"土支"}],"splitChars":[],"weight":"10"},{"charId":"52ec6cdd","unicodeChar":"𭈜","unicodeCodePoint":"2D21C","pinYinChars":[{"char":"bịa"}],"splitChars":[{"char":"口备"}],"weight":"10"},{"charId":"0c9c0ac4","unicodeChar":"𭈅","unicodeCodePoint":"2D205","pinYinChars":[{"char":"口乱"}],"splitChars":[],"weight":"10"},{"charId":"e4abb443","unicodeChar":"𭇀","unicodeCodePoint":"2D1C0","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"口义"}],"weight":"10"},{"charId":"1c4f6e48","unicodeChar":"𭃬","unicodeCodePoint":"2D0EC","pinYinChars":[],"splitChars":[],"weight":"10"},{"charId":"094519d1","unicodeChar":"𭀦","unicodeCodePoint":"2D026","pinYinChars":[{"char":"yao4"}],"splitChars":[{"char":"光夭"}],"weight":"10"},{"charId":"ce536eac","unicodeChar":"𭀢","unicodeCodePoint":"2D022","pinYinChars":[{"char":"大兄"}],"splitChars":[],"weight":"10"},{"charId":"ee8225e4","unicodeChar":"𬿛","unicodeCodePoint":"2CFDB","pinYinChars":[{"char":"亻康"}],"splitChars":[],"weight":"10"},{"charId":"17152ad5","unicodeChar":"𬾰","unicodeCodePoint":"2CFB0","pinYinChars":[{"char":"亻星"}],"splitChars":[],"weight":"10"},{"charId":"bcd0900c","unicodeChar":"𬾅","unicodeCodePoint":"2CF85","pinYinChars":[{"char":"亻克"}],"splitChars":[],"weight":"10"},{"charId":"7e906f55","unicodeChar":"𬽾","unicodeCodePoint":"2CF7E","pinYinChars":[{"char":"qi3"}],"splitChars":[{"char":"亻企"}],"weight":"10"},{"charId":"0d1be324","unicodeChar":"𬽣","unicodeCodePoint":"2CF63","pinYinChars":[{"char":"xing2"}],"splitChars":[{"char":"亻亍"}],"weight":"10"},{"charId":"4f96ad9d","unicodeChar":"𬺛","unicodeCodePoint":"2CE9B","pinYinChars":[{"char":"yan3"}],"splitChars":[{"char":"龙大"}],"weight":"10"},{"charId":"5031af8b","unicodeChar":"𬸧","unicodeCodePoint":"2CE27","pinYinChars":[{"char":"yan4"}],"splitChars":[{"char":"燕鸟"}],"weight":"10"},{"charId":"973ee0a4","unicodeChar":"𬸛","unicodeCodePoint":"2CE1B","pinYinChars":[{"char":"HUANG2"}],"splitChars":[{"char":"皇鸟"}],"weight":"10"},{"charId":"2c896936","unicodeChar":"𬸒","unicodeCodePoint":"2CE12","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"鸟其"}],"weight":"10"},{"charId":"b69c9126","unicodeChar":"𬸊","unicodeCodePoint":"2CE0A","pinYinChars":[{"char":"REN2"}],"splitChars":[{"char":"任鸟"}],"weight":"10"},{"charId":"d3e4a836","unicodeChar":"𬸈","unicodeCodePoint":"2CE08","pinYinChars":[{"char":"CHI1"}],"splitChars":[{"char":"至鸟"}],"weight":"10"},{"charId":"7612cc18","unicodeChar":"𬸆","unicodeCodePoint":"2CE06","pinYinChars":[{"char":"sheng1"}],"splitChars":[{"char":"生鸟"}],"weight":"10"},{"charId":"dd358bea","unicodeChar":"𬸅","unicodeCodePoint":"2CE05","pinYinChars":[{"char":"CHU2"}],"splitChars":[{"char":"刍鸟"}],"weight":"10"},{"charId":"09743f8d","unicodeChar":"𬸁","unicodeCodePoint":"2CE01","pinYinChars":[{"char":"ou3"}],"splitChars":[{"char":"瓦鸟"}],"weight":"10"},{"charId":"557e7edb","unicodeChar":"𬷼","unicodeCodePoint":"2CDFC","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"儿鸟"}],"weight":"10"},{"charId":"d7e1c826","unicodeChar":"𬶶","unicodeCodePoint":"2CDB6","pinYinChars":[{"char":"NIAN2"}],"splitChars":[{"char":"鱼廉"}],"weight":"10"},{"charId":"dd9eab09","unicodeChar":"𬴴","unicodeCodePoint":"2CD34","pinYinChars":[{"char":"si4"}],"splitChars":[{"char":"鬲 司"}],"weight":"10"},{"charId":"ab4a544d","unicodeChar":"𬴐","unicodeCodePoint":"2CD10","pinYinChars":[{"char":"HUAN1"}],"splitChars":[{"char":"马雚"}],"weight":"10"},{"charId":"5da1ead9","unicodeChar":"𬴆","unicodeCodePoint":"2CD06","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"马堇"}],"weight":"10"},{"charId":"f25815c8","unicodeChar":"𬲱","unicodeCodePoint":"2CCB1","pinYinChars":[{"char":"tuo2"},{"char":"sha2"}],"splitChars":[{"char":"饣它"}],"weight":"10"},{"charId":"73edb054","unicodeChar":"𬱫","unicodeCodePoint":"2CC6B","pinYinChars":[{"char":"DING4"}],"splitChars":[{"char":"定页"}],"weight":"10"},{"charId":"01571e71","unicodeChar":"𬱙","unicodeCodePoint":"2CC59","pinYinChars":[{"char":"PAN4"}],"splitChars":[{"char":"半页"}],"weight":"10"},{"charId":"77414199","unicodeChar":"𬮴","unicodeCodePoint":"2CBB4","pinYinChars":[{"char":"AN4"}],"splitChars":[{"char":"门音"}],"weight":"10"},{"charId":"84a8d8cf","unicodeChar":"𬮢","unicodeCodePoint":"2CBA2","pinYinChars":[{"char":"hong4"},{"char":"xiang4"}],"splitChars":[{"char":"门共"}],"weight":"10"},{"charId":"a8723bf0","unicodeChar":"𬮠","unicodeCodePoint":"2CBA0","pinYinChars":[{"char":"XIA3"}],"splitChars":[{"char":"门可"}],"weight":"10"},{"charId":"bcfad39d","unicodeChar":"𬮟","unicodeCodePoint":"2CB9F","pinYinChars":[{"char":"lin4"}],"splitChars":[{"char":"门火"}],"weight":"10"},{"charId":"50d7a5b2","unicodeChar":"𬭵","unicodeCodePoint":"2CB75","pinYinChars":[{"char":"pang1"},{"char":"peng2"}],"splitChars":[{"char":"钅彭"}],"weight":"10"},{"charId":"b7888613","unicodeChar":"𬭴","unicodeCodePoint":"2CB74","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"钅絜"}],"weight":"10"},{"charId":"b3f1a9a2","unicodeChar":"𬭮","unicodeCodePoint":"2CB6E","pinYinChars":[{"char":"MAN3"}],"splitChars":[{"char":"钅𬜯"}],"weight":"10"},{"charId":"fb7ac4da","unicodeChar":"𬭫","unicodeCodePoint":"2CB6B","pinYinChars":[{"char":"zhan3"}],"splitChars":[{"char":"钅展"}],"weight":"10"},{"charId":"c190819c","unicodeChar":"𬭨","unicodeCodePoint":"2CB68","pinYinChars":[{"char":"CHUI2"}],"splitChars":[{"char":"钅追"}],"weight":"10"},{"charId":"27480900","unicodeChar":"𬭢","unicodeCodePoint":"2CB62","pinYinChars":[{"char":"KUI4"}],"splitChars":[{"char":"钅贵"}],"weight":"10"},{"charId":"c9c9ee85","unicodeChar":"𬭟","unicodeCodePoint":"2CB5F","pinYinChars":[{"char":"COU4"}],"splitChars":[{"char":"钅奏"}],"weight":"10"},{"charId":"89d7d7df","unicodeChar":"𬭙","unicodeCodePoint":"2CB59","pinYinChars":[{"char":"chan2"}],"splitChars":[{"char":"钅单"}],"weight":"10"},{"charId":"cf70d0e4","unicodeChar":"𬭖","unicodeCodePoint":"2CB56","pinYinChars":[{"char":"PENG2"}],"splitChars":[{"char":"钅朋"}],"weight":"10"},{"charId":"a05f0d04","unicodeChar":"𬭕","unicodeCodePoint":"2CB55","pinYinChars":[{"char":"TAO2"}],"splitChars":[{"char":"钅周"}],"weight":"10"},{"charId":"b7194d36","unicodeChar":"𬭐","unicodeCodePoint":"2CB50","pinYinChars":[{"char":"yi1"}],"splitChars":[{"char":"钅矣"}],"weight":"10"},{"charId":"b1d0abd5","unicodeChar":"𬭌","unicodeCodePoint":"2CB4C","pinYinChars":[{"char":"HUA2"}],"splitChars":[{"char":"钅吴"}],"weight":"10"},{"charId":"7a6caee2","unicodeChar":"𬭇","unicodeCodePoint":"2CB47","pinYinChars":[{"char":"guo2"}],"splitChars":[{"char":"钅会"}],"weight":"10"},{"charId":"7c3c98ac","unicodeChar":"𬭆","unicodeCodePoint":"2CB46","pinYinChars":[{"char":"duo3"},{"char":"duo4"}],"splitChars":[{"char":"钅朵"}],"weight":"10"},{"charId":"1ba7fdeb","unicodeChar":"𬭅","unicodeCodePoint":"2CB45","pinYinChars":[{"char":"HOU2"}],"splitChars":[{"char":"钅后"}],"weight":"10"},{"charId":"ea17edcf","unicodeChar":"𬭂","unicodeCodePoint":"2CB42","pinYinChars":[{"char":"hong2"}],"splitChars":[{"char":"钅弘"}],"weight":"10"},{"charId":"878ec138","unicodeChar":"𬭀","unicodeCodePoint":"2CB40","pinYinChars":[{"char":"SI4"}],"splitChars":[{"char":"钅台"}],"weight":"10"},{"charId":"3da3c254","unicodeChar":"𬬷","unicodeCodePoint":"2CB37","pinYinChars":[{"char":"shi2"}],"splitChars":[{"char":"钅石"}],"weight":"10"},{"charId":"7f0af7a0","unicodeChar":"𬬰","unicodeCodePoint":"2CB30","pinYinChars":[{"char":"CHENG1"},{"char":"qiang1"}],"splitChars":[{"char":"钅仓"}],"weight":"10"},{"charId":"d5880692","unicodeChar":"𬬨","unicodeCodePoint":"2CB28","pinYinChars":[{"char":"HUA2"}],"splitChars":[{"char":"钅亏"}],"weight":"10"},{"charId":"b2e4d9a4","unicodeChar":"𬬧","unicodeCodePoint":"2CB27","pinYinChars":[{"char":"HAN4"}],"splitChars":[{"char":"钅干"}],"weight":"10"},{"charId":"54e44fee","unicodeChar":"𬪍","unicodeCodePoint":"2CA8D","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"贸阝"}],"weight":"10"},{"charId":"1f00d897","unicodeChar":"𬨨","unicodeCodePoint":"2CA28","pinYinChars":[{"char":"guo4"}],"splitChars":[{"char":"辶呙"}],"weight":"10"},{"charId":"d354f36a","unicodeChar":"𬨣","unicodeCodePoint":"2CA23","pinYinChars":[{"char":"辶永"}],"splitChars":[],"weight":"10"},{"charId":"d112119b","unicodeChar":"𬨟","unicodeCodePoint":"2CA1F","pinYinChars":[{"char":"fen1"}],"splitChars":[{"char":"辶分"}],"weight":"10"},{"charId":"a397459e","unicodeChar":"𬨓","unicodeCodePoint":"2CA13","pinYinChars":[{"char":"CHAO2"}],"splitChars":[{"char":"车巢"}],"weight":"10"},{"charId":"3eae0824","unicodeChar":"𬨊","unicodeCodePoint":"2CA0A","pinYinChars":[{"char":"mi3"}],"splitChars":[{"char":"尾 车"}],"weight":"10"},{"charId":"87910e98","unicodeChar":"𬨈","unicodeCodePoint":"2CA08","pinYinChars":[{"char":"WAN3"}],"splitChars":[{"char":"车免"}],"weight":"10"},{"charId":"1874ee8c","unicodeChar":"𬨄","unicodeCodePoint":"2CA04","pinYinChars":[{"char":"YANG3"}],"splitChars":[{"char":"车央"}],"weight":"10"},{"charId":"4cffa0cc","unicodeChar":"𬧓","unicodeCodePoint":"2C9D3","pinYinChars":[{"char":"chuan3"}],"splitChars":[{"char":"足 舜"}],"weight":"10"},{"charId":"f17e5c41","unicodeChar":"𬧏","unicodeCodePoint":"2C9CF","pinYinChars":[{"char":"gai4"}],"splitChars":[{"char":"𧾷盖"}],"weight":"10"},{"charId":"b2ef5cc4","unicodeChar":"𬤮","unicodeCodePoint":"2C92E","pinYinChars":[{"char":"zan4"}],"splitChars":[{"char":"讠赞"}],"weight":"10"},{"charId":"1b1b23d1","unicodeChar":"𬤥","unicodeCodePoint":"2C925","pinYinChars":[{"char":"zhuan4"}],"splitChars":[{"char":"讠巽"}],"weight":"10"},{"charId":"2ac17921","unicodeChar":"𬤎","unicodeCodePoint":"2C90E","pinYinChars":[{"char":"XUAN1"}],"splitChars":[{"char":"讠宣"}],"weight":"10"},{"charId":"2f065475","unicodeChar":"𬣼","unicodeCodePoint":"2C8FC","pinYinChars":[{"char":"lang3"},{"char":"lang4"}],"splitChars":[{"char":"讠良"}],"weight":"10"},{"charId":"d7c245a2","unicodeChar":"𬣮","unicodeCodePoint":"2C8EE","pinYinChars":[{"char":"MING4"}],"splitChars":[{"char":"讠名"}],"weight":"10"},{"charId":"cd958aca","unicodeChar":"𬣣","unicodeCodePoint":"2C8E3","pinYinChars":[{"char":"ZHU4"}],"splitChars":[{"char":"讠主"}],"weight":"10"},{"charId":"e467f698","unicodeChar":"𬣉","unicodeCodePoint":"2C8C9","pinYinChars":[{"char":"su4"}],"splitChars":[{"char":"言肅"}],"weight":"10"},{"charId":"ef4fc710","unicodeChar":"𬢎","unicodeCodePoint":"2C88E","pinYinChars":[{"char":"DU3"}],"splitChars":[{"char":"者见"}],"weight":"10"},{"charId":"45253867","unicodeChar":"𬢊","unicodeCodePoint":"2C88A","pinYinChars":[{"char":"SI4"}],"splitChars":[{"char":"司见"}],"weight":"10"},{"charId":"f8d15009","unicodeChar":"𬢇","unicodeCodePoint":"2C887","pinYinChars":[{"char":"ha1"},{"char":"cha4"}],"splitChars":[{"char":"又 见"}],"weight":"10"},{"charId":"b572ebca","unicodeChar":"𬠅","unicodeCodePoint":"2C805","pinYinChars":[{"char":"DANG1"}],"splitChars":[{"char":"虫当"}],"weight":"10"},{"charId":"b25769e5","unicodeChar":"𬞕","unicodeCodePoint":"2C795","pinYinChars":[{"char":"lan2"}],"splitChars":[{"char":"艹阑"}],"weight":"10"},{"charId":"bf26ef34","unicodeChar":"𬜧","unicodeCodePoint":"2C727","pinYinChars":[{"char":"fa4"}],"splitChars":[{"char":"艹发"}],"weight":"10"},{"charId":"64ebf058","unicodeChar":"𬜒","unicodeCodePoint":"2C712","pinYinChars":[{"char":"fan2"}],"splitChars":[{"char":"舟已"}],"weight":"10"},{"charId":"be13db59","unicodeChar":"𬘵","unicodeCodePoint":"2C635","pinYinChars":[{"char":"GENG1"}],"splitChars":[{"char":"纟恒"}],"weight":"10"},{"charId":"043f17ab","unicodeChar":"𬘢","unicodeCodePoint":"2C622","pinYinChars":[{"char":"KUANG4"}],"splitChars":[{"char":"纟光"}],"weight":"10"},{"charId":"3345b842","unicodeChar":"𬘜","unicodeCodePoint":"2C61C","pinYinChars":[{"char":"ZHAN4"}],"splitChars":[{"char":"纟旦"}],"weight":"10"},{"charId":"b763f373","unicodeChar":"𬘖","unicodeCodePoint":"2C616","pinYinChars":[{"char":"JIAN3"}],"splitChars":[{"char":"纟见"}],"weight":"10"},{"charId":"a85b1fae","unicodeChar":"𬖣","unicodeCodePoint":"2C5A3","pinYinChars":[{"char":"米 定"}],"splitChars":[],"weight":"10"},{"charId":"fe56a4b7","unicodeChar":"𬖍","unicodeCodePoint":"2C58D","pinYinChars":[{"char":"meng2"}],"splitChars":[{"char":"米八"}],"weight":"10"},{"charId":"d254b3fe","unicodeChar":"𬔰","unicodeCodePoint":"2C530","pinYinChars":[{"char":"man3"}],"splitChars":[{"char":"𥫗心"}],"weight":"10"},{"charId":"c0ad766b","unicodeChar":"𬔬","unicodeCodePoint":"2C52C","pinYinChars":[{"char":"竹 乃"}],"splitChars":[],"weight":"10"},{"charId":"3c2c6d11","unicodeChar":"𬓇","unicodeCodePoint":"2C4C7","pinYinChars":[{"char":"礻 宜"}],"splitChars":[],"weight":"10"},{"charId":"a15c4bb6","unicodeChar":"𬒓","unicodeCodePoint":"2C493","pinYinChars":[{"char":"ke1"},{"char":"luo3"}],"splitChars":[{"char":"石罗"}],"weight":"10"},{"charId":"9ce24cf5","unicodeChar":"𬒍","unicodeCodePoint":"2C48D","pinYinChars":[{"char":"YUN3"}],"splitChars":[{"char":"石员"}],"weight":"10"},{"charId":"8b7cc416","unicodeChar":"𬒃","unicodeCodePoint":"2C483","pinYinChars":[{"char":"lian4"}],"splitChars":[{"char":"石𫠣"}],"weight":"10"},{"charId":"6e72806d","unicodeChar":"𬒂","unicodeCodePoint":"2C482","pinYinChars":[{"char":"石方"}],"splitChars":[],"weight":"10"},{"charId":"95094b23","unicodeChar":"𬒁","unicodeCodePoint":"2C481","pinYinChars":[{"char":"石 夭"}],"splitChars":[],"weight":"10"},{"charId":"1ab3b4e2","unicodeChar":"𬑺","unicodeCodePoint":"2C47A","pinYinChars":[{"char":"duo4"}],"splitChars":[{"char":"石 寸"}],"weight":"10"},{"charId":"2bfb0137","unicodeChar":"𬑹","unicodeCodePoint":"2C479","pinYinChars":[{"char":"han4"}],"splitChars":[{"char":"石厂"}],"weight":"10"},{"charId":"0d7104b3","unicodeChar":"𬑓","unicodeCodePoint":"2C453","pinYinChars":[{"char":"ye4"}],"splitChars":[{"char":"目华"}],"weight":"10"},{"charId":"60d5941c","unicodeChar":"𬏟","unicodeCodePoint":"2C3DF","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"疒计"}],"weight":"10"},{"charId":"4d2c083d","unicodeChar":"𬏂","unicodeCodePoint":"2C3C2","pinYinChars":[{"char":"田尔"}],"splitChars":[],"weight":"10"},{"charId":"9368c357","unicodeChar":"𬎑","unicodeCodePoint":"2C391","pinYinChars":[{"char":"LAN4"}],"splitChars":[{"char":"王阑"}],"weight":"10"},{"charId":"d385d725","unicodeChar":"𬍳","unicodeCodePoint":"2C373","pinYinChars":[{"char":"王 享"}],"splitChars":[],"weight":"10"},{"charId":"aea5608c","unicodeChar":"𬍯","unicodeCodePoint":"2C36F","pinYinChars":[{"char":"ke3"},{"char":"ke1"}],"splitChars":[{"char":"王果"}],"weight":"10"},{"charId":"f98693cf","unicodeChar":"𬍜","unicodeCodePoint":"2C35C","pinYinChars":[{"char":"ning2"}],"splitChars":[{"char":"王宁"}],"weight":"10"},{"charId":"617e031a","unicodeChar":"𬍙","unicodeCodePoint":"2C359","pinYinChars":[{"char":"ZHAN3"}],"splitChars":[{"char":"王戋"}],"weight":"10"},{"charId":"cad24ec7","unicodeChar":"𬌙","unicodeCodePoint":"2C319","pinYinChars":[{"char":"pa2"}],"splitChars":[{"char":"牛八"}],"weight":"10"},{"charId":"1a395238","unicodeChar":"𬊺","unicodeCodePoint":"2C2BA","pinYinChars":[{"char":"wei1"}],"splitChars":[{"char":"火爱"}],"weight":"10"},{"charId":"8450df31","unicodeChar":"𬊶","unicodeCodePoint":"2C2B6","pinYinChars":[{"char":"LAN4"}],"splitChars":[{"char":"火监"}],"weight":"10"},{"charId":"8e3955af","unicodeChar":"𬊵","unicodeCodePoint":"2C2B5","pinYinChars":[{"char":"TANG3"}],"splitChars":[{"char":"火党"}],"weight":"10"},{"charId":"3859f90e","unicodeChar":"𬊭","unicodeCodePoint":"2C2AD","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"火显"}],"weight":"10"},{"charId":"b83529f9","unicodeChar":"𬊖","unicodeCodePoint":"2C296","pinYinChars":[{"char":"mei3"}],"splitChars":[{"char":"火闵"}],"weight":"10"},{"charId":"06e48477","unicodeChar":"𬊕","unicodeCodePoint":"2C295","pinYinChars":[{"char":"火免"}],"splitChars":[],"weight":"10"},{"charId":"ceb386af","unicodeChar":"𬊎","unicodeCodePoint":"2C28E","pinYinChars":[{"char":"gong4"}],"splitChars":[{"char":"火贡"}],"weight":"10"},{"charId":"7116c6d6","unicodeChar":"𬊂","unicodeCodePoint":"2C282","pinYinChars":[{"char":"CHAO3"}],"splitChars":[{"char":"火刍"}],"weight":"10"},{"charId":"79cd3756","unicodeChar":"𬉣","unicodeCodePoint":"2C263","pinYinChars":[{"char":"DO"}],"splitChars":[{"char":"氵餘"}],"weight":"10"},{"charId":"9143c35b","unicodeChar":"𬉡","unicodeCodePoint":"2C261","pinYinChars":[{"char":"SUO3"},{"char":"RUI3"}],"splitChars":[{"char":"氵蕊"}],"weight":"10"},{"charId":"22db7749","unicodeChar":"𬉊","unicodeCodePoint":"2C24A","pinYinChars":[{"char":"氵聖"}],"splitChars":[],"weight":"10"},{"charId":"2ef5e3f4","unicodeChar":"𬈐","unicodeCodePoint":"2C210","pinYinChars":[{"char":"yao1"}],"splitChars":[{"char":"氵㓁目"}],"weight":"10"},{"charId":"fd2521e7","unicodeChar":"𬇵","unicodeCodePoint":"2C1F5","pinYinChars":[{"char":"yan1"}],"splitChars":[{"char":"氵正与"}],"weight":"10"},{"charId":"c52834e0","unicodeChar":"𬇡","unicodeCodePoint":"2C1E1","pinYinChars":[{"char":"kan3"}],"splitChars":[{"char":"氵口𫶧"}],"weight":"10"},{"charId":"af593a28","unicodeChar":"𬅱","unicodeCodePoint":"2C171","pinYinChars":[{"char":"BO1"}],"splitChars":[{"char":"番欠"}],"weight":"10"},{"charId":"1dda74ed","unicodeChar":"𬅄","unicodeCodePoint":"2C144","pinYinChars":[{"char":"peng2"}],"splitChars":[{"char":"未成林"}],"weight":"10"},{"charId":"c9dab524","unicodeChar":"𬃲","unicodeCodePoint":"2C0F2","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"林页"}],"weight":"10"},{"charId":"7bc2863b","unicodeChar":"𬃫","unicodeCodePoint":"2C0EB","pinYinChars":[{"char":"XIAN2"}],"splitChars":[{"char":"木宪"}],"weight":"10"},{"charId":"2d07ae40","unicodeChar":"𬂰","unicodeCodePoint":"2C0B0","pinYinChars":[{"char":"NONG2"}],"splitChars":[{"char":"木农"}],"weight":"10"},{"charId":"5ae21fcb","unicodeChar":"𬂟","unicodeCodePoint":"2C09F","pinYinChars":[{"char":"DAO1"},{"char":"TIAO2"},{"char":"MU4"}],"splitChars":[{"char":"木 刀"}],"weight":"10"},{"charId":"6beb135d","unicodeChar":"𬁷","unicodeCodePoint":"2C077","pinYinChars":[{"char":"YAO"}],"splitChars":[{"char":"月夭"}],"weight":"10"},{"charId":"d9565f03","unicodeChar":"𬁴","unicodeCodePoint":"2C074","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"月云"}],"weight":"10"},{"charId":"ad647af2","unicodeChar":"𬀱","unicodeCodePoint":"2C031","pinYinChars":[{"char":"KAI3"}],"splitChars":[{"char":"日岂"}],"weight":"10"},{"charId":"58270676","unicodeChar":"𬀮","unicodeCodePoint":"2C02E","pinYinChars":[{"char":"DUI4"}],"splitChars":[{"char":"日对"}],"weight":"10"},{"charId":"f7e90bc7","unicodeChar":"𫾻","unicodeCodePoint":"2BFBB","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"易攵"}],"weight":"10"},{"charId":"53707d22","unicodeChar":"𫽮","unicodeCodePoint":"2BF6E","pinYinChars":[{"char":"DANG3"}],"splitChars":[{"char":"扌党"}],"weight":"10"},{"charId":"fa8ae0bb","unicodeChar":"𫽥","unicodeCodePoint":"2BF65","pinYinChars":[{"char":"qian1"}],"splitChars":[{"char":"扌举"}],"weight":"10"},{"charId":"8167da9e","unicodeChar":"𫽋","unicodeCodePoint":"2BF4B","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"扌罗"}],"weight":"10"},{"charId":"2617b504","unicodeChar":"𫺌","unicodeCodePoint":"2BE8C","pinYinChars":[{"char":"gong1"},{"char":"gong4"},{"char":"HONG3"}],"splitChars":[{"char":"忄贡"}],"weight":"10"},{"charId":"06fd4d8c","unicodeChar":"𫺆","unicodeCodePoint":"2BE86","pinYinChars":[{"char":"hua2"}],"splitChars":[{"char":"忄华"}],"weight":"10"},{"charId":"b0e7c84a","unicodeChar":"𫹼","unicodeCodePoint":"2BE7C","pinYinChars":[{"char":"dong1"}],"splitChars":[{"char":"忄东"}],"weight":"10"},{"charId":"8e546aad","unicodeChar":"𫹴","unicodeCodePoint":"2BE74","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"忄韦"}],"weight":"10"},{"charId":"474eed3b","unicodeChar":"𫹮","unicodeCodePoint":"2BE6E","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"忄与"}],"weight":"10"},{"charId":"dac07213","unicodeChar":"𫷹","unicodeCodePoint":"2BDF9","pinYinChars":[{"char":"LOU2"}],"splitChars":[{"char":"广娄"}],"weight":"10"},{"charId":"ba448313","unicodeChar":"𫷬","unicodeCodePoint":"2BDEC","pinYinChars":[{"char":"LAI2"}],"splitChars":[{"char":"广来"}],"weight":"10"},{"charId":"a135a3eb","unicodeChar":"𫷅","unicodeCodePoint":"2BDC5","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"巾军"}],"weight":"10"},{"charId":"89aca729","unicodeChar":"𫷀","unicodeCodePoint":"2BDC0","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"巾毛"}],"weight":"10"},{"charId":"ca3837f0","unicodeChar":"𫶚","unicodeCodePoint":"2BD9A","pinYinChars":[{"char":"AN"}],"splitChars":[{"char":"山 刂"}],"weight":"10"},{"charId":"6b72b93c","unicodeChar":"𫶕","unicodeCodePoint":"2BD95","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"山营"}],"weight":"10"},{"charId":"82fc0784","unicodeChar":"𫶔","unicodeCodePoint":"2BD94","pinYinChars":[{"char":"han4"}],"splitChars":[{"char":"敢山"}],"weight":"10"},{"charId":"97ae19fd","unicodeChar":"𫵼","unicodeCodePoint":"2BD7C","pinYinChars":[{"char":"geng"}],"splitChars":[{"char":"山更"}],"weight":"10"},{"charId":"097535c3","unicodeChar":"𫵶","unicodeCodePoint":"2BD76","pinYinChars":[{"char":"wei3"}],"splitChars":[{"char":"山韦"}],"weight":"10"},{"charId":"dbb1cae4","unicodeChar":"𫵖","unicodeCodePoint":"2BD56","pinYinChars":[{"char":"SHI"}],"splitChars":[{"char":"尸示"}],"weight":"10"},{"charId":"f534d904","unicodeChar":"𫳃","unicodeCodePoint":"2BCC3","pinYinChars":[{"char":"ya1"}],"splitChars":[{"char":"宀亚"}],"weight":"10"},{"charId":"99883a39","unicodeChar":"𫳁","unicodeCodePoint":"2BCC1","pinYinChars":[{"char":"zhen3"}],"splitChars":[{"char":"宀 山"}],"weight":"10"},{"charId":"98291079","unicodeChar":"𫲻","unicodeCodePoint":"2BCBB","pinYinChars":[{"char":"liao2"}],"splitChars":[{"char":"宀 乌"}],"weight":"10"},{"charId":"c6355a71","unicodeChar":"𫲷","unicodeCodePoint":"2BCB7","pinYinChars":[{"char":"fu4"}],"splitChars":[{"char":"宀夫"}],"weight":"10"},{"charId":"498635ca","unicodeChar":"𫲗","unicodeCodePoint":"2BC97","pinYinChars":[{"char":"zan4"}],"splitChars":[{"char":"女赞"}],"weight":"10"},{"charId":"8c3e38c6","unicodeChar":"𫲄","unicodeCodePoint":"2BC84","pinYinChars":[{"char":"wa1"}],"splitChars":[{"char":"女 窝"}],"weight":"10"},{"charId":"17901921","unicodeChar":"𫱣","unicodeCodePoint":"2BC63","pinYinChars":[{"char":"女國"}],"splitChars":[],"weight":"10"},{"charId":"054f1ac1","unicodeChar":"𫱗","unicodeCodePoint":"2BC57","pinYinChars":[{"char":"NA"}],"splitChars":[{"char":"女拿"}],"weight":"10"},{"charId":"79850e58","unicodeChar":"𫱕","unicodeCodePoint":"2BC55","pinYinChars":[{"char":"lan4"}],"splitChars":[{"char":"女监"}],"weight":"10"},{"charId":"17e10491","unicodeChar":"𫱆","unicodeCodePoint":"2BC46","pinYinChars":[{"char":"女畐"}],"splitChars":[],"weight":"10"},{"charId":"8a95be73","unicodeChar":"𫰿","unicodeCodePoint":"2BC3F","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"女𫂱"}],"weight":"10"},{"charId":"61e073eb","unicodeChar":"𫰰","unicodeCodePoint":"2BC30","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"女佥"}],"weight":"10"},{"charId":"41d88770","unicodeChar":"𫰨","unicodeCodePoint":"2BC28","pinYinChars":[{"char":"mai2"}],"splitChars":[{"char":"女买"}],"weight":"10"},{"charId":"f12c4c43","unicodeChar":"𫰧","unicodeCodePoint":"2BC27","pinYinChars":[{"char":"女羊"}],"splitChars":[],"weight":"10"},{"charId":"d9667507","unicodeChar":"𫰢","unicodeCodePoint":"2BC22","pinYinChars":[{"char":"hui4"}],"splitChars":[{"char":"女会"}],"weight":"10"},{"charId":"173d2861","unicodeChar":"𫰔","unicodeCodePoint":"2BC14","pinYinChars":[{"char":"女牛"}],"splitChars":[],"weight":"10"},{"charId":"260d036a","unicodeChar":"𫰉","unicodeCodePoint":"2BC09","pinYinChars":[{"char":"女凡"}],"splitChars":[],"weight":"10"},{"charId":"3b653e86","unicodeChar":"𫰈","unicodeCodePoint":"2BC08","pinYinChars":[{"char":"ya4"}],"splitChars":[{"char":"女下"}],"weight":"10"},{"charId":"64ee177e","unicodeChar":"𫰂","unicodeCodePoint":"2BC02","pinYinChars":[{"char":"DUO3"}],"splitChars":[{"char":"奢单"}],"weight":"10"},{"charId":"70dc9b41","unicodeChar":"𫯮","unicodeCodePoint":"2BBEE","pinYinChars":[{"char":"xue2"}],"splitChars":[{"char":"大 顺"}],"weight":"10"},{"charId":"9af0139f","unicodeChar":"𫮏","unicodeCodePoint":"2BB8F","pinYinChars":[{"char":"fai"}],"splitChars":[{"char":"派土"}],"weight":"10"},{"charId":"acbef830","unicodeChar":"𫮌","unicodeCodePoint":"2BB8C","pinYinChars":[{"char":"liang4"}],"splitChars":[{"char":"土亮"}],"weight":"10"},{"charId":"22fcd056","unicodeChar":"𫮈","unicodeCodePoint":"2BB88","pinYinChars":[{"char":"chan2"}],"splitChars":[{"char":"土厘"}],"weight":"10"},{"charId":"851b16ea","unicodeChar":"𫭼","unicodeCodePoint":"2BB7C","pinYinChars":[{"char":"LAO2"}],"splitChars":[{"char":"土劳"}],"weight":"10"},{"charId":"4d2963e6","unicodeChar":"𫭮","unicodeCodePoint":"2BB6E","pinYinChars":[{"char":"ce4"}],"splitChars":[{"char":"土则"}],"weight":"10"},{"charId":"f0bcc550","unicodeChar":"𫭪","unicodeCodePoint":"2BB6A","pinYinChars":[{"char":"QIAO1"}],"splitChars":[{"char":"土尧"}],"weight":"10"},{"charId":"63fcb51a","unicodeChar":"𫭞","unicodeCodePoint":"2BB5E","pinYinChars":[{"char":"ZHUAN1"}],"splitChars":[{"char":"土专"}],"weight":"10"},{"charId":"1cb02f16","unicodeChar":"𫭛","unicodeCodePoint":"2BB5B","pinYinChars":[{"char":"wang1"}],"splitChars":[{"char":"土 天"}],"weight":"10"},{"charId":"41162572","unicodeChar":"𫭙","unicodeCodePoint":"2BB59","pinYinChars":[{"char":"kua4"},{"char":"kuo4"}],"splitChars":[{"char":"土口"}],"weight":"10"},{"charId":"322fc4ee","unicodeChar":"𫫇","unicodeCodePoint":"2BAC7","pinYinChars":[{"char":"E4"}],"splitChars":[{"char":"口恶"}],"weight":"10"},{"charId":"59d6114d","unicodeChar":"𫪘","unicodeCodePoint":"2BA98","pinYinChars":[{"char":"OU3"}],"splitChars":[{"char":"口欧"}],"weight":"10"},{"charId":"7fb3a697","unicodeChar":"𫪁","unicodeCodePoint":"2BA81","pinYinChars":[{"char":"LAI4"}],"splitChars":[{"char":"口来"}],"weight":"10"},{"charId":"2601386e","unicodeChar":"𫩝","unicodeCodePoint":"2BA5D","pinYinChars":[{"char":"ci1"},{"char":"gi4"}],"splitChars":[{"char":"口之"}],"weight":"10"},{"charId":"178b7f23","unicodeChar":"𫧯","unicodeCodePoint":"2B9EF","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"占内"}],"weight":"10"},{"charId":"433b81b3","unicodeChar":"𫤬","unicodeCodePoint":"2B92C","pinYinChars":[{"char":"gang4"}],"splitChars":[{"char":"八 丶"}],"weight":"10"},{"charId":"00b54176","unicodeChar":"𫤪","unicodeCodePoint":"2B92A","pinYinChars":[{"char":"fong"}],"splitChars":[{"char":"全 全"}],"weight":"10"},{"charId":"612655b3","unicodeChar":"𫣊","unicodeCodePoint":"2B8CA","pinYinChars":[{"char":"AI4"}],"splitChars":[{"char":"亻爱"}],"weight":"10"},{"charId":"776b10d1","unicodeChar":"𫢪","unicodeCodePoint":"2B8AA","pinYinChars":[{"char":"LIAN4"}],"splitChars":[{"char":"亻连"}],"weight":"10"},{"charId":"a16ea7ff","unicodeChar":"𫢙","unicodeCodePoint":"2B899","pinYinChars":[{"char":"tong2"},{"char":"dou"}],"splitChars":[{"char":"亻动"}],"weight":"10"},{"charId":"2d229739","unicodeChar":"𫢘","unicodeCodePoint":"2B898","pinYinChars":[{"char":"DUI4"}],"splitChars":[{"char":"亻对"}],"weight":"10"},{"charId":"e323404d","unicodeChar":"𫢋","unicodeCodePoint":"2B88B","pinYinChars":[{"char":"fo2"}],"splitChars":[{"char":"亻天"}],"weight":"10"},{"charId":"089fa1f7","unicodeChar":"𫡥","unicodeCodePoint":"2B865","pinYinChars":[{"char":"da3"}],"splitChars":[{"char":"乙 合"}],"weight":"10"},{"charId":"ee3f415f","unicodeChar":"𫡢","unicodeCodePoint":"2B862","pinYinChars":[{"char":"tang4"},{"char":"tuo3"}],"splitChars":[{"char":"乙土"}],"weight":"10"},{"charId":"a3862aee","unicodeChar":"𫠫","unicodeCodePoint":"2B82B","pinYinChars":[{"char":"bian3"}],"splitChars":[{"char":"不元"}],"weight":"10"},{"charId":"c934b081","unicodeChar":"𫟻","unicodeCodePoint":"2B7FB","pinYinChars":[{"char":"ZHOU1"}],"splitChars":[{"char":"钅州"}],"weight":"10"},{"charId":"f092251d","unicodeChar":"𫟺","unicodeCodePoint":"2B7FA","pinYinChars":[{"char":"KAI1"}],"splitChars":[{"char":"钅亥"}],"weight":"10"},{"charId":"180e9878","unicodeChar":"𫟷","unicodeCodePoint":"2B7F7","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"钅立"}],"weight":"10"},{"charId":"f23f4151","unicodeChar":"𫟴","unicodeCodePoint":"2B7F4","pinYinChars":[{"char":"FEN1"}],"splitChars":[{"char":"钅分"}],"weight":"10"},{"charId":"c2782b53","unicodeChar":"𫟤","unicodeCodePoint":"2B7E4","pinYinChars":[{"char":"TUO2"}],"splitChars":[{"char":"车它"}],"weight":"10"},{"charId":"87264c99","unicodeChar":"𫟌","unicodeCodePoint":"2B7CC","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"艹外"}],"weight":"10"},{"charId":"e58633f7","unicodeChar":"𫟇","unicodeCodePoint":"2B7C7","pinYinChars":[{"char":"liao4"},{"char":"liao2"}],"splitChars":[{"char":"纟廖"}],"weight":"10"},{"charId":"e9c0aefb","unicodeChar":"𫞠","unicodeCodePoint":"2B7A0","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"火灵"}],"weight":"10"},{"charId":"f2cfe4a8","unicodeChar":"𫞂","unicodeCodePoint":"2B782","pinYinChars":[{"char":"yao4"}],"splitChars":[{"char":"日玉"}],"weight":"10"},{"charId":"d24a50a6","unicodeChar":"𫝵","unicodeCodePoint":"2B775","pinYinChars":[{"char":"DAO3"}],"splitChars":[{"char":"山寿"}],"weight":"10"},{"charId":"fccb2fcf","unicodeChar":"𫝮","unicodeCodePoint":"2B76E","pinYinChars":[{"char":"LAN3"}],"splitChars":[{"char":"女阑"}],"weight":"10"},{"charId":"e1580894","unicodeChar":"𫝭","unicodeCodePoint":"2B76D","pinYinChars":[{"char":"YING1"}],"splitChars":[{"char":"女婴"}],"weight":"10"},{"charId":"ecb31c91","unicodeChar":"𫝩","unicodeCodePoint":"2B769","pinYinChars":[{"char":"CHOU2"}],"splitChars":[{"char":"女寿"}],"weight":"10"},{"charId":"91dcac91","unicodeChar":"𫝦","unicodeCodePoint":"2B766","pinYinChars":[{"char":"BEI4"}],"splitChars":[{"char":"女贝"}],"weight":"10"},{"charId":"bce2bf73","unicodeChar":"𫜫","unicodeCodePoint":"2B72B","pinYinChars":[{"char":"bu3"}],"splitChars":[{"char":"齿甫"}],"weight":"10"},{"charId":"3811ea19","unicodeChar":"𫜂","unicodeCodePoint":"2B702","pinYinChars":[{"char":"ZHANG1"}],"splitChars":[{"char":"章鸟"}],"weight":"10"},{"charId":"1acd05e7","unicodeChar":"𫜀","unicodeCodePoint":"2B700","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"晨鸟"}],"weight":"10"},{"charId":"67c4e15c","unicodeChar":"𫛶","unicodeCodePoint":"2B6F6","pinYinChars":[{"char":"CHI4"}],"splitChars":[{"char":"勅鸟"}],"weight":"10"},{"charId":"9632ed92","unicodeChar":"𫛰","unicodeCodePoint":"2B6F0","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"其鸟"}],"weight":"10"},{"charId":"76f1b50e","unicodeChar":"𫛩","unicodeCodePoint":"2B6E9","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"安鸟"}],"weight":"10"},{"charId":"5442350b","unicodeChar":"𫛣","unicodeCodePoint":"2B6E3","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"鸟穴"}],"weight":"10"},{"charId":"f363ed2d","unicodeChar":"𫛢","unicodeCodePoint":"2B6E2","pinYinChars":[{"char":"NING2"}],"splitChars":[{"char":"宁鸟"}],"weight":"10"},{"charId":"b097ecaf","unicodeChar":"𫛞","unicodeCodePoint":"2B6DE","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"鸟夬"}],"weight":"10"},{"charId":"2aedf660","unicodeChar":"𫚋","unicodeCodePoint":"2B68B","pinYinChars":[{"char":"ZHUAN1"}],"splitChars":[{"char":"鱼专"}],"weight":"10"},{"charId":"81298ae9","unicodeChar":"𫘱","unicodeCodePoint":"2B631","pinYinChars":[{"char":"XI2"}],"splitChars":[{"char":"马巂"}],"weight":"10"},{"charId":"a34be992","unicodeChar":"𫘭","unicodeCodePoint":"2B62D","pinYinChars":[{"char":"SHUANG1"}],"splitChars":[{"char":"马爽"}],"weight":"10"},{"charId":"5eb0dcdd","unicodeChar":"𫘥","unicodeCodePoint":"2B625","pinYinChars":[{"char":"KUN1"}],"splitChars":[{"char":"马昆"}],"weight":"10"},{"charId":"57f649a0","unicodeChar":"𫘤","unicodeCodePoint":"2B624","pinYinChars":[{"char":"SI4"}],"splitChars":[{"char":"马矣"}],"weight":"10"},{"charId":"27933f75","unicodeChar":"𫘠","unicodeCodePoint":"2B620","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"马至"}],"weight":"10"},{"charId":"985751c5","unicodeChar":"𫘑","unicodeCodePoint":"2B611","pinYinChars":[{"char":"馬美"}],"splitChars":[],"weight":"10"},{"charId":"a7dec5ad","unicodeChar":"𫗩","unicodeCodePoint":"2B5E9","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"饣罗"}],"weight":"10"},{"charId":"3a2adc3d","unicodeChar":"𫖵","unicodeCodePoint":"2B5B5","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"岳页"}],"weight":"10"},{"charId":"b5582a37","unicodeChar":"𫖲","unicodeCodePoint":"2B5B2","pinYinChars":[{"char":"HUN4"}],"splitChars":[{"char":"员页"}],"weight":"10"},{"charId":"00fd28bc","unicodeChar":"𫖕","unicodeCodePoint":"2B595","pinYinChars":[{"char":"GOU1"}],"splitChars":[{"char":"韦冓"}],"weight":"10"},{"charId":"14ffea47","unicodeChar":"𫖒","unicodeCodePoint":"2B592","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"韦毕"}],"weight":"10"},{"charId":"49dcc8e4","unicodeChar":"𫔴","unicodeCodePoint":"2B534","pinYinChars":[{"char":"LIN4"}],"splitChars":[{"char":"门隹"}],"weight":"10"},{"charId":"bda802f2","unicodeChar":"𫔔","unicodeCodePoint":"2B514","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"钅巂"}],"weight":"10"},{"charId":"ca5b0c17","unicodeChar":"𫔉","unicodeCodePoint":"2B509","pinYinChars":[{"char":"ying1"}],"splitChars":[{"char":"钅婴"}],"weight":"10"},{"charId":"b7724a78","unicodeChar":"𫔈","unicodeCodePoint":"2B508","pinYinChars":[{"char":"SHUO4"}],"splitChars":[{"char":"钅朔"}],"weight":"10"},{"charId":"ac4651db","unicodeChar":"𫔄","unicodeCodePoint":"2B504","pinYinChars":[{"char":"ROU2"}],"splitChars":[{"char":"钅柔"}],"weight":"10"},{"charId":"a21bad38","unicodeChar":"𫔃","unicodeCodePoint":"2B503","pinYinChars":[{"char":"JIAN4"}],"splitChars":[{"char":"钅览"}],"weight":"10"},{"charId":"6d57127c","unicodeChar":"𫔂","unicodeCodePoint":"2B502","pinYinChars":[{"char":"DI1"}],"splitChars":[{"char":"钅是"}],"weight":"10"},{"charId":"d76dc037","unicodeChar":"𫔁","unicodeCodePoint":"2B501","pinYinChars":[{"char":"FEN2"}],"splitChars":[{"char":"钅贲"}],"weight":"10"},{"charId":"72a10400","unicodeChar":"𫓾","unicodeCodePoint":"2B4FE","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"钅育"}],"weight":"10"},{"charId":"f36b4d98","unicodeChar":"𫓽","unicodeCodePoint":"2B4FD","pinYinChars":[{"char":"ZONG4"}],"splitChars":[{"char":"钅宗"}],"weight":"10"},{"charId":"9465757a","unicodeChar":"𫓻","unicodeCodePoint":"2B4FB","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"钅念"}],"weight":"10"},{"charId":"a1c22844","unicodeChar":"𫓴","unicodeCodePoint":"2B4F4","pinYinChars":[{"char":"MOU2"}],"splitChars":[{"char":"钅牟"}],"weight":"10"},{"charId":"c6c4e2a6","unicodeChar":"𫓲","unicodeCodePoint":"2B4F2","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"钅旬"}],"weight":"10"},{"charId":"798e55ee","unicodeChar":"𫓰","unicodeCodePoint":"2B4F0","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"钅戌"}],"weight":"10"},{"charId":"449b71f2","unicodeChar":"𫓩","unicodeCodePoint":"2B4E9","pinYinChars":[{"char":"CONG1"}],"splitChars":[{"char":"钅从"}],"weight":"10"},{"charId":"2bf9eb64","unicodeChar":"𫓦","unicodeCodePoint":"2B4E6","pinYinChars":[{"char":"ZI3"}],"splitChars":[{"char":"钅子"}],"weight":"10"},{"charId":"a7bfe8c8","unicodeChar":"𫐑","unicodeCodePoint":"2B411","pinYinChars":[{"char":"GUAN3"}],"splitChars":[{"char":"车官"}],"weight":"10"},{"charId":"f08c3206","unicodeChar":"𫐌","unicodeCodePoint":"2B40C","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"车并"}],"weight":"10"},{"charId":"336a10bb","unicodeChar":"𫐉","unicodeCodePoint":"2B409","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"车令"}],"weight":"10"},{"charId":"e2eccb59","unicodeChar":"𫏐","unicodeCodePoint":"2B3D0","pinYinChars":[{"char":"ZAN4"}],"splitChars":[{"char":"斩足"}],"weight":"10"},{"charId":"589a2823","unicodeChar":"𫏋","unicodeCodePoint":"2B3CB","pinYinChars":[{"char":"QIAO1"}],"splitChars":[{"char":"𧾷乔"}],"weight":"10"},{"charId":"847cf4f0","unicodeChar":"𫎬","unicodeCodePoint":"2B3AC","pinYinChars":[{"char":"GONG4"}],"splitChars":[{"char":"章贡"}],"weight":"10"},{"charId":"6cd310de","unicodeChar":"𫍻","unicodeCodePoint":"2B37B","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"讠喜"}],"weight":"10"},{"charId":"97afeb16","unicodeChar":"𫍰","unicodeCodePoint":"2B370","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"讠思"}],"weight":"10"},{"charId":"1ff49fb0","unicodeChar":"𫍧","unicodeCodePoint":"2B367","pinYinChars":[{"char":"CHI1"}],"splitChars":[{"char":"讠来"}],"weight":"10"},{"charId":"5e47f8eb","unicodeChar":"𫍤","unicodeCodePoint":"2B364","pinYinChars":[{"char":"JIAO3"}],"splitChars":[{"char":"讠乔"}],"weight":"10"},{"charId":"c1f4e0d9","unicodeChar":"𫍟","unicodeCodePoint":"2B35F","pinYinChars":[{"char":"dan4"}],"splitChars":[{"char":"讠 也"}],"weight":"10"},{"charId":"b4100b2f","unicodeChar":"𫍛","unicodeCodePoint":"2B35B","pinYinChars":[{"char":"fen1"}],"splitChars":[{"char":"讠 分"}],"weight":"10"},{"charId":"e996edc8","unicodeChar":"𫌨","unicodeCodePoint":"2B328","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"尔见"}],"weight":"10"},{"charId":"45608322","unicodeChar":"𫌉","unicodeCodePoint":"2B309","pinYinChars":[{"char":"zhuo2"}],"splitChars":[{"char":"衤 羔"}],"weight":"10"},{"charId":"eaa4c557","unicodeChar":"𫊻","unicodeCodePoint":"2B2BB","pinYinChars":[{"char":"XUN2"}],"splitChars":[{"char":"虫寻"}],"weight":"10"},{"charId":"5e29d039","unicodeChar":"𫊵","unicodeCodePoint":"2B2B5","pinYinChars":[{"char":"chi1"}],"splitChars":[{"char":"虫寺"}],"weight":"10"},{"charId":"1836dabc","unicodeChar":"𫉤","unicodeCodePoint":"2B264","pinYinChars":[{"char":"艹 陽"}],"splitChars":[],"weight":"10"},{"charId":"c46dd91e","unicodeChar":"𫉅","unicodeCodePoint":"2B245","pinYinChars":[{"char":"nu4"}],"splitChars":[{"char":"艹恕"}],"weight":"10"},{"charId":"f0eefaa4","unicodeChar":"𫉁","unicodeCodePoint":"2B241","pinYinChars":[{"char":"AI4"}],"splitChars":[{"char":"艹爱"}],"weight":"10"},{"charId":"86201dde","unicodeChar":"𫈟","unicodeCodePoint":"2B21F","pinYinChars":[{"char":"chen2"}],"splitChars":[{"char":"艹 陈"}],"weight":"10"},{"charId":"7ac00744","unicodeChar":"𫈉","unicodeCodePoint":"2B209","pinYinChars":[{"char":"jian1"}],"splitChars":[{"char":"艹间"}],"weight":"10"},{"charId":"9e4658f1","unicodeChar":"𫄥","unicodeCodePoint":"2B125","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"纟丽"}],"weight":"10"},{"charId":"d6b7f0af","unicodeChar":"𫄡","unicodeCodePoint":"2B121","pinYinChars":[{"char":"DONG4"}],"splitChars":[{"char":"纟同"}],"weight":"10"},{"charId":"76aa5859","unicodeChar":"𫄟","unicodeCodePoint":"2B11F","pinYinChars":[{"char":"SHI1"}],"splitChars":[{"char":"纟㐌"}],"weight":"10"},{"charId":"742f1981","unicodeChar":"𫄞","unicodeCodePoint":"2B11E","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"纟丕"}],"weight":"10"},{"charId":"d66b707a","unicodeChar":"𫄙","unicodeCodePoint":"2B119","pinYinChars":[{"char":"jiu1"}],"splitChars":[{"char":"纟 乙"}],"weight":"10"},{"charId":"2e42f03c","unicodeChar":"𫁷","unicodeCodePoint":"2B077","pinYinChars":[{"char":"SHUANG1"}],"splitChars":[{"char":"𥫗双"}],"weight":"10"},{"charId":"3f0a8e13","unicodeChar":"𫁳","unicodeCodePoint":"2B073","pinYinChars":[{"char":"wei3"}],"splitChars":[{"char":"竹 韦"}],"weight":"10"},{"charId":"31c2336f","unicodeChar":"𪼟","unicodeCodePoint":"2AF1F","pinYinChars":[{"char":"chi2"}],"splitChars":[{"char":"王 犀"}],"weight":"10"},{"charId":"0f6f3f60","unicodeChar":"𪼞","unicodeCodePoint":"2AF1E","pinYinChars":[{"char":"王 戈"}],"splitChars":[],"weight":"10"},{"charId":"fa1f9bd2","unicodeChar":"𪻺","unicodeCodePoint":"2AEFA","pinYinChars":[{"char":"GUI1"}],"splitChars":[{"char":"王贵"}],"weight":"10"},{"charId":"98b44c36","unicodeChar":"𪻨","unicodeCodePoint":"2AEE8","pinYinChars":[{"char":"DU2"}],"splitChars":[{"char":"王卖"}],"weight":"10"},{"charId":"55cdc74b","unicodeChar":"𪻥","unicodeCodePoint":"2AEE5","pinYinChars":[{"char":"王 亨"}],"splitChars":[],"weight":"10"},{"charId":"10440308","unicodeChar":"𪻍","unicodeCodePoint":"2AECD","pinYinChars":[{"char":"王 又"}],"splitChars":[],"weight":"10"},{"charId":"41a05b01","unicodeChar":"𪹨","unicodeCodePoint":"2AE68","pinYinChars":[{"char":"火 庸"}],"splitChars":[],"weight":"10"},{"charId":"72aa5aca","unicodeChar":"𪸩","unicodeCodePoint":"2AE29","pinYinChars":[{"char":"HUI1"}],"splitChars":[{"char":"火军"}],"weight":"10"},{"charId":"ea834fd9","unicodeChar":"𪷽","unicodeCodePoint":"2ADFD","pinYinChars":[{"char":"ZAN4"}],"splitChars":[{"char":"氵赞"}],"weight":"10"},{"charId":"9e1c2762","unicodeChar":"𪷰","unicodeCodePoint":"2ADF0","pinYinChars":[{"char":"氵 韶"}],"splitChars":[],"weight":"10"},{"charId":"0665a992","unicodeChar":"𪷦","unicodeCodePoint":"2ADE6","pinYinChars":[{"char":"氵 運"}],"splitChars":[],"weight":"10"},{"charId":"2bc6e6d4","unicodeChar":"𪷤","unicodeCodePoint":"2ADE4","pinYinChars":[{"char":"lin3"}],"splitChars":[{"char":"氵 禀"}],"weight":"10"},{"charId":"aefe43ea","unicodeChar":"𪷛","unicodeCodePoint":"2ADDB","pinYinChars":[{"char":"氵 富"}],"splitChars":[],"weight":"10"},{"charId":"7486ec22","unicodeChar":"𪷍","unicodeCodePoint":"2ADCD","pinYinChars":[{"char":"QING4"}],"splitChars":[{"char":"氵靓"}],"weight":"10"},{"charId":"1164528d","unicodeChar":"𪶒","unicodeCodePoint":"2AD92","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"氵罗"}],"weight":"10"},{"charId":"03eb53c3","unicodeChar":"𪴯","unicodeCodePoint":"2AD2F","pinYinChars":[{"char":"e1"},{"char":"e4"}],"splitChars":[{"char":"显 欠"}],"weight":"10"},{"charId":"a0bcf97d","unicodeChar":"𪴙","unicodeCodePoint":"2AD19","pinYinChars":[{"char":"CUAN2"}],"splitChars":[{"char":"木赞"}],"weight":"10"},{"charId":"b1df2d94","unicodeChar":"𪳍","unicodeCodePoint":"2ACCD","pinYinChars":[{"char":"SHE4"}],"splitChars":[{"char":"木聂"}],"weight":"10"},{"charId":"eaca294c","unicodeChar":"𪳉","unicodeCodePoint":"2ACC9","pinYinChars":[{"char":"木 心"}],"splitChars":[],"weight":"10"},{"charId":"021e7bbc","unicodeChar":"𪲎","unicodeCodePoint":"2AC8E","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"木齐"}],"weight":"10"},{"charId":"bbd0c67f","unicodeChar":"𪱷","unicodeCodePoint":"2AC77","pinYinChars":[{"char":"BEI4"}],"splitChars":[{"char":"木贝"}],"weight":"10"},{"charId":"640596b3","unicodeChar":"𪱚","unicodeCodePoint":"2AC5A","pinYinChars":[{"char":"月 上"}],"splitChars":[],"weight":"10"},{"charId":"e8fb49f9","unicodeChar":"𪰶","unicodeCodePoint":"2AC36","pinYinChars":[{"char":"FEI4"}],"splitChars":[{"char":"日费"}],"weight":"10"},{"charId":"1dca25d9","unicodeChar":"𪰣","unicodeCodePoint":"2AC23","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"日羽"}],"weight":"10"},{"charId":"a3575112","unicodeChar":"𪮢","unicodeCodePoint":"2ABA2","pinYinChars":[{"char":"扌 原"}],"splitChars":[],"weight":"10"},{"charId":"a6821b71","unicodeChar":"𪭷","unicodeCodePoint":"2AB77","pinYinChars":[{"char":"bao4"}],"splitChars":[{"char":"扌呆"}],"weight":"10"},{"charId":"12039732","unicodeChar":"𪭝","unicodeCodePoint":"2AB5D","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"扌韦"}],"weight":"10"},{"charId":"c3fd50b2","unicodeChar":"𪬏","unicodeCodePoint":"2AB0F","pinYinChars":[{"char":"hang"}],"splitChars":[{"char":"忄 香"}],"weight":"10"},{"charId":"d1140cfa","unicodeChar":"𪪏","unicodeCodePoint":"2AA8F","pinYinChars":[{"char":"lu2"}],"splitChars":[{"char":"广 卢"}],"weight":"10"},{"charId":"6f62acdd","unicodeChar":"𪨷","unicodeCodePoint":"2AA37","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"山严"}],"weight":"10"},{"charId":"a9409e7e","unicodeChar":"𪨊","unicodeCodePoint":"2AA0A","pinYinChars":[{"char":"SONG2"}],"splitChars":[{"char":"尸从"}],"weight":"10"},{"charId":"d1235811","unicodeChar":"𪨇","unicodeCodePoint":"2AA07","pinYinChars":[{"char":"TUI2"}],"splitChars":[{"char":"兀贵"}],"weight":"10"},{"charId":"f95d5fce","unicodeChar":"𪥿","unicodeCodePoint":"2A97F","pinYinChars":[{"char":"DU2"}],"splitChars":[{"char":"女卖"}],"weight":"10"},{"charId":"2d0178f3","unicodeChar":"𪤕","unicodeCodePoint":"2A915","pinYinChars":[{"char":"chan3"}],"splitChars":[{"char":"土產"}],"weight":"10"},{"charId":"630c38ec","unicodeChar":"𪤓","unicodeCodePoint":"2A913","pinYinChars":[{"char":"土敏"}],"splitChars":[],"weight":"10"},{"charId":"0269e7ca","unicodeChar":"𪢷","unicodeCodePoint":"2A8B7","pinYinChars":[{"char":"土亡"}],"splitChars":[],"weight":"10"},{"charId":"5f6e2ccc","unicodeChar":"𪢮","unicodeCodePoint":"2A8AE","pinYinChars":[{"char":"LUAN2"}],"splitChars":[{"char":"囗栾"}],"weight":"10"},{"charId":"c7086281","unicodeChar":"𪢐","unicodeCodePoint":"2A890","pinYinChars":[{"char":"LAI4"}],"splitChars":[{"char":"口赖"}],"weight":"10"},{"charId":"80860788","unicodeChar":"𪢂","unicodeCodePoint":"2A882","pinYinChars":[{"char":"口着"}],"splitChars":[],"weight":"10"},{"charId":"d7fe4f0e","unicodeChar":"𪡗","unicodeCodePoint":"2A857","pinYinChars":[{"char":"han"}],"splitChars":[{"char":"口欣"}],"weight":"10"},{"charId":"14090e4f","unicodeChar":"𪡋","unicodeCodePoint":"2A84B","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"口佥"}],"weight":"10"},{"charId":"8775584d","unicodeChar":"𪡀","unicodeCodePoint":"2A840","pinYinChars":[{"char":"QIAO2"}],"splitChars":[{"char":"口乔"}],"weight":"10"},{"charId":"b212f7b3","unicodeChar":"𪞝","unicodeCodePoint":"2A79D","pinYinChars":[{"char":"DUO2"}],"splitChars":[{"char":"冫𠬤"}],"weight":"10"},{"charId":"74a72a09","unicodeChar":"𪜐","unicodeCodePoint":"2A710","pinYinChars":[{"char":"wa1"},{"char":"wa2"},{"char":"wa4"},{"char":"hua4"}],"splitChars":[{"char":"乙化"}],"weight":"10"},{"charId":"6a0e8a34","unicodeChar":"𪌙","unicodeCodePoint":"2A319","pinYinChars":[{"char":"SHU2"}],"splitChars":[{"char":"麥戊"}],"weight":"10"},{"charId":"4537da2d","unicodeChar":"𪋫","unicodeCodePoint":"2A2EB","pinYinChars":[{"char":"YE4"}],"splitChars":[{"char":"鹿業"}],"weight":"10"},{"charId":"bcf2bb14","unicodeChar":"𪋟","unicodeCodePoint":"2A2DF","pinYinChars":[{"char":"zhang1"}],"splitChars":[{"char":"鹿 章"}],"weight":"10"},{"charId":"6ba0f772","unicodeChar":"𪊿","unicodeCodePoint":"2A2BF","pinYinChars":[{"char":"lin2"}],"splitChars":[{"char":"鹿 谷"}],"weight":"10"},{"charId":"7b86b31c","unicodeChar":"𪊸","unicodeCodePoint":"2A2B8","pinYinChars":[{"char":"TU2"}],"splitChars":[{"char":"鹿余"}],"weight":"10"},{"charId":"b3829570","unicodeChar":"𪊲","unicodeCodePoint":"2A2B2","pinYinChars":[{"char":"lin2"}],"splitChars":[{"char":"鹿各"}],"weight":"10"},{"charId":"549e4d33","unicodeChar":"𪊟","unicodeCodePoint":"2A29F","pinYinChars":[{"char":"sheng1"}],"splitChars":[{"char":"鹿 生"}],"weight":"10"},{"charId":"3908c51b","unicodeChar":"𪊖","unicodeCodePoint":"2A296","pinYinChars":[{"char":"HU3"}],"splitChars":[{"char":"鹿勿"}],"weight":"10"},{"charId":"b88d2e31","unicodeChar":"𪉓","unicodeCodePoint":"2A253","pinYinChars":[{"char":"NIAO3"}],"splitChars":[{"char":"鸟鸟鸟"}],"weight":"10"},{"charId":"128833c6","unicodeChar":"𪉊","unicodeCodePoint":"2A24A","pinYinChars":[{"char":"HUA2"}],"splitChars":[{"char":"华鸟"}],"weight":"10"},{"charId":"cbc56806","unicodeChar":"𪉈","unicodeCodePoint":"2A248","pinYinChars":[{"char":"CI2"}],"splitChars":[{"char":"此鸟"}],"weight":"10"},{"charId":"bb6ec58c","unicodeChar":"𪉃","unicodeCodePoint":"2A243","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"文鸟"}],"weight":"10"},{"charId":"f7f6d0b1","unicodeChar":"𪆫","unicodeCodePoint":"2A1AB","pinYinChars":[{"char":"QU2"}],"splitChars":[{"char":"鳥渠"}],"weight":"10"},{"charId":"f979e315","unicodeChar":"𪆉","unicodeCodePoint":"2A189","pinYinChars":[{"char":"KOU4"}],"splitChars":[{"char":"十冖隹鳥"}],"weight":"10"},{"charId":"2ba168fd","unicodeChar":"𪃸","unicodeCodePoint":"2A0F8","pinYinChars":[{"char":"zhan1"}],"splitChars":[{"char":"枼 鳥"}],"weight":"10"},{"charId":"4dc24d9e","unicodeChar":"𪁌","unicodeCodePoint":"2A04C","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"赤鳥"}],"weight":"10"},{"charId":"3d549699","unicodeChar":"𩷔","unicodeCodePoint":"29DD4","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"魚辛"}],"weight":"10"},{"charId":"3037a598","unicodeChar":"𩵴","unicodeCodePoint":"29D74","pinYinChars":[{"char":"mu4"}],"splitChars":[{"char":"木 魚"}],"weight":"10"},{"charId":"5f9c1ce1","unicodeChar":"𩵮","unicodeCodePoint":"29D6E","pinYinChars":[{"char":"SHA1"}],"splitChars":[{"char":"少魚"}],"weight":"10"},{"charId":"19094dd2","unicodeChar":"𩵋","unicodeCodePoint":"29D4B","pinYinChars":[{"char":"YU2"}],"splitChars":[{"char":"⺈田大"}],"weight":"10"},{"charId":"c5b268e6","unicodeChar":"𩮪","unicodeCodePoint":"29BAA","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"髟罒一心"}],"weight":"10"},{"charId":"679007e4","unicodeChar":"𩫇","unicodeCodePoint":"29AC7","pinYinChars":[{"char":"AI3"}],"splitChars":[{"char":"不高"}],"weight":"10"},{"charId":"9ebd478c","unicodeChar":"𩪆","unicodeCodePoint":"29A86","pinYinChars":[{"char":"TI3"}],"splitChars":[{"char":"骨骨"}],"weight":"10"},{"charId":"9a5331d5","unicodeChar":"𩨎","unicodeCodePoint":"29A0E","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"马 異"}],"weight":"10"},{"charId":"6f4d91ed","unicodeChar":"𩨄","unicodeCodePoint":"29A04","pinYinChars":[{"char":"SOU1"}],"splitChars":[{"char":"马叟"}],"weight":"10"},{"charId":"1edf0d34","unicodeChar":"𩨂","unicodeCodePoint":"29A02","pinYinChars":[{"char":"CONG1"}],"splitChars":[{"char":"马总"}],"weight":"10"},{"charId":"ead371ac","unicodeChar":"𩨁","unicodeCodePoint":"29A01","pinYinChars":[{"char":"CHUN3"}],"splitChars":[{"char":"马春"}],"weight":"10"},{"charId":"e64b2439","unicodeChar":"𩨀","unicodeCodePoint":"29A00","pinYinChars":[{"char":"GE2"}],"splitChars":[{"char":"马曷"}],"weight":"10"},{"charId":"d22fe73b","unicodeChar":"𩧼","unicodeCodePoint":"299FC","pinYinChars":[{"char":"BEN1"}],"splitChars":[{"char":"马奔"}],"weight":"10"},{"charId":"8b2f658c","unicodeChar":"𩧴","unicodeCodePoint":"299F4","pinYinChars":[{"char":"QUAN1"}],"splitChars":[{"char":"马全"}],"weight":"10"},{"charId":"7d3766f4","unicodeChar":"𩧳","unicodeCodePoint":"299F3","pinYinChars":[{"char":"ZHOU1"}],"splitChars":[{"char":"马舟"}],"weight":"10"},{"charId":"11f2197d","unicodeChar":"𩧲","unicodeCodePoint":"299F2","pinYinChars":[{"char":"DONG4"}],"splitChars":[{"char":"马同"}],"weight":"10"},{"charId":"308647d6","unicodeChar":"𩧰","unicodeCodePoint":"299F0","pinYinChars":[{"char":"HUN2"}],"splitChars":[{"char":"马军"}],"weight":"10"},{"charId":"f98fa083","unicodeChar":"𩧭","unicodeCodePoint":"299ED","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"马失"}],"weight":"10"},{"charId":"77f00d09","unicodeChar":"𩧫","unicodeCodePoint":"299EB","pinYinChars":[{"char":"YANG3"}],"splitChars":[{"char":"马央"}],"weight":"10"},{"charId":"c61cee5a","unicodeChar":"𩧪","unicodeCodePoint":"299EA","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"马龙"}],"weight":"10"},{"charId":"f5f7af1d","unicodeChar":"𩧢","unicodeCodePoint":"299E2","pinYinChars":[{"char":"CHENG3"}],"splitChars":[{"char":"馬騳"}],"weight":"10"},{"charId":"8d7ff4c8","unicodeChar":"𩧂","unicodeCodePoint":"299C2","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"馬樂"}],"weight":"10"},{"charId":"bb8772a0","unicodeChar":"𩦐","unicodeCodePoint":"29990","pinYinChars":[{"char":"SHAN4"}],"splitChars":[{"char":"馬善"}],"weight":"10"},{"charId":"e7c98a5e","unicodeChar":"𩥪","unicodeCodePoint":"2996A","pinYinChars":[{"char":"馬 夆"}],"splitChars":[],"weight":"10"},{"charId":"113a77c0","unicodeChar":"𩤮","unicodeCodePoint":"2992E","pinYinChars":[{"char":"wei3"}],"splitChars":[{"char":"馬 韋"}],"weight":"10"},{"charId":"ab208242","unicodeChar":"𩤅","unicodeCodePoint":"29905","pinYinChars":[{"char":"ju4"}],"splitChars":[{"char":"馬 居"}],"weight":"10"},{"charId":"1d9d9a18","unicodeChar":"𩣑","unicodeCodePoint":"298D1","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"馬安"}],"weight":"10"},{"charId":"5b6f973f","unicodeChar":"𩣌","unicodeCodePoint":"298CC","pinYinChars":[{"char":"QU1"}],"splitChars":[{"char":"馬业馬丱一"}],"weight":"10"},{"charId":"11550dd9","unicodeChar":"𩣆","unicodeCodePoint":"298C6","pinYinChars":[{"char":"馬羊"}],"splitChars":[],"weight":"10"},{"charId":"eea600ae","unicodeChar":"𩢤","unicodeCodePoint":"298A4","pinYinChars":[{"char":"馬 玉"}],"splitChars":[],"weight":"10"},{"charId":"e36dccda","unicodeChar":"𩡐","unicodeCodePoint":"29850","pinYinChars":[{"char":"XIANG1"}],"splitChars":[{"char":"香香"}],"weight":"10"},{"charId":"da6ee34c","unicodeChar":"𩡄","unicodeCodePoint":"29844","pinYinChars":[{"char":"TAN2"}],"splitChars":[{"char":"香禾"}],"weight":"10"},{"charId":"32ef77b4","unicodeChar":"𩞦","unicodeCodePoint":"297A6","pinYinChars":[{"char":"CHENG1"}],"splitChars":[{"char":"飠掌"}],"weight":"10"},{"charId":"c239ea15","unicodeChar":"𩝱","unicodeCodePoint":"29771","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"食 益"}],"weight":"10"},{"charId":"fb1ef091","unicodeChar":"𩙪","unicodeCodePoint":"2966A","pinYinChars":[{"char":"BIAO1"}],"splitChars":[{"char":"风炎"}],"weight":"10"},{"charId":"d01f3558","unicodeChar":"𩙦","unicodeCodePoint":"29666","pinYinChars":[{"char":"BO2"}],"splitChars":[{"char":"风白"}],"weight":"10"},{"charId":"190167e3","unicodeChar":"𩗹","unicodeCodePoint":"295F9","pinYinChars":[{"char":"biao1"}],"splitChars":[{"char":"炎 風"}],"weight":"10"},{"charId":"a5ca3932","unicodeChar":"𩖧","unicodeCodePoint":"295A7","pinYinChars":[{"char":"BIAO1"}],"splitChars":[{"char":"風火"}],"weight":"10"},{"charId":"7dd31819","unicodeChar":"𩖢","unicodeCodePoint":"295A2","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"風厷"}],"weight":"10"},{"charId":"dd8f49cd","unicodeChar":"𩖖","unicodeCodePoint":"29596","pinYinChars":[{"char":"TAN2"}],"splitChars":[{"char":"炎页"}],"weight":"10"},{"charId":"c7d0eaf4","unicodeChar":"𩖏","unicodeCodePoint":"2958F","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"頁𩔊"}],"weight":"10"},{"charId":"ccf821f6","unicodeChar":"𩕟","unicodeCodePoint":"2955F","pinYinChars":[{"char":"E4"}],"splitChars":[{"char":"業頁"}],"weight":"10"},{"charId":"2516ef9f","unicodeChar":"𩔗","unicodeCodePoint":"29517","pinYinChars":[{"char":"LEI4"}],"splitChars":[{"char":"娄頁"}],"weight":"10"},{"charId":"699c2382","unicodeChar":"𩓐","unicodeCodePoint":"294D0","pinYinChars":[{"char":"BO2"}],"splitChars":[{"char":"孛頁"}],"weight":"10"},{"charId":"5ee75f75","unicodeChar":"𩓁","unicodeCodePoint":"294C1","pinYinChars":[{"char":"AO4"}],"splitChars":[{"char":"𫠤頁土方頁"}],"weight":"10"},{"charId":"d8324ff9","unicodeChar":"𩒗","unicodeCodePoint":"29497","pinYinChars":[{"char":"DONG3"}],"splitChars":[{"char":"同頁"}],"weight":"10"},{"charId":"1810f541","unicodeChar":"𩐳","unicodeCodePoint":"29433","pinYinChars":[{"char":"yun4"}],"splitChars":[{"char":"音 頁"}],"weight":"10"},{"charId":"b00d9123","unicodeChar":"𩎸","unicodeCodePoint":"293B8","pinYinChars":[{"char":"QUAN4"}],"splitChars":[{"char":"韋卷"}],"weight":"10"},{"charId":"5a112814","unicodeChar":"𩎣","unicodeCodePoint":"293A3","pinYinChars":[{"char":"TAO2"}],"splitChars":[{"char":"韋召"}],"weight":"10"},{"charId":"a505a2b5","unicodeChar":"𩋾","unicodeCodePoint":"292FE","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"革韋"}],"weight":"10"},{"charId":"03827e8a","unicodeChar":"𩈳","unicodeCodePoint":"29233","pinYinChars":[{"char":"MIAN3"}],"splitChars":[{"char":"面面"}],"weight":"10"},{"charId":"b33f7d93","unicodeChar":"𩇛","unicodeCodePoint":"291DB","pinYinChars":[{"char":"QING2"}],"splitChars":[{"char":"生青"}],"weight":"10"},{"charId":"95246fe0","unicodeChar":"𩇙","unicodeCodePoint":"291D9","pinYinChars":[{"char":"ling2"}],"splitChars":[{"char":"青 令"}],"weight":"10"},{"charId":"f3b9241b","unicodeChar":"𩅣","unicodeCodePoint":"29163","pinYinChars":[{"char":"DUI4"}],"splitChars":[{"char":"雲云云"}],"weight":"10"},{"charId":"2e807f22","unicodeChar":"𩄄","unicodeCodePoint":"29104","pinYinChars":[{"char":"JI4"}],"splitChars":[{"char":"雨春"}],"weight":"10"},{"charId":"f0da6c04","unicodeChar":"𩂰","unicodeCodePoint":"290B0","pinYinChars":[{"char":"雨 如"}],"splitChars":[],"weight":"10"},{"charId":"c120d5df","unicodeChar":"𩂮","unicodeCodePoint":"290AE","pinYinChars":[{"char":"mi3"}],"splitChars":[{"char":"雨米"}],"weight":"10"},{"charId":"d471fd5d","unicodeChar":"𩂉","unicodeCodePoint":"29089","pinYinChars":[{"char":"XU1"}],"splitChars":[{"char":"雨天"}],"weight":"10"},{"charId":"1812edf9","unicodeChar":"𩁻","unicodeCodePoint":"2907B","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"雨女"}],"weight":"10"},{"charId":"0025e8a5","unicodeChar":"𩁸","unicodeCodePoint":"29078","pinYinChars":[{"char":"ji1"}],"splitChars":[{"char":"雨 几"}],"weight":"10"},{"charId":"82f249d4","unicodeChar":"𨾷","unicodeCodePoint":"28FB7","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"先隹"}],"weight":"10"},{"charId":"78a7b825","unicodeChar":"𨺽","unicodeCodePoint":"28EBD","pinYinChars":[{"char":"DUAN4"}],"splitChars":[{"char":"阝叚"}],"weight":"10"},{"charId":"201e44c6","unicodeChar":"𨺋","unicodeCodePoint":"28E8B","pinYinChars":[{"char":"wan3"}],"splitChars":[{"char":"阝 宛"}],"weight":"10"},{"charId":"4cf377bb","unicodeChar":"𨹫","unicodeCodePoint":"28E6B","pinYinChars":[{"char":"LEI3"}],"splitChars":[{"char":"阝坐"}],"weight":"10"},{"charId":"dd0d95aa","unicodeChar":"𨹂","unicodeCodePoint":"28E42","pinYinChars":[{"char":"GUANG1"}],"splitChars":[{"char":"阝光"}],"weight":"10"},{"charId":"13a0bc2f","unicodeChar":"𨸬","unicodeCodePoint":"28E2C","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"阝申"}],"weight":"10"},{"charId":"1566d5ef","unicodeChar":"𨸖","unicodeCodePoint":"28E16","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"阝工"}],"weight":"10"},{"charId":"a95c5d7a","unicodeChar":"𨸁","unicodeCodePoint":"28E01","pinYinChars":[{"char":"TING3"}],"splitChars":[{"char":"门亡"}],"weight":"10"},{"charId":"ca92a4cb","unicodeChar":"𨱓","unicodeCodePoint":"28C53","pinYinChars":[{"char":"JIAO1"}],"splitChars":[{"char":"钅焦"}],"weight":"10"},{"charId":"d8150258","unicodeChar":"𨱍","unicodeCodePoint":"28C4D","pinYinChars":[{"char":"LUO3"}],"splitChars":[{"char":"钅郎"}],"weight":"10"},{"charId":"3414249e","unicodeChar":"𨱋","unicodeCodePoint":"28C4B","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"钅夌"}],"weight":"10"},{"charId":"b48d0557","unicodeChar":"𨱉","unicodeCodePoint":"28C49","pinYinChars":[{"char":"LIANG4"}],"splitChars":[{"char":"钅京"}],"weight":"10"},{"charId":"788af2e8","unicodeChar":"𨱆","unicodeCodePoint":"28C46","pinYinChars":[{"char":"wu4"}],"splitChars":[{"char":"钅 戊"}],"weight":"10"},{"charId":"a397e2c9","unicodeChar":"𨱅","unicodeCodePoint":"28C45","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[{"char":"钅㐱"}],"weight":"10"},{"charId":"be9b69f3","unicodeChar":"𨰦","unicodeCodePoint":"28C26","pinYinChars":[{"char":"BAO3"}],"splitChars":[{"char":"金寳"}],"weight":"10"},{"charId":"8b86da92","unicodeChar":"𨫼","unicodeCodePoint":"28AFC","pinYinChars":[{"char":"AO4"}],"splitChars":[{"char":"金敖"}],"weight":"10"},{"charId":"24d33dd2","unicodeChar":"𨫟","unicodeCodePoint":"28ADF","pinYinChars":[{"char":"金 梁"}],"splitChars":[],"weight":"10"},{"charId":"79fb8456","unicodeChar":"𨩉","unicodeCodePoint":"28A49","pinYinChars":[{"char":"金 奂"}],"splitChars":[],"weight":"10"},{"charId":"02c71d7a","unicodeChar":"𨧿","unicodeCodePoint":"289FF","pinYinChars":[{"char":"ying2"}],"splitChars":[{"char":"火 金"}],"weight":"10"},{"charId":"9d77ba9c","unicodeChar":"𨧸","unicodeCodePoint":"289F8","pinYinChars":[{"char":"pan4"}],"splitChars":[{"char":"板金"}],"weight":"10"},{"charId":"16366abc","unicodeChar":"𨦠","unicodeCodePoint":"289A0","pinYinChars":[{"char":"ZI1"}],"splitChars":[{"char":"次金"}],"weight":"10"},{"charId":"3f471af8","unicodeChar":"𨥽","unicodeCodePoint":"2897D","pinYinChars":[{"char":"xing2"},{"char":"jian1"}],"splitChars":[{"char":"金冋"}],"weight":"10"},{"charId":"c72d1aa2","unicodeChar":"𨥨","unicodeCodePoint":"28968","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"金矛"}],"weight":"10"},{"charId":"a15de9fb","unicodeChar":"𨥒","unicodeCodePoint":"28952","pinYinChars":[{"char":"JUN1"}],"splitChars":[{"char":"匀金勻金"}],"weight":"10"},{"charId":"97dd9eb6","unicodeChar":"𨤍","unicodeCodePoint":"2890D","pinYinChars":[{"char":"ling2"}],"splitChars":[{"char":"酉 靈"}],"weight":"10"},{"charId":"090e5206","unicodeChar":"𨢤","unicodeCodePoint":"288A4","pinYinChars":[{"char":"HU2"}],"splitChars":[{"char":"殸酉"}],"weight":"10"},{"charId":"2aeafc8e","unicodeChar":"𨠫","unicodeCodePoint":"2882B","pinYinChars":[{"char":"酋 尤"}],"splitChars":[],"weight":"10"},{"charId":"c8dd01c0","unicodeChar":"𨠠","unicodeCodePoint":"28820","pinYinChars":[{"char":"TI3"}],"splitChars":[{"char":"酉生"}],"weight":"10"},{"charId":"59ec5474","unicodeChar":"𨠄","unicodeCodePoint":"28804","pinYinChars":[{"char":"酉 尤"}],"splitChars":[],"weight":"10"},{"charId":"28d53293","unicodeChar":"𨞹","unicodeCodePoint":"287B9","pinYinChars":[{"char":"BIN1"}],"splitChars":[{"char":"𧇃阝"}],"weight":"10"},{"charId":"9732508a","unicodeChar":"𨝗","unicodeCodePoint":"28757","pinYinChars":[{"char":"SHANG1"}],"splitChars":[{"char":"商阝"}],"weight":"10"},{"charId":"9b2e761c","unicodeChar":"𨛁","unicodeCodePoint":"286C1","pinYinChars":[{"char":"BANG1"}],"splitChars":[{"char":"羊阝"}],"weight":"10"},{"charId":"c7e00f7f","unicodeChar":"𨚓","unicodeCodePoint":"28693","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"弗阝"}],"weight":"10"},{"charId":"66cd2614","unicodeChar":"𨗄","unicodeCodePoint":"285C4","pinYinChars":[{"char":"LIN4"}],"splitChars":[{"char":"辶焱"}],"weight":"10"},{"charId":"ab6922f9","unicodeChar":"𨖴","unicodeCodePoint":"285B4","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"辶無"}],"weight":"10"},{"charId":"f76531ee","unicodeChar":"𨕱","unicodeCodePoint":"28571","pinYinChars":[{"char":"feng1"}],"splitChars":[{"char":"辶 峯"}],"weight":"10"},{"charId":"9cc8aa27","unicodeChar":"𨕅","unicodeCodePoint":"28545","pinYinChars":[{"char":"yin1"}],"splitChars":[{"char":"辶 土"}],"weight":"10"},{"charId":"0d195ef5","unicodeChar":"𨔝","unicodeCodePoint":"2851D","pinYinChars":[{"char":"DONG4"}],"splitChars":[{"char":"辶重"}],"weight":"10"},{"charId":"a7838504","unicodeChar":"𨔛","unicodeCodePoint":"2851B","pinYinChars":[{"char":"TI1"}],"splitChars":[{"char":"辶虎"}],"weight":"10"},{"charId":"f39313c0","unicodeChar":"𨓦","unicodeCodePoint":"284E6","pinYinChars":[{"char":"LI3"}],"splitChars":[{"char":"辶里"}],"weight":"10"},{"charId":"6a923067","unicodeChar":"𨒿","unicodeCodePoint":"284BF","pinYinChars":[{"char":"QIAN1"}],"splitChars":[{"char":"辶覀"}],"weight":"10"},{"charId":"fd44eaf0","unicodeChar":"𨒗","unicodeCodePoint":"28497","pinYinChars":[{"char":"yong4"}],"splitChars":[{"char":"辶用"}],"weight":"10"},{"charId":"52d45145","unicodeChar":"𨑸","unicodeCodePoint":"28478","pinYinChars":[{"char":"ER3"}],"splitChars":[{"char":"辶介"}],"weight":"10"},{"charId":"73c4df49","unicodeChar":"𨑳","unicodeCodePoint":"28473","pinYinChars":[{"char":"wang4"},{"char":"kuang1"},{"char":"ting2"}],"splitChars":[{"char":"辶 壬"}],"weight":"10"},{"charId":"5914d3c0","unicodeChar":"𨑧","unicodeCodePoint":"28467","pinYinChars":[{"char":"TUI4"}],"splitChars":[{"char":"辶内辶內"}],"weight":"10"},{"charId":"a9bbf2f7","unicodeChar":"𨑙","unicodeCodePoint":"28459","pinYinChars":[{"char":"fan2"}],"splitChars":[{"char":"辶凡"}],"weight":"10"},{"charId":"6d0a624d","unicodeChar":"𨑒","unicodeCodePoint":"28452","pinYinChars":[{"char":"TU2"}],"splitChars":[{"char":"辶土"}],"weight":"10"},{"charId":"1f836aed","unicodeChar":"𨑍","unicodeCodePoint":"2844D","pinYinChars":[{"char":"GUI3"}],"splitChars":[{"char":"辶九"}],"weight":"10"},{"charId":"a78ddd43","unicodeChar":"𨐚","unicodeCodePoint":"2841A","pinYinChars":[{"char":"qun2"}],"splitChars":[{"char":"君 辛"}],"weight":"10"},{"charId":"7a9e6bdf","unicodeChar":"𨐇","unicodeCodePoint":"28407","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"车龙"}],"weight":"10"},{"charId":"5a401b86","unicodeChar":"𨉣","unicodeCodePoint":"28263","pinYinChars":[{"char":"HA1"}],"splitChars":[{"char":"身叚"}],"weight":"10"},{"charId":"2181692d","unicodeChar":"𨈒","unicodeCodePoint":"28212","pinYinChars":[{"char":"身卜"}],"splitChars":[],"weight":"10"},{"charId":"ecade918","unicodeChar":"𨆢","unicodeCodePoint":"281A2","pinYinChars":[{"char":"足 雷"}],"splitChars":[],"weight":"10"},{"charId":"5aa74b32","unicodeChar":"𨂂","unicodeCodePoint":"28082","pinYinChars":[{"char":"ZHI2"}],"splitChars":[{"char":"𧾷炙"}],"weight":"10"},{"charId":"d44a983a","unicodeChar":"𨀍","unicodeCodePoint":"2800D","pinYinChars":[{"char":"YONG1"},{"char":"LA2"}],"splitChars":[{"char":"𧾷用"}],"weight":"10"},{"charId":"c4e8c9a5","unicodeChar":"𨀁","unicodeCodePoint":"28001","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"𧾷龙"}],"weight":"10"},{"charId":"b8c14d36","unicodeChar":"𧿬","unicodeCodePoint":"27FEC","pinYinChars":[{"char":"dun1"}],"splitChars":[{"char":"𧾷屯"}],"weight":"10"},{"charId":"39657892","unicodeChar":"𧿛","unicodeCodePoint":"27FDB","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"𧾷从"}],"weight":"10"},{"charId":"3c49d661","unicodeChar":"𧿈","unicodeCodePoint":"27FC8","pinYinChars":[{"char":"KUANG4"}],"splitChars":[{"char":"𧾷广"}],"weight":"10"},{"charId":"05486ec3","unicodeChar":"𧽘","unicodeCodePoint":"27F58","pinYinChars":[{"char":"ru4"}],"splitChars":[{"char":"走 辱"}],"weight":"10"},{"charId":"19015dad","unicodeChar":"𧻉","unicodeCodePoint":"27EC9","pinYinChars":[{"char":"you4"}],"splitChars":[{"char":"走 由"}],"weight":"10"},{"charId":"ea75741e","unicodeChar":"𧺴","unicodeCodePoint":"27EB4","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"走午"}],"weight":"10"},{"charId":"d9b39aac","unicodeChar":"𧺌","unicodeCodePoint":"27E8C","pinYinChars":[{"char":"ru4"}],"splitChars":[{"char":"走入"}],"weight":"10"},{"charId":"b8335ea4","unicodeChar":"𧹜","unicodeCodePoint":"27E5C","pinYinChars":[{"char":"nan3"}],"splitChars":[{"char":"赤 及"}],"weight":"10"},{"charId":"dcb3973c","unicodeChar":"𧹗","unicodeCodePoint":"27E57","pinYinChars":[{"char":"WAN4"}],"splitChars":[{"char":"贝患"}],"weight":"10"},{"charId":"1e951de1","unicodeChar":"𧹒","unicodeCodePoint":"27E52","pinYinChars":[{"char":"MAAI5"}],"splitChars":[{"char":"罒贝"}],"weight":"10"},{"charId":"3bb6379e","unicodeChar":"𧸩","unicodeCodePoint":"27E29","pinYinChars":[{"char":"XUN4"}],"splitChars":[{"char":"貝𥈠"}],"weight":"10"},{"charId":"c988aec4","unicodeChar":"𧵏","unicodeCodePoint":"27D4F","pinYinChars":[{"char":"SHAN3"}],"splitChars":[{"char":"外貝"}],"weight":"10"},{"charId":"b51ca582","unicodeChar":"𧴭","unicodeCodePoint":"27D2D","pinYinChars":[{"char":"SHAN3"}],"splitChars":[{"char":"彡貝"}],"weight":"10"},{"charId":"9e43d82d","unicodeChar":"𧳓","unicodeCodePoint":"27CD3","pinYinChars":[{"char":"mao4"},{"char":"lang2"}],"splitChars":[{"char":"豸良"}],"weight":"10"},{"charId":"5cbf9e8f","unicodeChar":"𧲣","unicodeCodePoint":"27CA3","pinYinChars":[{"char":"cai2"}],"splitChars":[{"char":"豸寸"}],"weight":"10"},{"charId":"1e9d5e35","unicodeChar":"𧯸","unicodeCodePoint":"27BF8","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"壹殳"}],"weight":"10"},{"charId":"6d9fb292","unicodeChar":"𧯙","unicodeCodePoint":"27BD9","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"谷靈"}],"weight":"10"},{"charId":"b9629b59","unicodeChar":"𧮲","unicodeCodePoint":"27BB2","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"⺊冖谷"}],"weight":"10"},{"charId":"bec25a7e","unicodeChar":"𧮢","unicodeCodePoint":"27BA2","pinYinChars":[{"char":"LEI3"}],"splitChars":[{"char":"言纍"}],"weight":"10"},{"charId":"f90b9d3b","unicodeChar":"𧭛","unicodeCodePoint":"27B5B","pinYinChars":[{"char":"TA4"}],"splitChars":[{"char":"言誩"}],"weight":"10"},{"charId":"6c7f482b","unicodeChar":"𧭙","unicodeCodePoint":"27B59","pinYinChars":[{"char":"meng2"}],"splitChars":[{"char":"言 豕"}],"weight":"10"},{"charId":"0b80636e","unicodeChar":"𧬸","unicodeCodePoint":"27B38","pinYinChars":[{"char":"言 誊"}],"splitChars":[],"weight":"10"},{"charId":"3e07c573","unicodeChar":"𧬤","unicodeCodePoint":"27B24","pinYinChars":[{"char":"ZHONG4"}],"splitChars":[{"char":"言童"}],"weight":"10"},{"charId":"05c911af","unicodeChar":"𧬁","unicodeCodePoint":"27B01","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"言臯"}],"weight":"10"},{"charId":"8e74d3ff","unicodeChar":"𧫦","unicodeCodePoint":"27AE6","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"殹言"}],"weight":"10"},{"charId":"5a422eb2","unicodeChar":"𧫙","unicodeCodePoint":"27AD9","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"言竟"}],"weight":"10"},{"charId":"cff09d2d","unicodeChar":"𧪽","unicodeCodePoint":"27ABD","pinYinChars":[{"char":"言 晋"}],"splitChars":[],"weight":"10"},{"charId":"9d029687","unicodeChar":"𧪼","unicodeCodePoint":"27ABC","pinYinChars":[{"char":"yun4"}],"splitChars":[{"char":"言員"}],"weight":"10"},{"charId":"536a829f","unicodeChar":"𧪙","unicodeCodePoint":"27A99","pinYinChars":[{"char":"AN2"}],"splitChars":[{"char":"言峲"}],"weight":"10"},{"charId":"e475f5a0","unicodeChar":"𧪏","unicodeCodePoint":"27A8F","pinYinChars":[{"char":"wei1"}],"splitChars":[{"char":"言 畏"}],"weight":"10"},{"charId":"a89cd78a","unicodeChar":"𧪍","unicodeCodePoint":"27A8D","pinYinChars":[{"char":"wen1"}],"splitChars":[{"char":"言昷"}],"weight":"10"},{"charId":"d0b5a717","unicodeChar":"𧪄","unicodeCodePoint":"27A84","pinYinChars":[{"char":"XUN4"}],"splitChars":[{"char":"言信"}],"weight":"10"},{"charId":"e5f18c7d","unicodeChar":"𧧹","unicodeCodePoint":"279F9","pinYinChars":[{"char":"XI4"}],"splitChars":[{"char":"亻只言"}],"weight":"10"},{"charId":"f64e21fa","unicodeChar":"𧦬","unicodeCodePoint":"279AC","pinYinChars":[{"char":"BIAN4"}],"splitChars":[{"char":"工几言"}],"weight":"10"},{"charId":"1b73c51e","unicodeChar":"𧦥","unicodeCodePoint":"279A5","pinYinChars":[{"char":"MOU2"}],"splitChars":[{"char":"母言"}],"weight":"10"},{"charId":"4e51fbbc","unicodeChar":"𧦉","unicodeCodePoint":"27989","pinYinChars":[{"char":"gai4"}],"splitChars":[{"char":"言 丐"}],"weight":"10"},{"charId":"4332ef2f","unicodeChar":"𧥿","unicodeCodePoint":"2797F","pinYinChars":[{"char":"XUN4"}],"splitChars":[{"char":"水言"}],"weight":"10"},{"charId":"b04ec1fa","unicodeChar":"𧤤","unicodeCodePoint":"27924","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"角隽"}],"weight":"10"},{"charId":"a0dd6c21","unicodeChar":"𧣾","unicodeCodePoint":"278FE","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"角虎"}],"weight":"10"},{"charId":"817348ee","unicodeChar":"𧢌","unicodeCodePoint":"2788C","pinYinChars":[{"char":"GAO1"}],"splitChars":[{"char":"臯見"}],"weight":"10"},{"charId":"e6887cfe","unicodeChar":"𧟪","unicodeCodePoint":"277EA","pinYinChars":[{"char":"ZHEN1"}],"splitChars":[{"char":"覀玉西玉"}],"weight":"10"},{"charId":"cd02800e","unicodeChar":"𧟑","unicodeCodePoint":"277D1","pinYinChars":[{"char":"QIAN1"}],"splitChars":[{"char":"衤騫"}],"weight":"10"},{"charId":"08d0e640","unicodeChar":"𧝈","unicodeCodePoint":"27748","pinYinChars":[{"char":"JIAO3"}],"splitChars":[{"char":"衤焦"}],"weight":"10"},{"charId":"e85e0221","unicodeChar":"𧜖","unicodeCodePoint":"27716","pinYinChars":[{"char":"chan3"}],"splitChars":[{"char":"衤真"}],"weight":"10"},{"charId":"c3f9fc71","unicodeChar":"𧜀","unicodeCodePoint":"27700","pinYinChars":[{"char":"MI4"}],"splitChars":[{"char":"衤冥"}],"weight":"10"},{"charId":"e925762b","unicodeChar":"𧛱","unicodeCodePoint":"276F1","pinYinChars":[{"char":"bao1"}],"splitChars":[{"char":"保衣"}],"weight":"10"},{"charId":"003d79d3","unicodeChar":"𧛑","unicodeCodePoint":"276D1","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"衤垔"}],"weight":"10"},{"charId":"c5b1c9e4","unicodeChar":"𧚮","unicodeCodePoint":"276AE","pinYinChars":[{"char":"DIAO3"}],"splitChars":[{"char":"衤隹"}],"weight":"10"},{"charId":"0bd3c4e7","unicodeChar":"𧚥","unicodeCodePoint":"276A5","pinYinChars":[{"char":"CUI4"}],"splitChars":[{"char":"衤取"}],"weight":"10"},{"charId":"5b8b1eef","unicodeChar":"𧚄","unicodeCodePoint":"27684","pinYinChars":[{"char":"E2"}],"splitChars":[{"char":"衤我"}],"weight":"10"},{"charId":"912453c6","unicodeChar":"𧙿","unicodeCodePoint":"2767F","pinYinChars":[{"char":"lv3"},{"char":"yi1"}],"splitChars":[{"char":"衤衣"}],"weight":"10"},{"charId":"d9eae094","unicodeChar":"𧙪","unicodeCodePoint":"2766A","pinYinChars":[{"char":"HUAI2"}],"splitChars":[{"char":"㐭𧘇"}],"weight":"10"},{"charId":"e8abc3ac","unicodeChar":"𧙟","unicodeCodePoint":"2765F","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"衤曳"}],"weight":"10"},{"charId":"c2762f3f","unicodeChar":"𧙗","unicodeCodePoint":"27657","pinYinChars":[{"char":"tuo1"}],"splitChars":[{"char":"衤右"}],"weight":"10"},{"charId":"d30d9643","unicodeChar":"𧙓","unicodeCodePoint":"27653","pinYinChars":[{"char":"zuo4"}],"splitChars":[{"char":"衤乍"}],"weight":"10"},{"charId":"b71322f4","unicodeChar":"𧘣","unicodeCodePoint":"27623","pinYinChars":[{"char":"ZHU1"}],"splitChars":[{"char":"衤殳"}],"weight":"10"},{"charId":"7956a532","unicodeChar":"𧘌","unicodeCodePoint":"2760C","pinYinChars":[{"char":"衤 乃"}],"splitChars":[],"weight":"10"},{"charId":"997e8f91","unicodeChar":"𧘋","unicodeCodePoint":"2760B","pinYinChars":[{"char":"PAN4"}],"splitChars":[{"char":"衤八"}],"weight":"10"},{"charId":"2f08c8a1","unicodeChar":"𧗪","unicodeCodePoint":"275EA","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"征亍"}],"weight":"10"},{"charId":"dba36dfc","unicodeChar":"𧗤","unicodeCodePoint":"275E4","pinYinChars":[{"char":"kan4"}],"splitChars":[{"char":"行 千"}],"weight":"10"},{"charId":"9d6e8e90","unicodeChar":"𧗝","unicodeCodePoint":"275DD","pinYinChars":[{"char":"GUI3"}],"splitChars":[{"char":"彳九亍"}],"weight":"10"},{"charId":"d2fd12ce","unicodeChar":"𧒌","unicodeCodePoint":"2748C","pinYinChars":[{"char":"虫路"}],"splitChars":[],"weight":"10"},{"charId":"0e02d532","unicodeChar":"𧐡","unicodeCodePoint":"27421","pinYinChars":[{"char":"hu2"},{"char":"ao2"}],"splitChars":[{"char":"殸虫"}],"weight":"10"},{"charId":"3858bceb","unicodeChar":"𧋨","unicodeCodePoint":"272E8","pinYinChars":[{"char":"tu2"}],"splitChars":[{"char":"虫走"}],"weight":"10"},{"charId":"12ec84eb","unicodeChar":"𧋄","unicodeCodePoint":"272C4","pinYinChars":[{"char":"qiong2"}],"splitChars":[{"char":"虫共"}],"weight":"10"},{"charId":"e77751cf","unicodeChar":"𧊐","unicodeCodePoint":"27290","pinYinChars":[{"char":"LV4"}],"splitChars":[{"char":"虫聿"}],"weight":"10"},{"charId":"f8f5b4ad","unicodeChar":"𧉼","unicodeCodePoint":"2727C","pinYinChars":[{"char":"li4"}],"splitChars":[{"char":"虫立"}],"weight":"10"},{"charId":"eafa00ec","unicodeChar":"𧈹","unicodeCodePoint":"27239","pinYinChars":[{"char":"ZAO3"}],"splitChars":[{"char":"大虫"}],"weight":"10"},{"charId":"8323333a","unicodeChar":"𧈳","unicodeCodePoint":"27233","pinYinChars":[{"char":"yin3"}],"splitChars":[{"char":"虫刃"}],"weight":"10"},{"charId":"7b7108a1","unicodeChar":"𧈮","unicodeCodePoint":"2722E","pinYinChars":[{"char":"YUAN2"}],"splitChars":[{"char":"虫丸"}],"weight":"10"},{"charId":"6793c17c","unicodeChar":"𧈫","unicodeCodePoint":"2722B","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"工虫"}],"weight":"10"},{"charId":"e0af74a3","unicodeChar":"𧅥","unicodeCodePoint":"27165","pinYinChars":[{"char":"艹 馨"}],"splitChars":[],"weight":"10"},{"charId":"6c2c2d34","unicodeChar":"𧄧","unicodeCodePoint":"27127","pinYinChars":[{"char":"yun4"}],"splitChars":[{"char":"艹 昷"}],"weight":"10"},{"charId":"c9cc4600","unicodeChar":"𧄦","unicodeCodePoint":"27126","pinYinChars":[{"char":"fu4"}],"splitChars":[{"char":"艹 馥"}],"weight":"10"},{"charId":"39869d85","unicodeChar":"𧄉","unicodeCodePoint":"27109","pinYinChars":[{"char":"zong3"}],"splitChars":[{"char":"艹 总"}],"weight":"10"},{"charId":"8a64e447","unicodeChar":"𧃲","unicodeCodePoint":"270F2","pinYinChars":[{"char":"MI2"}],"splitChars":[{"char":"艹糜"}],"weight":"10"},{"charId":"a236b568","unicodeChar":"𧃮","unicodeCodePoint":"270EE","pinYinChars":[{"char":"LIN2"}],"splitChars":[{"char":"艹燐"}],"weight":"10"},{"charId":"ebea3606","unicodeChar":"𧂮","unicodeCodePoint":"270AE","pinYinChars":[{"char":"艹 静"}],"splitChars":[],"weight":"10"},{"charId":"bb0784df","unicodeChar":"𧁎","unicodeCodePoint":"2704E","pinYinChars":[{"char":"KUI2"}],"splitChars":[{"char":"䒤冖政"}],"weight":"10"},{"charId":"04f976c2","unicodeChar":"𧁈","unicodeCodePoint":"27048","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"艹槷"}],"weight":"10"},{"charId":"e33b800b","unicodeChar":"𧀒","unicodeCodePoint":"27012","pinYinChars":[{"char":"艹嫩"}],"splitChars":[],"weight":"10"},{"charId":"94b065ae","unicodeChar":"𧀀","unicodeCodePoint":"27000","pinYinChars":[{"char":"yu4"}],"splitChars":[{"char":"艹 獄"}],"weight":"10"},{"charId":"4135bccd","unicodeChar":"𦿰","unicodeCodePoint":"26FF0","pinYinChars":[{"char":"ma3"}],"splitChars":[{"char":"艹 瑪"}],"weight":"10"},{"charId":"b59921f3","unicodeChar":"𦾯","unicodeCodePoint":"26FAF","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"艹緑艹綠"}],"weight":"10"},{"charId":"c9f1cb0c","unicodeChar":"𦾈","unicodeCodePoint":"26F88","pinYinChars":[{"char":"zao3"}],"splitChars":[{"char":"艹 喿"}],"weight":"10"},{"charId":"721e1c1e","unicodeChar":"𦽧","unicodeCodePoint":"26F67","pinYinChars":[{"char":"YOU3"}],"splitChars":[{"char":"艹䅎"}],"weight":"10"},{"charId":"6336a6ec","unicodeChar":"𦼥","unicodeCodePoint":"26F25","pinYinChars":[{"char":"gan4"}],"splitChars":[{"char":"艹渚"}],"weight":"10"},{"charId":"0885673d","unicodeChar":"𦼍","unicodeCodePoint":"26F0D","pinYinChars":[{"char":"GUAN1"}],"splitChars":[{"char":"艹皖"}],"weight":"10"},{"charId":"3c79dde8","unicodeChar":"𦻵","unicodeCodePoint":"26EF5","pinYinChars":[{"char":"qin2"}],"splitChars":[{"char":"艹 勤"}],"weight":"10"},{"charId":"a7b5fc3a","unicodeChar":"𦻳","unicodeCodePoint":"26EF3","pinYinChars":[{"char":"zan1"}],"splitChars":[{"char":"艹 日"}],"weight":"10"},{"charId":"cbbe5e4b","unicodeChar":"𦻘","unicodeCodePoint":"26ED8","pinYinChars":[{"char":"ti4"}],"splitChars":[{"char":"艹 替"}],"weight":"10"},{"charId":"49c41a31","unicodeChar":"𦻕","unicodeCodePoint":"26ED5","pinYinChars":[{"char":"YIN3"}],"splitChars":[{"char":"艹隐"}],"weight":"10"},{"charId":"488f1651","unicodeChar":"𦹷","unicodeCodePoint":"26E77","pinYinChars":[{"char":"bei4"}],"splitChars":[{"char":"艹培"}],"weight":"10"},{"charId":"b6d5268f","unicodeChar":"𦹮","unicodeCodePoint":"26E6E","pinYinChars":[{"char":"cai3"}],"splitChars":[{"char":"艹 彩"}],"weight":"10"},{"charId":"c9f7879d","unicodeChar":"𦹃","unicodeCodePoint":"26E43","pinYinChars":[{"char":"lao4"},{"char":"lao2"}],"splitChars":[{"char":"艹 咅"}],"weight":"10"},{"charId":"8d315c85","unicodeChar":"𦸒","unicodeCodePoint":"26E12","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"艹猗"}],"weight":"10"},{"charId":"080cd1a2","unicodeChar":"𦷳","unicodeCodePoint":"26DF3","pinYinChars":[{"char":"HU2"}],"splitChars":[{"char":"艹𧯜"}],"weight":"10"},{"charId":"0b26e6e6","unicodeChar":"𦷰","unicodeCodePoint":"26DF0","pinYinChars":[{"char":"fu2"}],"splitChars":[{"char":"艹 浮"}],"weight":"10"},{"charId":"81574782","unicodeChar":"𦷮","unicodeCodePoint":"26DEE","pinYinChars":[{"char":"shu4"},{"char":"wu2"},{"char":"yu2"}],"splitChars":[{"char":"艹悟"}],"weight":"10"},{"charId":"3ebbb017","unicodeChar":"𦷛","unicodeCodePoint":"26DDB","pinYinChars":[{"char":"BENG1"}],"splitChars":[{"char":"艹倗"}],"weight":"10"},{"charId":"b19cc7b6","unicodeChar":"𦷂","unicodeCodePoint":"26DC2","pinYinChars":[{"char":"geng1"}],"splitChars":[{"char":"艹 耕"}],"weight":"10"},{"charId":"b2a33340","unicodeChar":"𦶷","unicodeCodePoint":"26DB7","pinYinChars":[{"char":"han2"}],"splitChars":[{"char":"艹 涵"}],"weight":"10"},{"charId":"083b4c9b","unicodeChar":"𦶮","unicodeCodePoint":"26DAE","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"艹耘"}],"weight":"10"},{"charId":"73fbf862","unicodeChar":"𦶦","unicodeCodePoint":"26DA6","pinYinChars":[{"char":"han4"},{"char":"nan4"},{"char":"tan"}],"splitChars":[{"char":"艹 娜"}],"weight":"10"},{"charId":"6e280987","unicodeChar":"𦶢","unicodeCodePoint":"26DA2","pinYinChars":[{"char":"jian4"},{"char":"lan3"},{"char":"lan4"}],"splitChars":[{"char":"艹 航"}],"weight":"10"},{"charId":"715f022d","unicodeChar":"𦶈","unicodeCodePoint":"26D88","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"艹耼"}],"weight":"10"},{"charId":"12829cce","unicodeChar":"𦵹","unicodeCodePoint":"26D79","pinYinChars":[{"char":"TAN3"}],"splitChars":[{"char":"艹剡"}],"weight":"10"},{"charId":"dfc062fd","unicodeChar":"𦵜","unicodeCodePoint":"26D5C","pinYinChars":[{"char":"sao"}],"splitChars":[{"char":"艹洒"}],"weight":"10"},{"charId":"6b38fb6f","unicodeChar":"𦵑","unicodeCodePoint":"26D51","pinYinChars":[{"char":"JU3"}],"splitChars":[{"char":"艹𥩞"}],"weight":"10"},{"charId":"feb77519","unicodeChar":"𦵁","unicodeCodePoint":"26D41","pinYinChars":[{"char":"yu4"}],"splitChars":[{"char":"艹郁"}],"weight":"10"},{"charId":"43890fd3","unicodeChar":"𦴿","unicodeCodePoint":"26D3F","pinYinChars":[{"char":"ling2"}],"splitChars":[{"char":"艹 玲"}],"weight":"10"},{"charId":"0099db7b","unicodeChar":"𦴤","unicodeCodePoint":"26D24","pinYinChars":[{"char":"sheng"}],"splitChars":[{"char":"艹 映"}],"weight":"10"},{"charId":"558f223d","unicodeChar":"𦴣","unicodeCodePoint":"26D23","pinYinChars":[{"char":"tu"}],"splitChars":[{"char":"艹 㛄"}],"weight":"10"},{"charId":"d3111d46","unicodeChar":"𦴢","unicodeCodePoint":"26D22","pinYinChars":[{"char":"shi"}],"splitChars":[{"char":"艹 泚"}],"weight":"10"},{"charId":"f680c017","unicodeChar":"𦳵","unicodeCodePoint":"26CF5","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"艹斫"}],"weight":"10"},{"charId":"8c24df6b","unicodeChar":"𦳙","unicodeCodePoint":"26CD9","pinYinChars":[{"char":"DAO4"}],"splitChars":[{"char":"艹致"}],"weight":"10"},{"charId":"23f5db99","unicodeChar":"𦲽","unicodeCodePoint":"26CBD","pinYinChars":[{"char":"xin1"}],"splitChars":[{"char":"艹 欣"}],"weight":"10"},{"charId":"3ef25432","unicodeChar":"𦲷","unicodeCodePoint":"26CB7","pinYinChars":[{"char":"li4"}],"splitChars":[{"char":"艹泣"}],"weight":"10"},{"charId":"1380c03f","unicodeChar":"𦲵","unicodeCodePoint":"26CB5","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"艹征"}],"weight":"10"},{"charId":"d15983c8","unicodeChar":"𦲥","unicodeCodePoint":"26CA5","pinYinChars":[{"char":"mao1"}],"splitChars":[{"char":"艹 由"}],"weight":"10"},{"charId":"536631c8","unicodeChar":"𦲂","unicodeCodePoint":"26C82","pinYinChars":[{"char":"zi"}],"splitChars":[{"char":"艹 勺"}],"weight":"10"},{"charId":"7e7e19a5","unicodeChar":"𦲀","unicodeCodePoint":"26C80","pinYinChars":[{"char":"de2"}],"splitChars":[{"char":"艹 怡"}],"weight":"10"},{"charId":"039ffa60","unicodeChar":"𦱍","unicodeCodePoint":"26C4D","pinYinChars":[{"char":"ma2"}],"splitChars":[{"char":"艹𣏟"}],"weight":"10"},{"charId":"19c44038","unicodeChar":"𦰿","unicodeCodePoint":"26C3F","pinYinChars":[{"char":"BENG1"}],"splitChars":[{"char":"艹侈"}],"weight":"10"},{"charId":"4fdd04d9","unicodeChar":"𦰮","unicodeCodePoint":"26C2E","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"芖包"}],"weight":"10"},{"charId":"749dbbaf","unicodeChar":"𦯹","unicodeCodePoint":"26BF9","pinYinChars":[{"char":"qin4"}],"splitChars":[{"char":"艹 沁"}],"weight":"10"},{"charId":"2c17af1e","unicodeChar":"𦮴","unicodeCodePoint":"26BB4","pinYinChars":[{"char":"hua2"},{"char":"hua4"}],"splitChars":[{"char":"艹年"}],"weight":"10"},{"charId":"9a264569","unicodeChar":"𦮳","unicodeCodePoint":"26BB3","pinYinChars":[{"char":"qi4"}],"splitChars":[{"char":"艹 企"}],"weight":"10"},{"charId":"1c3f4bba","unicodeChar":"𦮝","unicodeCodePoint":"26B9D","pinYinChars":[{"char":"mang2"}],"splitChars":[{"char":"艹 忙"}],"weight":"10"},{"charId":"fc755a9b","unicodeChar":"𦭔","unicodeCodePoint":"26B54","pinYinChars":[{"char":"yong3"}],"splitChars":[{"char":"艹 永"}],"weight":"10"},{"charId":"f6f5d499","unicodeChar":"𦭒","unicodeCodePoint":"26B52","pinYinChars":[{"char":"pang"}],"splitChars":[{"char":"艹 正"}],"weight":"10"},{"charId":"ac39cdb9","unicodeChar":"𦬾","unicodeCodePoint":"26B3E","pinYinChars":[{"char":"JUAN1"}],"splitChars":[{"char":"艹玄"}],"weight":"10"},{"charId":"9f5d4e9c","unicodeChar":"𦬻","unicodeCodePoint":"26B3B","pinYinChars":[{"char":"NA2"}],"splitChars":[{"char":"艹奴"}],"weight":"10"},{"charId":"f1a80ef7","unicodeChar":"𦬸","unicodeCodePoint":"26B38","pinYinChars":[{"char":"ZHU2"}],"splitChars":[{"char":"艹术艹朮"}],"weight":"10"},{"charId":"c5046203","unicodeChar":"𦫽","unicodeCodePoint":"26AFD","pinYinChars":[{"char":"lan2"}],"splitChars":[{"char":"艹 二"}],"weight":"10"},{"charId":"8778aed4","unicodeChar":"𦫼","unicodeCodePoint":"26AFC","pinYinChars":[{"char":"KAI3"}],"splitChars":[{"char":"艹了"}],"weight":"10"},{"charId":"05d09d28","unicodeChar":"𦪋","unicodeCodePoint":"26A8B","pinYinChars":[{"char":"XIU1"}],"splitChars":[{"char":"舟羞"}],"weight":"10"},{"charId":"11b28343","unicodeChar":"𦩊","unicodeCodePoint":"26A4A","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"舟兒"}],"weight":"10"},{"charId":"4f35a254","unicodeChar":"𦨽","unicodeCodePoint":"26A3D","pinYinChars":[{"char":"JIN4"}],"splitChars":[{"char":"舟岑"}],"weight":"10"},{"charId":"c970e35a","unicodeChar":"𦨬","unicodeCodePoint":"26A2C","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"舟永"}],"weight":"10"},{"charId":"034d2bae","unicodeChar":"𦤆","unicodeCodePoint":"26906","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"自云"}],"weight":"10"},{"charId":"9781b0b0","unicodeChar":"𦠛","unicodeCodePoint":"2681B","pinYinChars":[{"char":"ZA1"}],"splitChars":[{"char":"月替"}],"weight":"10"},{"charId":"58bb463a","unicodeChar":"𦝻","unicodeCodePoint":"2677B","pinYinChars":[{"char":"xuan1"}],"splitChars":[{"char":"月 宣"}],"weight":"10"},{"charId":"bd6e4561","unicodeChar":"𦝁","unicodeCodePoint":"26741","pinYinChars":[{"char":"qi2"}],"splitChars":[{"char":"月 其"}],"weight":"10"},{"charId":"c6f8fc7c","unicodeChar":"𦜳","unicodeCodePoint":"26733","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"月朋"}],"weight":"10"},{"charId":"8fbefd47","unicodeChar":"𦛨","unicodeCodePoint":"266E8","pinYinChars":[{"char":"er2"}],"splitChars":[{"char":"月劳"}],"weight":"10"},{"charId":"4541632b","unicodeChar":"𦛜","unicodeCodePoint":"266DC","pinYinChars":[{"char":"HE2"}],"splitChars":[{"char":"月含⺼含"}],"weight":"10"},{"charId":"f646d20d","unicodeChar":"𦚸","unicodeCodePoint":"266B8","pinYinChars":[{"char":"GENG4"}],"splitChars":[{"char":"月亘⺼亘"}],"weight":"10"},{"charId":"8671d891","unicodeChar":"𦚶","unicodeCodePoint":"266B6","pinYinChars":[{"char":"he2"}],"splitChars":[{"char":"合 月"}],"weight":"10"},{"charId":"6c41cf5d","unicodeChar":"𦚭","unicodeCodePoint":"266AD","pinYinChars":[{"char":"JU1"}],"splitChars":[{"char":"月虫⺼虫"}],"weight":"10"},{"charId":"81fbee8e","unicodeChar":"𦚣","unicodeCodePoint":"266A3","pinYinChars":[{"char":"HEN2"}],"splitChars":[{"char":"月艮⺼艮"}],"weight":"10"},{"charId":"ff84b392","unicodeChar":"𦚎","unicodeCodePoint":"2668E","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"立月立⺼"}],"weight":"10"},{"charId":"53ac3038","unicodeChar":"𦙟","unicodeCodePoint":"2665F","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"文⺝文⺼"}],"weight":"10"},{"charId":"7e0e5b3a","unicodeChar":"𦙓","unicodeCodePoint":"26653","pinYinChars":[{"char":"you3"}],"splitChars":[{"char":"月 友"}],"weight":"10"},{"charId":"cbd5caa7","unicodeChar":"𦙅","unicodeCodePoint":"26645","pinYinChars":[{"char":"DU1"}],"splitChars":[{"char":"月户⺼戶"}],"weight":"10"},{"charId":"7bf6ad66","unicodeChar":"𦘭","unicodeCodePoint":"2662D","pinYinChars":[{"char":"DING4"}],"splitChars":[{"char":"月丁⺼丁"}],"weight":"10"},{"charId":"0749099d","unicodeChar":"𦘦","unicodeCodePoint":"26626","pinYinChars":[{"char":"zhao4"}],"splitChars":[{"char":"启 聿"}],"weight":"10"},{"charId":"55242ecb","unicodeChar":"𦖻","unicodeCodePoint":"265BB","pinYinChars":[{"char":"cong1"}],"splitChars":[{"char":"耳思"}],"weight":"10"},{"charId":"f28e9f25","unicodeChar":"𦕃","unicodeCodePoint":"26543","pinYinChars":[{"char":"DAN1"}],"splitChars":[{"char":"耳丹"}],"weight":"10"},{"charId":"c89ebe0f","unicodeChar":"𦔾","unicodeCodePoint":"2653E","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"耳夫"}],"weight":"10"},{"charId":"ed3c0fb6","unicodeChar":"𦔼","unicodeCodePoint":"2653C","pinYinChars":[{"char":"XIE4"}],"splitChars":[{"char":"耳攴"}],"weight":"10"},{"charId":"ef067cd1","unicodeChar":"𦔴","unicodeCodePoint":"26534","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"人耳"}],"weight":"10"},{"charId":"87f4e8bc","unicodeChar":"𦓒","unicodeCodePoint":"264D2","pinYinChars":[{"char":"ER2"}],"splitChars":[{"char":"火而"}],"weight":"10"},{"charId":"4d8ede08","unicodeChar":"𦒎","unicodeCodePoint":"2648E","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"羽惠"}],"weight":"10"},{"charId":"fa842fb2","unicodeChar":"𦑱","unicodeCodePoint":"26471","pinYinChars":[{"char":"ZHAI2"}],"splitChars":[{"char":"隺羽"}],"weight":"10"},{"charId":"25661918","unicodeChar":"𦑕","unicodeCodePoint":"26455","pinYinChars":[{"char":"yu3"}],"splitChars":[{"char":"羽 金"}],"weight":"10"},{"charId":"1101b2df","unicodeChar":"𦑊","unicodeCodePoint":"2644A","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"羽青"}],"weight":"10"},{"charId":"88201f2b","unicodeChar":"𦐼","unicodeCodePoint":"2643C","pinYinChars":[{"char":"CHI1"}],"splitChars":[{"char":"志羽"}],"weight":"10"},{"charId":"31ec76ef","unicodeChar":"𦐒","unicodeCodePoint":"26412","pinYinChars":[{"char":"lian3"}],"splitChars":[{"char":"羽升"}],"weight":"10"},{"charId":"87cd6080","unicodeChar":"𦐐","unicodeCodePoint":"26410","pinYinChars":[{"char":"wen2"}],"splitChars":[{"char":"羽 文"}],"weight":"10"},{"charId":"236df4a1","unicodeChar":"𦐌","unicodeCodePoint":"2640C","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"羽厷"}],"weight":"10"},{"charId":"a96040c3","unicodeChar":"𦏁","unicodeCodePoint":"263C1","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"𦍌秀戈𦍌亻戈人乃"}],"weight":"10"},{"charId":"0eaa0344","unicodeChar":"𦍩","unicodeCodePoint":"26369","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"羊古"}],"weight":"10"},{"charId":"f11c5e81","unicodeChar":"𦍌","unicodeCodePoint":"2634C","pinYinChars":[{"char":"REN4"}],"splitChars":[{"char":"丷王"}],"weight":"10"},{"charId":"84f437ec","unicodeChar":"𦋝","unicodeCodePoint":"262DD","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"罒紂"}],"weight":"10"},{"charId":"7f08279c","unicodeChar":"𦊢","unicodeCodePoint":"262A2","pinYinChars":[{"char":"li4"}],"splitChars":[{"char":"四 立"}],"weight":"10"},{"charId":"e52fe82e","unicodeChar":"𦈠","unicodeCodePoint":"26220","pinYinChars":[{"char":"YIN3"}],"splitChars":[{"char":"纟㥯"}],"weight":"10"},{"charId":"032cd4d8","unicodeChar":"𦈘","unicodeCodePoint":"26218","pinYinChars":[{"char":"DA1"}],"splitChars":[{"char":"纟荅"}],"weight":"10"},{"charId":"a6fd01d3","unicodeChar":"𦈕","unicodeCodePoint":"26215","pinYinChars":[{"char":"TOU2"}],"splitChars":[{"char":"纟俞"}],"weight":"10"},{"charId":"60dc8204","unicodeChar":"𦈎","unicodeCodePoint":"2620E","pinYinChars":[{"char":"CHAN3"}],"splitChars":[{"char":"纟单"}],"weight":"10"},{"charId":"562d08fd","unicodeChar":"𦈌","unicodeCodePoint":"2620C","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"纟束"}],"weight":"10"},{"charId":"629e51c5","unicodeChar":"𦅡","unicodeCodePoint":"26161","pinYinChars":[{"char":"jing3"}],"splitChars":[{"char":"糹 景"}],"weight":"10"},{"charId":"42d79561","unicodeChar":"𦅁","unicodeCodePoint":"26141","pinYinChars":[{"char":"ZHA3"}],"splitChars":[{"char":"糸奢"}],"weight":"10"},{"charId":"4ef62e65","unicodeChar":"𦄙","unicodeCodePoint":"26119","pinYinChars":[{"char":"CI1"}],"splitChars":[{"char":"糸䇥"}],"weight":"10"},{"charId":"53dba3e9","unicodeChar":"𦂱","unicodeCodePoint":"260B1","pinYinChars":[{"char":"feng1"}],"splitChars":[{"char":"糸風"}],"weight":"10"},{"charId":"a2a4b431","unicodeChar":"𦂃","unicodeCodePoint":"26083","pinYinChars":[{"char":"TING1"}],"splitChars":[{"char":"糸亭"}],"weight":"10"},{"charId":"7bdf9db1","unicodeChar":"𦁫","unicodeCodePoint":"2606B","pinYinChars":[{"char":"jin3"}],"splitChars":[{"char":"取 糸"}],"weight":"10"},{"charId":"2c858af5","unicodeChar":"𦀿","unicodeCodePoint":"2603F","pinYinChars":[{"char":"zhi4"}],"splitChars":[{"char":"糸尾"}],"weight":"10"},{"charId":"23eab1d7","unicodeChar":"𦀲","unicodeCodePoint":"26032","pinYinChars":[{"char":"qun2"}],"splitChars":[{"char":"糹 君"}],"weight":"10"},{"charId":"24b79cdb","unicodeChar":"𦀠","unicodeCodePoint":"26020","pinYinChars":[{"char":"LIU2"}],"splitChars":[{"char":"糸㐬"}],"weight":"10"},{"charId":"2a196c85","unicodeChar":"𦀚","unicodeCodePoint":"2601A","pinYinChars":[{"char":"TING1"}],"splitChars":[{"char":"糸呈"}],"weight":"10"},{"charId":"446c8333","unicodeChar":"𥿽","unicodeCodePoint":"25FFD","pinYinChars":[{"char":"an1"}],"splitChars":[{"char":"糸安"}],"weight":"10"},{"charId":"1e7635c0","unicodeChar":"𥿑","unicodeCodePoint":"25FD1","pinYinChars":[{"char":"guan"},{"char":"lun2"}],"splitChars":[{"char":"糹 册"}],"weight":"10"},{"charId":"715f4824","unicodeChar":"𥺃","unicodeCodePoint":"25E83","pinYinChars":[{"char":"xin"}],"splitChars":[{"char":"米 志"}],"weight":"10"},{"charId":"110061dc","unicodeChar":"𥹀","unicodeCodePoint":"25E40","pinYinChars":[{"char":"cu2"},{"char":"zu3"}],"splitChars":[{"char":"米心"}],"weight":"10"},{"charId":"d7db6996","unicodeChar":"𥵉","unicodeCodePoint":"25D49","pinYinChars":[{"char":"lei2"}],"splitChars":[{"char":"竹 雷"}],"weight":"10"},{"charId":"1cf6f4dd","unicodeChar":"𥵆","unicodeCodePoint":"25D46","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"竹 意"}],"weight":"10"},{"charId":"121614fc","unicodeChar":"𥱼","unicodeCodePoint":"25C7C","pinYinChars":[{"char":"PAI2"}],"splitChars":[{"char":"𥫗渒"}],"weight":"10"},{"charId":"65686547","unicodeChar":"𥱰","unicodeCodePoint":"25C70","pinYinChars":[{"char":"jie4"},{"char":"xie4"}],"splitChars":[{"char":"𥫗徒"}],"weight":"10"},{"charId":"c7f06f74","unicodeChar":"𥯐","unicodeCodePoint":"25BD0","pinYinChars":[{"char":"lu4"}],"splitChars":[{"char":"竹 水"}],"weight":"10"},{"charId":"a2c3d9e9","unicodeChar":"𥯀","unicodeCodePoint":"25BC0","pinYinChars":[{"char":"gan4"}],"splitChars":[{"char":"竹 金"}],"weight":"10"},{"charId":"4192bfc2","unicodeChar":"𥮾","unicodeCodePoint":"25BBE","pinYinChars":[{"char":"CEN1"}],"splitChars":[{"char":"𥫗参"}],"weight":"10"},{"charId":"4f061019","unicodeChar":"𥮆","unicodeCodePoint":"25B86","pinYinChars":[{"char":"he2"}],"splitChars":[{"char":"竹 何"}],"weight":"10"},{"charId":"a67bab63","unicodeChar":"𥭨","unicodeCodePoint":"25B68","pinYinChars":[{"char":"GUAN3"}],"splitChars":[{"char":"𥫗皃"}],"weight":"10"},{"charId":"23bbdcb6","unicodeChar":"𥫿","unicodeCodePoint":"25AFF","pinYinChars":[{"char":"hu4"}],"splitChars":[{"char":"竹 户"}],"weight":"10"},{"charId":"7f436455","unicodeChar":"𥫩","unicodeCodePoint":"25AE9","pinYinChars":[{"char":"mang2"},{"char":"peng2"},{"char":"pang2"}],"splitChars":[{"char":"竹 勺"}],"weight":"10"},{"charId":"b6f5a93a","unicodeChar":"𥪼","unicodeCodePoint":"25ABC","pinYinChars":[{"char":"JI3"}],"splitChars":[{"char":"竒竒"}],"weight":"10"},{"charId":"a63fbb16","unicodeChar":"𥨣","unicodeCodePoint":"25A23","pinYinChars":[{"char":"jun4"}],"splitChars":[{"char":"穴 雋"}],"weight":"10"},{"charId":"3692f3d7","unicodeChar":"𥦭","unicodeCodePoint":"259AD","pinYinChars":[{"char":"xing4"}],"splitChars":[{"char":"穴 幸"}],"weight":"10"},{"charId":"189e548b","unicodeChar":"𥥷","unicodeCodePoint":"25977","pinYinChars":[{"char":"DOU4"}],"splitChars":[{"char":"穴豆"}],"weight":"10"},{"charId":"9d46f8ad","unicodeChar":"𥥖","unicodeCodePoint":"25956","pinYinChars":[{"char":"huang2"}],"splitChars":[{"char":"穴 古"}],"weight":"10"},{"charId":"a9edad24","unicodeChar":"𥥉","unicodeCodePoint":"25949","pinYinChars":[{"char":"XIU4"}],"splitChars":[{"char":"穴由"}],"weight":"10"},{"charId":"a897c05f","unicodeChar":"𥢗","unicodeCodePoint":"25897","pinYinChars":[{"char":"sheng"},{"char":"xing4"}],"splitChars":[{"char":"禾 喜"}],"weight":"10"},{"charId":"7a64ddda","unicodeChar":"𥢐","unicodeCodePoint":"25890","pinYinChars":[{"char":"GAO1"}],"splitChars":[{"char":"禾臯"}],"weight":"10"},{"charId":"f905ff08","unicodeChar":"𥡝","unicodeCodePoint":"2585D","pinYinChars":[{"char":"JIAN1"}],"splitChars":[{"char":"秉秉"}],"weight":"10"},{"charId":"c217b546","unicodeChar":"𥡜","unicodeCodePoint":"2585C","pinYinChars":[{"char":"LUO2"}],"splitChars":[{"char":"禾累"}],"weight":"10"},{"charId":"223eff5a","unicodeChar":"𥟢","unicodeCodePoint":"257E2","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"禾 炎"}],"weight":"10"},{"charId":"ef107667","unicodeChar":"𥟏","unicodeCodePoint":"257CF","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"禾奇"}],"weight":"10"},{"charId":"f03bb215","unicodeChar":"𥟀","unicodeCodePoint":"257C0","pinYinChars":[{"char":"LENG2"}],"splitChars":[{"char":"禾麦"}],"weight":"10"},{"charId":"a7ed9ce0","unicodeChar":"𥞈","unicodeCodePoint":"25788","pinYinChars":[{"char":"GAN1"}],"splitChars":[{"char":"禾 甘"}],"weight":"10"},{"charId":"7d8bfe1f","unicodeChar":"𥝲","unicodeCodePoint":"25772","pinYinChars":[{"char":"DUO4"},{"char":"HUI4"}],"splitChars":[{"char":"禾 允"}],"weight":"10"},{"charId":"dc0ecfc8","unicodeChar":"𥝤","unicodeCodePoint":"25764","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"禾勿"}],"weight":"10"},{"charId":"c477b811","unicodeChar":"𥜥","unicodeCodePoint":"25725","pinYinChars":[{"char":"SI4"}],"splitChars":[{"char":"示冀"}],"weight":"10"},{"charId":"c6f04650","unicodeChar":"𥜔","unicodeCodePoint":"25714","pinYinChars":[{"char":"TIAO1"}],"splitChars":[{"char":"示翟"}],"weight":"10"},{"charId":"ce6cc621","unicodeChar":"𥜇","unicodeCodePoint":"25707","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"礻 意"}],"weight":"10"},{"charId":"181e3517","unicodeChar":"𥛱","unicodeCodePoint":"256F1","pinYinChars":[{"char":"BENG1"}],"splitChars":[{"char":"彭示"}],"weight":"10"},{"charId":"4a94e591","unicodeChar":"𥚺","unicodeCodePoint":"256BA","pinYinChars":[{"char":"JIE1"}],"splitChars":[{"char":"示皆"}],"weight":"10"},{"charId":"db1dfcf3","unicodeChar":"𥚃","unicodeCodePoint":"25683","pinYinChars":[{"char":"LI3"}],"splitChars":[{"char":"示里"}],"weight":"10"},{"charId":"8167fc69","unicodeChar":"𥙷","unicodeCodePoint":"25677","pinYinChars":[{"char":"FU3"}],"splitChars":[{"char":"示甫"}],"weight":"10"},{"charId":"7581e565","unicodeChar":"𥙛","unicodeCodePoint":"2565B","pinYinChars":[{"char":"REN4"}],"splitChars":[{"char":"示任"}],"weight":"10"},{"charId":"094fa00e","unicodeChar":"𥘸","unicodeCodePoint":"25638","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"示立"}],"weight":"10"},{"charId":"3701d567","unicodeChar":"𥘭","unicodeCodePoint":"2562D","pinYinChars":[{"char":"ZHU3"}],"splitChars":[{"char":"示主"}],"weight":"10"},{"charId":"f4537faf","unicodeChar":"𥘟","unicodeCodePoint":"2561F","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"示云"}],"weight":"10"},{"charId":"c5d5bd11","unicodeChar":"𥘞","unicodeCodePoint":"2561E","pinYinChars":[{"char":"JIN"}],"splitChars":[{"char":"示今"}],"weight":"10"},{"charId":"907ad158","unicodeChar":"𥘝","unicodeCodePoint":"2561D","pinYinChars":[{"char":"WANG"}],"splitChars":[{"char":"礻 冈"}],"weight":"10"},{"charId":"aeaec432","unicodeChar":"𥗉","unicodeCodePoint":"255C9","pinYinChars":[{"char":"LEI3"}],"splitChars":[{"char":"砳砳"}],"weight":"10"},{"charId":"498ecb89","unicodeChar":"𥖉","unicodeCodePoint":"25589","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"石 景"}],"weight":"10"},{"charId":"e65fc928","unicodeChar":"𥕤","unicodeCodePoint":"25564","pinYinChars":[{"char":"KE1"}],"splitChars":[{"char":"石盖"}],"weight":"10"},{"charId":"1108672c","unicodeChar":"𥕛","unicodeCodePoint":"2555B","pinYinChars":[{"char":"ME"}],"splitChars":[{"char":"石 基"}],"weight":"10"},{"charId":"da548cdb","unicodeChar":"𥔲","unicodeCodePoint":"25532","pinYinChars":[{"char":"E4"}],"splitChars":[{"char":"石咢"}],"weight":"10"},{"charId":"5cacf8ff","unicodeChar":"𥔩","unicodeCodePoint":"25529","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"砍石"}],"weight":"10"},{"charId":"337d4eab","unicodeChar":"𥔧","unicodeCodePoint":"25527","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"石重"}],"weight":"10"},{"charId":"2d58bfbe","unicodeChar":"𥓵","unicodeCodePoint":"254F5","pinYinChars":[{"char":"QIN2"}],"splitChars":[{"char":"石底"}],"weight":"10"},{"charId":"d51b2039","unicodeChar":"𥓞","unicodeCodePoint":"254DE","pinYinChars":[{"char":"HAN2"}],"splitChars":[{"char":"石 函"}],"weight":"10"},{"charId":"9ae95604","unicodeChar":"𥓙","unicodeCodePoint":"254D9","pinYinChars":[{"char":"NIAN3"}],"splitChars":[{"char":"林石"}],"weight":"10"},{"charId":"80d5a14a","unicodeChar":"𥓏","unicodeCodePoint":"254CF","pinYinChars":[{"char":"DAI4"}],"splitChars":[{"char":"石隶"}],"weight":"10"},{"charId":"f745c58c","unicodeChar":"𥓋","unicodeCodePoint":"254CB","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"石兒"}],"weight":"10"},{"charId":"a3fa9aa8","unicodeChar":"𥒌","unicodeCodePoint":"2548C","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"石 血"}],"weight":"10"},{"charId":"cbb2d38d","unicodeChar":"𥑻","unicodeCodePoint":"2547B","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"石先"}],"weight":"10"},{"charId":"bf3472fe","unicodeChar":"𥑪","unicodeCodePoint":"2546A","pinYinChars":[{"char":"NAO2"}],"splitChars":[{"char":"石勹𠃊乂"}],"weight":"10"},{"charId":"818958e5","unicodeChar":"𥑤","unicodeCodePoint":"25464","pinYinChars":[{"char":"YOU4"}],"splitChars":[{"char":"石由"}],"weight":"10"},{"charId":"77514978","unicodeChar":"𥑍","unicodeCodePoint":"2544D","pinYinChars":[{"char":"PAN2"}],"splitChars":[{"char":"石半"}],"weight":"10"},{"charId":"9c5d9a2d","unicodeChar":"𥑂","unicodeCodePoint":"25442","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"石支"}],"weight":"10"},{"charId":"61fe1520","unicodeChar":"𥑁","unicodeCodePoint":"25441","pinYinChars":[{"char":"BIAN1"}],"splitChars":[{"char":"石巴"}],"weight":"10"},{"charId":"691a3eb7","unicodeChar":"𥐨","unicodeCodePoint":"25428","pinYinChars":[{"char":"TUO2"}],"splitChars":[{"char":"石也"}],"weight":"10"},{"charId":"d12f7e5f","unicodeChar":"𥎸","unicodeCodePoint":"253B8","pinYinChars":[{"char":"QIA4"}],"splitChars":[{"char":"矢玄"}],"weight":"10"},{"charId":"586967ad","unicodeChar":"𥍩","unicodeCodePoint":"25369","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"矛 同"}],"weight":"10"},{"charId":"2d502d22","unicodeChar":"𥍓","unicodeCodePoint":"25353","pinYinChars":[{"char":"KAN4"}],"splitChars":[{"char":"目嚴"}],"weight":"10"},{"charId":"386f5ab5","unicodeChar":"𥌑","unicodeCodePoint":"25311","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"目 睿"}],"weight":"10"},{"charId":"2f7788b8","unicodeChar":"𥈶","unicodeCodePoint":"25236","pinYinChars":[{"char":"DAN4"}],"splitChars":[{"char":"目南"}],"weight":"10"},{"charId":"34ba2b40","unicodeChar":"𥈧","unicodeCodePoint":"25227","pinYinChars":[{"char":"KAN4"}],"splitChars":[{"char":"目看"}],"weight":"10"},{"charId":"2740d6cf","unicodeChar":"𥇷","unicodeCodePoint":"251F7","pinYinChars":[{"char":"YAO3"}],"splitChars":[{"char":"目岩"}],"weight":"10"},{"charId":"b4c022c4","unicodeChar":"𥇶","unicodeCodePoint":"251F6","pinYinChars":[{"char":"HIM"}],"splitChars":[{"char":"目金"}],"weight":"10"},{"charId":"e6841844","unicodeChar":"𥇪","unicodeCodePoint":"251EA","pinYinChars":[{"char":"FEI1"}],"splitChars":[{"char":"目非"}],"weight":"10"},{"charId":"166719f6","unicodeChar":"𥇊","unicodeCodePoint":"251CA","pinYinChars":[{"char":"GUN4"}],"splitChars":[{"char":"目昆"}],"weight":"10"},{"charId":"8cab636a","unicodeChar":"𥅴","unicodeCodePoint":"25174","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"目夹"}],"weight":"10"},{"charId":"00cbda8a","unicodeChar":"𥄨","unicodeCodePoint":"25128","pinYinChars":[{"char":"CHOU3"}],"splitChars":[{"char":"目丑"}],"weight":"10"},{"charId":"f90b355d","unicodeChar":"𥄅","unicodeCodePoint":"25105","pinYinChars":[{"char":"HU4"}],"splitChars":[{"char":"目户目戶"}],"weight":"10"},{"charId":"5c8a56ea","unicodeChar":"𥃻","unicodeCodePoint":"250FB","pinYinChars":[{"char":"SHOU3"}],"splitChars":[{"char":"小目"}],"weight":"10"},{"charId":"648585de","unicodeChar":"𥂩","unicodeCodePoint":"250A9","pinYinChars":[{"char":"GU3"}],"splitChars":[{"char":"古勹𠙻皿古匋皿"}],"weight":"10"},{"charId":"6a4b258b","unicodeChar":"𥁙","unicodeCodePoint":"25059","pinYinChars":[{"char":"ZI3"}],"splitChars":[{"char":"仔 皿"}],"weight":"10"},{"charId":"3baeeb51","unicodeChar":"𤾗","unicodeCodePoint":"24F97","pinYinChars":[{"char":"KUANG4"}],"splitChars":[{"char":"光皇"}],"weight":"10"},{"charId":"d6eda373","unicodeChar":"𤾏","unicodeCodePoint":"24F8F","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"白 木"}],"weight":"10"},{"charId":"00c07941","unicodeChar":"𤽾","unicodeCodePoint":"24F7E","pinYinChars":[{"char":"SHUANG3"},{"char":"SONG3"}],"splitChars":[{"char":"白 虎"}],"weight":"10"},{"charId":"51306815","unicodeChar":"𤽟","unicodeCodePoint":"24F5F","pinYinChars":[{"char":"GAO3"}],"splitChars":[{"char":"白 丨"}],"weight":"10"},{"charId":"d5ecf8a2","unicodeChar":"𤽙","unicodeCodePoint":"24F59","pinYinChars":[{"char":"HUANG2"}],"splitChars":[{"char":"白由"}],"weight":"10"},{"charId":"7375384f","unicodeChar":"𤺬","unicodeCodePoint":"24EAC","pinYinChars":[{"char":"PENG4"}],"splitChars":[{"char":"疒彭"}],"weight":"10"},{"charId":"46c621ab","unicodeChar":"𤹍","unicodeCodePoint":"24E4D","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"疒能"}],"weight":"10"},{"charId":"b92a6f0b","unicodeChar":"𤳹","unicodeCodePoint":"24CF9","pinYinChars":[{"char":"LEI2"}],"splitChars":[{"char":"田田一田田"}],"weight":"10"},{"charId":"bf79a531","unicodeChar":"𤳳","unicodeCodePoint":"24CF3","pinYinChars":[{"char":"LEI2"}],"splitChars":[{"char":"畕畕田田田田"}],"weight":"10"},{"charId":"faef1fc3","unicodeChar":"𤳗","unicodeCodePoint":"24CD7","pinYinChars":[{"char":"BAN1"}],"splitChars":[{"char":"去番"}],"weight":"10"},{"charId":"d91cc582","unicodeChar":"𤳈","unicodeCodePoint":"24CC8","pinYinChars":[{"char":"SHANG1"}],"splitChars":[{"char":"田𬀷"}],"weight":"10"},{"charId":"89b6a3d5","unicodeChar":"𤲘","unicodeCodePoint":"24C98","pinYinChars":[{"char":"CHANG4"}],"splitChars":[{"char":"田長"}],"weight":"10"},{"charId":"9176068f","unicodeChar":"𤲅","unicodeCodePoint":"24C85","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"共电"}],"weight":"10"},{"charId":"0cccf61b","unicodeChar":"𤱶","unicodeCodePoint":"24C76","pinYinChars":[{"char":"QUAN3"}],"splitChars":[{"char":"亩犬"}],"weight":"10"},{"charId":"91902f7a","unicodeChar":"𤱓","unicodeCodePoint":"24C53","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"申申"}],"weight":"10"},{"charId":"db29df21","unicodeChar":"𤱂","unicodeCodePoint":"24C42","pinYinChars":[{"char":"MENG2"}],"splitChars":[{"char":"田云"}],"weight":"10"},{"charId":"ae29bcd7","unicodeChar":"𤰯","unicodeCodePoint":"24C2F","pinYinChars":[{"char":"CE4"}],"splitChars":[{"char":"田八又田儿又"}],"weight":"10"},{"charId":"0519c001","unicodeChar":"𤯾","unicodeCodePoint":"24BFE","pinYinChars":[{"char":"RUI2"}],"splitChars":[{"char":"蒙 生"}],"weight":"10"},{"charId":"e5e0145e","unicodeChar":"𤯷","unicodeCodePoint":"24BF7","pinYinChars":[{"char":"HUANG2"}],"splitChars":[{"char":"舜生"}],"weight":"10"},{"charId":"8c7483f6","unicodeChar":"𤯦","unicodeCodePoint":"24BE6","pinYinChars":[{"char":"NEN4"}],"splitChars":[{"char":"初生"}],"weight":"10"},{"charId":"3ab8f500","unicodeChar":"𤯏","unicodeCodePoint":"24BCF","pinYinChars":[{"char":"MEI2"}],"splitChars":[{"char":"甘𡭕甘朩"}],"weight":"10"},{"charId":"fbb83627","unicodeChar":"𤯋","unicodeCodePoint":"24BCB","pinYinChars":[{"char":"ZHE4"}],"splitChars":[{"char":"甘庶"}],"weight":"10"},{"charId":"50c2ae4c","unicodeChar":"𤭾","unicodeCodePoint":"24B7E","pinYinChars":[{"char":"ZHEN"}],"splitChars":[{"char":"西 瓦"}],"weight":"10"},{"charId":"a483b6ba","unicodeChar":"𤭛","unicodeCodePoint":"24B5B","pinYinChars":[{"char":"GANG1"}],"splitChars":[{"char":"岡瓦"}],"weight":"10"},{"charId":"1e256f92","unicodeChar":"𤬻","unicodeCodePoint":"24B3B","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"瓦令"}],"weight":"10"},{"charId":"b43c09f7","unicodeChar":"𤬬","unicodeCodePoint":"24B2C","pinYinChars":[{"char":"ZHOU4"}],"splitChars":[{"char":"火瓦"}],"weight":"10"},{"charId":"960de6ad","unicodeChar":"𤫩","unicodeCodePoint":"24AE9","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"王靈"}],"weight":"10"},{"charId":"12b34675","unicodeChar":"𤫢","unicodeCodePoint":"24AE2","pinYinChars":[{"char":"LOU"}],"splitChars":[{"char":"王 露"}],"weight":"10"},{"charId":"d76ae7f9","unicodeChar":"𤫠","unicodeCodePoint":"24AE0","pinYinChars":[{"char":"王 嚴"}],"splitChars":[],"weight":"10"},{"charId":"207db911","unicodeChar":"𤫟","unicodeCodePoint":"24ADF","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"王 麗"}],"weight":"10"},{"charId":"22f52e08","unicodeChar":"𤫙","unicodeCodePoint":"24AD9","pinYinChars":[{"char":"王爕"},{"char":"王 火"}],"splitChars":[],"weight":"10"},{"charId":"0f1f3106","unicodeChar":"𤫑","unicodeCodePoint":"24AD1","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"王 麗"}],"weight":"10"},{"charId":"85c77c6a","unicodeChar":"𤫎","unicodeCodePoint":"24ACE","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"王營"}],"weight":"10"},{"charId":"ddb0bba0","unicodeChar":"𤫇","unicodeCodePoint":"24AC7","pinYinChars":[{"char":"JIN3"}],"splitChars":[{"char":"王 燕"}],"weight":"10"},{"charId":"fc5b217c","unicodeChar":"𤫂","unicodeCodePoint":"24AC2","pinYinChars":[{"char":"XING1"}],"splitChars":[{"char":"王 興"}],"weight":"10"},{"charId":"1e882f55","unicodeChar":"𤪻","unicodeCodePoint":"24ABB","pinYinChars":[{"char":"xuan2"}],"splitChars":[{"char":"王 目"}],"weight":"10"},{"charId":"334d96a9","unicodeChar":"𤪪","unicodeCodePoint":"24AAA","pinYinChars":[{"char":"ZHUAN4"}],"splitChars":[{"char":"王篆"}],"weight":"10"},{"charId":"c6833a9d","unicodeChar":"𤪜","unicodeCodePoint":"24A9C","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"王 蓉"}],"weight":"10"},{"charId":"3e248b6b","unicodeChar":"𤪗","unicodeCodePoint":"24A97","pinYinChars":[{"char":"HAO2"}],"splitChars":[{"char":"王 豪"}],"weight":"10"},{"charId":"c3337716","unicodeChar":"𤪂","unicodeCodePoint":"24A82","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"王 愈"}],"weight":"10"},{"charId":"3f4cabc2","unicodeChar":"𤩿","unicodeCodePoint":"24A7F","pinYinChars":[{"char":"CONG1"}],"splitChars":[{"char":"王 葱"}],"weight":"10"},{"charId":"d7dba925","unicodeChar":"𤩸","unicodeCodePoint":"24A78","pinYinChars":[{"char":"王 葵"}],"splitChars":[],"weight":"10"},{"charId":"aa890004","unicodeChar":"𤩬","unicodeCodePoint":"24A6C","pinYinChars":[{"char":"XIANG4"}],"splitChars":[{"char":"王鄉"}],"weight":"10"},{"charId":"9d69dedc","unicodeChar":"𤩧","unicodeCodePoint":"24A67","pinYinChars":[{"char":"CHEN2"}],"splitChars":[{"char":"王 單"}],"weight":"10"},{"charId":"3642e7eb","unicodeChar":"𤩗","unicodeCodePoint":"24A57","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"王 粟"}],"weight":"10"},{"charId":"f133fd63","unicodeChar":"𤩓","unicodeCodePoint":"24A53","pinYinChars":[{"char":"PU3"}],"splitChars":[{"char":"王 普"}],"weight":"10"},{"charId":"7128d030","unicodeChar":"𤩐","unicodeCodePoint":"24A50","pinYinChars":[{"char":"PU3"}],"splitChars":[{"char":"王斯"}],"weight":"10"},{"charId":"6639a844","unicodeChar":"𤩁","unicodeCodePoint":"24A41","pinYinChars":[{"char":"QU2"}],"splitChars":[{"char":"王䖏"}],"weight":"10"},{"charId":"9773e4ad","unicodeChar":"𤨭","unicodeCodePoint":"24A2D","pinYinChars":[{"char":"YONG1"}],"splitChars":[{"char":"王 庸"}],"weight":"10"},{"charId":"87799565","unicodeChar":"𤨦","unicodeCodePoint":"24A26","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"王 奇"}],"weight":"10"},{"charId":"4a338873","unicodeChar":"𤨡","unicodeCodePoint":"24A21","pinYinChars":[{"char":"LANG3"}],"splitChars":[{"char":"王朗"}],"weight":"10"},{"charId":"894382ea","unicodeChar":"𤨠","unicodeCodePoint":"24A20","pinYinChars":[{"char":"王 堂"}],"splitChars":[],"weight":"10"},{"charId":"73238b6f","unicodeChar":"𤨎","unicodeCodePoint":"24A0E","pinYinChars":[{"char":"QU2"}],"splitChars":[{"char":"王 家"}],"weight":"10"},{"charId":"8573da6f","unicodeChar":"𤧻","unicodeCodePoint":"249FB","pinYinChars":[{"char":"TING2"}],"splitChars":[{"char":"王 庭"}],"weight":"10"},{"charId":"ee78777f","unicodeChar":"𤧸","unicodeCodePoint":"249F8","pinYinChars":[{"char":"HEI2"}],"splitChars":[{"char":"王 豈"}],"weight":"10"},{"charId":"99de54b4","unicodeChar":"𤧵","unicodeCodePoint":"249F5","pinYinChars":[{"char":"王 尃"}],"splitChars":[],"weight":"10"},{"charId":"3f97001c","unicodeChar":"𤧑","unicodeCodePoint":"249D1","pinYinChars":[{"char":"FENG1"}],"splitChars":[{"char":"王風"}],"weight":"10"},{"charId":"42c33a75","unicodeChar":"𤧍","unicodeCodePoint":"249CD","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"王 令"}],"weight":"10"},{"charId":"68efdc1b","unicodeChar":"𤧅","unicodeCodePoint":"249C5","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"王 屏"}],"weight":"10"},{"charId":"2ed66a9e","unicodeChar":"𤧄","unicodeCodePoint":"249C4","pinYinChars":[{"char":"YAO1"}],"splitChars":[{"char":"王 要"}],"weight":"10"},{"charId":"3e78c74d","unicodeChar":"𤧃","unicodeCodePoint":"249C3","pinYinChars":[{"char":"QI4"}],"splitChars":[{"char":"王 契"}],"weight":"10"},{"charId":"763f7316","unicodeChar":"𤧀","unicodeCodePoint":"249C0","pinYinChars":[{"char":"MOU3"}],"splitChars":[{"char":"王 某"}],"weight":"10"},{"charId":"8e90905b","unicodeChar":"𤦽","unicodeCodePoint":"249BD","pinYinChars":[{"char":"YOU2"}],"splitChars":[{"char":"王 子"}],"weight":"10"},{"charId":"56f638c1","unicodeChar":"𤦻","unicodeCodePoint":"249BB","pinYinChars":[{"char":"王 亮"}],"splitChars":[],"weight":"10"},{"charId":"ed334fe8","unicodeChar":"𤦸","unicodeCodePoint":"249B8","pinYinChars":[{"char":"王 保"}],"splitChars":[],"weight":"10"},{"charId":"97373194","unicodeChar":"𤦷","unicodeCodePoint":"249B7","pinYinChars":[{"char":"JIN2"}],"splitChars":[{"char":"王 衍"}],"weight":"10"},{"charId":"fca66b71","unicodeChar":"𤦭","unicodeCodePoint":"249AD","pinYinChars":[{"char":"JING1"}],"splitChars":[{"char":"王 青"}],"weight":"10"},{"charId":"c3fd88ac","unicodeChar":"𤦫","unicodeCodePoint":"249AB","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"王 夌"}],"weight":"10"},{"charId":"a580bf3d","unicodeChar":"𤦩","unicodeCodePoint":"249A9","pinYinChars":[{"char":"E4"}],"splitChars":[{"char":"王亞"}],"weight":"10"},{"charId":"4d6c9809","unicodeChar":"𤦧","unicodeCodePoint":"249A7","pinYinChars":[{"char":"ZI1"}],"splitChars":[{"char":"王 芝"}],"weight":"10"},{"charId":"55ab69e1","unicodeChar":"𤦝","unicodeCodePoint":"2499D","pinYinChars":[{"char":"JIN3"}],"splitChars":[{"char":"王 帛"}],"weight":"10"},{"charId":"aee144bf","unicodeChar":"𤦖","unicodeCodePoint":"24996","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"王 毛"}],"weight":"10"},{"charId":"89995bf5","unicodeChar":"𤦌","unicodeCodePoint":"2498C","pinYinChars":[{"char":"王 宜"}],"splitChars":[],"weight":"10"},{"charId":"7601d6a0","unicodeChar":"𤦈","unicodeCodePoint":"24988","pinYinChars":[{"char":"王 芬"}],"splitChars":[],"weight":"10"},{"charId":"6a451b21","unicodeChar":"𤦇","unicodeCodePoint":"24987","pinYinChars":[{"char":"gang1"}],"splitChars":[{"char":"王岡"}],"weight":"10"},{"charId":"2cd1727b","unicodeChar":"𤦄","unicodeCodePoint":"24984","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"王巛乚日"}],"weight":"10"},{"charId":"a5763ccd","unicodeChar":"𤥺","unicodeCodePoint":"2497A","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"王奂"}],"weight":"10"},{"charId":"975e5dfa","unicodeChar":"𤥶","unicodeCodePoint":"24976","pinYinChars":[{"char":"NA4"}],"splitChars":[{"char":"王 那"}],"weight":"10"},{"charId":"77a5abd7","unicodeChar":"𤥩","unicodeCodePoint":"24969","pinYinChars":[{"char":"PI3"}],"splitChars":[{"char":"王 疋"}],"weight":"10"},{"charId":"f92b2a51","unicodeChar":"𤥠","unicodeCodePoint":"24960","pinYinChars":[{"char":"王 宏"}],"splitChars":[],"weight":"10"},{"charId":"a7d84979","unicodeChar":"𤥚","unicodeCodePoint":"2495A","pinYinChars":[{"char":"GAN1"}],"splitChars":[{"char":"王旱"}],"weight":"10"},{"charId":"f654ebea","unicodeChar":"𤥗","unicodeCodePoint":"24957","pinYinChars":[{"char":"LIU2"}],"splitChars":[{"char":"王丣"}],"weight":"10"},{"charId":"e7a71ed2","unicodeChar":"𤥃","unicodeCodePoint":"24943","pinYinChars":[{"char":"AN1"}],"splitChars":[{"char":"王 安"}],"weight":"10"},{"charId":"a08096f2","unicodeChar":"𤥂","unicodeCodePoint":"24942","pinYinChars":[{"char":"王 亦"}],"splitChars":[],"weight":"10"},{"charId":"d6139c70","unicodeChar":"𤥀","unicodeCodePoint":"24940","pinYinChars":[{"char":"duo1"}],"splitChars":[{"char":"王 多"}],"weight":"10"},{"charId":"39605153","unicodeChar":"𤤾","unicodeCodePoint":"2493E","pinYinChars":[{"char":"heng2"}],"splitChars":[{"char":"王 亍"}],"weight":"10"},{"charId":"6a0555fc","unicodeChar":"𤤹","unicodeCodePoint":"24939","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"王朿"}],"weight":"10"},{"charId":"94c060bc","unicodeChar":"𤤳","unicodeCodePoint":"24933","pinYinChars":[{"char":"王 以"}],"splitChars":[],"weight":"10"},{"charId":"9a429c88","unicodeChar":"𤤯","unicodeCodePoint":"2492F","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"王 永"}],"weight":"10"},{"charId":"bfef5059","unicodeChar":"𤤤","unicodeCodePoint":"24924","pinYinChars":[{"char":"HE2"}],"splitChars":[{"char":"王 禾"}],"weight":"10"},{"charId":"85f94113","unicodeChar":"𤤠","unicodeCodePoint":"24920","pinYinChars":[{"char":"YANG"}],"splitChars":[{"char":"王央"}],"weight":"10"},{"charId":"ec385442","unicodeChar":"𤤟","unicodeCodePoint":"2491F","pinYinChars":[{"char":"DU4"},{"char":"SHI2"}],"splitChars":[{"char":"王 石"}],"weight":"10"},{"charId":"ba2939b0","unicodeChar":"𤤖","unicodeCodePoint":"24916","pinYinChars":[{"char":"王 弗"}],"splitChars":[],"weight":"10"},{"charId":"626f71b6","unicodeChar":"𤤔","unicodeCodePoint":"24914","pinYinChars":[{"char":"li4"}],"splitChars":[{"char":"王立"}],"weight":"10"},{"charId":"6aef6deb","unicodeChar":"𤤉","unicodeCodePoint":"24909","pinYinChars":[{"char":"BU4"}],"splitChars":[{"char":"王少"}],"weight":"10"},{"charId":"402f5e33","unicodeChar":"𤤁","unicodeCodePoint":"24901","pinYinChars":[{"char":"王 方"}],"splitChars":[],"weight":"10"},{"charId":"2cea29c0","unicodeChar":"𤤀","unicodeCodePoint":"24900","pinYinChars":[{"char":"王 屯"}],"splitChars":[],"weight":"10"},{"charId":"aff39345","unicodeChar":"𤣳","unicodeCodePoint":"248F3","pinYinChars":[{"char":"gan1"}],"splitChars":[{"char":"王 千"}],"weight":"10"},{"charId":"5419da97","unicodeChar":"𤣮","unicodeCodePoint":"248EE","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"王乞"}],"weight":"10"},{"charId":"ceecbfef","unicodeChar":"𤠋","unicodeCodePoint":"2480B","pinYinChars":[{"char":"LOU2"}],"splitChars":[{"char":"犭娄"}],"weight":"10"},{"charId":"aa1f5dad","unicodeChar":"𤞏","unicodeCodePoint":"2478F","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"犭西"}],"weight":"10"},{"charId":"05736428","unicodeChar":"𤜱","unicodeCodePoint":"24731","pinYinChars":[{"char":"BA1"}],"splitChars":[{"char":"犭巴"}],"weight":"10"},{"charId":"f8edb95e","unicodeChar":"𤜥","unicodeCodePoint":"24725","pinYinChars":[{"char":"犭 义"}],"splitChars":[],"weight":"10"},{"charId":"ed281135","unicodeChar":"𤛁","unicodeCodePoint":"246C1","pinYinChars":[{"char":"WEN4"}],"splitChars":[{"char":"牛昷"}],"weight":"10"},{"charId":"b137485d","unicodeChar":"𤘯","unicodeCodePoint":"2462F","pinYinChars":[{"char":"MU4"}],"splitChars":[{"char":"牛 欠"}],"weight":"10"},{"charId":"ac69b9fd","unicodeChar":"𤓖","unicodeCodePoint":"244D6","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"䜌火"}],"weight":"10"},{"charId":"d1b6163c","unicodeChar":"𤒝","unicodeCodePoint":"2449D","pinYinChars":[{"char":"YAO4"}],"splitChars":[{"char":"自 火"}],"weight":"10"},{"charId":"c8df42b3","unicodeChar":"𤑚","unicodeCodePoint":"2445A","pinYinChars":[{"char":"YING4"}],"splitChars":[{"char":"火 瑩"}],"weight":"10"},{"charId":"aa9b14eb","unicodeChar":"𤑒","unicodeCodePoint":"24452","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"艹熭"}],"weight":"10"},{"charId":"f42abb99","unicodeChar":"𤐷","unicodeCodePoint":"24437","pinYinChars":[{"char":"EN1"}],"splitChars":[{"char":"火 塵"}],"weight":"10"},{"charId":"d9e896d6","unicodeChar":"𤐯","unicodeCodePoint":"2442F","pinYinChars":[{"char":"YUE4"}],"splitChars":[{"char":"火 龠"}],"weight":"10"},{"charId":"e89cb465","unicodeChar":"𤏖","unicodeCodePoint":"243D6","pinYinChars":[{"char":"JIAN1"}],"splitChars":[{"char":"火替"}],"weight":"10"},{"charId":"d4a9c113","unicodeChar":"𤎻","unicodeCodePoint":"243BB","pinYinChars":[{"char":"XIAO1"}],"splitChars":[{"char":"火萧"}],"weight":"10"},{"charId":"fef4e5c3","unicodeChar":"𤎰","unicodeCodePoint":"243B0","pinYinChars":[{"char":"ZENG1"}],"splitChars":[{"char":"曾灬"}],"weight":"10"},{"charId":"97de6a57","unicodeChar":"𤍢","unicodeCodePoint":"24362","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"火 土"}],"weight":"10"},{"charId":"5ca75601","unicodeChar":"𤍐","unicodeCodePoint":"24350","pinYinChars":[{"char":"TUI4"}],"splitChars":[{"char":"推火"}],"weight":"10"},{"charId":"44870765","unicodeChar":"𤍈","unicodeCodePoint":"24348","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"火 豈"}],"weight":"10"},{"charId":"3aedba3f","unicodeChar":"𤌣","unicodeCodePoint":"24323","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"火栗"}],"weight":"10"},{"charId":"ca52fc74","unicodeChar":"𤌗","unicodeCodePoint":"24317","pinYinChars":[{"char":"HUANG2"}],"splitChars":[{"char":"火 正"}],"weight":"10"},{"charId":"9c50b638","unicodeChar":"𤌀","unicodeCodePoint":"24300","pinYinChars":[{"char":"火 急"}],"splitChars":[],"weight":"10"},{"charId":"c8291b53","unicodeChar":"𤋾","unicodeCodePoint":"242FE","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"火音"}],"weight":"10"},{"charId":"3d5b2e59","unicodeChar":"𤋟","unicodeCodePoint":"242DF","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"火 复"}],"weight":"10"},{"charId":"8b046c4a","unicodeChar":"𤊨","unicodeCodePoint":"242A8","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"火 或"}],"weight":"10"},{"charId":"851d23c4","unicodeChar":"𤊧","unicodeCodePoint":"242A7","pinYinChars":[{"char":"火直"}],"splitChars":[],"weight":"10"},{"charId":"216304d7","unicodeChar":"𤊥","unicodeCodePoint":"242A5","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"火夌"}],"weight":"10"},{"charId":"20b2805a","unicodeChar":"𤊤","unicodeCodePoint":"242A4","pinYinChars":[{"char":"火岩"}],"splitChars":[],"weight":"10"},{"charId":"87e55ba6","unicodeChar":"𤊢","unicodeCodePoint":"242A2","pinYinChars":[{"char":"火 得"}],"splitChars":[],"weight":"10"},{"charId":"45947d8f","unicodeChar":"𤊓","unicodeCodePoint":"24293","pinYinChars":[{"char":"NI2"}],"splitChars":[{"char":"火 兒"}],"weight":"10"},{"charId":"17681ddd","unicodeChar":"𤊒","unicodeCodePoint":"24292","pinYinChars":[{"char":"LV4"}],"splitChars":[{"char":"火 录"}],"weight":"10"},{"charId":"588367c3","unicodeChar":"𤊎","unicodeCodePoint":"2428E","pinYinChars":[{"char":"GU4"}],"splitChars":[{"char":"火 固"}],"weight":"10"},{"charId":"19c99dbe","unicodeChar":"𤊄","unicodeCodePoint":"24284","pinYinChars":[{"char":"QI4"}],"splitChars":[{"char":"火其"}],"weight":"10"},{"charId":"e5bafc0f","unicodeChar":"𤉘","unicodeCodePoint":"24258","pinYinChars":[{"char":"火 言"}],"splitChars":[],"weight":"10"},{"charId":"3fd77506","unicodeChar":"𤉋","unicodeCodePoint":"2424B","pinYinChars":[{"char":"ZHENG2"},{"char":"ZHENG3"}],"splitChars":[{"char":"𠄘灬"}],"weight":"10"},{"charId":"65348086","unicodeChar":"𤈽","unicodeCodePoint":"2423D","pinYinChars":[{"char":"PENG"}],"splitChars":[{"char":"火亨"}],"weight":"10"},{"charId":"bb38ce9a","unicodeChar":"𤈻","unicodeCodePoint":"2423B","pinYinChars":[{"char":"HONG2"}],"splitChars":[{"char":"火 宏"}],"weight":"10"},{"charId":"618f88af","unicodeChar":"𤈺","unicodeCodePoint":"2423A","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"火 凡"}],"weight":"10"},{"charId":"9561daf6","unicodeChar":"𤈷","unicodeCodePoint":"24237","pinYinChars":[{"char":"XIAN1"}],"splitChars":[{"char":"火佥"}],"weight":"10"},{"charId":"da497199","unicodeChar":"𤈶","unicodeCodePoint":"24236","pinYinChars":[{"char":"YUN2"}],"splitChars":[{"char":"火员"}],"weight":"10"},{"charId":"ef3a49ca","unicodeChar":"𤈠","unicodeCodePoint":"24220","pinYinChars":[{"char":"火聿"}],"splitChars":[],"weight":"10"},{"charId":"92762e66","unicodeChar":"𤈜","unicodeCodePoint":"2421C","pinYinChars":[{"char":"ting1"}],"splitChars":[{"char":"火至"}],"weight":"10"},{"charId":"f372a0b1","unicodeChar":"𤈛","unicodeCodePoint":"2421B","pinYinChars":[{"char":"GUANG"}],"splitChars":[{"char":"火光"}],"weight":"10"},{"charId":"ba9abf92","unicodeChar":"𤈇","unicodeCodePoint":"24207","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"火西"}],"weight":"10"},{"charId":"be52cf05","unicodeChar":"𤇺","unicodeCodePoint":"241FA","pinYinChars":[{"char":"FENG"}],"splitChars":[{"char":"火 夅"}],"weight":"10"},{"charId":"8ad2b9b5","unicodeChar":"𤇹","unicodeCodePoint":"241F9","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"火毕"}],"weight":"10"},{"charId":"41d18198","unicodeChar":"𤇶","unicodeCodePoint":"241F6","pinYinChars":[{"char":"ZHENG"}],"splitChars":[{"char":"火 丞"}],"weight":"10"},{"charId":"f075602d","unicodeChar":"𤇭","unicodeCodePoint":"241ED","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"火龙"}],"weight":"10"},{"charId":"fb442f44","unicodeChar":"𤇨","unicodeCodePoint":"241E8","pinYinChars":[{"char":"PEI1"}],"splitChars":[{"char":"火丕"}],"weight":"10"},{"charId":"f7031a84","unicodeChar":"𤇥","unicodeCodePoint":"241E5","pinYinChars":[{"char":"火立"}],"splitChars":[],"weight":"10"},{"charId":"5749f41a","unicodeChar":"𤇣","unicodeCodePoint":"241E3","pinYinChars":[{"char":"XING4"}],"splitChars":[{"char":"火生"}],"weight":"10"},{"charId":"953a459e","unicodeChar":"𤇒","unicodeCodePoint":"241D2","pinYinChars":[{"char":"CE4"}],"splitChars":[{"char":"火 册"}],"weight":"10"},{"charId":"566eb5c9","unicodeChar":"𤇅","unicodeCodePoint":"241C5","pinYinChars":[{"char":"火 且"}],"splitChars":[],"weight":"10"},{"charId":"31ced6fd","unicodeChar":"𤇄","unicodeCodePoint":"241C4","pinYinChars":[{"char":"SHAN3"}],"splitChars":[{"char":"火闪"}],"weight":"10"},{"charId":"ff09a649","unicodeChar":"𤇂","unicodeCodePoint":"241C2","pinYinChars":[{"char":"SHENG4"}],"splitChars":[{"char":"火圣"}],"weight":"10"},{"charId":"8cc9291f","unicodeChar":"𤇁","unicodeCodePoint":"241C1","pinYinChars":[{"char":"HE2"},{"char":"GAI4"},{"char":"GE3"}],"splitChars":[{"char":"火 旦"}],"weight":"10"},{"charId":"35ab0aba","unicodeChar":"𤆶","unicodeCodePoint":"241B6","pinYinChars":[{"char":"FEN2"}],"splitChars":[{"char":"火分"}],"weight":"10"},{"charId":"1516bbdd","unicodeChar":"𤆥","unicodeCodePoint":"241A5","pinYinChars":[{"char":"zhuo2"}],"splitChars":[{"char":"火勻"}],"weight":"10"},{"charId":"e1fc87b1","unicodeChar":"𤆢","unicodeCodePoint":"241A2","pinYinChars":[{"char":"LUN2"}],"splitChars":[{"char":"火仑"}],"weight":"10"},{"charId":"f6b22d50","unicodeChar":"𤆘","unicodeCodePoint":"24198","pinYinChars":[{"char":"FAN2"}],"splitChars":[{"char":"火凡"}],"weight":"10"},{"charId":"2269fc40","unicodeChar":"𤆓","unicodeCodePoint":"24193","pinYinChars":[{"char":"KUANG4"}],"splitChars":[{"char":"火广"}],"weight":"10"},{"charId":"25fe3e0d","unicodeChar":"𤆍","unicodeCodePoint":"2418D","pinYinChars":[{"char":"CHI4"}],"splitChars":[{"char":"大火"}],"weight":"10"},{"charId":"a90bc5fe","unicodeChar":"𤆀","unicodeCodePoint":"24180","pinYinChars":[{"char":"BIAO1"}],"splitChars":[{"char":"氵驫"}],"weight":"10"},{"charId":"aa2f9bbd","unicodeChar":"𤅮","unicodeCodePoint":"2416E","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"氵 懿"}],"weight":"10"},{"charId":"685b843a","unicodeChar":"𤅟","unicodeCodePoint":"2415F","pinYinChars":[{"char":"lou4"}],"splitChars":[{"char":"氵露"}],"weight":"10"},{"charId":"98aaf617","unicodeChar":"𤅀","unicodeCodePoint":"24140","pinYinChars":[{"char":"YING2"}],"splitChars":[{"char":"氵羸"}],"weight":"10"},{"charId":"4943655e","unicodeChar":"𤃇","unicodeCodePoint":"240C7","pinYinChars":[{"char":"yan4"}],"splitChars":[{"char":"氵燕"}],"weight":"10"},{"charId":"c27e1a62","unicodeChar":"𤂪","unicodeCodePoint":"240AA","pinYinChars":[{"char":"氵震"}],"splitChars":[],"weight":"10"},{"charId":"9ce9ff66","unicodeChar":"𤂖","unicodeCodePoint":"24096","pinYinChars":[{"char":"YING3"}],"splitChars":[{"char":"氵 影"}],"weight":"10"},{"charId":"99f56455","unicodeChar":"𤂔","unicodeCodePoint":"24094","pinYinChars":[{"char":"BIN1"}],"splitChars":[{"char":"氵 頁"}],"weight":"10"},{"charId":"3021c488","unicodeChar":"𤁇","unicodeCodePoint":"24047","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"氵 蓉"}],"weight":"10"},{"charId":"5ae0df1d","unicodeChar":"𣿼","unicodeCodePoint":"23FFC","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"氵 目"}],"weight":"10"},{"charId":"abc8ccd3","unicodeChar":"𣿰","unicodeCodePoint":"23FF0","pinYinChars":[{"char":"jun4"},{"char":"xun4"}],"splitChars":[{"char":"氵 目"}],"weight":"10"},{"charId":"a99ff0cd","unicodeChar":"𣿭","unicodeCodePoint":"23FED","pinYinChars":[{"char":"diàn"}],"splitChars":[{"char":"氵 義"}],"weight":"10"},{"charId":"c412117e","unicodeChar":"𣾴","unicodeCodePoint":"23FB4","pinYinChars":[{"char":"pu2"}],"splitChars":[{"char":"氵 菐"}],"weight":"10"},{"charId":"4f58f558","unicodeChar":"𣾐","unicodeCodePoint":"23F90","pinYinChars":[{"char":"YI3"}],"splitChars":[{"char":"氵 椅"}],"weight":"10"},{"charId":"de4ea775","unicodeChar":"𣾏","unicodeCodePoint":"23F8F","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"氵 奇"}],"weight":"10"},{"charId":"67f857d8","unicodeChar":"𣽊","unicodeCodePoint":"23F4A","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"氵䜭"}],"weight":"10"},{"charId":"c4c033bf","unicodeChar":"𣽀","unicodeCodePoint":"23F40","pinYinChars":[{"char":"氵 介"}],"splitChars":[],"weight":"10"},{"charId":"e2e1e205","unicodeChar":"𣻺","unicodeCodePoint":"23EFA","pinYinChars":[{"char":"氵 基"}],"splitChars":[],"weight":"10"},{"charId":"995bb050","unicodeChar":"𣻄","unicodeCodePoint":"23EC4","pinYinChars":[{"char":"chu2"}],"splitChars":[{"char":"氵徐"}],"weight":"10"},{"charId":"83610aec","unicodeChar":"𣺼","unicodeCodePoint":"23EBC","pinYinChars":[{"char":"DANG3"},{"char":"TANG3"}],"splitChars":[{"char":"氵党"}],"weight":"10"},{"charId":"7c89e431","unicodeChar":"𣺫","unicodeCodePoint":"23EAB","pinYinChars":[{"char":"XIU3"}],"splitChars":[{"char":"氵修"}],"weight":"10"},{"charId":"01db4911","unicodeChar":"𣺢","unicodeCodePoint":"23EA2","pinYinChars":[{"char":"DI2"}],"splitChars":[{"char":"氵 条"}],"weight":"10"},{"charId":"c018376c","unicodeChar":"𣺖","unicodeCodePoint":"23E96","pinYinChars":[{"char":"GONG1"}],"splitChars":[{"char":"氵 恭"}],"weight":"10"},{"charId":"404ea61a","unicodeChar":"𣹏","unicodeCodePoint":"23E4F","pinYinChars":[{"char":"chan2"}],"splitChars":[{"char":"氵孨"}],"weight":"10"},{"charId":"134d52e5","unicodeChar":"𣸹","unicodeCodePoint":"23E39","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"氵 屏"}],"weight":"10"},{"charId":"14e40376","unicodeChar":"𣸭","unicodeCodePoint":"23E2D","pinYinChars":[{"char":"氵 昱"}],"splitChars":[],"weight":"10"},{"charId":"9fcab4a4","unicodeChar":"𣸪","unicodeCodePoint":"23E2A","pinYinChars":[{"char":"FU4"}],"splitChars":[{"char":"氵 复"}],"weight":"10"},{"charId":"395afcc2","unicodeChar":"𣸩","unicodeCodePoint":"23E29","pinYinChars":[{"char":"dun4"}],"splitChars":[{"char":"氵 盾"}],"weight":"10"},{"charId":"6121e399","unicodeChar":"𣸕","unicodeCodePoint":"23E15","pinYinChars":[{"char":"SHUI3"}],"splitChars":[{"char":"井 泉"}],"weight":"10"},{"charId":"def9aba6","unicodeChar":"𣸐","unicodeCodePoint":"23E10","pinYinChars":[{"char":"ZA2"}],"splitChars":[{"char":"水砅"}],"weight":"10"},{"charId":"5fb93294","unicodeChar":"𣸅","unicodeCodePoint":"23E05","pinYinChars":[{"char":"GUO2"}],"splitChars":[{"char":"氵括"}],"weight":"10"},{"charId":"9149cacb","unicodeChar":"𣷸","unicodeCodePoint":"23DF8","pinYinChars":[{"char":"FAN"}],"splitChars":[{"char":"氵芝"}],"weight":"10"},{"charId":"428bc322","unicodeChar":"𣷵","unicodeCodePoint":"23DF5","pinYinChars":[{"char":"QI1"}],"splitChars":[{"char":"氵 束"}],"weight":"10"},{"charId":"86428c0c","unicodeChar":"𣷂","unicodeCodePoint":"23DC2","pinYinChars":[{"char":"BAO3"}],"splitChars":[{"char":"氵 宝"}],"weight":"10"},{"charId":"3b172274","unicodeChar":"𣶽","unicodeCodePoint":"23DBD","pinYinChars":[{"char":"fa3"}],"splitChars":[{"char":"氵 芸"}],"weight":"10"},{"charId":"a3ecec52","unicodeChar":"𣶼","unicodeCodePoint":"23DBC","pinYinChars":[{"char":"氵 芬"}],"splitChars":[],"weight":"10"},{"charId":"651db2fc","unicodeChar":"𣶺","unicodeCodePoint":"23DBA","pinYinChars":[{"char":"氵宜"}],"splitChars":[],"weight":"10"},{"charId":"5e152bef","unicodeChar":"𣶴","unicodeCodePoint":"23DB4","pinYinChars":[{"char":"chong1"}],"splitChars":[{"char":"氵 肿"}],"weight":"10"},{"charId":"dd21e0d3","unicodeChar":"𣶇","unicodeCodePoint":"23D87","pinYinChars":[{"char":"SA3"}],"splitChars":[{"char":"氵 丽"}],"weight":"10"},{"charId":"5c94f375","unicodeChar":"𣶀","unicodeCodePoint":"23D80","pinYinChars":[{"char":"MAO4"}],"splitChars":[{"char":"氵冐"}],"weight":"10"},{"charId":"7496ff1e","unicodeChar":"𣵦","unicodeCodePoint":"23D66","pinYinChars":[{"char":"DIAN4"}],"splitChars":[{"char":"氵甸"}],"weight":"10"},{"charId":"45538f81","unicodeChar":"𣵗","unicodeCodePoint":"23D57","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"氵 夭"}],"weight":"10"},{"charId":"f6b4b8ba","unicodeChar":"𣵁","unicodeCodePoint":"23D41","pinYinChars":[{"char":"YAN1"}],"splitChars":[{"char":"氵伯"}],"weight":"10"},{"charId":"dc05a161","unicodeChar":"𣴺","unicodeCodePoint":"23D3A","pinYinChars":[{"char":"YUAN1"}],"splitChars":[{"char":"氵囦"}],"weight":"10"},{"charId":"136c00c8","unicodeChar":"𣴶","unicodeCodePoint":"23D36","pinYinChars":[{"char":"QI1"}],"splitChars":[{"char":"氵坐"}],"weight":"10"},{"charId":"b0958b77","unicodeChar":"𣴊","unicodeCodePoint":"23D0A","pinYinChars":[{"char":"SE4"}],"splitChars":[{"char":"氵色"}],"weight":"10"},{"charId":"0d375ec6","unicodeChar":"𣴆","unicodeCodePoint":"23D06","pinYinChars":[{"char":"YU3"}],"splitChars":[{"char":"氵 羽"}],"weight":"10"},{"charId":"d651ceb4","unicodeChar":"𣳽","unicodeCodePoint":"23CFD","pinYinChars":[{"char":"氵 佩"}],"splitChars":[],"weight":"10"},{"charId":"05779ee3","unicodeChar":"𣳳","unicodeCodePoint":"23CF3","pinYinChars":[{"char":"XIAN3"}],"splitChars":[{"char":"覀水"}],"weight":"10"},{"charId":"10832b49","unicodeChar":"𣳮","unicodeCodePoint":"23CEE","pinYinChars":[{"char":"CHI2"}],"splitChars":[{"char":"氵 吕"}],"weight":"10"},{"charId":"6bc52b31","unicodeChar":"𣳗","unicodeCodePoint":"23CD7","pinYinChars":[{"char":"MU3"}],"splitChars":[{"char":"水母"}],"weight":"10"},{"charId":"077f8961","unicodeChar":"𣳆","unicodeCodePoint":"23CC6","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"冯水"}],"weight":"10"},{"charId":"80e61130","unicodeChar":"𣲙","unicodeCodePoint":"23C99","pinYinChars":[{"char":"NI4"},{"char":"NIAO4"}],"splitChars":[{"char":"氵水"}],"weight":"10"},{"charId":"a67ab8e6","unicodeChar":"𣱶","unicodeCodePoint":"23C76","pinYinChars":[{"char":"BU3"}],"splitChars":[{"char":"氵卜"}],"weight":"10"},{"charId":"d36b4b3a","unicodeChar":"𣭚","unicodeCodePoint":"23B5A","pinYinChars":[{"char":"PAO3"}],"splitChars":[{"char":"毛 包"}],"weight":"10"},{"charId":"a7e2ffdb","unicodeChar":"𣭇","unicodeCodePoint":"23B47","pinYinChars":[{"char":"LV3"}],"splitChars":[{"char":"毛母"}],"weight":"10"},{"charId":"c18188ff","unicodeChar":"𣬵","unicodeCodePoint":"23B35","pinYinChars":[{"char":"MAO2"}],"splitChars":[{"char":"方毛"}],"weight":"10"},{"charId":"d9665b4c","unicodeChar":"𣬥","unicodeCodePoint":"23B25","pinYinChars":[{"char":"MAO1"}],"splitChars":[{"char":"毛 子"}],"weight":"10"},{"charId":"6a4a73b8","unicodeChar":"𣫺","unicodeCodePoint":"23AFA","pinYinChars":[{"char":"YU4"}],"splitChars":[{"char":"每育"}],"weight":"10"},{"charId":"49420f0f","unicodeChar":"𣫴","unicodeCodePoint":"23AF4","pinYinChars":[{"char":"XIE2"}],"splitChars":[{"char":"圭母"}],"weight":"10"},{"charId":"6a35414a","unicodeChar":"𣫯","unicodeCodePoint":"23AEF","pinYinChars":[{"char":"FAN2"}],"splitChars":[{"char":"母母"}],"weight":"10"},{"charId":"6ba21afb","unicodeChar":"𣪺","unicodeCodePoint":"23ABA","pinYinChars":[{"char":"HU2"}],"splitChars":[{"char":"殼糸"}],"weight":"10"},{"charId":"2619bf65","unicodeChar":"𣪱","unicodeCodePoint":"23AB1","pinYinChars":[{"char":"AI2"}],"splitChars":[{"char":"豈殳"}],"weight":"10"},{"charId":"2536ca7c","unicodeChar":"𣪞","unicodeCodePoint":"23A9E","pinYinChars":[{"char":"YIN1"}],"splitChars":[{"char":"白廾殳"}],"weight":"10"},{"charId":"db1b4546","unicodeChar":"𣥖","unicodeCodePoint":"23956","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"止止"}],"weight":"10"},{"charId":"3f4e554d","unicodeChar":"𣡍","unicodeCodePoint":"2384D","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"朿 朿"}],"weight":"10"},{"charId":"db71e0ad","unicodeChar":"𣟛","unicodeCodePoint":"237DB","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"木燕"}],"weight":"10"},{"charId":"28ba7790","unicodeChar":"𣟕","unicodeCodePoint":"237D5","pinYinChars":[{"char":"木 木"}],"splitChars":[],"weight":"10"},{"charId":"c0e4c39f","unicodeChar":"𣞢","unicodeCodePoint":"237A2","pinYinChars":[{"char":"ZE3"}],"splitChars":[{"char":"木 蔗"}],"weight":"10"},{"charId":"a6db1abe","unicodeChar":"𣞍","unicodeCodePoint":"2378D","pinYinChars":[{"char":"木 署"}],"splitChars":[{"char":"木署"}],"weight":"10"},{"charId":"d098e8d5","unicodeChar":"𣞁","unicodeCodePoint":"23781","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"木 榮"}],"weight":"10"},{"charId":"063febf7","unicodeChar":"𣝲","unicodeCodePoint":"23772","pinYinChars":[{"char":"FENG4"}],"splitChars":[{"char":"木 鳳"}],"weight":"10"},{"charId":"81a1eafc","unicodeChar":"𣝢","unicodeCodePoint":"23762","pinYinChars":[{"char":"pu3"},{"char":"po1"},{"char":"po4"},{"char":"piao2"}],"splitChars":[{"char":"木 美"}],"weight":"10"},{"charId":"de25a632","unicodeChar":"𣝀","unicodeCodePoint":"23740","pinYinChars":[{"char":"木勤"}],"splitChars":[],"weight":"10"},{"charId":"250a55f1","unicodeChar":"𣜒","unicodeCodePoint":"23712","pinYinChars":[{"char":"CONG2"}],"splitChars":[{"char":"木 取"}],"weight":"10"},{"charId":"385cc9e0","unicodeChar":"𣜃","unicodeCodePoint":"23703","pinYinChars":[{"char":"YOU3"}],"splitChars":[{"char":"木𤋃"}],"weight":"10"},{"charId":"5bf8f6f0","unicodeChar":"𣛃","unicodeCodePoint":"236C3","pinYinChars":[{"char":"JUN4"}],"splitChars":[{"char":"木 菌"}],"weight":"10"},{"charId":"95930143","unicodeChar":"𣚰","unicodeCodePoint":"236B0","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"木着"}],"weight":"10"},{"charId":"7d0d8d11","unicodeChar":"𣚦","unicodeCodePoint":"236A6","pinYinChars":[{"char":"JIANG4"}],"splitChars":[{"char":"木强木強"}],"weight":"10"},{"charId":"4c89521d","unicodeChar":"𣚣","unicodeCodePoint":"236A3","pinYinChars":[{"char":"GENG1"}],"splitChars":[{"char":"木異"}],"weight":"10"},{"charId":"93e2e2b2","unicodeChar":"𣚘","unicodeCodePoint":"23698","pinYinChars":[{"char":"YI4"}],"splitChars":[],"weight":"10"},{"charId":"9399e8c3","unicodeChar":"𣙷","unicodeCodePoint":"23677","pinYinChars":[{"char":"MANG2"}],"splitChars":[{"char":"木莽"}],"weight":"10"},{"charId":"c98b8986","unicodeChar":"𣙢","unicodeCodePoint":"23662","pinYinChars":[{"char":"JUAN4"}],"splitChars":[{"char":"木圈"}],"weight":"10"},{"charId":"2f9a2dc1","unicodeChar":"𣙟","unicodeCodePoint":"2365F","pinYinChars":[{"char":"TANG2"}],"splitChars":[{"char":"木常"}],"weight":"10"},{"charId":"8f016306","unicodeChar":"𣘼","unicodeCodePoint":"2363C","pinYinChars":[{"char":"qi3"}],"splitChars":[{"char":"啟木"}],"weight":"10"},{"charId":"2a2affc4","unicodeChar":"𣘩","unicodeCodePoint":"23629","pinYinChars":[{"char":"SI4"}],"splitChars":[{"char":"木徙"}],"weight":"10"},{"charId":"ebad216d","unicodeChar":"𣘢","unicodeCodePoint":"23622","pinYinChars":[{"char":"AO2"}],"splitChars":[{"char":"敖木"}],"weight":"10"},{"charId":"f9581715","unicodeChar":"𣘁","unicodeCodePoint":"23601","pinYinChars":[{"char":"木哥"}],"splitChars":[],"weight":"10"},{"charId":"556a8138","unicodeChar":"𣗙","unicodeCodePoint":"235D9","pinYinChars":[{"char":"NUO2"}],"splitChars":[{"char":"木难"}],"weight":"10"},{"charId":"38b4f572","unicodeChar":"𣗖","unicodeCodePoint":"235D6","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"木栗"}],"weight":"10"},{"charId":"650cda8f","unicodeChar":"𣗏","unicodeCodePoint":"235CF","pinYinChars":[{"char":"木 峯"}],"splitChars":[],"weight":"10"},{"charId":"0b63c92c","unicodeChar":"𣗎","unicodeCodePoint":"235CE","pinYinChars":[{"char":"木 荃"}],"splitChars":[],"weight":"10"},{"charId":"4af2da54","unicodeChar":"𣗇","unicodeCodePoint":"235C7","pinYinChars":[{"char":"木西灬"}],"splitChars":[],"weight":"10"},{"charId":"5297f0cc","unicodeChar":"𣖵","unicodeCodePoint":"235B5","pinYinChars":[{"char":"CUO2"}],"splitChars":[{"char":"木座"}],"weight":"10"},{"charId":"dfd414b3","unicodeChar":"𣖧","unicodeCodePoint":"235A7","pinYinChars":[{"char":"木柴"}],"splitChars":[],"weight":"10"},{"charId":"9bbf4aaf","unicodeChar":"𣖕","unicodeCodePoint":"23595","pinYinChars":[{"char":"PING2"}],"splitChars":[{"char":"木屏"}],"weight":"10"},{"charId":"999e9ecb","unicodeChar":"𣖂","unicodeCodePoint":"23582","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"木羍"}],"weight":"10"},{"charId":"f4e341af","unicodeChar":"𣕯","unicodeCodePoint":"2356F","pinYinChars":[{"char":"CHEN1"}],"splitChars":[{"char":"林 令"}],"weight":"10"},{"charId":"0c1e9f64","unicodeChar":"𣕚","unicodeCodePoint":"2355A","pinYinChars":[{"char":"木茂"}],"splitChars":[],"weight":"10"},{"charId":"2ed2ab9e","unicodeChar":"𣔭","unicodeCodePoint":"2352D","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"木坴"}],"weight":"10"},{"charId":"c716ced5","unicodeChar":"𣓿","unicodeCodePoint":"234FF","pinYinChars":[{"char":"LAO4"}],"splitChars":[{"char":"木劳"}],"weight":"10"},{"charId":"90ce6549","unicodeChar":"𣓶","unicodeCodePoint":"234F6","pinYinChars":[{"char":"MENG4"}],"splitChars":[{"char":"木 孟"}],"weight":"10"},{"charId":"0955bd2c","unicodeChar":"𣓳","unicodeCodePoint":"234F3","pinYinChars":[{"char":"RONG2"}],"splitChars":[{"char":"火 木"}],"weight":"10"},{"charId":"abca8f60","unicodeChar":"𣓖","unicodeCodePoint":"234D6","pinYinChars":[{"char":"JI1"}],"splitChars":[{"char":"木肩"}],"weight":"10"},{"charId":"022887a8","unicodeChar":"𣓎","unicodeCodePoint":"234CE","pinYinChars":[{"char":"YAO1"}],"splitChars":[{"char":"木芺"}],"weight":"10"},{"charId":"7c833cfd","unicodeChar":"𣒣","unicodeCodePoint":"234A3","pinYinChars":[{"char":"MANG2"}],"splitChars":[{"char":"木芒"}],"weight":"10"},{"charId":"94a75323","unicodeChar":"𣑲","unicodeCodePoint":"23472","pinYinChars":[{"char":"PEI4"}],"splitChars":[{"char":"木𫥞"}],"weight":"10"},{"charId":"9180b5e3","unicodeChar":"𣑖","unicodeCodePoint":"23456","pinYinChars":[{"char":"QIA4"}],"splitChars":[{"char":"木圶"}],"weight":"10"},{"charId":"3b666d59","unicodeChar":"𣑕","unicodeCodePoint":"23455","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"木丞"}],"weight":"10"},{"charId":"8bc83d3e","unicodeChar":"𣑐","unicodeCodePoint":"23450","pinYinChars":[{"char":"MOU3"}],"splitChars":[{"char":"木吊"}],"weight":"10"},{"charId":"8afdf493","unicodeChar":"𣐹","unicodeCodePoint":"23439","pinYinChars":[{"char":"JIAO1"}],"splitChars":[{"char":"木尗"}],"weight":"10"},{"charId":"1048c40d","unicodeChar":"𣐬","unicodeCodePoint":"2342C","pinYinChars":[{"char":"NIU3"}],"splitChars":[{"char":"木田"}],"weight":"10"},{"charId":"eec386de","unicodeChar":"𣐩","unicodeCodePoint":"23429","pinYinChars":[{"char":"BAI2"}],"splitChars":[{"char":"白木"}],"weight":"10"},{"charId":"e14fa3c2","unicodeChar":"𣐡","unicodeCodePoint":"23421","pinYinChars":[{"char":"MIN2"}],"splitChars":[{"char":"木民"}],"weight":"10"},{"charId":"ea083358","unicodeChar":"𣐕","unicodeCodePoint":"23415","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"木𢀖"}],"weight":"10"},{"charId":"3285e57a","unicodeChar":"𣐀","unicodeCodePoint":"23400","pinYinChars":[{"char":"WEN2"}],"splitChars":[{"char":"木文"}],"weight":"10"},{"charId":"6f3a37ed","unicodeChar":"𣏹","unicodeCodePoint":"233F9","pinYinChars":[{"char":"ZAI1"}],"splitChars":[{"char":"木火"}],"weight":"10"},{"charId":"d5d04592","unicodeChar":"𣏬","unicodeCodePoint":"233EC","pinYinChars":[{"char":"RI4"}],"splitChars":[{"char":"木 日"}],"weight":"10"},{"charId":"0206a31f","unicodeChar":"𣏨","unicodeCodePoint":"233E8","pinYinChars":[{"char":"JING3"}],"splitChars":[{"char":"木井"}],"weight":"10"},{"charId":"74fa0d95","unicodeChar":"𣎶","unicodeCodePoint":"233B6","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"木一"}],"weight":"10"},{"charId":"2d7e1b8b","unicodeChar":"𣎮","unicodeCodePoint":"233AE","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"月羲"}],"weight":"10"},{"charId":"65913a74","unicodeChar":"𣍱","unicodeCodePoint":"23371","pinYinChars":[{"char":"MOU3"}],"splitChars":[{"char":"月 宏"}],"weight":"10"},{"charId":"0576d22a","unicodeChar":"𣍬","unicodeCodePoint":"2336C","pinYinChars":[{"char":"CHUAN2"}],"splitChars":[{"char":"月 口"}],"weight":"10"},{"charId":"6ce85ddc","unicodeChar":"𣍪","unicodeCodePoint":"2336A","pinYinChars":[{"char":"MOU3"}],"splitChars":[{"char":"月丙"}],"weight":"10"},{"charId":"cc79a019","unicodeChar":"𣌭","unicodeCodePoint":"2332D","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"合日"}],"weight":"10"},{"charId":"886d90c2","unicodeChar":"𣌟","unicodeCodePoint":"2331F","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"日靈"}],"weight":"10"},{"charId":"888f8486","unicodeChar":"𣌊","unicodeCodePoint":"2330A","pinYinChars":[{"char":"日 霞"}],"splitChars":[],"weight":"10"},{"charId":"8fae560f","unicodeChar":"𣋅","unicodeCodePoint":"232C5","pinYinChars":[{"char":"YAN4"}],"splitChars":[{"char":"廿北"}],"weight":"10"},{"charId":"e80d19b3","unicodeChar":"𣊬","unicodeCodePoint":"232AC","pinYinChars":[{"char":"SHUN4"}],"splitChars":[{"char":"日 舜"}],"weight":"10"},{"charId":"2678da3c","unicodeChar":"𣊧","unicodeCodePoint":"232A7","pinYinChars":[{"char":"LANG3"}],"splitChars":[{"char":"明明"}],"weight":"10"},{"charId":"12f2981a","unicodeChar":"𣈶","unicodeCodePoint":"23236","pinYinChars":[{"char":"XUAN3"}],"splitChars":[{"char":"日恆"}],"weight":"10"},{"charId":"e2509bd9","unicodeChar":"𣈲","unicodeCodePoint":"23232","pinYinChars":[{"char":"MEI4"}],"splitChars":[{"char":"日 眉"}],"weight":"10"},{"charId":"e083e0cc","unicodeChar":"𣈏","unicodeCodePoint":"2320F","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"日昔"}],"weight":"10"},{"charId":"c1be4ad9","unicodeChar":"𣇷","unicodeCodePoint":"231F7","pinYinChars":[{"char":"日 芳"}],"splitChars":[],"weight":"10"},{"charId":"ee9556f2","unicodeChar":"𣇲","unicodeCodePoint":"231F2","pinYinChars":[{"char":"HUN1"}],"splitChars":[{"char":"日昏"}],"weight":"10"},{"charId":"230db4cb","unicodeChar":"𣇉","unicodeCodePoint":"231C9","pinYinChars":[{"char":"日 君"}],"splitChars":[],"weight":"10"},{"charId":"d1a85c37","unicodeChar":"𣆥","unicodeCodePoint":"231A5","pinYinChars":[{"char":"huang4"}],"splitChars":[{"char":"光日"}],"weight":"10"},{"charId":"c464a707","unicodeChar":"𣆚","unicodeCodePoint":"2319A","pinYinChars":[{"char":"NUO3"}],"splitChars":[{"char":"日多"}],"weight":"10"},{"charId":"469a74dc","unicodeChar":"𣆀","unicodeCodePoint":"23180","pinYinChars":[{"char":"DAN"}],"splitChars":[{"char":"日冉"}],"weight":"10"},{"charId":"1362d59b","unicodeChar":"𣅿","unicodeCodePoint":"2317F","pinYinChars":[{"char":"yi2"},{"char":"chi4"}],"splitChars":[{"char":"日台"}],"weight":"10"},{"charId":"4050d0b4","unicodeChar":"𣅽","unicodeCodePoint":"2317D","pinYinChars":[{"char":"PO4"}],"splitChars":[{"char":"日出"}],"weight":"10"},{"charId":"9d578929","unicodeChar":"𣅋","unicodeCodePoint":"2314B","pinYinChars":[{"char":"DOU4"}],"splitChars":[{"char":"日䒑"}],"weight":"10"},{"charId":"3651b47f","unicodeChar":"𣄻","unicodeCodePoint":"2313B","pinYinChars":[{"char":"ZHUO1"}],"splitChars":[{"char":"日乙"}],"weight":"10"},{"charId":"5fd2d4c5","unicodeChar":"𣄃","unicodeCodePoint":"23103","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"方其"}],"weight":"10"},{"charId":"bb735fa2","unicodeChar":"𣃚","unicodeCodePoint":"230DA","pinYinChars":[{"char":"HANG2"}],"splitChars":[{"char":"方亢"}],"weight":"10"},{"charId":"d4ec42b0","unicodeChar":"𣂎","unicodeCodePoint":"2308E","pinYinChars":[{"char":"满 斗"}],"splitChars":[],"weight":"10"},{"charId":"2c42631c","unicodeChar":"𣁾","unicodeCodePoint":"2307E","pinYinChars":[{"char":"斗 斗"}],"splitChars":[],"weight":"10"},{"charId":"e687b1bf","unicodeChar":"𣀸","unicodeCodePoint":"23038","pinYinChars":[{"char":"JIAN3"}],"splitChars":[{"char":"繭攵"}],"weight":"10"},{"charId":"7483616e","unicodeChar":"𢿇","unicodeCodePoint":"22FC7","pinYinChars":[{"char":"LU4"}],"splitChars":[{"char":"鹿攴"}],"weight":"10"},{"charId":"ca82bc06","unicodeChar":"𢾝","unicodeCodePoint":"22F9D","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"韋攵"}],"weight":"10"},{"charId":"4b62f138","unicodeChar":"𢾚","unicodeCodePoint":"22F9A","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"音攵"}],"weight":"10"},{"charId":"b9786b36","unicodeChar":"𢾖","unicodeCodePoint":"22F96","pinYinChars":[{"char":"DU4"}],"splitChars":[{"char":"度攴广龷又攴"}],"weight":"10"},{"charId":"d19e5c08","unicodeChar":"𢾅","unicodeCodePoint":"22F85","pinYinChars":[{"char":"DU4"}],"splitChars":[{"char":"度攵"}],"weight":"10"},{"charId":"0394a16b","unicodeChar":"𢽾","unicodeCodePoint":"22F7E","pinYinChars":[{"char":"XIAO4"}],"splitChars":[{"char":"学攴"}],"weight":"10"},{"charId":"f234321b","unicodeChar":"𢽠","unicodeCodePoint":"22F60","pinYinChars":[{"char":"ZHENG1"}],"splitChars":[{"char":"𱖔攵山丆土攵"}],"weight":"10"},{"charId":"60392f17","unicodeChar":"𢽉","unicodeCodePoint":"22F49","pinYinChars":[{"char":"KOU4"}],"splitChars":[{"char":"完攵"}],"weight":"10"},{"charId":"c8511a30","unicodeChar":"𢼉","unicodeCodePoint":"22F09","pinYinChars":[{"char":"SHI1"}],"splitChars":[{"char":"台攵"}],"weight":"10"},{"charId":"2b71865f","unicodeChar":"𢼄","unicodeCodePoint":"22F04","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"户攵"}],"weight":"10"},{"charId":"444c2be2","unicodeChar":"𢻴","unicodeCodePoint":"22EF4","pinYinChars":[{"char":"DEN4"}],"splitChars":[{"char":"屯攴"}],"weight":"10"},{"charId":"d34324ad","unicodeChar":"𢻮","unicodeCodePoint":"22EEE","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"卪攵"}],"weight":"10"},{"charId":"bcebd5ae","unicodeChar":"𢻁","unicodeCodePoint":"22EC1","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"刀 支"}],"weight":"10"},{"charId":"a6fcb5f9","unicodeChar":"𢸳","unicodeCodePoint":"22E33","pinYinChars":[{"char":"SU4"}],"splitChars":[{"char":"扌蕭"}],"weight":"10"},{"charId":"9d7de295","unicodeChar":"𢷏","unicodeCodePoint":"22DCF","pinYinChars":[{"char":"PU1"}],"splitChars":[{"char":"扌僕"}],"weight":"10"},{"charId":"7a5ed25a","unicodeChar":"𢷊","unicodeCodePoint":"22DCA","pinYinChars":[{"char":"SUI4"}],"splitChars":[{"char":"扌 遂"}],"weight":"10"},{"charId":"8cd79c36","unicodeChar":"𢳟","unicodeCodePoint":"22CDF","pinYinChars":[{"char":"TONG3"}],"splitChars":[{"char":"扌通"}],"weight":"10"},{"charId":"eb4e1db6","unicodeChar":"𢮝","unicodeCodePoint":"22B9D","pinYinChars":[{"char":"NA2"}],"splitChars":[{"char":"取手"}],"weight":"10"},{"charId":"48afd1fd","unicodeChar":"𢮎","unicodeCodePoint":"22B8E","pinYinChars":[{"char":"GUAI1"}],"splitChars":[{"char":"扌虎"}],"weight":"10"},{"charId":"eb2d725a","unicodeChar":"𢮋","unicodeCodePoint":"22B8B","pinYinChars":[{"char":"ZHENG3"}],"splitChars":[{"char":"扌承"}],"weight":"10"},{"charId":"21453b9f","unicodeChar":"𢭭","unicodeCodePoint":"22B6D","pinYinChars":[{"char":"扌灶"}],"splitChars":[],"weight":"10"},{"charId":"6ad0bc32","unicodeChar":"𢫱","unicodeCodePoint":"22AF1","pinYinChars":[{"char":"YAN3"}],"splitChars":[{"char":"扌行"}],"weight":"10"},{"charId":"066b5c82","unicodeChar":"𢫦","unicodeCodePoint":"22AE6","pinYinChars":[{"char":"PAI1"}],"splitChars":[{"char":"扌百"}],"weight":"10"},{"charId":"7d7c6a7b","unicodeChar":"𢪘","unicodeCodePoint":"22A98","pinYinChars":[{"char":"bai1"}],"splitChars":[{"char":"分手"}],"weight":"10"},{"charId":"215e25e1","unicodeChar":"𢪒","unicodeCodePoint":"22A92","pinYinChars":[{"char":"GONG3"}],"splitChars":[{"char":"手手"}],"weight":"10"},{"charId":"f50bf170","unicodeChar":"𢩭","unicodeCodePoint":"22A6D","pinYinChars":[{"char":"CUN3"}],"splitChars":[{"char":"扌寸"}],"weight":"10"},{"charId":"c0055ad8","unicodeChar":"𢩙","unicodeCodePoint":"22A59","pinYinChars":[{"char":"LING2"}],"splitChars":[{"char":"启启"}],"weight":"10"},{"charId":"65e0f092","unicodeChar":"𢩉","unicodeCodePoint":"22A49","pinYinChars":[{"char":"户共"}],"splitChars":[],"weight":"10"},{"charId":"0b3919d3","unicodeChar":"𢨋","unicodeCodePoint":"22A0B","pinYinChars":[{"char":"BEI4"}],"splitChars":[{"char":"或 或"}],"weight":"10"},{"charId":"2b1d8c08","unicodeChar":"𢦏","unicodeCodePoint":"2298F","pinYinChars":[{"char":"ZAI1"}],"splitChars":[{"char":"十 戈"}],"weight":"10"},{"charId":"d98f2fa3","unicodeChar":"𢥞","unicodeCodePoint":"2295E","pinYinChars":[{"char":"CHONG1"}],"splitChars":[{"char":"忄蟲"}],"weight":"10"},{"charId":"03d8a0e7","unicodeChar":"𢤀","unicodeCodePoint":"22900","pinYinChars":[{"char":"HONG1"}],"splitChars":[{"char":"興心"}],"weight":"10"},{"charId":"4be6e5a3","unicodeChar":"𢢩","unicodeCodePoint":"228A9","pinYinChars":[{"char":"jing"}],"splitChars":[{"char":"忄敬"}],"weight":"10"},{"charId":"1180d0f4","unicodeChar":"𢡟","unicodeCodePoint":"2285F","pinYinChars":[{"char":"mao4"}],"splitChars":[{"char":"棥心"}],"weight":"10"},{"charId":"a1de01d7","unicodeChar":"𢡋","unicodeCodePoint":"2284B","pinYinChars":[{"char":"GAO1"}],"splitChars":[{"char":"忄臯"}],"weight":"10"},{"charId":"a64036e7","unicodeChar":"𢠨","unicodeCodePoint":"22828","pinYinChars":[{"char":"忄敏"}],"splitChars":[],"weight":"10"},{"charId":"b9d5f61b","unicodeChar":"𢠢","unicodeCodePoint":"22822","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"忄尉"}],"weight":"10"},{"charId":"fb1aa511","unicodeChar":"𢠆","unicodeCodePoint":"22806","pinYinChars":[{"char":"忄通"}],"splitChars":[],"weight":"10"},{"charId":"4514a349","unicodeChar":"𢠄","unicodeCodePoint":"22804","pinYinChars":[{"char":"忄崇"}],"splitChars":[],"weight":"10"},{"charId":"42882766","unicodeChar":"𢞓","unicodeCodePoint":"22793","pinYinChars":[{"char":"LIU2"}],"splitChars":[{"char":"忄留"}],"weight":"10"},{"charId":"13b3d17f","unicodeChar":"𢜞","unicodeCodePoint":"2271E","pinYinChars":[{"char":"忄來"}],"splitChars":[],"weight":"10"},{"charId":"a12886ce","unicodeChar":"𢜔","unicodeCodePoint":"22714","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"知心"}],"weight":"10"},{"charId":"4906356b","unicodeChar":"𢜀","unicodeCodePoint":"22700","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"忄 疌"}],"weight":"10"},{"charId":"41eeebc0","unicodeChar":"𢛧","unicodeCodePoint":"226E7","pinYinChars":[{"char":"WEI2"}],"splitChars":[{"char":"隹心"}],"weight":"10"},{"charId":"f8de9340","unicodeChar":"𢚾","unicodeCodePoint":"226BE","pinYinChars":[{"char":"HUAN4"}],"splitChars":[{"char":"忄奂"}],"weight":"10"},{"charId":"77a094ca","unicodeChar":"𢙓","unicodeCodePoint":"22653","pinYinChars":[{"char":"WEI4"}],"splitChars":[{"char":"忄会"}],"weight":"10"},{"charId":"05a324fb","unicodeChar":"𢙐","unicodeCodePoint":"22650","pinYinChars":[{"char":"NAO2"}],"splitChars":[{"char":"忄农"}],"weight":"10"},{"charId":"6e3ffea1","unicodeChar":"𢙏","unicodeCodePoint":"2264F","pinYinChars":[{"char":"XUN4"}],"splitChars":[{"char":"孙心"}],"weight":"10"},{"charId":"a8c3076f","unicodeChar":"𢘙","unicodeCodePoint":"22619","pinYinChars":[{"char":"LONG3"}],"splitChars":[{"char":"忄龙"}],"weight":"10"},{"charId":"354d4540","unicodeChar":"𢗋","unicodeCodePoint":"225CB","pinYinChars":[{"char":"QIONG2"}],"splitChars":[{"char":"忄匀忄勻"}],"weight":"10"},{"charId":"d119eda2","unicodeChar":"𢖱","unicodeCodePoint":"225B1","pinYinChars":[{"char":"NAI3"}],"splitChars":[{"char":"忄乃"}],"weight":"10"},{"charId":"4c01a54a","unicodeChar":"𢔏","unicodeCodePoint":"2250F","pinYinChars":[{"char":"HOU4"}],"splitChars":[{"char":"彳受"}],"weight":"10"},{"charId":"7aaf14b1","unicodeChar":"𢓶","unicodeCodePoint":"224F6","pinYinChars":[{"char":"TONG1"}],"splitChars":[{"char":"彳甬"}],"weight":"10"},{"charId":"877f8edd","unicodeChar":"𢓭","unicodeCodePoint":"224ED","pinYinChars":[{"char":"QUN1"}],"splitChars":[{"char":"彳夋"}],"weight":"10"},{"charId":"c48d480d","unicodeChar":"𢓊","unicodeCodePoint":"224CA","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"彳止"}],"weight":"10"},{"charId":"41a6df1c","unicodeChar":"𢓁","unicodeCodePoint":"224C1","pinYinChars":[{"char":"彳工"}],"splitChars":[],"weight":"10"},{"charId":"a42e31f9","unicodeChar":"𢒋","unicodeCodePoint":"2248B","pinYinChars":[{"char":"永 彡"}],"splitChars":[],"weight":"10"},{"charId":"6ebf66f0","unicodeChar":"𢑆","unicodeCodePoint":"22446","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"弓雚"}],"weight":"10"},{"charId":"1d133bf5","unicodeChar":"𢐧","unicodeCodePoint":"22427","pinYinChars":[{"char":"QING2"}],"splitChars":[{"char":"敬弓"}],"weight":"10"},{"charId":"51060dfa","unicodeChar":"𢏈","unicodeCodePoint":"223C8","pinYinChars":[{"char":"ZHEN3"}],"splitChars":[{"char":"弓㠯"}],"weight":"10"},{"charId":"e184b268","unicodeChar":"𢍉","unicodeCodePoint":"22349","pinYinChars":[{"char":"BI4"}],"splitChars":[{"char":"甶廾"}],"weight":"10"},{"charId":"ca7c9c79","unicodeChar":"𢌴","unicodeCodePoint":"22334","pinYinChars":[{"char":"XUN4"}],"splitChars":[{"char":"巳 廾"}],"weight":"10"},{"charId":"7d31ca09","unicodeChar":"𢉘","unicodeCodePoint":"22258","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"广炎"}],"weight":"10"},{"charId":"0946925b","unicodeChar":"𢈭","unicodeCodePoint":"2222D","pinYinChars":[{"char":"XIAO1"}],"splitChars":[{"char":"广肖"}],"weight":"10"},{"charId":"a3f0aab3","unicodeChar":"𢈠","unicodeCodePoint":"22220","pinYinChars":[{"char":"CU4"}],"splitChars":[{"char":"广束"}],"weight":"10"},{"charId":"241456b7","unicodeChar":"𢇍","unicodeCodePoint":"221CD","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"幺 乙"}],"weight":"10"},{"charId":"248a729b","unicodeChar":"𢃼","unicodeCodePoint":"220FC","pinYinChars":[{"char":"MEI4"}],"splitChars":[{"char":"巾 眉"}],"weight":"10"},{"charId":"82c77544","unicodeChar":"𢁀","unicodeCodePoint":"22040","pinYinChars":[{"char":"FU2"}],"splitChars":[{"char":"共包"}],"weight":"10"},{"charId":"d887bdd0","unicodeChar":"𢀖","unicodeCodePoint":"22016","pinYinChars":[{"char":"JING"},{"char":"XING2"}],"splitChars":[{"char":"ス工"}],"weight":"10"},{"charId":"02561c19","unicodeChar":"𡿪","unicodeCodePoint":"21FEA","pinYinChars":[{"char":"LIE4"}],"splitChars":[{"char":"巛夕"}],"weight":"10"},{"charId":"63037297","unicodeChar":"𡾲","unicodeCodePoint":"21FB2","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"山薛"}],"weight":"10"},{"charId":"0eb43418","unicodeChar":"𡽄","unicodeCodePoint":"21F44","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"山敫"}],"weight":"10"},{"charId":"eb9676ae","unicodeChar":"𡼫","unicodeCodePoint":"21F2B","pinYinChars":[{"char":"JIN1"}],"splitChars":[{"char":"山替"}],"weight":"10"},{"charId":"d7d7e668","unicodeChar":"𡻎","unicodeCodePoint":"21ECE","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"山隽"}],"weight":"10"},{"charId":"ba56455e","unicodeChar":"𡺩","unicodeCodePoint":"21EA9","pinYinChars":[{"char":"tuo2"}],"splitChars":[{"char":"山咼"}],"weight":"10"},{"charId":"8ea1939e","unicodeChar":"𡺟","unicodeCodePoint":"21E9F","pinYinChars":[{"char":"QUAN2"}],"splitChars":[{"char":"山宣"}],"weight":"10"},{"charId":"39bb0504","unicodeChar":"𡺞","unicodeCodePoint":"21E9E","pinYinChars":[{"char":"SHI2"}],"splitChars":[{"char":"山音"}],"weight":"10"},{"charId":"f3d7ae95","unicodeChar":"𡹦","unicodeCodePoint":"21E66","pinYinChars":[{"char":"山定"}],"splitChars":[],"weight":"10"},{"charId":"0c62c4f5","unicodeChar":"𡹚","unicodeCodePoint":"21E5A","pinYinChars":[{"char":"CHEN1"}],"splitChars":[{"char":"林山"}],"weight":"10"},{"charId":"6422079f","unicodeChar":"𡹈","unicodeCodePoint":"21E48","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"山疌"}],"weight":"10"},{"charId":"8e67ed2c","unicodeChar":"𡸷","unicodeCodePoint":"21E37","pinYinChars":[{"char":"山 其"}],"splitChars":[],"weight":"10"},{"charId":"119a69d1","unicodeChar":"𡸶","unicodeCodePoint":"21E36","pinYinChars":[{"char":"CHONG2"}],"splitChars":[{"char":"山 宗"}],"weight":"10"},{"charId":"6965d3e5","unicodeChar":"𡸄","unicodeCodePoint":"21E04","pinYinChars":[{"char":"DUI1"}],"splitChars":[{"char":"山坐"}],"weight":"10"},{"charId":"fa5a4cad","unicodeChar":"𡷾","unicodeCodePoint":"21DFE","pinYinChars":[{"char":"QIU2"}],"splitChars":[{"char":"山酉"}],"weight":"10"},{"charId":"9cc24d29","unicodeChar":"𡷭","unicodeCodePoint":"21DED","pinYinChars":[{"char":"CHAN2"}],"splitChars":[{"char":"山免"}],"weight":"10"},{"charId":"bf38ce30","unicodeChar":"𡷔","unicodeCodePoint":"21DD4","pinYinChars":[{"char":"DUO3"}],"splitChars":[{"char":"山朵"}],"weight":"10"},{"charId":"4753b2ac","unicodeChar":"𡶧","unicodeCodePoint":"21DA7","pinYinChars":[{"char":"LI4"}],"splitChars":[{"char":"山立"}],"weight":"10"},{"charId":"f89d83dc","unicodeChar":"𡶣","unicodeCodePoint":"21DA3","pinYinChars":[{"char":"SUI4"}],"splitChars":[{"char":"山 夂"}],"weight":"10"},{"charId":"91fbcf7b","unicodeChar":"𡶌","unicodeCodePoint":"21D8C","pinYinChars":[{"char":"PI2"}],"splitChars":[{"char":"山石"}],"weight":"10"},{"charId":"6b0f4d96","unicodeChar":"𡵼","unicodeCodePoint":"21D7C","pinYinChars":[{"char":"TAN4"}],"splitChars":[{"char":"山火"}],"weight":"10"},{"charId":"52f464e2","unicodeChar":"𡵸","unicodeCodePoint":"21D78","pinYinChars":[{"char":"yi4"}],"splitChars":[{"char":"山尺"}],"weight":"10"},{"charId":"d33a2775","unicodeChar":"𡵱","unicodeCodePoint":"21D71","pinYinChars":[{"char":"QI2"}],"splitChars":[{"char":"山斤"}],"weight":"10"},{"charId":"6ef25ac7","unicodeChar":"𡵰","unicodeCodePoint":"21D70","pinYinChars":[{"char":"LIU2"}],"splitChars":[{"char":"山水"}],"weight":"10"},{"charId":"e4056f9e","unicodeChar":"𡵟","unicodeCodePoint":"21D5F","pinYinChars":[{"char":"pa1"},{"char":"ba4"}],"splitChars":[{"char":"山巴"}],"weight":"10"},{"charId":"0d3acae4","unicodeChar":"𡵝","unicodeCodePoint":"21D5D","pinYinChars":[{"char":"ZONG1"}],"splitChars":[{"char":"山从"}],"weight":"10"},{"charId":"ca65e1f4","unicodeChar":"𡴵","unicodeCodePoint":"21D35","pinYinChars":[{"char":"TING1"}],"splitChars":[{"char":"山丁"}],"weight":"10"},{"charId":"4b829571","unicodeChar":"𡱰","unicodeCodePoint":"21C70","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"尸豕"}],"weight":"10"},{"charId":"0203f5bc","unicodeChar":"𡱒","unicodeCodePoint":"21C52","pinYinChars":[{"char":"TUN2"}],"splitChars":[{"char":"尸共"}],"weight":"10"},{"charId":"c2a0ae28","unicodeChar":"𡰷","unicodeCodePoint":"21C37","pinYinChars":[{"char":"HU4"}],"splitChars":[{"char":"尸斗"}],"weight":"10"},{"charId":"ed61722e","unicodeChar":"𡰪","unicodeCodePoint":"21C2A","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"尸口"}],"weight":"10"},{"charId":"e9de0728","unicodeChar":"𡯂","unicodeCodePoint":"21BC2","pinYinChars":[{"char":"WANG1"}],"splitChars":[{"char":"八几"}],"weight":"10"},{"charId":"708c1a78","unicodeChar":"𡭄","unicodeCodePoint":"21B44","pinYinChars":[{"char":"堯 寸"}],"splitChars":[],"weight":"10"},{"charId":"5d09066a","unicodeChar":"𡨤","unicodeCodePoint":"21A24","pinYinChars":[{"char":"ZHUO2"}],"splitChars":[{"char":"宀叕"}],"weight":"10"},{"charId":"3a7091fb","unicodeChar":"𡧳","unicodeCodePoint":"219F3","pinYinChars":[{"char":"SAI"}],"splitChars":[{"char":"宀西"}],"weight":"10"},{"charId":"c487b654","unicodeChar":"𡧨","unicodeCodePoint":"219E8","pinYinChars":[{"char":"ZHU2"}],"splitChars":[{"char":"宀出"}],"weight":"10"},{"charId":"b9484e4d","unicodeChar":"𡧛","unicodeCodePoint":"219DB","pinYinChars":[{"char":"fu4"}],"splitChars":[{"char":"宀付"}],"weight":"10"},{"charId":"a023a0a3","unicodeChar":"𡦈","unicodeCodePoint":"21988","pinYinChars":[{"char":"ling4"}],"splitChars":[{"char":"令孤"}],"weight":"10"},{"charId":"02d61c16","unicodeChar":"𡥐","unicodeCodePoint":"21950","pinYinChars":[{"char":"SHI3"}],"splitChars":[{"char":"㞤子"}],"weight":"10"},{"charId":"2a9c4344","unicodeChar":"𡥆","unicodeCodePoint":"21946","pinYinChars":[{"char":"HAO3"}],"splitChars":[{"char":"丑子"}],"weight":"10"},{"charId":"1d3e95a6","unicodeChar":"𡣙","unicodeCodePoint":"218D9","pinYinChars":[{"char":"qi2"}],"splitChars":[{"char":"女齊"}],"weight":"10"},{"charId":"2f8f202e","unicodeChar":"𡣋","unicodeCodePoint":"218CB","pinYinChars":[{"char":"PIAO1"}],"splitChars":[{"char":"嫖寸"}],"weight":"10"},{"charId":"fcf02eff","unicodeChar":"𡣆","unicodeCodePoint":"218C6","pinYinChars":[{"char":"WU3"}],"splitChars":[{"char":"女舞"}],"weight":"10"},{"charId":"1975e4da","unicodeChar":"𡢽","unicodeCodePoint":"218BD","pinYinChars":[{"char":"sui"}],"splitChars":[{"char":"女雷"}],"weight":"10"},{"charId":"5015b77d","unicodeChar":"𡢟","unicodeCodePoint":"2189F","pinYinChars":[{"char":"女 楚"}],"splitChars":[],"weight":"10"},{"charId":"114cb6ae","unicodeChar":"𡡢","unicodeCodePoint":"21862","pinYinChars":[{"char":"女 棠"}],"splitChars":[],"weight":"10"},{"charId":"59892cfb","unicodeChar":"𡡞","unicodeCodePoint":"2185E","pinYinChars":[{"char":"女 舜"}],"splitChars":[],"weight":"10"},{"charId":"4eabbe86","unicodeChar":"𡡛","unicodeCodePoint":"2185B","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"女盛"}],"weight":"10"},{"charId":"f2b49a7a","unicodeChar":"𡡁","unicodeCodePoint":"21841","pinYinChars":[{"char":"XI2"}],"splitChars":[{"char":"女悉"}],"weight":"10"},{"charId":"41d94dba","unicodeChar":"𡠩","unicodeCodePoint":"21829","pinYinChars":[{"char":"女 堅"}],"splitChars":[],"weight":"10"},{"charId":"f3dad5aa","unicodeChar":"𡠖","unicodeCodePoint":"21816","pinYinChars":[{"char":"HAO4"}],"splitChars":[{"char":"女臯"}],"weight":"10"},{"charId":"90b05708","unicodeChar":"𡠓","unicodeCodePoint":"21813","pinYinChars":[{"char":"HUI1"}],"splitChars":[{"char":"倠女"}],"weight":"10"},{"charId":"24d9f089","unicodeChar":"𡟻","unicodeCodePoint":"217FB","pinYinChars":[{"char":"女 茵"}],"splitChars":[],"weight":"10"},{"charId":"ea4a0f07","unicodeChar":"𡟺","unicodeCodePoint":"217FA","pinYinChars":[{"char":"女夏"}],"splitChars":[],"weight":"10"},{"charId":"d7536b3e","unicodeChar":"𡟸","unicodeCodePoint":"217F8","pinYinChars":[{"char":"女 翁"}],"splitChars":[],"weight":"10"},{"charId":"5cf22d2e","unicodeChar":"𡟵","unicodeCodePoint":"217F5","pinYinChars":[{"char":"GO1"}],"splitChars":[{"char":"女 哥"}],"weight":"10"},{"charId":"3f2ac539","unicodeChar":"𡟝","unicodeCodePoint":"217DD","pinYinChars":[{"char":"SUI4"}],"splitChars":[{"char":"女㒸"}],"weight":"10"},{"charId":"b48d57dc","unicodeChar":"𡞵","unicodeCodePoint":"217B5","pinYinChars":[{"char":"huan4"}],"splitChars":[{"char":"女 奂"}],"weight":"10"},{"charId":"c5d8c054","unicodeChar":"𡞲","unicodeCodePoint":"217B2","pinYinChars":[{"char":"ping1"}],"splitChars":[{"char":"女𦥚"}],"weight":"10"},{"charId":"f505af09","unicodeChar":"𡞱","unicodeCodePoint":"217B1","pinYinChars":[{"char":"LV3"}],"splitChars":[{"char":"女娄"}],"weight":"10"},{"charId":"4be8dd1d","unicodeChar":"𡞗","unicodeCodePoint":"21797","pinYinChars":[{"char":"bong2"}],"splitChars":[{"char":"女奉"}],"weight":"10"},{"charId":"f0a7ca9d","unicodeChar":"𡞏","unicodeCodePoint":"2178F","pinYinChars":[{"char":"NAI4"}],"splitChars":[{"char":"女奈"}],"weight":"10"},{"charId":"7c66b56b","unicodeChar":"𡝳","unicodeCodePoint":"21773","pinYinChars":[{"char":"女 芝"}],"splitChars":[],"weight":"10"},{"charId":"78fc89a1","unicodeChar":"𡝱","unicodeCodePoint":"21771","pinYinChars":[{"char":"女 芬"}],"splitChars":[],"weight":"10"},{"charId":"d9e4704f","unicodeChar":"𡝯","unicodeCodePoint":"2176F","pinYinChars":[{"char":"女 隶"}],"splitChars":[],"weight":"10"},{"charId":"9380731a","unicodeChar":"𡝮","unicodeCodePoint":"2176E","pinYinChars":[{"char":"女 宜"}],"splitChars":[],"weight":"10"},{"charId":"37de9e88","unicodeChar":"𡝬","unicodeCodePoint":"2176C","pinYinChars":[{"char":"bao3"}],"splitChars":[{"char":"女 宝"}],"weight":"10"},{"charId":"999c39cc","unicodeChar":"𡜻","unicodeCodePoint":"2173B","pinYinChars":[{"char":"女 宋"}],"splitChars":[],"weight":"10"},{"charId":"3cb284da","unicodeChar":"𡜠","unicodeCodePoint":"21720","pinYinChars":[{"char":"FENG1"}],"splitChars":[{"char":"女夅"}],"weight":"10"},{"charId":"498c4b58","unicodeChar":"𡜍","unicodeCodePoint":"2170D","pinYinChars":[{"char":"JI2"}],"splitChars":[{"char":"女自"}],"weight":"10"},{"charId":"58236a85","unicodeChar":"𡛨","unicodeCodePoint":"216E8","pinYinChars":[{"char":"女 卡"}],"splitChars":[],"weight":"10"},{"charId":"c6373cc9","unicodeChar":"𡛖","unicodeCodePoint":"216D6","pinYinChars":[{"char":"NUO3"}],"splitChars":[{"char":"女厄"}],"weight":"10"},{"charId":"eb069098","unicodeChar":"𡛔","unicodeCodePoint":"216D4","pinYinChars":[{"char":"女丐"}],"splitChars":[],"weight":"10"},{"charId":"b11b7baa","unicodeChar":"𡛒","unicodeCodePoint":"216D2","pinYinChars":[{"char":"CAN4"}],"splitChars":[{"char":"双女"}],"weight":"10"},{"charId":"e7cd9c17","unicodeChar":"𡛂","unicodeCodePoint":"216C2","pinYinChars":[{"char":"yi1"}],"splitChars":[{"char":"女 尹"}],"weight":"10"},{"charId":"14dbc890","unicodeChar":"𡚼","unicodeCodePoint":"216BC","pinYinChars":[{"char":"SHI2"}],"splitChars":[{"char":"女氏"}],"weight":"10"},{"charId":"1398354d","unicodeChar":"𡚺","unicodeCodePoint":"216BA","pinYinChars":[{"char":"FAN4"}],"splitChars":[{"char":"女丸"}],"weight":"10"},{"charId":"af3b9619","unicodeChar":"𡗨","unicodeCodePoint":"215E8","pinYinChars":[{"char":"DI1"}],"splitChars":[{"char":"大互"}],"weight":"10"},{"charId":"18bbad8f","unicodeChar":"𡗝","unicodeCodePoint":"215DD","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"大弓"}],"weight":"10"},{"charId":"9fe7d227","unicodeChar":"𡗗","unicodeCodePoint":"215D7","pinYinChars":[{"char":"en1"}],"splitChars":[{"char":"三 人"}],"weight":"10"},{"charId":"4d05d608","unicodeChar":"𡖖","unicodeCodePoint":"21596","pinYinChars":[{"char":"QING1"}],"splitChars":[{"char":"夕即"}],"weight":"10"},{"charId":"5afbd6a1","unicodeChar":"𡓇","unicodeCodePoint":"214C7","pinYinChars":[{"char":"lu3"}],"splitChars":[{"char":"土魯"}],"weight":"10"},{"charId":"be807cd3","unicodeChar":"𡒗","unicodeCodePoint":"21497","pinYinChars":[{"char":"滿土"}],"splitChars":[],"weight":"10"},{"charId":"1a60fb81","unicodeChar":"𡑡","unicodeCodePoint":"21461","pinYinChars":[{"char":"HUAN2"}],"splitChars":[{"char":"土睘"}],"weight":"10"},{"charId":"a7bcf232","unicodeChar":"𡑀","unicodeCodePoint":"21440","pinYinChars":[{"char":"YE3"}],"splitChars":[{"char":"棥土"}],"weight":"10"},{"charId":"50aef963","unicodeChar":"𡏬","unicodeCodePoint":"213EC","pinYinChars":[{"char":"liu2"}],"splitChars":[{"char":"流土"}],"weight":"10"},{"charId":"a401284f","unicodeChar":"𡏟","unicodeCodePoint":"213DF","pinYinChars":[{"char":"YAO2"}],"splitChars":[{"char":"土䍃"}],"weight":"10"},{"charId":"3a54c8fc","unicodeChar":"𡏆","unicodeCodePoint":"213C6","pinYinChars":[{"char":"土 养"}],"splitChars":[{"char":"𡒶"}],"weight":"10"},{"charId":"8d9a4f36","unicodeChar":"𡎴","unicodeCodePoint":"213B4","pinYinChars":[{"char":"GONG4"}],"splitChars":[{"char":"土貢"}],"weight":"10"},{"charId":"4b5f69e3","unicodeChar":"𡎞","unicodeCodePoint":"2139E","pinYinChars":[{"char":"土貞"}],"splitChars":[],"weight":"10"},{"charId":"efb1ff5f","unicodeChar":"𡎝","unicodeCodePoint":"2139D","pinYinChars":[{"char":"COI"}],"splitChars":[{"char":"土癸"}],"weight":"10"},{"charId":"8251505f","unicodeChar":"𡎏","unicodeCodePoint":"2138F","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"土泉"}],"weight":"10"},{"charId":"fef5ec81","unicodeChar":"𡎎","unicodeCodePoint":"2138E","pinYinChars":[{"char":"XU4"}],"splitChars":[{"char":"土咠"}],"weight":"10"},{"charId":"8a22c3a8","unicodeChar":"𡍸","unicodeCodePoint":"21378","pinYinChars":[{"char":"NIE4"}],"splitChars":[{"char":"品土"}],"weight":"10"},{"charId":"a3d4140d","unicodeChar":"𡍨","unicodeCodePoint":"21368","pinYinChars":[{"char":"DU4"}],"splitChars":[{"char":"土度"}],"weight":"10"},{"charId":"102fc4c4","unicodeChar":"𡍚","unicodeCodePoint":"2135A","pinYinChars":[{"char":"LAM"}],"splitChars":[{"char":"土林"}],"weight":"10"},{"charId":"6bd4130b","unicodeChar":"𡌡","unicodeCodePoint":"21321","pinYinChars":[{"char":"JIE2"}],"splitChars":[{"char":"土弟"}],"weight":"10"},{"charId":"ae98ef7b","unicodeChar":"𡌗","unicodeCodePoint":"21317","pinYinChars":[{"char":"HUAN2"}],"splitChars":[{"char":"土皃"}],"weight":"10"},{"charId":"3409967b","unicodeChar":"𡌔","unicodeCodePoint":"21314","pinYinChars":[{"char":"QIAO1"}],"splitChars":[{"char":"土肖"}],"weight":"10"},{"charId":"6af82971","unicodeChar":"𡌑","unicodeCodePoint":"21311","pinYinChars":[{"char":"XING2"}],"splitChars":[{"char":"形土"}],"weight":"10"},{"charId":"36a533bc","unicodeChar":"𡌃","unicodeCodePoint":"21303","pinYinChars":[{"char":"GAO4"}],"splitChars":[{"char":"土吿"}],"weight":"10"},{"charId":"41985d7f","unicodeChar":"𡋱","unicodeCodePoint":"212F1","pinYinChars":[{"char":"LONG4"}],"splitChars":[{"char":"土弄"}],"weight":"10"},{"charId":"681a0011","unicodeChar":"𡋤","unicodeCodePoint":"212E4","pinYinChars":[{"char":"JIN4"}],"splitChars":[{"char":"土尽"}],"weight":"10"},{"charId":"066bd7f0","unicodeChar":"𡋂","unicodeCodePoint":"212C2","pinYinChars":[{"char":"NEN4"}],"splitChars":[{"char":"土年"}],"weight":"10"},{"charId":"16e8def8","unicodeChar":"𡊨","unicodeCodePoint":"212A8","pinYinChars":[{"char":"TAN2"}],"splitChars":[{"char":"土玄"}],"weight":"10"},{"charId":"b1aba160","unicodeChar":"𡊢","unicodeCodePoint":"212A2","pinYinChars":[{"char":"TAN1"}],"splitChars":[{"char":"土册"}],"weight":"10"},{"charId":"facafbd8","unicodeChar":"𡊑","unicodeCodePoint":"21291","pinYinChars":[{"char":"XI3"}],"splitChars":[{"char":"土尔"}],"weight":"10"},{"charId":"85100a3d","unicodeChar":"𡊀","unicodeCodePoint":"21280","pinYinChars":[{"char":"TAI4"}],"splitChars":[{"char":"土太"}],"weight":"10"},{"charId":"93339870","unicodeChar":"𡉴","unicodeCodePoint":"21274","pinYinChars":[{"char":"LU2"}],"splitChars":[{"char":"土户土戶"}],"weight":"10"},{"charId":"5217bdce","unicodeChar":"𡉃","unicodeCodePoint":"21243","pinYinChars":[{"char":"yan4"}],"splitChars":[{"char":"土厂"}],"weight":"10"},{"charId":"d6e1a9e9","unicodeChar":"𡇈","unicodeCodePoint":"211C8","pinYinChars":[{"char":"DANG4"}],"splitChars":[{"char":"囗石"}],"weight":"10"},{"charId":"6cefc8d8","unicodeChar":"𡆳","unicodeCodePoint":"211B3","pinYinChars":[{"char":"HU1"}],"splitChars":[{"char":"囗巳"}],"weight":"10"},{"charId":"09266ae6","unicodeChar":"𡆑","unicodeCodePoint":"21191","pinYinChars":[{"char":"YAN2"}],"splitChars":[{"char":"口巖"}],"weight":"10"},{"charId":"655b4939","unicodeChar":"𠾐","unicodeCodePoint":"20F90","pinYinChars":[{"char":"LONG2"}],"splitChars":[{"char":"口隆"}],"weight":"10"},{"charId":"45e7e9c0","unicodeChar":"𠼦","unicodeCodePoint":"20F26","pinYinChars":[{"char":"MAN2"}],"splitChars":[{"char":"口曼"}],"weight":"10"},{"charId":"a6cbc3b1","unicodeChar":"𠻸","unicodeCodePoint":"20EF8","pinYinChars":[{"char":"si4"}],"splitChars":[{"char":"𠀷司"}],"weight":"10"},{"charId":"0b56e6b2","unicodeChar":"𠻵","unicodeCodePoint":"20EF5","pinYinChars":[{"char":"MANG3"}],"splitChars":[{"char":"口莽"}],"weight":"10"},{"charId":"81aa47fb","unicodeChar":"𠻘","unicodeCodePoint":"20ED8","pinYinChars":[{"char":"JIAO2"}],"splitChars":[{"char":"口雀"}],"weight":"10"},{"charId":"b97b646a","unicodeChar":"𠹟","unicodeCodePoint":"20E5F","pinYinChars":[{"char":"JIAN3"}],"splitChars":[{"char":"𡨄口"}],"weight":"10"},{"charId":"8aae1510","unicodeChar":"𠹒","unicodeCodePoint":"20E52","pinYinChars":[{"char":"HONG4"}],"splitChars":[{"char":"口宫口宮"}],"weight":"10"},{"charId":"5a942e35","unicodeChar":"𠷿","unicodeCodePoint":"20DFF","pinYinChars":[{"char":"ZA3"}],"splitChars":[{"char":"口怎"}],"weight":"10"},{"charId":"05703acb","unicodeChar":"𠷊","unicodeCodePoint":"20DCA","pinYinChars":[{"char":"PIAN2"}],"splitChars":[{"char":"口便"}],"weight":"10"},{"charId":"35310f00","unicodeChar":"𠶓","unicodeCodePoint":"20D93","pinYinChars":[{"char":"口表"}],"splitChars":[],"weight":"10"},{"charId":"d27a8de6","unicodeChar":"𠵸","unicodeCodePoint":"20D78","pinYinChars":[{"char":"HAN1"}],"splitChars":[{"char":"口弥"}],"weight":"10"},{"charId":"ab8efed7","unicodeChar":"𠵇","unicodeCodePoint":"20D47","pinYinChars":[{"char":"QI3"}],"splitChars":[{"char":"口奇"}],"weight":"10"},{"charId":"dcac3491","unicodeChar":"𠴔","unicodeCodePoint":"20D14","pinYinChars":[{"char":"CHENG2"}],"splitChars":[{"char":"口呈"}],"weight":"10"},{"charId":"17d622fe","unicodeChar":"𠳾","unicodeCodePoint":"20CFE","pinYinChars":[{"char":"HAN3"}],"splitChars":[{"char":"口罕"}],"weight":"10"},{"charId":"27e714b0","unicodeChar":"𠳯","unicodeCodePoint":"20CEF","pinYinChars":[{"char":"HAO2"}],"splitChars":[{"char":"号 号"}],"weight":"10"},{"charId":"8d1bafd1","unicodeChar":"𠳬","unicodeCodePoint":"20CEC","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"古古"}],"weight":"10"},{"charId":"e6068858","unicodeChar":"𠳚","unicodeCodePoint":"20CDA","pinYinChars":[{"char":"CAI"}],"splitChars":[{"char":"口改"}],"weight":"10"},{"charId":"c23e2b64","unicodeChar":"𠳀","unicodeCodePoint":"20CC0","pinYinChars":[{"char":"YONG3"}],"splitChars":[{"char":"口甬"}],"weight":"10"},{"charId":"ede04650","unicodeChar":"𠲸","unicodeCodePoint":"20CB8","pinYinChars":[{"char":"NAN2"}],"splitChars":[{"char":"口男"}],"weight":"10"},{"charId":"ca524976","unicodeChar":"𠲰","unicodeCodePoint":"20CB0","pinYinChars":[{"char":"YUN3"}],"splitChars":[{"char":"口君"}],"weight":"10"},{"charId":"7909de8e","unicodeChar":"𠲡","unicodeCodePoint":"20CA1","pinYinChars":[{"char":"hao3"}],"splitChars":[{"char":"口好"}],"weight":"10"},{"charId":"2466fa0d","unicodeChar":"𠲖","unicodeCodePoint":"20C96","pinYinChars":[{"char":"YI1"}],"splitChars":[{"char":"口衣"}],"weight":"10"},{"charId":"fb8fbac4","unicodeChar":"𠲕","unicodeCodePoint":"20C95","pinYinChars":[{"char":"CHUANG2"}],"splitChars":[{"char":"口庄"}],"weight":"10"},{"charId":"daea5f4e","unicodeChar":"𠱴","unicodeCodePoint":"20C74","pinYinChars":[{"char":"JIN4"}],"splitChars":[{"char":"口全"}],"weight":"10"},{"charId":"257faed2","unicodeChar":"𠱅","unicodeCodePoint":"20C45","pinYinChars":[{"char":"sheng4"}],"splitChars":[{"char":"口圣"}],"weight":"10"},{"charId":"004426cc","unicodeChar":"𠰍","unicodeCodePoint":"20C0D","pinYinChars":[{"char":"ZHU3"}],"splitChars":[{"char":"口主"}],"weight":"10"},{"charId":"1d9c2b9e","unicodeChar":"𠰃","unicodeCodePoint":"20C03","pinYinChars":[{"char":"nen4"}],"splitChars":[{"char":"口壬"}],"weight":"10"},{"charId":"79d47925","unicodeChar":"𠰁","unicodeCodePoint":"20C01","pinYinChars":[{"char":"GAY"}],"splitChars":[{"char":"口丐"}],"weight":"10"},{"charId":"029191bb","unicodeChar":"𠯏","unicodeCodePoint":"20BCF","pinYinChars":[{"char":"CHI1"}],"splitChars":[{"char":"口气"}],"weight":"10"},{"charId":"fc6bb883","unicodeChar":"𠮨","unicodeCodePoint":"20BA8","pinYinChars":[{"char":"RENG2"}],"splitChars":[{"char":"口乃"}],"weight":"10"},{"charId":"2c634411","unicodeChar":"𠮉","unicodeCodePoint":"20B89","pinYinChars":[{"char":"RUI4"}],"splitChars":[{"char":"𥈠又⺊厂一八𥃦又"}],"weight":"10"},{"charId":"d86930e3","unicodeChar":"𠭯","unicodeCodePoint":"20B6F","pinYinChars":[{"char":"ZHA1"}],"splitChars":[{"char":"虘又"}],"weight":"10"},{"charId":"c8d68a40","unicodeChar":"𠬤","unicodeCodePoint":"20B24","pinYinChars":[{"char":"YI4"}],"splitChars":[{"char":"又𰀁"}],"weight":"10"},{"charId":"07b56375","unicodeChar":"𠬑","unicodeCodePoint":"20B11","pinYinChars":[{"char":"QU4"}],"splitChars":[{"char":"去去去"}],"weight":"10"},{"charId":"26d561f6","unicodeChar":"𠫵","unicodeCodePoint":"20AF5","pinYinChars":[{"char":"SHEN1"}],"splitChars":[{"char":"厶大㣺"}],"weight":"10"},{"charId":"8cbde3a0","unicodeChar":"𠫤","unicodeCodePoint":"20AE4","pinYinChars":[{"char":"LEON6"}],"splitChars":[{"char":"乂厷"}],"weight":"10"},{"charId":"a3ecaff1","unicodeChar":"𠪚","unicodeCodePoint":"20A9A","pinYinChars":[{"char":"YIN2"}],"splitChars":[{"char":"厂敢"}],"weight":"10"},{"charId":"642c58f2","unicodeChar":"𠪆","unicodeCodePoint":"20A86","pinYinChars":[{"char":"JUE2"}],"splitChars":[{"char":"厂封"}],"weight":"10"},{"charId":"f84daa09","unicodeChar":"𠨺","unicodeCodePoint":"20A3A","pinYinChars":[{"char":"CHI4"}],"splitChars":[{"char":"厂午"}],"weight":"10"},{"charId":"316c3bd6","unicodeChar":"𠦅","unicodeCodePoint":"20985","pinYinChars":[{"char":"NIAN2"}],"splitChars":[{"char":"千千"}],"weight":"10"},{"charId":"784ff589","unicodeChar":"𠤲","unicodeCodePoint":"20932","pinYinChars":[{"char":"匚 屯"}],"splitChars":[],"weight":"10"},{"charId":"aa296d6e","unicodeChar":"𠢔","unicodeCodePoint":"20894","pinYinChars":[{"char":"OU1"}],"splitChars":[{"char":"區力"}],"weight":"10"},{"charId":"095216ca","unicodeChar":"𠡍","unicodeCodePoint":"2084D","pinYinChars":[{"char":"JING4"}],"splitChars":[{"char":"圣力"}],"weight":"10"},{"charId":"0f573bb9","unicodeChar":"𠠛","unicodeCodePoint":"2081B","pinYinChars":[{"char":"KUO4"}],"splitChars":[{"char":"霍刂"}],"weight":"10"},{"charId":"2871e9f2","unicodeChar":"𠞪","unicodeCodePoint":"207AA","pinYinChars":[{"char":"HAO2"}],"splitChars":[{"char":"敖刀"}],"weight":"10"},{"charId":"bf32142f","unicodeChar":"𠜋","unicodeCodePoint":"2070B","pinYinChars":[{"char":"CHOU3"}],"splitChars":[{"char":"人丑刂"}],"weight":"10"},{"charId":"60372307","unicodeChar":"𠚼","unicodeCodePoint":"206BC","pinYinChars":[{"char":"BAN1"}],"splitChars":[{"char":"分刂"}],"weight":"10"},{"charId":"2540d48c","unicodeChar":"𠙽","unicodeCodePoint":"2067D","pinYinChars":[{"char":"KUAI4"},{"char":"KUI4"}],"splitChars":[{"char":"士 凵"}],"weight":"10"},{"charId":"30dda424","unicodeChar":"𠙁","unicodeCodePoint":"20641","pinYinChars":[{"char":"CHANG2"}],"splitChars":[{"char":"正几"}],"weight":"10"},{"charId":"2e66c4d8","unicodeChar":"𠘻","unicodeCodePoint":"2063B","pinYinChars":[{"char":"WU2"}],"splitChars":[{"char":"凡凡"}],"weight":"10"},{"charId":"fe1a753e","unicodeChar":"𠘑","unicodeCodePoint":"20611","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"冫 熙"}],"weight":"10"},{"charId":"3bb748b2","unicodeChar":"𠔃","unicodeCodePoint":"20503","pinYinChars":[{"char":"XI1"}],"splitChars":[{"char":"丷丂"}],"weight":"10"},{"charId":"dda19b7a","unicodeChar":"𠓢","unicodeCodePoint":"204E2","pinYinChars":[{"char":"JIE4"}],"splitChars":[{"char":"入 手"}],"weight":"10"},{"charId":"fff61bf9","unicodeChar":"𠐳","unicodeCodePoint":"20433","pinYinChars":[{"char":"LV3"}],"splitChars":[{"char":"亻盧"}],"weight":"10"},{"charId":"9e6d9fc5","unicodeChar":"𠐃","unicodeCodePoint":"20403","pinYinChars":[{"char":"SHU1"}],"splitChars":[{"char":"翛心"}],"weight":"10"},{"charId":"f5f4c311","unicodeChar":"𠐁","unicodeCodePoint":"20401","pinYinChars":[{"char":"MENG2"}],"splitChars":[{"char":"亻蒙"}],"weight":"10"},{"charId":"a2d55bf1","unicodeChar":"𠏼","unicodeCodePoint":"203FC","pinYinChars":[{"char":"GAA"}],"splitChars":[{"char":"亻 嘉"}],"weight":"10"},{"charId":"af58ba4c","unicodeChar":"𠏟","unicodeCodePoint":"203DF","pinYinChars":[{"char":"BAM"}],"splitChars":[{"char":"亻稟"}],"weight":"10"},{"charId":"07b87281","unicodeChar":"𠎽","unicodeCodePoint":"203BD","pinYinChars":[{"char":"QIONG2"}],"splitChars":[{"char":"亻煢"}],"weight":"10"},{"charId":"6a3d2df8","unicodeChar":"𠎸","unicodeCodePoint":"203B8","pinYinChars":[{"char":"SE4"}],"splitChars":[{"char":"亻嗇"}],"weight":"10"},{"charId":"5cbdf8cc","unicodeChar":"𠎦","unicodeCodePoint":"203A6","pinYinChars":[{"char":"JIANG4"}],"splitChars":[{"char":"亻强"}],"weight":"10"},{"charId":"69ba37bb","unicodeChar":"𠎢","unicodeCodePoint":"203A2","pinYinChars":[{"char":"XING1"}],"splitChars":[{"char":"亻法心"}],"weight":"10"},{"charId":"709b5892","unicodeChar":"𠍷","unicodeCodePoint":"20377","pinYinChars":[{"char":"BO2"}],"splitChars":[{"char":"亻棘"}],"weight":"10"},{"charId":"665d0220","unicodeChar":"𠌾","unicodeCodePoint":"2033E","pinYinChars":[{"char":"YI2"}],"splitChars":[{"char":"亻莪"}],"weight":"10"},{"charId":"cd273e5b","unicodeChar":"𠌘","unicodeCodePoint":"20318","pinYinChars":[{"char":"XIA4"}],"splitChars":[{"char":"亻夏"}],"weight":"10"},{"charId":"2426540e","unicodeChar":"𠋶","unicodeCodePoint":"202F6","pinYinChars":[{"char":"MING3"}],"splitChars":[{"char":"亻冥"}],"weight":"10"},{"charId":"84ecf90b","unicodeChar":"𠊿","unicodeCodePoint":"202BF","pinYinChars":[{"char":"SYUN1"}],"splitChars":[{"char":"亻 宣"}],"weight":"10"},{"charId":"913c75e0","unicodeChar":"𠊷","unicodeCodePoint":"202B7","pinYinChars":[{"char":"ZHI4"}],"splitChars":[{"char":"亻致"}],"weight":"10"},{"charId":"c90a0f85","unicodeChar":"𠊵","unicodeCodePoint":"202B5","pinYinChars":[{"char":"BENG1"}],"splitChars":[{"char":"亻𭖚"}],"weight":"10"},{"charId":"a8f873b7","unicodeChar":"𠉴","unicodeCodePoint":"20274","pinYinChars":[{"char":"亻 雨"}],"splitChars":[],"weight":"10"},{"charId":"71d6f6f4","unicodeChar":"𠉜","unicodeCodePoint":"2025C","pinYinChars":[{"char":"WEI3"}],"splitChars":[{"char":"亻尾"}],"weight":"10"},{"charId":"08cbf65c","unicodeChar":"𠉂","unicodeCodePoint":"20242","pinYinChars":[{"char":"TA4"}],"splitChars":[{"char":"亻达"}],"weight":"10"},{"charId":"da82aa3d","unicodeChar":"𠈹","unicodeCodePoint":"20239","pinYinChars":[{"char":"YOU1"}],"splitChars":[{"char":"亻㳊"}],"weight":"10"},{"charId":"52e60457","unicodeChar":"𠇮","unicodeCodePoint":"201EE","pinYinChars":[{"char":"MING4"}],"splitChars":[{"char":"人丙"}],"weight":"10"},{"charId":"2501625c","unicodeChar":"𠇍","unicodeCodePoint":"201CD","pinYinChars":[{"char":"ER3"}],"splitChars":[{"char":"人㣺"}],"weight":"10"},{"charId":"08dcedb8","unicodeChar":"𠆺","unicodeCodePoint":"201BA","pinYinChars":[{"char":"XIAN2"},{"char":"XUAN2"}],"splitChars":[{"char":"亻𢆯"}],"weight":"10"},{"charId":"beec6748","unicodeChar":"𠆶","unicodeCodePoint":"201B6","pinYinChars":[{"char":"DAN4"}],"splitChars":[{"char":"亻冘"}],"weight":"10"},{"charId":"98928320","unicodeChar":"𠄕","unicodeCodePoint":"20115","pinYinChars":[{"char":"NAI3"}],"splitChars":[{"char":"了𰁒"}],"weight":"10"},{"charId":"8f995dc9","unicodeChar":"𠃧","unicodeCodePoint":"200E7","pinYinChars":[{"char":"FEI1"}],"splitChars":[{"char":"飞飞"}],"weight":"10"},{"charId":"031579fe","unicodeChar":"𠃓","unicodeCodePoint":"200D3","pinYinChars":[{"char":"YANG2"}],"splitChars":[{"char":"𠄎丿丿"}],"weight":"10"},{"charId":"8d6fb2b9","unicodeChar":"𠃐","unicodeCodePoint":"200D0","pinYinChars":[{"char":"HUI4"}],"splitChars":[{"char":"乙乙"}],"weight":"10"},{"charId":"2026c1bd","unicodeChar":"𠂉","unicodeCodePoint":"20089","pinYinChars":[{"char":"O"}],"splitChars":[{"char":"丿一"}],"weight":"10"},{"charId":"d8617765","unicodeChar":"𠁷","unicodeCodePoint":"20077","pinYinChars":[{"char":"CHAN3"}],"splitChars":[{"char":"串串"}],"weight":"10"},{"charId":"0c538b01","unicodeChar":"𠁆","unicodeCodePoint":"20046","pinYinChars":[{"char":"LIAO2"},{"char":"KUO4"},{"char":"WAI1"}],"splitChars":[{"char":"不直"}],"weight":"10"},{"charId":"48312f83","unicodeChar":"𠀾","unicodeCodePoint":"2003E","pinYinChars":[{"char":"PEI1"}],"splitChars":[{"char":"不会"}],"weight":"10"},{"charId":"b984b101","unicodeChar":"𠀘","unicodeCodePoint":"20018","pinYinChars":[{"char":"TIAN1"}],"splitChars":[{"char":"兀兀"}],"weight":"10"}], -}; diff --git a/compiled/alipay/src/Rate/index.axml b/compiled/alipay/src/Rate/index.axml deleted file mode 100644 index b35c3045a..000000000 --- a/compiled/alipay/src/Rate/index.axml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Rate/index.en.md b/compiled/alipay/src/Rate/index.en.md deleted file mode 100644 index a519ef04f..000000000 --- a/compiled/alipay/src/Rate/index.en.md +++ /dev/null @@ -1,148 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Rate - -A component for showing things ratings and quick scoring. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-rate": "antd-mini/es/Rate/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Rate/index" -#endif -} -``` - -## Code example - -### Basic use - -> `count` property specifies the total number of stars, `allowHalf` Stats allow half a star, `allowClear` Property allows to clear after clicking again. - -```xml - -``` - -```js -Page({ - onChange(value) { - console.log(value); - }, -}); -``` - -### Read Only - -```xml - -``` - -### Controlled Mode - -> `value` property and `change` Events, cooperation can achieve a controlled mode. Here's the example through `ant-stepper` Component change `value` Status,`ant-rate` Components `value` States can also change together. - -```xml - - -``` - -```js -Page({ - data: { - value: 3, - }, - handleChange(value) { - console.log(value); -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### Custom - -> Reference below [Demo Code](#demo-代码) implementation in. - -## Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ------------------------ | ---------------------- | ------------------------ | -------------------------- | -| allowHalf | Whether to allow half a star | `boolean` | `false` | -| allowClear | Allow to clear after clicking again | `boolean` | `true` | -| className | Class Name | `string` | - | -| character | Custom Characters | `slot` | `` | -| characterActiveClassName | Custom Character Checked State Class Name | `string` | - | -| characterClassName | Custom Character Class Name | `string` | - | -| count | total number of stars | `number` | `5` | -| defaultValue | Initial value | `number` | `0` | -| gutter | Spacing, unit `px` | `number` | `4` | -| readonly | Read-only, unable to interact | `boolean` | `false` | -| style | Style | `string` | - | -| value | Star rating (controlled) | `number` | - | -| #if ALIPAY onChange | scoring callback function | `(rate: number) => void` | - | -| #if WECHAT bind:change | scoring callback function | `(rate: number) => void` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------- | -| --rate-active-icon |
#ff9f18
|
#ffa930
| Icon color of Rate activation state | -| --rate-icon-color |
#eeeeee
|
#2b2b2b
| Rate Default Icon Color | diff --git a/compiled/alipay/src/Rate/index.json b/compiled/alipay/src/Rate/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Rate/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Rate/index.less b/compiled/alipay/src/Rate/index.less deleted file mode 100644 index f1f118abf..000000000 --- a/compiled/alipay/src/Rate/index.less +++ /dev/null @@ -1,45 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -.ant-rate { - display: inline-flex; - font-size: 48 * @rpx; - user-select: none; - - &-container { - display: flex; - } - - &-star { - position: relative; - margin-right: 8 * @rpx; - line-height: 1; - - &:last-child { - margin-right: 0; - } - - &-icon { - color: @rate-icon-color; - .ant-icon { - color: @rate-icon-color; - } - } - - &-icon-active { - color: @rate-active-icon; - .ant-icon { - color: @rate-active-icon; - } - } - - &-icon-half-active { - position: absolute; - left: 0; - top: 0; - width: 50%; - overflow: hidden; - } - } - -} diff --git a/compiled/alipay/src/Rate/index.md b/compiled/alipay/src/Rate/index.md deleted file mode 100644 index ad53dbfe2..000000000 --- a/compiled/alipay/src/Rate/index.md +++ /dev/null @@ -1,148 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Rate 评分 - -用于展示事物评级以及快速打分的组件。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-rate": "antd-mini/es/Rate/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Rate/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `count` 属性指定 star 总数, `allowHalf` 属性允许半星, `allowClear` 属性允许再次点击后清除。 - -```xml - -``` - -```js -Page({ - onChange(value) { - console.log(value); - }, -}); -``` - -### 只读 - -```xml - -``` - -### 受控模式 - -> `value` 属性和 `change` 事件,配合可以实现受控模式。这里的例子中通过 `ant-stepper` 组件改变 `value` 状态,`ant-rate` 组件 `value` 状态也能一起变化。 - -```xml - - -``` - -```js -Page({ - data: { - value: 3, - }, - handleChange(value) { - console.log(value); -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### 自定义 - -> 参考下面 [Demo 代码](#demo-代码) 中的实现。 - -## Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------ | ---------------------- | ------------------------ | -------------------------- | -| allowHalf | 是否允许半星 | `boolean` | `false` | -| allowClear | 是否允许再次点击后清除 | `boolean` | `true` | -| className | 类名 | `string` | - | -| character | 自定义字符 | `slot` | `` | -| characterActiveClassName | 自定义字符选中状态类名 | `string` | - | -| characterClassName | 自定义字符类名 | `string` | - | -| count | star 总数 | `number` | `5` | -| defaultValue | 初始值 | `number` | `0` | -| gutter | 间距,单位 `px` | `number` | `4` | -| readonly | 只读,无法进行交互 | `boolean` | `false` | -| style | 样式 | `string` | - | -| value | 星级(受控) | `number` | - | -| #if ALIPAY onChange | 打分回调函数 | `(rate: number) => void` | - | -| #if WECHAT bind:change | 打分回调函数 | `(rate: number) => void` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------- | -| --rate-active-icon |
#ff9f18
|
#ffa930
| Rate 激活状态的图标颜色 | -| --rate-icon-color |
#eeeeee
|
#2b2b2b
| Rate 默认图标颜色 | diff --git a/compiled/alipay/src/Rate/index.ts b/compiled/alipay/src/Rate/index.ts deleted file mode 100644 index f88fd27b4..000000000 --- a/compiled/alipay/src/Rate/index.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { RateDefaultProps } from './props'; -import createValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; - -Component( - RateDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - async getRate(clientX: number) { - const [gutter, count, allowHalf] = getValueFromProps(this, [ - 'gutter', - 'count', - 'allowHalf', - ]); - const { left, width } = await getInstanceBoundingClientRect( - this.getInstance(), - `#ant-rate-container${this.$id ? `-${this.$id}` : ''}` - ); - const halfRateWidth = (width - (count - 1) * gutter) / count / 2; - const num = clientX - left; - let halfRateCount = 0; - /* eslint-disable no-constant-condition */ - while (true) { - const val = - halfRateWidth * halfRateCount + - gutter * Math.floor(halfRateCount / 2); - if (halfRateCount >= count * 2 || num <= val) { - break; - } - halfRateCount++; - } - const rate = allowHalf - ? halfRateCount * 0.5 - : Math.ceil(halfRateCount * 0.5); - return rate; - }, - async handleStarTap(e) { - const [readonly, allowClear] = getValueFromProps(this, [ - 'readonly', - 'allowClear', - ]); - if (readonly) { - return; - } - const { clientX, x } = e.detail; - - const clickX = typeof x === 'number' ? x : clientX; - const rateValue = this.getValue(); - let rate = await this.getRate(clickX); - if (rateValue === rate && allowClear) { - rate = 0; - } - if (!this.isControlled()) { - this.update(rate); - } - if (rateValue !== rate) { - triggerEvent(this, 'change', rate); - } - }, - async handleStarMove(e) { - const [readonly] = getValueFromProps(this, ['readonly']); - if (readonly) { - return; - } - const { touches } = e; - const { clientX } = touches[0]; - if (!this.moveRate) { - this.moveRate = { - originalRate: this.getValue(), - }; - } - const rate = await this.getRate(clientX); - if (this.moveRate) { - this.moveRate = { - ...this.moveRate, - currentRate: rate, - }; - if (this.isControlled()) { - this.setData({ displayValue: rate }); - } else { - this.update(rate); - } - } - }, - handleStarMoveEnd() { - const readonly = getValueFromProps(this, 'readonly'); - if (readonly) { - return; - } - if (!this.moveRate) { - return; - } - - const { currentRate, originalRate } = this.moveRate; - this.moveRate = null; - if (this.isControlled()) { - this.setData({ displayValue: null }); - } - if (currentRate !== originalRate) { - triggerEvent(this, 'change', currentRate); - } - }, - }, - { displayValue: null }, - [ - createValue({ - transformValue(value) { - const allowHalf = getValueFromProps(this, 'allowHalf'); - if (allowHalf) { - return { - needUpdate: true, - value: value % 0.5 !== 0 ? Math.round(value) : value, - }; - } - return { - needUpdate: true, - value: Math.ceil(value), - }; - }, - }), - ] -); diff --git a/compiled/alipay/src/Rate/props.ts b/compiled/alipay/src/Rate/props.ts deleted file mode 100644 index 4db6d9f59..000000000 --- a/compiled/alipay/src/Rate/props.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface IRateProps extends IBaseProps { - /** - * @description 当前星级 - */ - value: number; - - /** - * description 初始星级 - */ - defaultValue: number; - - /** - * description 间距 - */ - gutter: number; - - /** - * @description 是否允许半星 - */ - allowHalf: boolean; - - /** - * @description 是否允许再次点击后清除 - */ - allowClear: boolean; - - /** - * @description star 总数 - */ - count: number; - - /** - * @description 自定义字符选中状态类名 - */ - characterActiveClassName: string; - - /** - * @description 自定义字符类名 - */ - characterClassName: string; - - /** - * @description 是否只读 - */ - readonly: boolean; - - /** - * @description 打分结束回调 - */ - onChange?: (rate: number) => void; -} - -export const RateDefaultProps: Partial = { - value: null, - defaultValue: null, - gutter: 4, - allowHalf: false, - allowClear: true, - count: 5, - characterActiveClassName: '', - characterClassName: '', - readonly: false, -}; diff --git a/compiled/alipay/src/Rate/variable.less b/compiled/alipay/src/Rate/variable.less deleted file mode 100644 index 30273c3aa..000000000 --- a/compiled/alipay/src/Rate/variable.less +++ /dev/null @@ -1,5 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@rate-active-icon: var(--rate-active-icon, @COLOR_YELLOW); -@rate-icon-color: var(--rate-icon-color, @COLOR_BORDER); diff --git a/compiled/alipay/src/Result/index.axml b/compiled/alipay/src/Result/index.axml deleted file mode 100644 index 0d03d4a31..000000000 --- a/compiled/alipay/src/Result/index.axml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - {{title}} - - - - - - {{message}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Result/index.en.md b/compiled/alipay/src/Result/index.en.md deleted file mode 100644 index 482979dec..000000000 --- a/compiled/alipay/src/Result/index.en.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Result - -Feedback the results of the previous step. The Result component should be used when important operations need to inform the user of the processing results and the feedback content is complex. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-result": "antd-mini/es/Result/index" -#endif -#if WECHAT - "ant-result": "antd-mini/Result/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - - - - - - -``` - -### Slot - -```xml - - Title slot - Describe the slot - - Other Modules - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------------- | -------------- | ------ | -| className | Class Name | string | - | -| extra | Bottom Custom Rendering | slot | - | -| image | Custom Picture | string \| slot | - | -| message | Deputy Copywriter | string \| slot | - | -| style | Style | string | - | -| title | Main Copywriter | string \| slot | - | -| type | Built-in type `success`(success),`error`(error/danger),`info`(information prompt),`wait`(Waiting for processing) | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --result-main-background |
#ffffff
|
#1a1a1a
| Result Main background color | -| --result-title-color |
#000000
|
#ffffff
| Result Title Color | -| --result-desc-color |
#333333
|
#c5cad1
| Result Description Text Color | -| --result-success-color |
#1677ff
|
#3086ff
| Result Success status color | -| --result-error-color |
#ff3b30
|
#ff544a
| Result Error status color | -| --result-warning-color |
#ff8f1f
|
#ff9c38
| Result Warning Status Color | -| --result-wait-color |
#00b578
|
#12b57e
| Result Wait status color | diff --git a/compiled/alipay/src/Result/index.json b/compiled/alipay/src/Result/index.json deleted file mode 100644 index f6d7546f7..000000000 --- a/compiled/alipay/src/Result/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "image-icon": "../ImageIcon/index" - } -} diff --git a/compiled/alipay/src/Result/index.less b/compiled/alipay/src/Result/index.less deleted file mode 100644 index 89314bf19..000000000 --- a/compiled/alipay/src/Result/index.less +++ /dev/null @@ -1,78 +0,0 @@ -@import (reference) './variable.less'; -@import '../style/mixins/hairline.less'; - -@resultPrefix: ant-result; - -.@{resultPrefix} { - position: relative; - text-align: center; - line-height: normal; - box-sizing: border-box; - // .hairline('bottom'); - - &-icon { - display: block; - font-size: 110 * @rpx; - } - - &-main { - padding: 70 * @rpx 24 * @rpx; - margin-bottom: @size-5; - line-height: 1.4; - background-color: @result-main-background; - } - - &-image { - display: flex; - justify-content: center; - align-items: center; - width: @result-img-size; - height: @result-img-size; - margin: 0 auto; - overflow: hidden; - text-align: center; - line-height: @result-img-size; - - &-success { - color: @result-success-color; - } - - &-error { - color: @result-error-color; - } - - &-info { - color: @result-success-color; - } - - &-warning { - color: @result-warning-color; - } - - &-wait { - color: @result-wait-color; - } - } - - &-title { - padding-top: 40 * @rpx; - font-size: @result-title-size; - color: @result-title-color; - - font-weight: 500; - - &:empty { - display: none; - } - } - - &-message { - padding-top: 16 * @rpx; - font-size: @result-desc-size; - color: @result-desc-color; - - &:empty { - display: none; - } - } -} diff --git a/compiled/alipay/src/Result/index.md b/compiled/alipay/src/Result/index.md deleted file mode 100644 index bc99ee884..000000000 --- a/compiled/alipay/src/Result/index.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Result 操作结果 - -对前一步操作的结果进行反馈。当有重要操作需告知用户处理结果,且反馈内容较为复杂时,应使用 Result 组件。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-result": "antd-mini/es/Result/index" -#endif -#if WECHAT - "ant-result": "antd-mini/Result/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - - - - - - -``` - -### 插槽 - -```xml - - 标题插槽 - 描述插槽 - - 其他模块 - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------------- | -------------- | ------ | -| className | 类名 | string | - | -| extra | 底部自定义渲染 | slot | - | -| image | 自定义图片 | string \| slot | - | -| message | 副文案 | string \| slot | - | -| style | 样式 | string | - | -| title | 主文案 | string \| slot | - | -| type | 内置类型 `success`(成功)、`error`(错误/危险)、`info`(信息提示)、`wait`(等待处理) | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --result-main-background |
#ffffff
|
#1a1a1a
| Result 主背景颜色 | -| --result-title-color |
#000000
|
#ffffff
| Result 标题颜色 | -| --result-desc-color |
#333333
|
#c5cad1
| Result 描述文字颜色 | -| --result-success-color |
#1677ff
|
#3086ff
| Result 成功状态颜色 | -| --result-error-color |
#ff3b30
|
#ff544a
| Result 错误状态颜色 | -| --result-warning-color |
#ff8f1f
|
#ff9c38
| Result 警告状态颜色 | -| --result-wait-color |
#00b578
|
#12b57e
| Result 等待状态颜色 | diff --git a/compiled/alipay/src/Result/index.sjs b/compiled/alipay/src/Result/index.sjs deleted file mode 100644 index 9d073244e..000000000 --- a/compiled/alipay/src/Result/index.sjs +++ /dev/null @@ -1,13 +0,0 @@ -var iconMap = { - 'success': 'CheckCircleFill', - 'error': 'CloseCircleFill', - 'info': 'InformationCircleFill', - 'warning': 'ExclamationCircleFill', - 'wait': 'ClockCircleFill' -}; -var iconType = function iconType(t) { - return iconMap[t]; -}; -export default { - iconType: iconType -}; \ No newline at end of file diff --git a/compiled/alipay/src/Result/index.ts b/compiled/alipay/src/Result/index.ts deleted file mode 100644 index ca33e5942..000000000 --- a/compiled/alipay/src/Result/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Component } from '../_util/simply'; -import { IResultProps } from './props'; - -Component({ - type: null, - image: '', - title: '', - message: '', -}); \ No newline at end of file diff --git a/compiled/alipay/src/Result/props.ts b/compiled/alipay/src/Result/props.ts deleted file mode 100644 index 8c05892bd..000000000 --- a/compiled/alipay/src/Result/props.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 结果页,用于展示用户操作后的信息反馈。 - */ - -export interface IResultProps extends IBaseProps { - /** - * @description 内置类型 success=成功 error=错误/危险 info=信息提示 wait=等待处理 - */ - type: 'success' | 'error' | 'info' | 'warning' | 'wait'; - - /** - * @description 自定义图片,如果配置了 type, 则不生效 - */ - image: string; - - /** - * @description 主文案 - */ - title: string; - - /** - * @description 副文案 - */ - message: string; -} - -export const ResultDefaultProps: Partial = { -}; diff --git a/compiled/alipay/src/Result/variable.less b/compiled/alipay/src/Result/variable.less deleted file mode 100644 index c1ece62f2..000000000 --- a/compiled/alipay/src/Result/variable.less +++ /dev/null @@ -1,25 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 图片尺寸 -@result-img-size: 128 * @rpx; -// 主区域背景 -@result-main-background: var(--result-main-background, @COLOR_CARD); -// 左右边距 -@result-spacing-LR: @h-spacing-large; -// 主标题颜色 -@result-title-color: var(--result-title-color, @COLOR_BLACK); -// 主标题大小 -@result-title-size: 40 * @rpx; -// 描述颜色 -@result-desc-color: var(--result-desc-color, @COLOR_TEXT_PRIMARY); -// 描述大小 -@result-desc-size: 32 * @rpx; - -@result-success-color: var(--result-success-color, @COLOR_BRAND1); - -@result-error-color: var(--result-error-color, @COLOR_TEXT_WARNING); - -@result-warning-color: var(--result-warning-color, @COLOR_ORANGE_1); - -@result-wait-color: var(--result-wait-color, @COLOR_POMONAGREEN_1); diff --git a/compiled/alipay/src/SafeArea/index.axml b/compiled/alipay/src/SafeArea/index.axml deleted file mode 100644 index 37426aedb..000000000 --- a/compiled/alipay/src/SafeArea/index.axml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/compiled/alipay/src/SafeArea/index.en.md b/compiled/alipay/src/SafeArea/index.en.md deleted file mode 100644 index 92848b335..000000000 --- a/compiled/alipay/src/SafeArea/index.en.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# SafeArea -When the web page is displayed in full screen, the top and bottom of the screen can be adapted by means of a safe zone, such as a bang screen. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-safe-area": "antd-mini/es/SafeArea/index" -#endif -#if WECHAT - "ant-safe-area": "antd-mini/SafeArea/index" -#endif -} -``` - -## Code example - -### Top Safety Area -```xml - - Content Area - -``` - -### Bottom safety zone -```xml - - Content Area - -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -|-----|-----|-----|--------| -| className | Container className | string | - | -| position | Location of safety zone, optional`top`、`bottom` | string | - | - -## Slot - -| Name | Description | -| ----------- | -------------------- | -| Default Slot | Contents contained in the security zone | diff --git a/compiled/alipay/src/SafeArea/index.json b/compiled/alipay/src/SafeArea/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/SafeArea/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/SafeArea/index.less b/compiled/alipay/src/SafeArea/index.less deleted file mode 100644 index 3a06707d5..000000000 --- a/compiled/alipay/src/SafeArea/index.less +++ /dev/null @@ -1,13 +0,0 @@ -@safeareaPrefix: ant-safe-area; - -.@{safeareaPrefix} { - &-top { - height: constant(safe-area-inset-top); - height: env(safe-area-inset-top); - } - - &-bottom { - height: constant(safe-area-inset-bottom); - height: env(safe-area-inset-bottom); - } -} diff --git a/compiled/alipay/src/SafeArea/index.md b/compiled/alipay/src/SafeArea/index.md deleted file mode 100644 index 2624ac8bd..000000000 --- a/compiled/alipay/src/SafeArea/index.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# SafeArea 安全区 -当网页被全屏展示时,可借助安全区进行屏幕顶部和底部适配,如刘海屏。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-safe-area": "antd-mini/es/SafeArea/index" -#endif -#if WECHAT - "ant-safe-area": "antd-mini/SafeArea/index" -#endif -} -``` - -## 代码示例 - -### 顶部安全区 -```xml - - 内容区域 - -``` - -### 底部安全区 -```xml - - 内容区域 - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -|-----|-----|-----|--------| -| className | 容器 className | string | - | -| position | 安全区的位置,可选`top`、`bottom` | string | - | - -## 插槽 - -| 名称 | 说明 | -| ----------- | -------------------- | -| 默认插槽 | 安全区中包含的内容 | diff --git a/compiled/alipay/src/SafeArea/index.ts b/compiled/alipay/src/SafeArea/index.ts deleted file mode 100644 index b376330b4..000000000 --- a/compiled/alipay/src/SafeArea/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -import { SafeAreaDefaultProps } from './props'; - -Component(SafeAreaDefaultProps); diff --git a/compiled/alipay/src/SafeArea/props.ts b/compiled/alipay/src/SafeArea/props.ts deleted file mode 100644 index c684d8942..000000000 --- a/compiled/alipay/src/SafeArea/props.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ISafeAreaProps { - className?: string; - position: 'top' | 'bottom' | ''; -} - -export const SafeAreaDefaultProps: ISafeAreaProps = { - className: '', - position: '', -}; diff --git a/compiled/alipay/src/SelectContact/index.axml b/compiled/alipay/src/SelectContact/index.axml deleted file mode 100644 index 092b28fe3..000000000 --- a/compiled/alipay/src/SelectContact/index.axml +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - 取消 - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/SelectContact/index.en.md b/compiled/alipay/src/SelectContact/index.en.md deleted file mode 100644 index 4e4b41c27..000000000 --- a/compiled/alipay/src/SelectContact/index.en.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -nav: - path: /components -group: - title: Bizness Components - order: 15 -toc: content -supportPlatform: ['alipay'] ---- - -# SelectContact - -The ability to find people: the shared class is oriented to the business of C users, and in fact there are demands for this person. For example, the user of the main card of the love card "finds someone" to give the love card, and asks the user to "find someone" to help open it. The user who pays on behalf of the card needs to find someone to help pay on behalf of the card when using the card, and the user who has a small pocket needs to "find someone" to join when pulling the group. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-select-contact": "antd-mini/es/SelectContact/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - handleChange(value) { - console.log(value); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ---------------------------- | ------------------------- | ------ | -| className | Class Name | string | - | -| height | Component height | string | - | -| source | Business sources, distinguishing between scenario monitoring and embedding points | string | - | -| bizScene | Access party scenario, post-verification | number | - | -| #if ALIPAY onSelect | Trigger when contact is selected | (IOnSelectParams) => void | - | -| #if ALIPAY onError | Get data interface error trigger | (error: any) => void | - | -| #if ALIPAY onContactListEmpty | Triggered when recommend list is empty | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------------- | -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------------------------ | -| --select-contact-search-bar-focus-color |
#1677ff
|
#3086ff
| Search bar focus color | -| --select-contact-search-cancel-color |
#333333
|
#c5cad1
| Cancel Button Color | -| --select-contact-loading-bg |
#ffffff
|
#1a1a1a
| Load Background Color | -| --select-contact-scroll-bg |
#ffffff
|
#1a1a1a
| Scroll background color | -| --select-contact-list-bg |
#ffffff
|
#1a1a1a
| List background color | -| --select-contact-title-bg |
#ffffff
|
#000000
| Title background color | -| --select-contact-title-color |
#999
|
#999
| Title Text Color | -| --select-contact-title-first-color |
#333
|
#c5cad1
| Level 1 title color | -| --select-contact-title-first-border |
#eee
|
#2b2b2b
| Level 1 title border color | -| --select-contact-tag-color |
#ff6010
|
#ff6010
| Label Color | -| --select-contact-tag-border |
#ffcfb7
|
#ffcfb7
| Label border color | -| --select-contact-empty-bg |
#ffffff
|
#1a1a1a
| Empty state background color | -| --select-contact-empty-color |
#999
|
#616161
| Empty status text color | -| --select-contact-loading-bg |
#999
|
#616161
| Load Status Background Color | -| --select-contact-display-light-color |
#fa6300
|
#fa6300
| Highlight Color | diff --git a/compiled/alipay/src/SelectContact/index.json b/compiled/alipay/src/SelectContact/index.json deleted file mode 100644 index b13337605..000000000 --- a/compiled/alipay/src/SelectContact/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "component": true, - "usingComponents": { - "list-item": "../List/ListItem/index", - "list": "../List/index", - "skeleton": "../Skeleton/index", - "loading": "../Loading/index", - "ant-icon": "../Icon/index", - "input": "../Input/index", - "swipe-action": "../SwipeAction/index", - "alphabet": "../Alphabet/index" - } -} diff --git a/compiled/alipay/src/SelectContact/index.less b/compiled/alipay/src/SelectContact/index.less deleted file mode 100644 index 829eb9522..000000000 --- a/compiled/alipay/src/SelectContact/index.less +++ /dev/null @@ -1,201 +0,0 @@ -@import (reference) './variable.less'; - -.ant-select-contact-component { - position: relative; - display: flex; - width: 100%; - flex-direction: column; - - .search-line { - display: flex; - align-items: center; - padding: 16px; - } - .search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: @select-contact-search-bar-focus-color; - } - } - - .cancel { - color:@select-contact-search-cancel-color; - margin-left: 8px; - } - - // 取消搜索框右侧空白 - .hidden-cancel-button { - .am-search-cancel { - display: none; - } - } - - // 取消搜索框左边距 - .am-search { - padding: 0; - } - - .scc-blank { - height: 24rpx; - min-height: 24rpx; - } - - .scc-contact-wrap { - flex: 1; - overflow: hidden; - - .contact-loading { - height: 100%; - background: @select-wrap-contact-loading-bg; - border-radius: 12rpx; - padding: 24rpx; - box-sizing: border-box; - } - - .contact-scroll { - position: relative; - height: 100%; - background-color: @select-contact-scroll-bg; - border-radius: 24rpx; - - &::-webkit-scrollbar { - display: none; - } - } - - .contact-recommend { - width: 100%; - height: 138rpx; - } - - .contact-list { - padding: 0 24rpx 24rpx; - background: @select-contact-list-bg; - border-radius: 12rpx; - - .title { - font-size: 28rpx; - line-height: 48rpx; - color: @select-contact-title-color; - background: @select-contact-title-bg; - - &__ios { - position: -webkit-sticky; - position: sticky; - top: -1rpx; - z-index: 2; - } - } - - .title.first-level { - font-size: 30rpx; - line-height: 80rpx; - color: @select-contact-title-first-color; - border-bottom: 2rpx solid @select-contact-title-first-border; - } - - .tag { - padding: 0 8rpx; - margin-left: 8rpx; - font-size: 20rpx; - color: @select-contact-tag-color; - border: 0.5px solid @select-contact-tag-border; - border-radius: 6rpx; - } - - .am-list-prefix { - padding-left: 0; - } - .am-list-line { - padding-right: 0; - } - .am-auto-sizer-content { - border-radius: 8rpx; - } - } - - // 将字母表的位置设为聚合居中 - .alphabet-container { - transform: translate(0, calc(-50% + 48rpx)); - } - } - - .scc-search-wrap { - overflow: hidden; - border-radius: 24rpx; - flex: 1; - - .normal { - height: 100%; - - .tag { - padding: 0 8rpx; - margin-left: 8rpx; - font-size: 20rpx; - color: @select-contact-tag-color; - border: 0.5px solid @select-contact-tag-border; - border-radius: 6rpx; - } - - .am-list-item:nth-of-type(1) { - border-top-left-radius: 24rpx; - border-top-right-radius: 24rpx; - } - .am-list-item:nth-last-of-type(1) { - border-bottom-left-radius: 24rpx; - border-bottom-right-radius: 24rpx; - } - } - - .empty { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - background-color: @select-contact-empty-bg; - border-radius: 24rpx; - - &-img { - width: 200rpx; - height: 200rpx; - margin-top: 80rpx; - background: url(https://gw.alipayobjects.com/mdn/rms_a07f19/afts/img/A*ZN9XRokU8BIAAAAAAAAAAAAAARQnAQ) - no-repeat; - } - - &-text { - margin: 24rpx 0 90rpx; - font-size: 30rpx; - color: @select-contact-empty-color; - } - } - - .loading { - display: flex; - justify-content: center; - align-items: center; - - &-text { - font-size: 28rpx; - color: @select-contact-loading-color; - } - } - - .display-name { - display: inline-block; - - &__light { - color: @select-contact-display-light-color; - } - } - } -} - -.hidden { - display: none !important; -} diff --git a/compiled/alipay/src/SelectContact/index.md b/compiled/alipay/src/SelectContact/index.md deleted file mode 100644 index 978e97e14..000000000 --- a/compiled/alipay/src/SelectContact/index.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -nav: - path: /components -group: - title: 业务组件 - order: 15 -toc: content -supportPlatform: ['alipay'] ---- - -# SelectContact 选人能力 - -找人能力:共享类面向对 C 用户的业务,实际上都存在这找人的诉求。举例:亲情卡主卡用户“找人”赠送亲情卡,求赠卡用户“找人”帮忙开通,代付的用户在使用代付时找人帮忙代付,小荷包的用户拉群时需要“找人”来加入。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-select-contact": "antd-mini/es/SelectContact/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - handleChange(value) { - console.log(value); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ---------------------------- | ------------------------- | ------ | -| className | 类名 | string | - | -| height | 组件高度 | string | - | -| source | 业务来源,区分场景监控、埋点 | string | - | -| bizScene | 接入方场景,后段校验 | number | - | -| #if ALIPAY onSelect | 选中联系人时触发 | (IOnSelectParams) => void | - | -| #if ALIPAY onError | 获取数据接口报错触发 | (error: any) => void | - | -| #if ALIPAY onContactListEmpty | 推荐列表为空时触发 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------------- | -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------------------------ | -| --select-contact-search-bar-focus-color |
#1677ff
|
#3086ff
| 搜索栏聚焦颜色 | -| --select-contact-search-cancel-color |
#333333
|
#c5cad1
| 取消按钮颜色 | -| --select-contact-loading-bg |
#ffffff
|
#1a1a1a
| 加载背景颜色 | -| --select-contact-scroll-bg |
#ffffff
|
#1a1a1a
| 滚动背景颜色 | -| --select-contact-list-bg |
#ffffff
|
#1a1a1a
| 列表背景颜色 | -| --select-contact-title-bg |
#ffffff
|
#000000
| 标题背景颜色 | -| --select-contact-title-color |
#999
|
#999
| 标题文字颜色 | -| --select-contact-title-first-color |
#333
|
#c5cad1
| 一级标题颜色 | -| --select-contact-title-first-border |
#eee
|
#2b2b2b
| 一级标题边框颜色 | -| --select-contact-tag-color |
#ff6010
|
#ff6010
| 标签颜色 | -| --select-contact-tag-border |
#ffcfb7
|
#ffcfb7
| 标签边框颜色 | -| --select-contact-empty-bg |
#ffffff
|
#1a1a1a
| 空状态背景颜色 | -| --select-contact-empty-color |
#999
|
#616161
| 空状态文字颜色 | -| --select-contact-loading-bg |
#999
|
#616161
| 加载状态背景颜色 | -| --select-contact-display-light-color |
#fa6300
|
#fa6300
| 高亮显示颜色 | diff --git a/compiled/alipay/src/SelectContact/index.sjs b/compiled/alipay/src/SelectContact/index.sjs deleted file mode 100644 index 5f83a1fc3..000000000 --- a/compiled/alipay/src/SelectContact/index.sjs +++ /dev/null @@ -1,9 +0,0 @@ -var getId = function getId(str) { - if (str === '推荐' || str === '推') { - return 'tui'; - } - return str; -}; -export default { - getId: getId -}; \ No newline at end of file diff --git a/compiled/alipay/src/SelectContact/index.ts b/compiled/alipay/src/SelectContact/index.ts deleted file mode 100644 index 2e34b0f72..000000000 --- a/compiled/alipay/src/SelectContact/index.ts +++ /dev/null @@ -1,303 +0,0 @@ -import { Component } from '../_util/simply'; -import { - IContactInfo, - IContactUserInfo, - SelectContactDefaultProps, -} from './props'; -import { AlphabetMap, getFirstLetterInMap, getId } from './util'; - -Component( - SelectContactDefaultProps, - { - init() { - const { platform } = my.getSystemInfoSync(); - - this.setData({ - isIOS: /ios/gi.test(platform), - }); - - try { - const recommendContactsList = this.handleRecommendContacts( - this.props.recommendContactsList - ); - /** 全部联系人 */ - const allContactsList = this.handleAllContacts( - this.props.allContactsList - ); - - /** 展示的联系人列表 */ - const contactsList = recommendContactsList.concat(allContactsList); - - /** 字母表 */ - const alphabet = this.generateAlphabet(contactsList); - - this.setData({ - recommendContactsList, - allContactsList, - alphabet, - sessionId: this.props.sessionId, - }); - } catch (error) { - this.props.onError(error); - this.setData({ - contactListEmpty: true, - }); - } finally { - this.setData({ - loading: false, - }); - } - }, - /** 搜索栏输入 */ - onSearchInput(searchValue: string) { - // 无搜索内容时 - if (!searchValue) { - this.setData({ - searchValue: '', - searchList: [], - searchStatus: 'normal', - }); - } else { - this.setData({ - searchValue, - searchStatus: 'loading', - searchList: [], - }); - const { userInfos = [] } = this.props.searchContacts({ - keyword: searchValue, - }); - - // 将 em 标签包含的内容高亮显示 - userInfos.forEach((item) => { - item.nodes = []; - item.displayName - .replace(/<\/em>/g, '') - .split('') - .forEach((str, index) => { - if (index % 2) { - item.nodes.push({ - text: str, - className: 'display-name__light', - }); - } else { - item.nodes.push({ - text: str, - className: 'display-name__normal', - }); - } - }); - item.displayName = item.displayName - .replace(/<\/em>/g, '') - .replace(//g, ''); - }); - - this.setData({ - searchList: userInfos, - searchStatus: userInfos.length > 0 ? 'normal' : 'empty', - }); - } - }, - - /** 清空输入框内容 */ - onSearchClear() { - this.setData({ - searchValue: '', - searchList: [], - searchStatus: 'normal', - }); - }, - - /** 输入框聚焦 */ - onSearchFocus() { - this.setData({ - showSearch: true, - }); - }, - - /** 搜索栏返回 */ - onSearchCancel() { - this.setData({ - searchValue: '', - showSearch: false, - searchStatus: 'normal', - searchList: [], - }); - }, - - /** 联系人点击事件 */ - onItemClick(e) { - const { item, personSource } = e.target.dataset; - - this.props.onSelect({ - userInfo: item, - personSource, - sessionId: this.data.sessionId, - }); - }, - - /** 处理 推荐联系人 数据 */ - handleRecommendContacts(recommendUserInfos: IContactInfo[]) { - const recommendContactsList: IContactUserInfo[] = - recommendUserInfos.length === 0 - ? [] - : [ - { - name: '推荐', - value: recommendUserInfos, - className: 'first-level', - personSource: 'recommend', - }, - ]; - - return recommendContactsList; - }, - - /** 处理 全部联系人 数据 */ - handleAllContacts(contacts: IContactInfo[]) { - if (contacts.length === 0) { - return []; - } - - const allContactsList: IContactUserInfo[] = []; - const allContactsTempKey = []; - - contacts.forEach((item) => { - const firstLetter = getFirstLetterInMap(item.displayName); - - if (allContactsTempKey.indexOf(firstLetter) === -1) { - allContactsList.push({ - name: firstLetter, - value: [item], - personSource: 'all', - }); - allContactsTempKey.push(firstLetter); - } else { - for (let index = 0; index < allContactsList.length; index++) { - if (allContactsList[index].name === firstLetter) { - allContactsList[index].value.push(item); - } - } - } - }); - allContactsList.sort((a, b) => - AlphabetMap[a.name] > AlphabetMap[b.name] ? 1 : -1 - ); - allContactsList.unshift({ - name: '全部联系人', - value: [], - className: 'first-level', - personSource: 'all', - }); - - return allContactsList; - }, - - /** 根据 展示的联系人列表 生成 字母表 */ - generateAlphabet(contactsList: IContactUserInfo[]) { - const alphabet: string[] = []; - contactsList.forEach((item) => { - if (item.name === '推荐') { - alphabet.push('推'); - } else if (item.name !== '全部联系人') { - alphabet.push(item.name); - } - }); - - return alphabet; - }, - - /** 字母表滚动 */ - onScrollIntoView(alphabetItem: string) { - const toView = getId(alphabetItem); - - this.setData({ toView }); - }, - - onSwipeEnd(key) { - if (key === this.data.currentSelectedDeleteUID) { - /** 左滑功能点击后会再次执行onSwipeEnd */ - this.setData({ currentSelectedDeleteUID: null }); - } else { - this.setData({ currentSelectedDeleteUID: key }); - } - }, - - onSwipeStart() { - this.setData({ currentSelectedDeleteUID: null }); - }, - handleSearch() { - console.log(this.data.searchable, '有点奇怪'); - this.setData({ searchable: true }); - }, - handleCancelSearch() { - this.setData({ searchable: false }); - }, - }, - { - /** 推荐联系人 */ - recommendContactsList: [], - - /** 全部联系人 */ - allContactsList: [], - - /** 字母表 */ - alphabet: [], - - /** 滚动到的 Element id */ - toView: '', - - /** 联系人为空 */ - contactListEmpty: false, - - /** 数据加载中 */ - loading: true, - - /** 输入框占位文案 */ - placeholder: '输入手机号、电子邮箱、好友姓名查找', - - /** 是否展示搜索页 */ - showSearch: false, - - /** 搜索关键词 */ - searchValue: '', - - /** 搜索页状态 */ - searchStatus: 'normal', - - /** 搜索结果 */ - searchList: [], - - /** - * 是否是 IOS - * - * 由于 Andriod 对于 sticky 的兼容性太差(会覆盖右侧索引表),暂时只开放 IOS 的 sticky - */ - isIOS: false, - - /** 推荐好友-左滑功能配置/ */ - right: [ - { - type: 'delete', - text: '取消推荐', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - - /** 当前选中删除推荐好友UID */ - currentSelectedDeleteUID: '', - - /** 当前请求会话ID */ - sessionId: '', - /** 全局删除推荐好友标识 */ - deleteRecommendUserFlag: false, - /** 是否正在搜索 */ - searchable: false - }, - [], - { - onInit() { - this.init(); - }, - } -); diff --git a/compiled/alipay/src/SelectContact/props.ts b/compiled/alipay/src/SelectContact/props.ts deleted file mode 100644 index 5a72299f2..000000000 --- a/compiled/alipay/src/SelectContact/props.ts +++ /dev/null @@ -1,135 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 选人组件。 - */ - -/** - * 用户来源 - * - * - 推荐联系人 - * - 全部联系人 - * - 搜索联系人 - * */ -type TPersonSource = 'recommend' | 'all' | 'search'; - -/** onSelect 回调入参 */ -export interface IOnSelectParams { - /** 选中的用户信息 */ - userInfo: IContactInfo; - - /** 用户来源 */ - personSource: TPersonSource; -} - -/** 获取推荐联系人和全部联系人接口返回数据 */ -export interface IGetRecommendContactsListInfo { - success: boolean; - - data: { - /** 当前登录人uid */ - currentUserId: string; - - /** 推荐联系人 */ - recommendUserInfos: IContactInfo[]; - - /** 全部联系人 */ - contacts: IContactInfo[]; - - /** 模糊搜索 */ - fuzzyConsult?: { - /** 是否开启 */ - enable: boolean; - - /** 搜索框占位符 */ - placeholder: string; - }; - - /** 当前请求会话ID */ - sessionId?: string; - }; -} - -/** 联系人信息 */ -export interface IContactInfo { - /** 用户 uid */ - userId: string; - - /** 展示名称 */ - displayName: string; - - /** 搜索时 - 高亮展示匹配内容(前端生成) */ - nodes: Array<{ - text: string; - className: string; - }>; - - /** 脱敏登录id */ - loginId: string; - - /** 用户头像 */ - avatar: string; - - /** 联系人标签 */ - tag?: string; - - /** 推荐联系人标签(转为 tag 对外透出) */ - recommendTypeDesc?: string; - - /** 推荐联系人特有,取消推荐使用 */ - archiveId?: string; -} - -/** 组件展示联系人列表 */ -export interface IContactUserInfo { - name: string; - value: IContactInfo[]; - className?: string; - personSource: TPersonSource; -} - -export interface ISelectContactProps extends IBaseProps { - /** 自定义 class */ - className: string; - - /** 组件高度 */ - height: string; - - /** 选人组件初始化接口额外扩展参数 */ - extParams?: Record; - - /** 推荐人列表 */ - recommendContactsList?: IContactUserInfo; - - /** 全部联系人列表 */ - allContactsList?: IContactInfo[]; - - /** 选中联系人 */ - onSelect: (_params: IOnSelectParams) => void; - - /** 获取数据接口报错 */ - onError: (_e: any) => void; - - /** 推荐列表为空时 */ - onContactListEmpty: () => void; - - /** 删除指定推荐联系人失败 */ - onDeleteRecommendUserError: (_e: any) => void; - - /** 删除好友成功 */ - onDeleteRecommendUser: (_e: IContactInfo) => void; - - /** 搜索用户 */ - onSearchUser: (keyword: string) => void; -} - -export const SelectContactDefaultProps: Partial = { - className: '', - height: '100%', - /** 其他扩展参数 */ - extParams: {}, - onSelect: (e) => {}, - onError: (e) => {}, - onContactListEmpty: () => {}, - onDeleteRecommendUserError: (e) => {}, - onDeleteRecommendUser: (keyword) => {}, -}; diff --git a/compiled/alipay/src/SelectContact/util.ts b/compiled/alipay/src/SelectContact/util.ts deleted file mode 100644 index 83a90ee0f..000000000 --- a/compiled/alipay/src/SelectContact/util.ts +++ /dev/null @@ -1,54 +0,0 @@ -import getFirstLetter from 'pinyin-firstletter'; - -console.log('===> getFirstLetter', getFirstLetter) - -/** 索引表枚举 */ -export const AlphabetMap = { - A: 1, - B: 2, - C: 3, - D: 4, - E: 5, - F: 6, - G: 7, - H: 8, - I: 9, - J: 10, - K: 11, - L: 12, - M: 13, - N: 14, - O: 15, - P: 16, - Q: 17, - R: 18, - S: 19, - T: 20, - U: 21, - V: 22, - W: 23, - X: 24, - Y: 25, - Z: 26, - '#': 27, -}; - -/** - * 获取首字母 - * A-Z之外的情况返回 # - */ -export function getFirstLetterInMap(str = '') { - const [a] = getFirstLetter(str) || []; - const letter = `${a}`.toUpperCase(); - const Letter = AlphabetMap[letter] >= 0 ? letter : '#'; - - return Letter; -} - -export function getId(str: string) { - if (str === '推荐' || str === '推') { - return 'tui'; - } - - return str; -} diff --git a/compiled/alipay/src/SelectContact/variable.less b/compiled/alipay/src/SelectContact/variable.less deleted file mode 100644 index ddc9fddde..000000000 --- a/compiled/alipay/src/SelectContact/variable.less +++ /dev/null @@ -1,24 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@select-contact-search-bar-focus-color: var(--select-contact-search-bar-focus-color, @COLOR_BRAND1); -@select-contact-search-cancel-color: var(--select-contact-search-cancel-color, @COLOR_TEXT_PRIMARY); -@select-wrap-contact-loading-bg: var(--select-contact-wrap-loading-bg, #fff); - -@select-contact-scroll-bg: var(--select-contact-scroll-bg, #fff); -@select-contact-list-bg: var(--select-contact-list-bg, #fff); -@select-contact-title-bg: var(--select-contact-title-bg, #fff); -@select-contact-title-color: var(--select-contact-title-color, #999); -@select-contact-title-first-color: var(--select-contact-title-first-color, #333); -@select-contact-title-first-border: var(--select-contact-title-first-border, #eee); -@select-contact-tag-color: var(--select-contact-tag-color, #ff6010); -@select-contact-tag-border: var(--select-contact-tag-border, #ffcfb7); -@select-contact-empty-bg: var(--select-contact-empty-bg, #fff); -@select-contact-empty-color: var(--select-contact-empty-color, #999); -@select-contact-loading-color: var(--select-contact-loading-bg, #999); -@select-contact-display-light-color: var(--select-contact-display-light-color, #fa6300); - - - - - diff --git a/compiled/alipay/src/Selector/index.axml b/compiled/alipay/src/Selector/index.axml deleted file mode 100644 index c94412122..000000000 --- a/compiled/alipay/src/Selector/index.axml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - {{item.text}} - - - {{item.subText}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Selector/index.en.md b/compiled/alipay/src/Selector/index.en.md deleted file mode 100644 index aa274df5a..000000000 --- a/compiled/alipay/src/Selector/index.en.md +++ /dev/null @@ -1,214 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Selector - -Select one or more in a set of options. Provides multiple options for users to select, typically used in filters and forms. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-selector": "antd-mini/es/Selector/index" -#endif -#if WECHAT - "ant-selector": "antd-mini/Selector/index" -#endif -} -``` - -## Code example - -### Basic use - -> [options](#selectoritem) property is an object that contains `text`(main copy), `subText`(Deputy copywriter), `value`(option value), `disabled`(disabled or not). - -```xml - -``` - -### multiple choice - -> Incoming `multiple` Properties can support multiple selection. - -```xml - -``` - -### Limit the number of selections - -> `maxSelectedCount`、`minSelectedCount` property can limit the number of selections,`selectMax`、`selectMin` Event is triggered when the limit is exceeded. - -```xml - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - }, - onSelectMin(value, item) { - console.log(value, item); -#if WECHAT - wx.showModal({ content: 'Emptying not allowed' }); -#endif -#if ALIPAY - my.alert({ content: 'Emptying not allowed' }); -#endif - }, - onSelectMax() { - console.log(value, item); -#if WECHAT - wx.showModal({ content: '选择已达上限' }); -#endif -#if ALIPAY - my.alert({ content: '选择已达上限' }); -#endif - }, -}); -``` - -### Emptying not allowed - -> To achieve that emptying is not allowed, use `minSelectedCount` Property Set Minimum Limit Number of Digits `1` , can. - -```xml - -``` - -### Controlled Mode - -```xml - - - Change the selected value to option three - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - value: '1', - }, - handleChangeValue() { - this.setData({ - value: '3', - }); - }, - handleChange(value, items, e) { -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - console.log(value, items, e); - }, -}); -``` - -### Use Selector to customize the Filter - -> Reference below [Demo Code](#demo-代码) implementation in. - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ------------------------- | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| activeItemClassName | Class name of the selected option | string | - | -| activeItemStyle | Styles for selected options | string | - | -| className | Class Name | string | - | -| defaultValue | The default selection item, when multiple selection type is array | string \| number \| string[] \| number[] | - | -| disabled | Whether the whole is disabled | boolean | false | -| maxSelectedCount | Maximum Number of Optional Items | number | - | -| minSelectedCount | Number of minimum selectable items | number | - | -| multiple | Whether to allow multi-selection, the current radio/multi-selection status will be displayed when the tab bar is displayed. | boolean | false | -| options | Option Data Source | [SelectorItem](#selectoritem)[] | [] | -| style | Style | string | - | -| value | Current selection, array type for multiple selection | string \| number \| string[] \| number[] | - | -| #if ALIPAY onChange | The selected value changes, triggering a callback | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMax | Maximum Trigger Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMin | Trigger Minimum Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | The selected value changes, triggering a callback | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmax | Maximum Trigger Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmin | Trigger Minimum Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### SelectorItem - -| Property | Description | Type | Default Value | -| -------- | ------------ | ---------------- | ------ | -| disabled | Disable | boolean | - | -| subText | Deputy copywriter | string | - | -| text | Copy | string | - | -| value | Current item value | string \| number | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| Selector Background Color | -| --selector-item-background |
#f5f5f5
|
#121212
| Selector item background color | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| Selector Activate Item Background Color | -| --selector-item-color |
#1677ff
|
#3086ff
| Selector item color | -| --selector-item-sub-color |
#999999
|
#616161
| Selector item sub-color | diff --git a/compiled/alipay/src/Selector/index.json b/compiled/alipay/src/Selector/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/alipay/src/Selector/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/alipay/src/Selector/index.less b/compiled/alipay/src/Selector/index.less deleted file mode 100644 index ca15ee55f..000000000 --- a/compiled/alipay/src/Selector/index.less +++ /dev/null @@ -1,89 +0,0 @@ -@import (reference) './variable.less'; - -@selectorPrefix: ant-selector; - -.@{selectorPrefix} { - position: relative; - display: flex; - flex-direction: column; - // padding: calc(@selector-collapse / 2); - background-color: @selector-background-color; - line-height: @selector-line-height; - - &-disabled .ant-selector-content { - opacity: 0.6; - - .@{selectorPrefix}-item-disabled { - opacity: 1; - } - } - - &-content { - display: flex; - flex: 0 33.3333%; - padding: calc(@selector-collapse / 2); - box-sizing: border-box; - - &-item2 { - flex: 1; - } - - &-container { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - } - - .ant-tap-modal-mask { - width: calc(100% - 24 * @rpx); - height: calc(100% - 24 * @rpx); - margin: 12 * @rpx 0 0 12 * @rpx; - } - } - - &-item { - position: relative; - display: flex; - flex: 1; - flex-direction: column; - justify-content: flex-start; - overflow: hidden; - padding: calc(@selector-collapse / 2) calc(@selector-collapse / 4); - text-align: center; - background-color: @selector-item-background; - border-radius: @corner-radius-md; - - &-active { - background-color: @selector-item-active-background; - - .@{selectorPrefix}-item-text { - color: @selector-item-color; - } - } - - &-disabled { - opacity: 0.6; - } - - &-text { - font-size: @selector-item-size; - color: @selector-item-color; - } - - &-subtext { - font-size: @selector-item-sub-size; - color: @selector-item-sub-color; - } - - &-badge-active { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAfCAYAAAH8T49dAAAAAXNSR0IArs4c6QAAA7JJREFUWAnNV1tIlEEU/lYrzRClaHdd14jMlEwKBEGolwKhnqIICiKE6ikKhMRdk1ikwCx86KECoYKgsIuVUBT4FBQEUm9dpB4iKrSLouWau+7pnP2d/S/+e/fSPOxczne++ebM+WdngFSKs4XIhJMBKdFBl4/61MAspHJzqIbUjBrlqig2aHTLmUHQUIe0tBJDqgFr7fZRY4RwLS7QOIU4m4BrA+SeCOKbYpWpXT6tFwVavRVw7muZyaTNOoWSYgtyn6K6SBgvlVM0mKojNW/WWwWoLdMsJpDQ88ZWiUkA1w9poNh0av4aD3DnCBCaBmrOzoCqA7TsexB/ta79b4zJ3pzaaGmAvKEgPmdF5vTRUxAa1JRpk3He5HPeBBWBsU6ZjFV0sopmo7O1nZSMdyXMTrlWR9nCx8eA4XF9l5ZYQdLnxDjA+35T2eQTGJkAqtq1PFAk6rNQOJMyVwv95ENhpTIaa8mX/hNmJUa7tB2lrbSFE+q11bCofQ6N37TMTNUw0QDHuDZrMo7zJMc5T4RkTMbJW8zJO2JcjekoMBoStd1+2mUlEnzaZByfG5EIHtlNltYy+Wv4wiSccfYlJbJAgHIuBcHHW+KSdJneNqqIR/QhAPQe1SdISMbxaZoKYVCH6y0hKswHfA/1sbjLZKIXnIj1OlRvKaJtXcDgsD5uq4wTcUIRbS4F5NSoLtGc4hGJ1aSs8hwVjvzCmD6X1np/GiguAMYntaVZFSl8TJmrlXbYEQmwsh0Y5fNMYhSPSHBRZRyfbl4W/7tlVxwcn0/8oa7JjkbzNsVsLgiz4fB20fLQEK7y4vb/F8KcfqpHBL28KLda2KIJ23ebcp+9wnnOoSYlxlgvuDCPn6rCEfSxiAqjEGt7wYTxfb05AnTwxSf2+VrFGPvzKqwsQJ6pIO5zMtcZJ02lPS/C+P/roMMBOYP4uMqszJmwdS1U9Bu4xTJ2pirFUwRs3wA8eQP8+GP2ylqYx0cNYUIP0xabqeP35B7cc1g7/gX1/COwp9uMz0jY+ouUN/YVVziRG810iXtWQXJB38uCjH+5iiEtYSU+qp0mPGBnryJQtZ+fOuWrgQv9wLshNarV6QhSnkmFyR3q8iTOcCL7lZO1LlgKDPiAVSs0i7w6JBL5/E4xblmiCFk54wora6PyqTD6WNBGq1O8vrxc7vJdQO4ixpKOIOU3SxjfEI7zg7+L88f2XaYcE9WbWGDnboBPeJzkf0C7HErkL7aoMFeAnBTEPe5vTeawUPZ/WGpTpu45f4MAAAAASUVORK5CYII=') - right bottom no-repeat; - background-size: 19px 15px; - } - } -} diff --git a/compiled/alipay/src/Selector/index.md b/compiled/alipay/src/Selector/index.md deleted file mode 100644 index 7248aed82..000000000 --- a/compiled/alipay/src/Selector/index.md +++ /dev/null @@ -1,214 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Selector 选择器组件 - -在一组选项中选择一个或多个。提供多个选项供用户选择,一般在筛选和表单中使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-selector": "antd-mini/es/Selector/index" -#endif -#if WECHAT - "ant-selector": "antd-mini/Selector/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> [options](#selectoritem) 属性是一个对象,包含 `text`(主文案)、 `subText`(副文案) 、 `value`(选项值)、 `disabled`(是否禁用)。 - -```xml - -``` - -### 多选 - -> 传入 `multiple` 属性可以支持多选。 - -```xml - -``` - -### 限制选择个数 - -> `maxSelectedCount`、`minSelectedCount` 属性可以限制选择个数,`selectMax`、`selectMin` 事件在超出限制的时候触发。 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - }, - onSelectMin(value, item) { - console.log(value, item); -#if WECHAT - wx.showModal({ content: '不允许清空' }); -#endif -#if ALIPAY - my.alert({ content: '不允许清空' }); -#endif - }, - onSelectMax() { - console.log(value, item); -#if WECHAT - wx.showModal({ content: '选择已达上限' }); -#endif -#if ALIPAY - my.alert({ content: '选择已达上限' }); -#endif - }, -}); -``` - -### 不允许清空 - -> 想要实现不允许清空,使用 `minSelectedCount` 属性设置最小限制个数位 `1` ,即可。 - -```xml - -``` - -### 受控模式 - -```xml - - - 改变选中值为选项三 - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - value: '1', - }, - handleChangeValue() { - this.setData({ - value: '3', - }); - }, - handleChange(value, items, e) { -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - console.log(value, items, e); - }, -}); -``` - -### 使用 Selector 自定义 Filter - -> 参考下面 [Demo 代码](#demo-代码) 中的实现。 - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------- | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| activeItemClassName | 选中选项的类名 | string | - | -| activeItemStyle | 选中选项的样式 | string | - | -| className | 类名 | string | - | -| defaultValue | 默认选择项,多选时类型为数组 | string \| number \| string[] \| number[] | - | -| disabled | 是否整体禁用 | boolean | false | -| maxSelectedCount | 最大可选中项的数量 | number | - | -| minSelectedCount | 最小可选中项的数量 | number | - | -| multiple | 是否允许多选,标签栏显示的时候会显示当前单选/多选的状态 | boolean | false | -| options | 选项数据源 | [SelectorItem](#selectoritem)[] | [] | -| style | 样式 | string | - | -| value | 当前选择项,多选时类型为数组 | string \| number \| string[] \| number[] | - | -| #if ALIPAY onChange | 选中值发生变化,触发回调 | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMax | 触发最大限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMin | 触发最小限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中值发生变化,触发回调 | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmax | 触发最大限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmin | 触发最小限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### SelectorItem - -| 属性 | 说明 | 类型 | 默认值 | -| -------- | ------------ | ---------------- | ------ | -| disabled | 是否禁用 | boolean | - | -| subText | 副文案 | string | - | -| text | 文案 | string | - | -| value | 当前项 value | string \| number | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| 选择器背景颜色 | -| --selector-item-background |
#f5f5f5
|
#121212
| 选择器项背景颜色 | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| 选择器激活项背景颜色 | -| --selector-item-color |
#1677ff
|
#3086ff
| 选择器项颜色 | -| --selector-item-sub-color |
#999999
|
#616161
| 选择器项子颜色 | diff --git a/compiled/alipay/src/Selector/index.sjs b/compiled/alipay/src/Selector/index.sjs deleted file mode 100644 index 8ff9578f1..000000000 --- a/compiled/alipay/src/Selector/index.sjs +++ /dev/null @@ -1,9 +0,0 @@ -function getChecked(value, values, multiple) { - if (!multiple) { - return value === values; - } - return (values || []).indexOf(value) > -1; -} -export default { - getChecked: getChecked -}; \ No newline at end of file diff --git a/compiled/alipay/src/Selector/index.ts b/compiled/alipay/src/Selector/index.ts deleted file mode 100644 index 3ce562993..000000000 --- a/compiled/alipay/src/Selector/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { - Component, - triggerEventValues, - getValueFromProps, -} from '../_util/simply'; -import { SelectorDefaultProps, ISelectorItem } from './props'; -import mixinValue from '../mixins/value'; - -Component( - SelectorDefaultProps, - { - onChange(e) { - const { disabled, value } = e.currentTarget.dataset; - const [ - multiple, - options, - maxSelectedCount, - minSelectedCount, - disabledFromProps, - ] = getValueFromProps(this, [ - 'multiple', - 'options', - 'maxSelectedCount', - 'minSelectedCount', - 'disabled', - ]); - if (disabled || disabledFromProps) { - return; - } - if (multiple) { - let currentValue = this.getValue() || []; - if (currentValue.indexOf(value) > -1) { - if ( - typeof minSelectedCount === 'number' && - currentValue.length <= minSelectedCount - ) { - triggerEventValues( - this, - 'selectMin', - [value, options.find((v) => v.value === value) as ISelectorItem], - e - ); - return; - } - currentValue = currentValue.filter((v) => v !== value); - } else { - if ( - typeof maxSelectedCount === 'number' && - currentValue.length >= maxSelectedCount - ) { - triggerEventValues( - this, - 'selectMax', - [value, options.find((v) => v.value === value) as ISelectorItem], - e - ); - return; - } - currentValue = [...currentValue, value]; - } - if (!this.isControlled()) { - this.update(currentValue); - } - triggerEventValues( - this, - 'change', - [ - currentValue, - options.filter((v) => currentValue.indexOf(v.value) > -1), - ], - e - ); - } else { - if (value === this.getValue()) { - if (minSelectedCount === 1) { - triggerEventValues( - this, - 'selectMin', - [value, options.find((v) => v.value === value)], - e - ); - return; - } - if (!this.isControlled()) { - this.update(undefined); - } - triggerEventValues(this, 'change', [undefined, undefined], e); - } else { - if (!this.isControlled()) { - this.update(value); - } - triggerEventValues( - this, - 'change', - [value, options.find((v) => v.value === value)], - e - ); - } - } - }, - }, - null, - [mixinValue()] -); diff --git a/compiled/alipay/src/Selector/props.ts b/compiled/alipay/src/Selector/props.ts deleted file mode 100644 index d72b36f3c..000000000 --- a/compiled/alipay/src/Selector/props.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export type Value = string | number; -export interface ISelectorItem { - /** - * @description 主文案 - */ - text: string; - /** - * @description 选项值,在同一个 Selector 中唯一 - */ - - value: Value; - /** - * @description 辅助文案 - */ - - subText?: string; - /** - * @description 单个禁用 - */ - - disabled?: boolean; -} -/** - * @description 筛选器,可供用户进行单选或者多选。 - */ - -export interface ISelectorProps extends IBaseProps { - /** - * @description 已选择项, 取 items 每一项的 value - */ - value: Value | Value[]; - /** - * @description 默认选择项, 取 items 每一项的 value - */ - defaultValue: Value | Value[]; - /** - * @description 可选项 - */ - - options: ISelectorItem[]; - /** - * @description 每一项激活时新加类名 - */ - - activeItemClassName: string; - /** - * @description 每一项激活时样式 - */ - - activeItemStyle: string; - /** - * @description 是否允许多选 - * @default false - */ - - multiple: boolean; - - /** - * @description 最小选择数量 - */ - minSelectedCount: number; - /** - * @description 最大选择数量 - */ - maxSelectedCount: number; - - disabled?: boolean; - - onChange?( - value: Value | Value[] | undefined, - item: ISelectorItem | ISelectorItem[] | undefined, - e: Record - ): void; - /** - * @description 触发最大限制 - */ - onSelectMax?(value: Value, item: ISelectorItem, e: Record): void; - /** - * @description 触发最小限制 - */ - onSelectMin?(value: Value, item: ISelectorItem, e: Record): void; -} - -export const SelectorDefaultProps: Partial = { - value: null, - defaultValue: null, - options: null, - activeItemClassName: '', - activeItemStyle: '', - multiple: false, - minSelectedCount: null, - maxSelectedCount: null, - disabled: false, -}; diff --git a/compiled/alipay/src/Selector/variable.less b/compiled/alipay/src/Selector/variable.less deleted file mode 100644 index 87e19029b..000000000 --- a/compiled/alipay/src/Selector/variable.less +++ /dev/null @@ -1,25 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 间隔 -@selector-collapse: @h-spacing-large; -// 背景 -@selector-background-color: var(--selector-background-color, @COLOR_CARD); -// 选项背景 -@selector-item-background: var(--selector-item-background, @COLOR_GREY_CARD); -// 选项激活背景 -@selector-item-active-background: var( - --selector-item-active-background, - @COLOR_WATHET -); -// 未选中选项字体颜色 -@selector-item-color: var(--selector-item-color, @COLOR_TEXT_PRIMARY); -@selector-line-height: 1.4; -// 选项字体大小 -@selector-item-size: @font-size-subtitle; -// 副文案颜色 -@selector-item-sub-color: var(--selector-item-sub-color, @COLOR_TEXT_ASSIST); -// 副文案大小 -@selector-item-sub-size: @font-size-content; - -@selector-item-color: var(--selector-item-color, @COLOR_BRAND1); diff --git a/compiled/alipay/src/Skeleton/Avatar/index.axml b/compiled/alipay/src/Skeleton/Avatar/index.axml deleted file mode 100644 index f90a0a767..000000000 --- a/compiled/alipay/src/Skeleton/Avatar/index.axml +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Avatar/index.json b/compiled/alipay/src/Skeleton/Avatar/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/alipay/src/Skeleton/Avatar/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/alipay/src/Skeleton/Avatar/index.less b/compiled/alipay/src/Skeleton/Avatar/index.less deleted file mode 100644 index c7e00e209..000000000 --- a/compiled/alipay/src/Skeleton/Avatar/index.less +++ /dev/null @@ -1,33 +0,0 @@ -@import (reference) '../variable.less'; -@import (reference) '../../Avatar/variable.less'; - -.@{skeletonPrefix}-avatar { - &-animate { - .skeleton-animation(); - } - width: @avatar-size; - height: @avatar-size; - border-radius: @default-radius; - background: @skeleton-fill; - display: inline-block; - &-circle { - border-radius: 50%; - } - - &-x-small { - width: @avatar-size-x-small; - height: @avatar-size-x-small; - } - &-small { - width: @avatar-size-small; - height: @avatar-size-small; - } - &-medium { - width: @avatar-size-medium; - height: @avatar-size-medium; - } - &-large { - width: @avatar-size-large; - height: @avatar-size-large; - } -} diff --git a/compiled/alipay/src/Skeleton/Avatar/index.sjs b/compiled/alipay/src/Skeleton/Avatar/index.sjs deleted file mode 100644 index a2710b179..000000000 --- a/compiled/alipay/src/Skeleton/Avatar/index.sjs +++ /dev/null @@ -1,10 +0,0 @@ -function getClass(size) { - var list = ['x-small', 'small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-skeleton-avatar-".concat(size); - } - return 'ant-skeleton-avatar-medium'; -} -export default { - getClass: getClass -}; \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Avatar/index.ts b/compiled/alipay/src/Skeleton/Avatar/index.ts deleted file mode 100644 index dcfb1366b..000000000 --- a/compiled/alipay/src/Skeleton/Avatar/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonAvatarDefaultProps } from './props'; - -Component(SkeletonAvatarDefaultProps); \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Avatar/props.ts b/compiled/alipay/src/Skeleton/Avatar/props.ts deleted file mode 100644 index e5c52fa0e..000000000 --- a/compiled/alipay/src/Skeleton/Avatar/props.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ISkeletonBaseProps, SkeletonDefaultBaseProps } from '../props'; - -export interface SkeletonAvatarProps extends ISkeletonBaseProps { - shape: 'circle' | 'square'; - size: 'x-small' | 'small' | 'medium' | 'large'; -} - -export const SkeletonAvatarDefaultProps: Partial = { - ...SkeletonDefaultBaseProps, - shape: 'square', - size: 'medium', -}; diff --git a/compiled/alipay/src/Skeleton/Button/index.axml b/compiled/alipay/src/Skeleton/Button/index.axml deleted file mode 100644 index 4f394927c..000000000 --- a/compiled/alipay/src/Skeleton/Button/index.axml +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Button/index.json b/compiled/alipay/src/Skeleton/Button/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/alipay/src/Skeleton/Button/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/alipay/src/Skeleton/Button/index.less b/compiled/alipay/src/Skeleton/Button/index.less deleted file mode 100644 index 84c5ba9fa..000000000 --- a/compiled/alipay/src/Skeleton/Button/index.less +++ /dev/null @@ -1,28 +0,0 @@ -@import (reference) '../variable.less'; - -.@{skeletonPrefix}-button { - &-animate { - .skeleton-animation(); - } - - &-large { - font-size: 36 * @rpx; - padding: 24 * @rpx 24 * @rpx 24 * @rpx 24 * @rpx; - } - - &-medium { - font-size: 34 * @rpx; - padding: 16 * @rpx 24 * @rpx 16 * @rpx 24 * @rpx; - } - - &-small { - font-size: 30 * @rpx; - padding: 8 * @rpx 24 * @rpx 8 * @rpx 24 * @rpx; - } - - width: @button-width; - height: @button-height; - border-radius: @default-radius; - background: @skeleton-fill; - display: inline-block; -} diff --git a/compiled/alipay/src/Skeleton/Button/index.sjs b/compiled/alipay/src/Skeleton/Button/index.sjs deleted file mode 100644 index 2b12350f6..000000000 --- a/compiled/alipay/src/Skeleton/Button/index.sjs +++ /dev/null @@ -1,10 +0,0 @@ -function getClass(size) { - var list = ['small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-skeleton-button-".concat(size); - } - return 'ant-skeleton-button-medium'; -} -export default { - getClass: getClass -}; \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Button/index.ts b/compiled/alipay/src/Skeleton/Button/index.ts deleted file mode 100644 index 50c928946..000000000 --- a/compiled/alipay/src/Skeleton/Button/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonButtonDefaultProps } from './props'; - -Component(SkeletonButtonDefaultProps); \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Button/props.ts b/compiled/alipay/src/Skeleton/Button/props.ts deleted file mode 100644 index aee4e8edb..000000000 --- a/compiled/alipay/src/Skeleton/Button/props.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ISkeletonBaseProps, SkeletonDefaultBaseProps } from '../props'; - -export interface SkeletonButtonProps extends ISkeletonBaseProps { - size?: 'small' | 'medium' | 'large'; -} - -export const SkeletonButtonDefaultProps: Partial = { - ...SkeletonDefaultBaseProps, - size: 'medium', -}; diff --git a/compiled/alipay/src/Skeleton/Input/index.axml b/compiled/alipay/src/Skeleton/Input/index.axml deleted file mode 100644 index 6cca44287..000000000 --- a/compiled/alipay/src/Skeleton/Input/index.axml +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Input/index.json b/compiled/alipay/src/Skeleton/Input/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/alipay/src/Skeleton/Input/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/alipay/src/Skeleton/Input/index.less b/compiled/alipay/src/Skeleton/Input/index.less deleted file mode 100644 index b4d33566a..000000000 --- a/compiled/alipay/src/Skeleton/Input/index.less +++ /dev/null @@ -1,12 +0,0 @@ -@import (reference) '../variable.less'; - -.@{skeletonPrefix}-input { - &-animate { - .skeleton-animation(); - } - width: @input-width; - height: @input-height; - border-radius: @default-radius; - background: @skeleton-fill; - display: inline-block; -} diff --git a/compiled/alipay/src/Skeleton/Input/index.ts b/compiled/alipay/src/Skeleton/Input/index.ts deleted file mode 100644 index 5a118cc2d..000000000 --- a/compiled/alipay/src/Skeleton/Input/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonInputDefaultProps } from './props'; - -Component(SkeletonInputDefaultProps); \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Input/props.ts b/compiled/alipay/src/Skeleton/Input/props.ts deleted file mode 100644 index 07b2c1f9a..000000000 --- a/compiled/alipay/src/Skeleton/Input/props.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ISkeletonBaseProps, SkeletonDefaultBaseProps } from '../props'; - -export interface SkeletonInputProps extends ISkeletonBaseProps {} - -export const SkeletonInputDefaultProps: Partial = { - ...SkeletonDefaultBaseProps, -}; diff --git a/compiled/alipay/src/Skeleton/Paragraph/index.axml b/compiled/alipay/src/Skeleton/Paragraph/index.axml deleted file mode 100644 index 9f2ce3367..000000000 --- a/compiled/alipay/src/Skeleton/Paragraph/index.axml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Paragraph/index.json b/compiled/alipay/src/Skeleton/Paragraph/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/alipay/src/Skeleton/Paragraph/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/alipay/src/Skeleton/Paragraph/index.less b/compiled/alipay/src/Skeleton/Paragraph/index.less deleted file mode 100644 index be35450b9..000000000 --- a/compiled/alipay/src/Skeleton/Paragraph/index.less +++ /dev/null @@ -1,22 +0,0 @@ -@import '../variable.less'; - -.@{skeletonPrefix}-paragraph { - &-animate { - .@{skeletonPrefix}-paragraph-row { - .skeleton-animation(); - } - } - &-row { - width: 100%; - height: 30 * @rpx; - margin-bottom: 24 * @rpx; - border-radius: @default-radius; - background: @skeleton-fill; - &:nth-last-of-type(1) { - margin-bottom: 0; - &:not(:nth-of-type(1)) { - width: 60%; - } - } - } -} diff --git a/compiled/alipay/src/Skeleton/Paragraph/index.ts b/compiled/alipay/src/Skeleton/Paragraph/index.ts deleted file mode 100644 index 7043aeeab..000000000 --- a/compiled/alipay/src/Skeleton/Paragraph/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonParagraphDefaultProps } from './props'; - -Component(SkeletonParagraphDefaultProps); \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Paragraph/props.ts b/compiled/alipay/src/Skeleton/Paragraph/props.ts deleted file mode 100644 index c7cb4fe26..000000000 --- a/compiled/alipay/src/Skeleton/Paragraph/props.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ISkeletonBaseProps, SkeletonDefaultBaseProps } from '../props'; - -export interface SkeletonParagraphProps extends ISkeletonBaseProps { - rows: number; -} - -export const SkeletonParagraphDefaultProps: Partial = { - ...SkeletonDefaultBaseProps, - rows: 3, -}; diff --git a/compiled/alipay/src/Skeleton/Title/index.axml b/compiled/alipay/src/Skeleton/Title/index.axml deleted file mode 100644 index 5af8c954a..000000000 --- a/compiled/alipay/src/Skeleton/Title/index.axml +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Title/index.json b/compiled/alipay/src/Skeleton/Title/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/alipay/src/Skeleton/Title/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/alipay/src/Skeleton/Title/index.less b/compiled/alipay/src/Skeleton/Title/index.less deleted file mode 100644 index e3d2ead3e..000000000 --- a/compiled/alipay/src/Skeleton/Title/index.less +++ /dev/null @@ -1,12 +0,0 @@ -@import '../variable.less'; - -.@{skeletonPrefix}-title { - &-animate { - .skeleton-animation(); - } - height: 40 * @rpx; - width: 45%; - margin-bottom: 40 * @rpx; - border-radius: @default-radius; - background: @skeleton-fill; -} diff --git a/compiled/alipay/src/Skeleton/Title/index.ts b/compiled/alipay/src/Skeleton/Title/index.ts deleted file mode 100644 index 099c4bb56..000000000 --- a/compiled/alipay/src/Skeleton/Title/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonTitleDefaultProps } from './props'; - -Component(SkeletonTitleDefaultProps); \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/Title/props.ts b/compiled/alipay/src/Skeleton/Title/props.ts deleted file mode 100644 index 99b2bee1d..000000000 --- a/compiled/alipay/src/Skeleton/Title/props.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ISkeletonBaseProps, SkeletonDefaultBaseProps } from '../props'; - -export interface SkeletonTitleProps extends ISkeletonBaseProps {} - -export const SkeletonTitleDefaultProps: Partial = { - ...SkeletonDefaultBaseProps, -}; diff --git a/compiled/alipay/src/Skeleton/index.axml b/compiled/alipay/src/Skeleton/index.axml deleted file mode 100644 index 83041d97e..000000000 --- a/compiled/alipay/src/Skeleton/index.axml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/index.en.md b/compiled/alipay/src/Skeleton/index.en.md deleted file mode 100644 index ebc155f2b..000000000 --- a/compiled/alipay/src/Skeleton/index.en.md +++ /dev/null @@ -1,167 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Skeleton - -Provide a placeholder graphic combination where you need to wait for content to load. - -- The network is slow, requires a long wait to load, and is only used when it is loaded for the first time. -- On the premise of ensuring the performance of the mobile phone, try to use preloading, preferably without skeleton screen. -- It is suitable for home pages, lists and cards with more graphic information and important information. Do not use small module class components (such as pop-up windows). - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-skeleton": "antd-mini/es/Skeleton/index", - "skeleton-avatar": "antd-mini/es/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/es/Skeleton/Title/index", - "skeleton-button": "antd-mini/es/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/es/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/es/Skeleton/Input/index", -#endif -#if WECHAT - "ant-skeleton": "antd-mini/Skeleton/index", - "skeleton-avatar": "antd-mini/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/Skeleton/Title/index", - "skeleton-button": "antd-mini/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/Skeleton/Input/index", -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### With avatar - -```xml - -``` - -### Custom Combinations - -```xml - - - - - - -``` - -### complex combination - -```xml - - - - - We supply a series of design principles, practical patterns and high - quality design resources, to help people create their product prototypes - beautifully and efficiently. - - - -``` - -### Demo Code - - - -## API - -### Skeleton - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | --------------------- | ------ | -| animate | Show animation effect | boolean | false | -| avatar | Whether to display avatar bitmap | `boolean \| Avatar` | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| paragraph | Paragraph | `number \| Paragraph` | true | -| style | Style | CSSProperties | - | -| title | Whether to display title bitmap | boolean | true | - -### Avatar - -| Property | Description | Type | Default Value | -| --------- | ------------------------------------------------ | ------------- | -------- | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| shape | Avatar Shape `circle` or `square` | string | `square` | -| size | Avatar size `x-small`、`small`、`medium` or `large` | string | `medium` | -| style | Style | CSSProperties | - | - -#### Paragraph paragraph - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| rows | Number of paragraph lines, greater than 0 | number | 3 | -| style | Style | CSSProperties | - | - -#### Title Title - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| style | Style | CSSProperties | - | - -#### Button Button - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | -------- | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| size | size,`small`、`medium` or `large` | string | `medium` | -| style | Style | CSSProperties | - | - -#### Input input box - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| style | Style | CSSProperties | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| Selector Background Color | -| --selector-item-background |
#f5f5f5
|
#121212
| Selector item background color | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| Selector Activate Item Background Color | -| --selector-item-color |
#1677ff
|
#3086ff
| Selector item color | -| --selector-item-sub-color |
#999999
|
#616161
| Selector item sub-color | diff --git a/compiled/alipay/src/Skeleton/index.json b/compiled/alipay/src/Skeleton/index.json deleted file mode 100644 index 04b9328d7..000000000 --- a/compiled/alipay/src/Skeleton/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "avatar": "./Avatar/index", - "paragraph": "./Paragraph/index", - "title": "./Title/index" - } -} diff --git a/compiled/alipay/src/Skeleton/index.less b/compiled/alipay/src/Skeleton/index.less deleted file mode 100644 index 08f52bcc2..000000000 --- a/compiled/alipay/src/Skeleton/index.less +++ /dev/null @@ -1,20 +0,0 @@ -@import (reference) './variable.less'; - -.@{skeletonPrefix} { - display: flex; - align-items: flex-start; - width: 100%; - flex: 1; - flex-wrap: nowrap; - &-avatar-wrapper { - flex-shrink: 0; - padding-right: 32 * @rpx; - & + .@{skeletonPrefix}-content-wrapper { - padding-top: 24 * @rpx; - } - } - &-content-wrapper { - flex: 1; - width: 100%; - } -} diff --git a/compiled/alipay/src/Skeleton/index.md b/compiled/alipay/src/Skeleton/index.md deleted file mode 100644 index 5eecd2257..000000000 --- a/compiled/alipay/src/Skeleton/index.md +++ /dev/null @@ -1,167 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Skeleton 骨架屏 - -在需要等待加载内容的位置提供一个占位图形组合。 - -- 网络较慢,需要长时间等待加载,并且只在第一次加载的时候使用。 -- 在确保手机性能的前提下,尽量使用预加载,最好不用骨架屏。 -- 适用于图文信息较多且重要的首页、列表、卡片中。小的模块类组件(例如弹窗)不要使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-skeleton": "antd-mini/es/Skeleton/index", - "skeleton-avatar": "antd-mini/es/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/es/Skeleton/Title/index", - "skeleton-button": "antd-mini/es/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/es/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/es/Skeleton/Input/index", -#endif -#if WECHAT - "ant-skeleton": "antd-mini/Skeleton/index", - "skeleton-avatar": "antd-mini/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/Skeleton/Title/index", - "skeleton-button": "antd-mini/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/Skeleton/Input/index", -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 带头像 - -```xml - -``` - -### 自定义组合 - -```xml - - - - - - -``` - -### 复杂组合 - -```xml - - - - - We supply a series of design principles, practical patterns and high - quality design resources, to help people create their product prototypes - beautifully and efficiently. - - - -``` - -### Demo 代码 - - - -## API - -### Skeleton - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | --------------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| avatar | 是否显示头像占位图 | `boolean \| Avatar` | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| paragraph | 段落 | `number \| Paragraph` | true | -| style | 样式 | CSSProperties | - | -| title | 是否显示标题占位图 | boolean | true | - -### Avatar - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ------------------------------------------------ | ------------- | -------- | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| shape | 头像形状 `circle` 或 `square` | string | `square` | -| size | 头像大小 `x-small`、`small`、`medium` 或 `large` | string | `medium` | -| style | 样式 | CSSProperties | - | - -#### Paragraph 段落 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| rows | 段落行数,大于 0 展示 | number | 3 | -| style | 样式 | CSSProperties | - | - -#### Title 标题 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| style | 样式 | CSSProperties | - | - -#### Button 按钮 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | -------- | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| size | 大小,`small`、`medium` 或 `large` | string | `medium` | -| style | 样式 | CSSProperties | - | - -#### Input 输入框 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| style | 样式 | CSSProperties | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| 选择器背景颜色 | -| --selector-item-background |
#f5f5f5
|
#121212
| 选择器项背景颜色 | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| 选择器激活项背景颜色 | -| --selector-item-color |
#1677ff
|
#3086ff
| 选择器项颜色 | -| --selector-item-sub-color |
#999999
|
#616161
| 选择器项子颜色 | diff --git a/compiled/alipay/src/Skeleton/index.ts b/compiled/alipay/src/Skeleton/index.ts deleted file mode 100644 index de3e630d1..000000000 --- a/compiled/alipay/src/Skeleton/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -import { SkeletonDefaultProps } from './props'; - -Component(SkeletonDefaultProps); \ No newline at end of file diff --git a/compiled/alipay/src/Skeleton/props.ts b/compiled/alipay/src/Skeleton/props.ts deleted file mode 100644 index 7b0907863..000000000 --- a/compiled/alipay/src/Skeleton/props.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { IBaseProps } from '../_util/base'; - -export interface ISkeletonBaseProps extends IBaseProps { - /** - * @description 为 true 时,显示占位图。反之则直接展示子组件 - * @default true - */ - loading?: boolean; - /** - * @description 是否展示动画效果 - * @default false - */ - animate?: boolean; -} -/** - * @description 骨架屏 - */ -export interface ISkeletonProps extends ISkeletonBaseProps { - /** - * @description 是否显示头像占位图 - * @default false - */ - avatar?: - | boolean - | { - shape?: 'circle' | 'square'; - size?: 'x-small' | 'small' | 'medium' | 'large'; - }; - /** - * @description 是否显示标题占位图 - * @default true - */ - title?: boolean; - /** - * @description 段落 - * @default true - */ - paragraph?: - | boolean - | { - rows?: number; - }; -} - -export const SkeletonDefaultBaseProps: ISkeletonBaseProps = { - loading: true, - animate: false, -}; - -export const SkeletonDefaultProps: Partial = { - loading: true, - animate: false, - avatar: false, - title: true, - paragraph: true, -}; diff --git a/compiled/alipay/src/Skeleton/variable.less b/compiled/alipay/src/Skeleton/variable.less deleted file mode 100644 index 0bff67e7a..000000000 --- a/compiled/alipay/src/Skeleton/variable.less +++ /dev/null @@ -1,36 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@skeletonPrefix: ant-skeleton; - -@skeleton-fill: var(--color-border, @COLOR_BORDER); - -@avatar-size: 88 * @rpx; - -@default-radius: 8 * @rpx; - -@button-width: 120 * @rpx; -@button-height: 48 * @rpx; - -@input-width: 400 * @rpx; -@input-height: 40 * @rpx; - -.skeleton-animation() { - background: linear-gradient( - 90deg, - var(--skeleton-animation-25, @COLOR_BORDER) 25%, - var(--skeleton-animation-37, @COLOR_TEXT_WEAK_FADED) 37%, - var(--skeleton-animation-63, @COLOR_BORDER) 63% - ); - background-size: 400% 100%; - animation: ant-skeleton-loading 1.4s ease infinite; -} - -@keyframes ant-skeleton-loading { - 0% { - background-position: 100% 50%; - } - 100% { - background-position: 0 50%; - } -} diff --git a/compiled/alipay/src/Slider/index.axml b/compiled/alipay/src/Slider/index.axml deleted file mode 100644 index 351cf2668..000000000 --- a/compiled/alipay/src/Slider/index.axml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - {{item.value}} - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Slider/index.en.md b/compiled/alipay/src/Slider/index.en.md deleted file mode 100644 index 5262fedb3..000000000 --- a/compiled/alipay/src/Slider/index.en.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry -toc: 'content' ---- - -# Slider - -You can take values within a range by moving the slider. Used to move the slider within a certain range to obtain a single or interval value. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-slider": "antd-mini/es/Slider/index" -#endif -#if WECHAT - "ant-slider": "antd-mini/Slider/index" -#endif -} -``` - -## Code example - -### Basic use - -> By default a slider,`change` event fires when the slider value changes, `afterChange` Events and `touchend` The trigger timing is consistent. - -```xml - -``` - -```js -Page({ - onChange(value, e) { - console.log('slider changed:', value, e); - }, - onAfterChange(value, e) { - console.log('Current Value:', value, e); -#if ALIPAY - my.showToast({ content: 'value: ' + value }); -#endif -#if WECHAT - wx.showToast({ title: `value: ${value.detail}` }); -#endif - }, -}); -``` - -### Disable state - -```xml - -``` - -### Dual Slider Mode - -> Incoming `range` property, the dual slider mode is supported,`value` The status value type will also become an array. - -```xml - -``` - -### Nodes and scales - -> Incoming `showTicks` property display scale, passing in `showNumber` Shows the data on the scale. - -```xml - -``` - -### Hover Tip - -> Incoming `showTooltip` Property, you can display a hovering prompt when dragging. - -```xml - -#if ALIPAY - - - Slot Customization:{{prop.value}} - -#endif -``` - -### Controlled Mode - -> `value` property and `change` event, cooperation can achieve a controlled mode. Here's the example through `ant-stepper` Component change `value` Status,`ant-slider` Components `value` States can also change together. - -```xml - - -``` - -```js -Page({ - data: { - value: 80, - }, - handleChange(value, e) { - console.log('slider changed:', value, e); -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif - }, -}); -``` - -### Custom Style - -> `activeLineStyle`、`activeDotStyle` Property to customize the style. - -```xml - -#if WECHAT - -#endif -#if ALIPAY - {{ props.value }}°C - {{ props.value }}°C - - - - - - -#endif - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | -------------------------------------------------- | ------------------------------------------------- | ------ | -| activeDotClassName | Class name of selected dot | string | - | -| activeLineClassName | The style of the selected line | string | - | -| activeDotStyle | Select the type of dot | string | - | -| activeLineStyle | The style of the selected line | string | - | -| className | Class Name | string | - | -| defaultValue | Initial value | number \| [number, number] | - | -| disabled | Disable | boolean | false | -| max | Maximum | number | 100 | -| min | Minimum | number | 0 | -| range | Whether it is a double slider | boolean | false | -| showNumber | Show data on scale | boolean | false | -| step | Step, the value must be greater than 0 and divisible by (max-min) | number | 1 | -| style | Style | string | - | -| showTicks | Show scale | boolean | false | -| showTooltip | Whether to display the floating prompt when dragging, support the use of scope slot customization | boolean | false | -| slider | Custom Slider | slot | - | -| tick | Custom Scale | slot | - | -| tooltip | Show hover prompt when custom drag | slot | - | -| value | Current Value | number \| [number, number] | - | -| #if ALIPAY onChange | Triggers when the slider value changes | (value: number | [number, number]) => void | - | -| #if ALIPAY onAfterChange | Consistent with the touchend trigger timing, the current value is passed in as a parameter. | (value: number | [number, number]) => void | - | -| #if WECHAT bind:change | Triggers when the slider value changes | (value: number | [number, number]) => void | - | -| #if WECHAT bind:afterchange | Consistent with the touchend trigger timing, the current value is passed in as a parameter. | (value: number | [number, number]) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --slide-block-shadow |
rgba(0, 0, 0, 0.12)
|
rgba(0, 0, 0, 0.12)
| Slider Block Shadow | -| --slider-default-primary-color |
#1677ff
|
#3086ff
| Slider default main color | -| --slider-track-bg |
#ffffff
|
#1a1a1a
| Slider track background color | -| --slider-fill-bg |
#f5f5f5
|
#121212
| Slider Fill Background Color | -| --slider-number-color |
#333333
|
#c5cad1
| Slider number color | -| --slide-block-bg |
#ffffff
|
#ffffff
| Slider block background color | -| --slide-back-bg |
#f5f5f5
|
#121212
| Slider Background Color | diff --git a/compiled/alipay/src/Slider/index.json b/compiled/alipay/src/Slider/index.json deleted file mode 100644 index 66ee617da..000000000 --- a/compiled/alipay/src/Slider/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "popover": "../Popover/index" - } -} diff --git a/compiled/alipay/src/Slider/index.less b/compiled/alipay/src/Slider/index.less deleted file mode 100644 index 93dd6da30..000000000 --- a/compiled/alipay/src/Slider/index.less +++ /dev/null @@ -1,153 +0,0 @@ -@import (reference) './variable.less'; - -@collapsePrefix: ant-slider; - -.@{collapsePrefix} { - user-select: none; - width: 100%; - - &-track { - position: relative; - width: 100%; - height: 56 * @rpx; - background-color: @slider-track-bg; - - &-number { - height: 97 * @rpx; - } - - &-touch-area { - position: absolute; - left: 28 * @rpx; - top: 0 * @rpx; - right: 25 * @rpx; - height: 100%; - } - - &-fill { - position: absolute; - left: 0 * @rpx; - top: 25 * @rpx; - right: 0 * @rpx; - height: 6 * @rpx; - - &-background { - position: absolute; - background-color: @slider-fill-bg; - width: 100%; - height: 100%; - border-radius: 3 * @rpx; - } - - &-front { - position: absolute; - height: 100%; - border-radius: 3 * @rpx; - background-color: @slider-default-primary-color; - } - } - } - - &-handler { - position: absolute; - touch-action: none; - left: 0; - transform: translate(-50%, -50%); - top: 3 * @rpx; - - &-block { - width: 56 * @rpx; - height: 56 * @rpx; - background: @slide-block-bg; - box-shadow: 0 4 * @rpx 10 * @rpx 0 @slide-block-shadow; - border-radius: 56 * @rpx; - text-align: center; - line-height: 56 * @rpx; - color: @slider-default-primary-color; - } - - &-icon-default { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - - &-line1 { - position: absolute; - width: 4 * @rpx; - height: 16 * @rpx; - background-color: @slider-default-primary-color; - border-radius: 2 * @rpx; - top: 20 * @rpx; - left: 16 * @rpx; - } - - &-line2 { - position: absolute; - width: 4 * @rpx; - height: 24 * @rpx; - background-color: @slider-default-primary-color; - border-radius: 2 * @rpx; - top: 16 * @rpx; - right: 26 * @rpx; - } - - &-line3 { - position: absolute; - width: 4 * @rpx; - height: 16 * @rpx; - background-color: @slider-default-primary-color; - border-radius: 2 * @rpx; - top: 20 * @rpx; - right: 16 * @rpx; - } - } - - &-icon-from-props { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - text-align: center; - line-height: 100%; - - &-icon { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - } - } - } - - &-tick { - position: absolute; - width: 16 * @rpx; - height: 16 * @rpx; - border-radius: 16 * @rpx; - top: 3 * @rpx; - transform: translate(-50%, -50%); - - &-front { - background-color: @slider-default-primary-color; - } - - &-back { - background-color: @slide-back-bg; - } - - &-number { - position: absolute; - color: @slider-number-color; - font-size: 24 * @rpx; - transform: translateX(-50%); - top: 44 * @rpx; - left: 8 * @rpx; - text-align: center; - line-height: 33 * @rpx; - height: 33 * @rpx; - } - } -} diff --git a/compiled/alipay/src/Slider/index.md b/compiled/alipay/src/Slider/index.md deleted file mode 100644 index 368184e25..000000000 --- a/compiled/alipay/src/Slider/index.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 -toc: 'content' ---- - -# Slider 滑块 - -可以通过移动滑块在某一范围内取值。用于在一定范围内移动滑块获取单个或者区间数值。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-slider": "antd-mini/es/Slider/index" -#endif -#if WECHAT - "ant-slider": "antd-mini/Slider/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> 默认情况下一个滑块,`change` 事件在 slider 值改变时触发, `afterChange` 事件与 `touchend` 触发时机一致。 - -```xml - -``` - -```js -Page({ - onChange(value, e) { - console.log('slider changed:', value, e); - }, - onAfterChange(value, e) { - console.log('当前值:', value, e); -#if ALIPAY - my.showToast({ content: 'value: ' + value }); -#endif -#if WECHAT - wx.showToast({ title: `value: ${value.detail}` }); -#endif - }, -}); -``` - -### 禁用状态 - -```xml - -``` - -### 双滑块模式 - -> 传入 `range` 属性之后,将支持双滑块模式,`value` 状态值类型也将变成数组。 - -```xml - -``` - -### 节点和刻度 - -> 传入 `showTicks` 属性显示刻度,传入 `showNumber` 展示刻度上的数据。 - -```xml - -``` - -### 悬浮提示 - -> 传入 `showTooltip` 属性,可以在拖动时显示悬浮提示。 - -```xml - -#if ALIPAY - - - 插槽自定义:{{prop.value}} - -#endif -``` - -### 受控模式 - -> `value` 属性和 `change` 事件,配合可以实现受控模式。这里的例子中通过 `ant-stepper` 组件改变 `value` 状态,`ant-slider` 组件 `value` 状态也能一起变化。 - -```xml - - -``` - -```js -Page({ - data: { - value: 80, - }, - handleChange(value, e) { - console.log('slider changed:', value, e); -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif - }, -}); -``` - -### 自定义样式 - -> `activeLineStyle`、`activeDotStyle` 属性来自定义样式。 - -```xml - -#if WECHAT - -#endif -#if ALIPAY - {{ props.value }}°C - {{ props.value }}°C - - - - - - -#endif - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | -------------------------------------------------- | ------------------------------------------------- | ------ | -| activeDotClassName | 选中小圆点的类名 | string | - | -| activeLineClassName | 选中线条的样式 | string | - | -| activeDotStyle | 选中小圆点的类型 | string | - | -| activeLineStyle | 选中线条的样式 | string | - | -| className | 类名 | string | - | -| defaultValue | 初始值 | number \| [number, number] | - | -| disabled | 是否禁用 | boolean | false | -| max | 最大值 | number | 100 | -| min | 最小值 | number | 0 | -| range | 是否是双滑块 | boolean | false | -| showNumber | 是否展示刻度上的数据 | boolean | false | -| step | 步距,取值必须大于 0,并且可被 (max - min) 整除 | number | 1 | -| style | 样式 | string | - | -| showTicks | 是否显示刻度 | boolean | false | -| showTooltip | 是否在拖动时显示悬浮提示,支持使用作用域插槽自定义 | boolean | false | -| slider | 自定义滑块 | slot | - | -| tick | 自定义刻度 | slot | - | -| tooltip | 自定义拖动时显示悬浮提示 | slot | - | -| value | 当前值 | number \| [number, number] | - | -| #if ALIPAY onChange | slider 值改变时触发 | (value: number | [number, number]) => void | - | -| #if ALIPAY onAfterChange | 与 touchend 触发时机一致,把当前值作为参数传入 | (value: number | [number, number]) => void | - | -| #if WECHAT bind:change | slider 值改变时触发 | (value: number | [number, number]) => void | - | -| #if WECHAT bind:afterchange | 与 touchend 触发时机一致,把当前值作为参数传入 | (value: number | [number, number]) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --slide-block-shadow |
rgba(0, 0, 0, 0.12)
|
rgba(0, 0, 0, 0.12)
| 滑块块阴影 | -| --slider-default-primary-color |
#1677ff
|
#3086ff
| 滑块默认主色 | -| --slider-track-bg |
#ffffff
|
#1a1a1a
| 滑块轨道背景颜色 | -| --slider-fill-bg |
#f5f5f5
|
#121212
| 滑块填充背景颜色 | -| --slider-number-color |
#333333
|
#c5cad1
| 滑块数字颜色 | -| --slide-block-bg |
#ffffff
|
#ffffff
| 滑块块背景颜色 | -| --slide-back-bg |
#f5f5f5
|
#121212
| 滑块背景颜色 | diff --git a/compiled/alipay/src/Slider/index.sjs b/compiled/alipay/src/Slider/index.sjs deleted file mode 100644 index 4649a3900..000000000 --- a/compiled/alipay/src/Slider/index.sjs +++ /dev/null @@ -1,6 +0,0 @@ -var isFrontTick = function isFrontTick(item, sliderLeft, sliderWidth) { - return item.left >= sliderLeft && item.left <= sliderLeft + sliderWidth; -}; -export default { - isFrontTick: isFrontTick -}; \ No newline at end of file diff --git a/compiled/alipay/src/Slider/index.ts b/compiled/alipay/src/Slider/index.ts deleted file mode 100644 index 663a16ff4..000000000 --- a/compiled/alipay/src/Slider/index.ts +++ /dev/null @@ -1,293 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import equal from 'fast-deep-equal'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { sliderDefaultProps, SliderValue } from './props'; -import createValue from '../mixins/value'; - -Component( - sliderDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - formatValue(val) { - const [min, max, step, range] = getValueFromProps(this, [ - 'min', - 'max', - 'step', - 'range', - ]); - let value = this.fitSliderValue(val, min, max, step, range); - value = this.getRoundedValue(value, step); - return value; - }, - getRoundedValue(value: SliderValue, step = 1) { - if (value === undefined) { - return 0; - } - - if (typeof value === 'number') { - return Math.round(value / step) * step; - } - - return [ - Math.round(value[0] / step) * step, - Math.round(value[1] / step) * step, - ] as SliderValue; - }, - - setSliderStyleByValue(roundedValue: SliderValue) { - let leftValue = 0; - let rightValue = 0; - const [minFromProps, maxFromProps] = getValueFromProps(this, [ - 'min', - 'max', - ]); - const max = maxFromProps ?? sliderDefaultProps.max; - const min = minFromProps ?? sliderDefaultProps.min; - - if (roundedValue !== undefined) { - if (typeof roundedValue === 'number') { - leftValue = min; - rightValue = roundedValue; - } else { - leftValue = roundedValue[0]; - rightValue = roundedValue[1]; - } - } - - // FIX_ME when min and max is equal - const width = ((rightValue - leftValue) / (max - min)) * 100; - const left = ((leftValue - min) / (max - min)) * 100; - - this.setData({ - sliderLeft: left, - sliderWidth: width, - }); - }, - - setTickList() { - const [step, min, max, showTicks] = getValueFromProps(this, [ - 'step', - 'min', - 'max', - 'showTicks', - ]); - if (!showTicks) { - return; - } - const tickList = []; - const stepCount = (max - min) / step; - - for (let i = 0; i <= stepCount; i += 1) { - tickList.push({ - left: i * (100 / stepCount), - value: i * step + min, - }); - } - - this.setData({ - tickList, - }); - }, - - async onTouchChanged(e, type) { - if (getValueFromProps(this, 'disabled')) { - return; - } - const changeMoving = (params) => { - const newParams = {}; - for (const key in params) { - if (params[key] !== this.data[key]) { - newParams[key] = params[key]; - } - } - if (Object.keys(newParams).length > 0) { - this.setData(newParams); - } - }; - - const rect = await this.getRect(e); - if (!rect) return; - const [min, max, range] = getValueFromProps(this, [ - 'min', - 'max', - 'range', - ]); - const touchPosition = - (rect.touch.pageX - rect.element.left) / rect.element.width; - const value = min + touchPosition * (max - min); - if (!range) { - this.update(value, {}, !this.isControlled(), true); - changeMoving({ changingEnd: true }); - } else { - const currentValue = this.getValue(); - - const leftValue = currentValue[0]; - const rightValue = currentValue[1]; - const leftDistance = Math.abs(leftValue - value); - const rightDistance = Math.abs(rightValue - value); - const isFarFromLeft = leftDistance > rightDistance; - const farValue = isFarFromLeft ? leftValue : rightValue; - - this.update([value, farValue], {}, !this.isControlled(), 'onChange'); - if (isFarFromLeft) { - changeMoving({ changingEnd: true }); - } else { - changeMoving({ changingStart: true }); - } - } - - if (type === 'end') { - changeMoving({ changingEnd: false, changingStart: false }); - triggerEvent(this, 'afterChange', this.getValue(), e); - } - }, - - async getRect(e: any): Promise { - const element = await getInstanceBoundingClientRect( - this.getInstance(), - `#ant-slider-id-${this.$id || ''}` - ); - const touch = e.changedTouches[0]; - if (element) { - return { - touch: { - pageX: touch.pageX, - }, - element: { - left: element.left, - width: element.width, - }, - }; - } - }, - - cloneSliderValue(value?: SliderValue) { - if (typeof value === 'object') { - return [value[0], value[1]]; - } - - return value; - }, - - isSliderValueEqual(value1?: SliderValue, value2?: SliderValue) { - if (value1 === value2) { - return true; - } - - if (value1 === undefined || value2 === undefined) { - return false; - } - - if (typeof value1 === 'number' || typeof value2 == 'number') { - return value1 === value2; - } - - if (value1[0] === value2[0] && value1[1] === value2[1]) { - return true; - } - - return false; - }, - - fitSliderValue( - value: SliderValue | undefined, - min: number, - max: number, - step: number, - isRange: boolean - ) { - if (value === undefined || value === null) { - if (isRange) { - return [min, min] as SliderValue; - } else { - return min ?? 0; - } - } - - if (typeof value === 'number') { - if (value > max) { - return max; - } - - if (value < min) { - return min; - } - - return value; - } - - const leftValue = Math.min(value[0], value[1]); - const rightValue = Math.max(value[0], value[1]); - - return [ - Math.max(min, leftValue), - Math.min(max, rightValue), - ] as SliderValue; - }, - - handleTrackTouchStart(e) { - this.onTouchChanged(e, 'start'); - }, - - handleTrackTouchMove(e) { - this.onTouchChanged(e, 'move'); - }, - - handleTrackTouchEnd(e) { - this.onTouchChanged(e, 'end'); - }, - }, - { - sliderLeft: 0, - sliderWidth: 0, - tickList: [], - changingStart: false, - changingEnd: false, - }, - [ - createValue({ - transformValue(val, extra, needUpdate = true, emit) { - const value = this.formatValue(val); - if (needUpdate) { - this.setSliderStyleByValue(value); - this.setTickList(); - } - this.onChangeValue = - typeof this.onChangeValue === 'undefined' - ? this.getValue() - : this.onChangeValue; - if (emit && !this.isSliderValueEqual(this.onChangeValue, value)) { - this.onChangeValue = value; - triggerEvent(this, 'change', value); - } - return { - value, - needUpdate, - }; - }, - }), - ], - { - onChangeValue: undefined, - didUpdate(prevProps) { - const [min, max, step, range, showTicks, value] = getValueFromProps( - this, - ['min', 'max', 'step', 'range', 'showTicks', 'value'] - ); - if ( - !equal(min, prevProps.min) || - !equal(max, prevProps.max) || - !equal(step, prevProps.step) || - !equal(range, prevProps.range) || - !equal(showTicks, prevProps.showTicks) - ) { - this.update(value); - } - }, - } -); diff --git a/compiled/alipay/src/Slider/props.ts b/compiled/alipay/src/Slider/props.ts deleted file mode 100644 index c5862443b..000000000 --- a/compiled/alipay/src/Slider/props.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 滑块 - */ - -export type SliderValue = number | [number, number]; - -export interface ISliderProps extends IBaseProps { - /** - * @description 当前值 - */ - value: SliderValue; - - defaultValue: SliderValue; - - /** - * @description 是否禁用 - * @default false - */ - disabled?: boolean; - - /** - * @description 最大值 - * @default 100 - */ - max: number; - - /** - * @description 最小值 - * @default 0 - */ - min: number; - - /** - * @description 是否是双滑块 - * @default false - */ - range: boolean; - - /** - * @description 是否展示刻度上的数据 - * @default false - */ - showNumber: boolean; - - /** - * @description 步距,取值必须大于 0,并且可被 (max - min) 整除。当 marks 不为空对象时,step 的配置失效 - * @default 1 - */ - step: number; - - /** - * @description 是否显示刻度 - * @default false - */ - showTicks: boolean; - - /** - * @description 是否在拖动时显示悬浮提示 - * @default false - */ - showTooltip: boolean; - /** - * @deprecated 选中线条的样式 - */ - activeLineStyle?: string; - /** - * @description 选中线条的样式 - */ - activeDotStyle?: string; - /** - * @description 选中线条的样式 - * @default ''' - */ - activeLineClassName?: string; - - /** - * @description 选中小圆点的类名 - */ - activeDotClassName?: string; - - /** - * @description 输入变化的时候触发, 参数为滑动组件的当前值 - */ - onChange: (value: SliderValue, event) => void; - - /** - * @description 与 touchend 触发时机一致,把当前值作为参数传入 - */ - onAfterChange: (value: SliderValue, event) => void; -} - -export const sliderDefaultProps: Partial = { - value: null, - defaultValue: null, - disabled: false, - max: 100, - min: 0, - range: false, - showNumber: false, - step: 1, - showTicks: false, - showTooltip: false, - activeLineStyle: '', - activeDotStyle: '', - activeLineClassName: '', - activeDotClassName: '', -}; diff --git a/compiled/alipay/src/Slider/variable.less b/compiled/alipay/src/Slider/variable.less deleted file mode 100644 index eb26ddaaa..000000000 --- a/compiled/alipay/src/Slider/variable.less +++ /dev/null @@ -1,13 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@slider-default-primary-color: var( - --slider-default-primary-color, - @COLOR_BRAND1 -); -@slider-track-bg: var(--slider-track-bg, @COLOR_CARD); -@slider-fill-bg: var(--slider-fill-bg, @COLOR_GREY_CARD); -@slider-number-color: var(--slider-number-color, @COLOR_TEXT_PRIMARY); -@slide-block-bg: var(--slide-block-bg, @COLOR_WHITE); -@slide-block-shadow: var(--slide-block-shadow, rgba(0, 0, 0, 0.12)); -@slide-back-bg: var(--slide-back-bg, @COLOR_GREY_CARD); diff --git a/compiled/alipay/src/Stepper/index.axml b/compiled/alipay/src/Stepper/index.axml deleted file mode 100644 index f97e9dc3a..000000000 --- a/compiled/alipay/src/Stepper/index.axml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - {{mixin.value}} - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Stepper/index.en.md b/compiled/alipay/src/Stepper/index.en.md deleted file mode 100644 index 0c3628d02..000000000 --- a/compiled/alipay/src/Stepper/index.en.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Stepper - -A two-stage control used to increase, decrease, or modify values. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-stepper": "antd-mini/es/Stepper/index" -#endif -#if WECHAT - "ant-stepper": "antd-mini/Stepper/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - handleChange(value) { - console.log(value); - }, -}); -``` - -### Custom Styles - -```xml - -``` - -### Input box read-only - -```xml - -``` - -### Input box auto focus - -```xml - -``` - -### Event Binding - -```xml - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| className | Class Name | string | - | -| disabled | Disable | boolean | false | -| inputReadOnly | Whether the input box is read-only | boolean | false | -| defaultValue | Initial value | number | - | -| focus | Input box check status | boolean | false | -| inputClassName | Input box type | string | - | -| inputStyle | Input box style | string | - | -| max | Maximum | number | - | -| min | Minimum | number | - | -| precision | Calculation accuracy, keep a few decimal places [See details in](https://github.com/ant-design/ant-design/issues/5998) | number | - | -| style | Style | string | - | -| step | Step distance, that is, the value of each addition and subtraction | number | 1 | -| type | Input box evokes keyboard type, optional `number` `digit` | string | `digit` | -| value | The value of the input box is valid when the form is submitted. | number | - | -| #if ALIPAY onBlur | Trigger this callback when the input box loses focus | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onChange | Trigger this callback after data changes | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onConfirm | This callback is triggered when the keyboard is clicked to complete | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onFocus | Trigger this callback when the input box is focused | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onDisabledTap | Click departure callback when disabled | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:blur | Trigger this callback when the input box loses focus | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | Trigger this callback after data changes | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:confirm | This callback is triggered when the keyboard is clicked to complete | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:focus | Trigger this callback when the input box is focused | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:disabledtap | Click departure callback when disabled | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --stepper-handler-tap-bg |
#ddd
|
#ddd
| Step Processor Click Background Color | -| --stepper-handler-border-color |
#e5e5e5
|
#444444
| Step Processor Border Color | -| --stepper-border-color |
#e5e5e5
|
#444444
| Step-Up Border Color | -| --stepper-background-color |
#ffffff
|
#1a1a1a
| Stepper background color | -| --stepper-hover-bg |
rgba(0, 0, 0, 0.92)
|
rgba(0, 0, 0, 0.92)
| stepper hover background color | diff --git a/compiled/alipay/src/Stepper/index.json b/compiled/alipay/src/Stepper/index.json deleted file mode 100644 index 12bdacc36..000000000 --- a/compiled/alipay/src/Stepper/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-input": "../Input/InputBlur/index" - } -} diff --git a/compiled/alipay/src/Stepper/index.less b/compiled/alipay/src/Stepper/index.less deleted file mode 100644 index e2c89583c..000000000 --- a/compiled/alipay/src/Stepper/index.less +++ /dev/null @@ -1,73 +0,0 @@ -@import (reference) './variable.less'; - -@stepperPrefix: ant-stepper; - -.@{stepperPrefix} { - position: relative; - display: inline-flex; - flex-wrap: nowrap; - height: @stepper-content-height; - border-radius: @stepper-border-radius; - border: @stepper-handler-border-width solid @stepper-border-color; - overflow: hidden; - box-sizing: border-box; - - & &-button { - width: @stepper-content-height; - height: @stepper-content-height; - line-height: @stepper-content-height; - padding: 0; - color: @COLOR_BRAND1; - background-color: @stepper-background-color; - .ant-icon { - font-size: @stepper-icon-size; - } - } - - & &-button-hover { - background-color: @stepper-hover-bg; - } - - & &-button-up { - border-top-left-radius: 0; - border-top-right-radius: 4 * @rpx; - border-bottom-left-radius: 0; - border-bottom-right-radius: 4 * @rpx; - } - - & &-button-down { - border-top-right-radius: 0; - border-top-left-radius: 4 * @rpx; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4 * @rpx; - } - - & &-button-disabled { - color: @COLOR_TEXT_ASSIST; - } - - &-input { - width: @stepper-content-width; - height: @stepper-content-height; - margin: 0 2 * @rpx; - text-align: center; - line-height: normal; - font-size: @stepper-font-size; - color: @stepper-input-font-color; - box-sizing: border-box; - background-color: @stepper-background-color; - - // 在微信会导致 input 显示不居中 - padding: 7 * @rpx 14 * @rpx; - caret-color: @COLOR_BRAND1; - - &-wrap { - background-color: @stepper-border-color; - } - } - - &-input-readonly { - padding: 0; - color: rgba(51, 51, 51, 0.4); - } -} diff --git a/compiled/alipay/src/Stepper/index.md b/compiled/alipay/src/Stepper/index.md deleted file mode 100644 index 2cc579d3d..000000000 --- a/compiled/alipay/src/Stepper/index.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Stepper 步进器 - -一种两段式控制,用于增加、减少或修改数值。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-stepper": "antd-mini/es/Stepper/index" -#endif -#if WECHAT - "ant-stepper": "antd-mini/Stepper/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - handleChange(value) { - console.log(value); - }, -}); -``` - -### 定制样式 - -```xml - -``` - -### 输入框只读 - -```xml - -``` - -### 输入框自动聚焦 - -```xml - -``` - -### 事件绑定 - -```xml - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| className | 类名 | string | - | -| disabled | 是否禁用 | boolean | false | -| inputReadOnly | 输入框是否只读状态 | boolean | false | -| defaultValue | 初始值 | number | - | -| focus | 输入框选中状态 | boolean | false | -| inputClassName | 输入框类型 | string | - | -| inputStyle | 输入框样式 | string | - | -| max | 最大值 | number | - | -| min | 最小值 | number | - | -| precision | 计算精度,保留几位小数 [详见](https://github.com/ant-design/ant-design/issues/5998) | number | - | -| style | 样式 | string | - | -| step | 步距,即每次加减的值 | number | 1 | -| type | 输入框唤起键盘类型,可选 `number` `digit` | string | `digit` | -| value | 输入框的值, 表单提交的时候有效 | number | - | -| #if ALIPAY onBlur | 输入框失去焦点时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onChange | 数据变化后,触发此回调 | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onConfirm | 点击键盘完成时触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onFocus | 输入框聚焦时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onDisabledTap | 禁用时点击出发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:blur | 输入框失去焦点时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 数据变化后,触发此回调 | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:confirm | 点击键盘完成时触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:focus | 输入框聚焦时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:disabledtap | 禁用时点击出发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --stepper-handler-tap-bg |
#ddd
|
#ddd
| 步进器处理器点击背景颜色 | -| --stepper-handler-border-color |
#e5e5e5
|
#444444
| 步进器处理器边框颜色 | -| --stepper-border-color |
#e5e5e5
|
#444444
| 步进器边框颜色 | -| --stepper-background-color |
#ffffff
|
#1a1a1a
| 步进器背景颜色 | -| --stepper-hover-bg |
rgba(0, 0, 0, 0.92)
|
rgba(0, 0, 0, 0.92)
| 步进器悬停背景颜色 | diff --git a/compiled/alipay/src/Stepper/index.ts b/compiled/alipay/src/Stepper/index.ts deleted file mode 100644 index 07c4f738e..000000000 --- a/compiled/alipay/src/Stepper/index.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { StepperDefaultProps } from './props'; -import { getPrecision, getValidNumber } from './utils'; -import mixinValue from '../mixins/value'; - -Component( - StepperDefaultProps, - { - onFocus(e) { - const value = this.getValue(); - triggerEvent(this, 'focus', value === '' ? null : Number(value), e); - }, - onChange(val, e) { - const { needUpdate, value } = this.update(val); - if (getValueFromProps(this, 'onChange') && needUpdate) { - triggerEvent(this, 'change', value === '' ? null : Number(value), e); - } - }, - onConfirm(val, e) { - const value = this.getValue(); - triggerEvent(this, 'confirm', value === '' ? null : Number(value), e); - }, - onBlur(e) { - if (this.isControlled()) { - this.update(getValueFromProps(this, 'value')); - } - - const value = this.getValue(); - triggerEvent(this, 'blur', value === '' ? null : Number(value), e); - }, - onDisabledTap(e) { - const onDisabledTap = getValueFromProps(this, 'onDisabledTap'); - onDisabledTap && onDisabledTap(e); - }, - onTap(e) { - const [ - step, - disabled, - min = -Infinity, - max = Infinity, - precisionFormProps, - ] = getValueFromProps(this, [ - 'step', - 'disabled', - 'min', - 'max', - 'precision', - ]); - const value = Number(this.getValue() || 0); - if (!disabled) { - const { mode } = e.currentTarget.dataset; - let result = value; - const precision = - precisionFormProps >= 0 - ? precisionFormProps - : Math.max(getPrecision(value), getPrecision(step)); - if (mode === 'minus') { - // 【减】按钮的操作 - result = value - step; - if (result < min) { - result = min; - } - } else if (mode === 'add') { - // 【加】按钮的操作 - result = value + step; - if (result > max) { - result = max; - } - } - if (!this.isControlled()) { - const { needUpdate } = this.update(result, {}, precision); - if (!needUpdate) { - return; - } - } - - { - const { value } = getValidNumber(result, min, max, step, precision); - triggerEvent(this, 'change', Number(value), e); - } - } - }, - }, - undefined, - [ - mixinValue({ - transformValue(num, extra, precision) { - const [min, max, step, precisionFormProps] = getValueFromProps(this, [ - 'min', - 'max', - 'step', - 'precision', - ]); - const { valid, value } = getValidNumber( - num, - min, - max, - step, - precision >= 0 ? precision : precisionFormProps - ); - if (valid && this.getValue() !== value) { - return { - needUpdate: true, - value, - }; - } - return { - needUpdate: false, - }; - }, - }), - ] -); diff --git a/compiled/alipay/src/Stepper/props.ts b/compiled/alipay/src/Stepper/props.ts deleted file mode 100644 index 25454a348..000000000 --- a/compiled/alipay/src/Stepper/props.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 步进器,用作增加或者减少当前数值。 - */ - -export interface IStepperProps extends IBaseProps { - /** - * @description 输入框的值 - */ - value: number; - - /** - * @description 最小值 - */ - min: number; - - /** - * @description 最大值 - */ - max: number; - - /** - * @description 每次加减的值 - * @default 1 - */ - step: number; - - /** - * @description 输入框唤起键盘类型 - */ - type: 'number' | 'digit'; - - /** - * @description 计算精度,保留几位小数 - * https://github.com/ant-design/ant-design/issues/5998 - */ - precision: number; - - /** - * @description 输入框类名 - */ - inputClassName: string; - - /** - * @description 输入框样式 - */ - inputStyle: string; - - /** - * @description 是否禁用 - * @default false - */ - disabled?: boolean; - - /** - * @description 输入框是否只读 - * @default false - */ - inputReadOnly?: boolean; - - /** - * @description 输入框初始值 - */ - defaultValue: number; - - focus?: boolean; - - /** - * - * @description onChange - */ - onChange?: (value: number, e: any) => void; - - /** - * - * @description onConfirm - */ - onConfirm?: (value: number, e: any) => void; - - /** - * @description onFocus - */ - onFocus?: (value: number, e: any) => void; - /** - * @description onBlur - */ - onBlur?: (value: number, e: any) => void; - /** - * @description onDisabledTap - */ - onDisabledTap?: (e: any) => void; -} - -export const StepperDefaultProps: Partial = { - value: null, - defaultValue: null, - precision: -1, - min: Number.MIN_SAFE_INTEGER, - max: Number.MAX_SAFE_INTEGER, - step: 1, - type: 'digit', - inputClassName: '', - inputStyle: '', - disabled: false, - inputReadOnly: false, -}; diff --git a/compiled/alipay/src/Stepper/utils.ts b/compiled/alipay/src/Stepper/utils.ts deleted file mode 100644 index 607868588..000000000 --- a/compiled/alipay/src/Stepper/utils.ts +++ /dev/null @@ -1,61 +0,0 @@ -export function getPrecision(value: number): number { - const valueString = String(value); - if (valueString.indexOf('e-') >= 0) { - return parseInt(valueString.slice(valueString.indexOf('e-') + 2), 10); - } - let p = 0; - if (valueString.indexOf('.') >= 0) { - p = valueString.length - valueString.indexOf('.') - 1; - } - return p; -} - -export function getValidNumber( - value: any, - min = -Infinity, - max = Infinity, - step: number, - precision?: number -) { - if (typeof value === 'undefined' || value === null) { - return { - valid: true, - value: '', - }; - } - let num: number; - if (typeof value === 'string') { - if (/^\s*$/.test(value)) { - return { - valid: true, - value: '', - }; - } - if (!isNaN(Number(value))) { - num = Number(value); - } - } else { - num = value; - } - if (num > max) { - num = max; - } else if (num < min) { - num = min; - } - if (typeof num === 'number' && !isNaN(num)) { - if (typeof precision === 'number' && precision >= 0) { - return { - valid: true, - value: num.toFixed(precision), - }; - } - precision = Math.max(getPrecision(num), getPrecision(step)); - return { - valid: true, - value: num.toFixed(precision), - }; - } - return { - valid: false, - }; -} diff --git a/compiled/alipay/src/Stepper/variable.less b/compiled/alipay/src/Stepper/variable.less deleted file mode 100644 index 16bb6bd99..000000000 --- a/compiled/alipay/src/Stepper/variable.less +++ /dev/null @@ -1,28 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 字体大小 -@stepper-font-size: @sizeFont5; -// 加减边框 -@stepper-handler-border-width: 2 * @rpx; -@stepper-handler-border-radius: 4.4 * @rpx; -@stepper-handler-border-color: var( - --stepper-handler-border-color, - @COLOR_GREY_2 -); -// 加减点击背景 -@stepper-handler-tap-background-color: var(--stepper-handler-tap-bg, #ddd); -@stepper-handler-size: 40 * @rpx; - -@stepper-border-color: var(--stepper-border-color, @COLOR_BORDER_GREYCARD); -@stepper-border-radius: 50vh; -@stepper-background-color: var(--stepper-background-color, @COLOR_WHITE); - -@stepper-hover-bg: var(--stepper-hover-bg, @COLOR_BLACK_FADED_8); - -@stepper-input-font-color: var(--stepper-input-font-color, @COLOR_TEXT_PRIMARY); - -@stepper-content-width: 64 * @rpx; -@stepper-content-height: 44 * @rpx; - -@stepper-icon-size: @size-3; diff --git a/compiled/alipay/src/Steps/index.axml b/compiled/alipay/src/Steps/index.axml deleted file mode 100644 index 6a4725203..000000000 --- a/compiled/alipay/src/Steps/index.axml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - {{item.title}} - - - - - {{item.description}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Steps/index.en.md b/compiled/alipay/src/Steps/index.en.md deleted file mode 100644 index a5df3564e..000000000 --- a/compiled/alipay/src/Steps/index.en.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# Steps - -A navigation bar that guides the user through the process. When the task is complex or there is a sequential relationship, it is broken down into a series of steps to simplify the task. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-steps": "antd-mini/es/Steps/index" -#endif -#if WECHAT - "ant-steps": "antd-mini/Steps/index" -#endif -} -``` - -## Code example - -### Basic use - -> [items](#item) Data-driven step bar rendering.`current` Specifies the current step,`status` Specifies the status of the current step, optional `finish` or `error`。 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, -}); -``` - -### Vertical step bar - -```xml - -``` - -### Controlled Mode - -```xml - - - Next step - Finish - - - Previous Step - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, - onNextTap() { - if (this.data.current === this.data.items.length - 1) { -#if ALIPAY - my.showToast({ content: 'Finish' }) -#endif -#if WECHAT - wx.showToast({ title: 'Finish' }) -#endif - return; - } - this.setData({ - current: this.data.current + 1, - }); - }, - onPrevTap() { - if (this.data.current === 0) { - return; - } - this.setData({ - current: this.data.current - 1, - }); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------- | -------------------------------------------- | --------------- | ------------ | -| className | Class Name | string | - | -| current | Current step | number | - | -| description | Custom description content rendering, receiving index and value | slot | - | -| direction | direction, optional `horizontal` or `vertical` | string | `horizontal` | -| icon | Custom icon rendering, receiving index and value | slot | - | -| items | Show Item | [Item](#item)[] | - | -| status | Specifies the status of the current step, optional `finish` or `error` | string | `finish` | -| style | Style | string | - | -| title | Custom title rendering, receiving index and value | slot | - | - -### Item - -| Property | Description | Type | Default Value | -| ----------- | ---- | ------ | ------ | -| description | Content | string | - | -| title | Title | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --steps-non-active-bg |
#e5e5e5
|
#444444
| Inactive Step Background Color | -| --steps-title-color |
#333333
|
#c5cad1
| Step Title Color | -| --steps-desc-color |
#999999
|
#616161
| Step Description Color | -| --steps-default-bg |
#1677ff
|
#3086ff
| Default Step Background Color | -| --steps-finish-bg |
#ff3141
|
#ff4a58
| Complete Steps Background Color | diff --git a/compiled/alipay/src/Steps/index.json b/compiled/alipay/src/Steps/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Steps/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Steps/index.less b/compiled/alipay/src/Steps/index.less deleted file mode 100644 index c43a8a06a..000000000 --- a/compiled/alipay/src/Steps/index.less +++ /dev/null @@ -1,279 +0,0 @@ -@import (reference) './variable.less'; - -@stepsPrefix: ant-steps; - -.@{stepsPrefix} { - display: flex; - overflow: hidden; - line-height: 1.4; - - &-horizontal { - flex-direction: row; - justify-content: space-around; - } - - &-vertical { - display: block; - padding: 64 * @rpx; - .ant-steps-item-active { - &::after { - background: linear-gradient( - to top, - @steps-non-active-bg 0%, - @steps-non-active-bg 50%, - @steps-default-bg 50%, - @steps-default-bg 100% - ); - } - } - .ant-steps-item-non-active { - &::after { - background: @steps-non-active-bg; - } - } - } - - &-item:last-child &-item-indicator-vertical::after { - display: none; - } -} - -.ant-steps-item-vertical:last-child { - padding-bottom: 0; -} - -@stepItemPrefix: ant-steps-item; - -.@{stepItemPrefix} { - position: relative; - z-index: 5; - display: flex; - margin: 16 * @rpx 0 16 * @rpx 0; - - &-vertical { - padding-bottom: 24 * @rpx; - margin: 0; - .ant-steps-item-title { - font-size: 34 * @rpx; - color: @steps-title-color; - } - - .ant-steps-item-desc { - font-size: 30 * @rpx; - color: @steps-desc-color; - padding-top: 4 * @rpx; - } - - &::after { - // line - position: absolute; - height: 100%; - width: 2 * @rpx; - content: ''; - top: 27 * @rpx; - z-index: -1; - transform: translateX(-50%); - } - - .ant-steps-item-text { - display: flex; - flex-direction: column; - flex: 1; - } - } - - &-horizontal { - flex-direction: column; - margin-top: 16 * @rpx; - padding: 0 16 * @rpx; - - &::after { - position: absolute; - width: 100%; - height: 2 * @rpx; - content: ''; - top: 34 * @rpx; - left: 0; - transform: translate(50%, -50%); - z-index: -1; - } - - .@{stepItemPrefix}-title, - .@{stepItemPrefix}-desc { - text-align: center; - } - - .@{stepItemPrefix}-desc { - margin-bottom: 0; - } - } - - &:last-child { - &::after { - display: none; - } - } - - &-indicator { - &-vertical { - transform: translateX(-50%); - } - - &-horizontal { - display: flex; - justify-content: center; - margin: 16 * @rpx 0 16 * @rpx 0; - } - - &-icon { - width: 18 * @rpx; - height: 18 * @rpx; - border-radius: 50%; - } - } - - .ant-steps-item-active-icon-image { - transform: translateX(0); - } - - &-horizontal { - flex: 1; - display: flex; - - .ant-steps-item-title { - font-size: 24 * @rpx; - - &:empty { - display: none; - } - } - - .ant-steps-item-desc { - padding-top: 4 * @rpx; - color: @steps-desc-color; - font-size: 24 * @rpx; - - &:empty { - display: none; - } - } - } - - &-active { - &::after { - background-color: @steps-non-active-bg; - } - - &-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - - &, - & .a-image { - height: 36 * @rpx; - width: 36 * @rpx; - } - - color: @steps-default-bg; - - &-default { - height: 20 * @rpx; - width: 20 * @rpx; - border-radius: 50%; - background-color: @steps-default-bg; - } - } - - & .@{stepItemPrefix}-title { - color: @steps-default-bg; - } - } - - &-non-active { - &::after { - background-color: @steps-non-active-bg; - } - - &-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - - &, - & .a-image { - height: 36 * @rpx; - width: 36 * @rpx; - } - - color: @steps-non-active-bg; - - &-default { - height: 16 * @rpx; - width: 16 * @rpx; - border-radius: 50%; - background-color: @steps-non-active-bg; - } - } - } - - &-finish { - &::after { - background-color: @steps-default-bg; - } - - &-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - - &, - & .a-image { - height: 36 * @rpx; - width: 36 * @rpx; - } - - color: @steps-default-bg; - - &-default { - height: 16 * @rpx; - width: 16 * @rpx; - border-radius: 50%; - background-color: @steps-default-bg; - } - } - - & .@{stepItemPrefix}-title { - color: @steps-title-color; - } - } - - &-error-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - - &, - & .a-image { - height: 36 * @rpx; - width: 36 * @rpx; - } - - color: @steps-finish-bg; - - &-default { - height: 20 * @rpx; - width: 20 * @rpx; - border-radius: 50%; - background-color: @steps-finish-bg; - } - } - - .ant-steps-item-title-error { - color: @steps-finish-bg; - } -} diff --git a/compiled/alipay/src/Steps/index.md b/compiled/alipay/src/Steps/index.md deleted file mode 100644 index 411b3bb21..000000000 --- a/compiled/alipay/src/Steps/index.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# Steps 步骤条 - -引导用户按照流程完成任务的导航条。当任务复杂或者存在先后关系时,将其分解成一系列步骤,从而简化任务。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-steps": "antd-mini/es/Steps/index" -#endif -#if WECHAT - "ant-steps": "antd-mini/Steps/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> [items](#item) 数据驱动步骤条渲染。`current` 指定当前步骤,`status` 指定当前步骤的状态,可选 `finish` 或 `error`。 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, -}); -``` - -### 纵向步骤条 - -```xml - -``` - -### 受控模式 - -```xml - - - 下一步 - 完成 - - - 上一步 - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, - onNextTap() { - if (this.data.current === this.data.items.length - 1) { -#if ALIPAY - my.showToast({ content: 'Finish' }) -#endif -#if WECHAT - wx.showToast({ title: 'Finish' }) -#endif - return; - } - this.setData({ - current: this.data.current + 1, - }); - }, - onPrevTap() { - if (this.data.current === 0) { - return; - } - this.setData({ - current: this.data.current - 1, - }); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | -------------------------------------------- | --------------- | ------------ | -| className | 类名 | string | - | -| current | 当前步骤 | number | - | -| description | 自定义描述内容渲染,接收 index 和 value | slot | - | -| direction | 方向,可选 `horizontal` 或 `vertical` | string | `horizontal` | -| icon | 自定义图标渲染,接收 index 和 value | slot | - | -| items | 展示项 | [Item](#item)[] | - | -| status | 指定当前步骤的状态,可选 `finish` 或 `error` | string | `finish` | -| style | 样式 | string | - | -| title | 自定义标题渲染,接收 index 和 value | slot | - | - -### Item - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ---- | ------ | ------ | -| description | 内容 | string | - | -| title | 标题 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --steps-non-active-bg |
#e5e5e5
|
#444444
| 未激活步骤背景颜色 | -| --steps-title-color |
#333333
|
#c5cad1
| 步骤标题颜色 | -| --steps-desc-color |
#999999
|
#616161
| 步骤描述颜色 | -| --steps-default-bg |
#1677ff
|
#3086ff
| 默认步骤背景颜色 | -| --steps-finish-bg |
#ff3141
|
#ff4a58
| 完成步骤背景颜色 | diff --git a/compiled/alipay/src/Steps/index.sjs b/compiled/alipay/src/Steps/index.sjs deleted file mode 100644 index 6bcc7b4ea..000000000 --- a/compiled/alipay/src/Steps/index.sjs +++ /dev/null @@ -1,16 +0,0 @@ -function getClassName(current, index, status) { - current = current || 0; - if (index < current) { - return 'finish'; - } - if (index === current) { - if (status === 'error') { - return 'error'; - } - return 'active'; - } - return 'non-active'; -} -export default { - getClassName: getClassName -}; \ No newline at end of file diff --git a/compiled/alipay/src/Steps/index.ts b/compiled/alipay/src/Steps/index.ts deleted file mode 100644 index c8a905764..000000000 --- a/compiled/alipay/src/Steps/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -import { StepsFunctionalProps } from './props'; - -Component(StepsFunctionalProps); \ No newline at end of file diff --git a/compiled/alipay/src/Steps/props.ts b/compiled/alipay/src/Steps/props.ts deleted file mode 100644 index 6b6f68bb5..000000000 --- a/compiled/alipay/src/Steps/props.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -/** - * @description 步骤条,分步展示当前进展 - */ -export interface IStepsProps extends IBaseProps { - /** - * @description 当前步骤 - */ - current: number; - - /** - * @description 方向 - */ - direction: 'horizontal' | 'vertical'; - - /** - * @description 状态 - */ - status: 'finish' | 'error'; - - items?: { title: string; description: string }[]; -} - -export const StepsDefaultProps: Partial = { - current: 0, - direction: 'horizontal', - status: 'finish', -}; - -export const StepsFunctionalProps: Partial = { - current: 0, - direction: 'horizontal', - status: 'finish', - items: [], -}; diff --git a/compiled/alipay/src/Steps/variable.less b/compiled/alipay/src/Steps/variable.less deleted file mode 100644 index beb07a80c..000000000 --- a/compiled/alipay/src/Steps/variable.less +++ /dev/null @@ -1,11 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@steps-non-active-bg: var(--steps-non-active-bg, @COLOR_GREY_2); -@steps-title-color: var(--steps-title-color, @COLOR_TEXT_PRIMARY); - -@steps-desc-color: var(--steps-desc-color, @COLOR_TEXT_ASSIST); - -@steps-default-bg: var(--steps-default-bg, @COLOR_BRAND1); - -@steps-finish-bg: var(--steps-finish-bg, @COLOR_RED); diff --git a/compiled/alipay/src/Sticky/index.axml b/compiled/alipay/src/Sticky/index.axml deleted file mode 100644 index 4cb1629df..000000000 --- a/compiled/alipay/src/Sticky/index.axml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Sticky/index.en.md b/compiled/alipay/src/Sticky/index.en.md deleted file mode 100644 index 895a5b30c..000000000 --- a/compiled/alipay/src/Sticky/index.en.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# Sticky -Used in cases where it is necessary to adsorb in some places during rolling. - -## Precautions - -The Sticky component implementation relies on `position: sticky` attribute, which may become invalid due to the influence of the parent element. [This document](https://developer.mozilla.org/en-US/docs/Web/CSS/position) Check the element layout of the page. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-sticky": "antd-mini/es/Sticky/index" -#endif -#if WECHAT - "ant-sticky": "antd-mini/Sticky/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - - - I will ceiling - - -``` - -### Specified ceiling height - -```xml - - - I will top the place 100px from the top - - -``` - -### Perceive whether the ceiling is absorbed - -```xml - - - I will ceiling at 180px from the top - Whether it has sucked {{stickyStatus}} - - -``` - -```js -Page({ - data: { - stickyStatus: false, - }, - handleStickyChange(status) { - this.setData({ stickyStatus: status }); - }, -}); -``` - -### Transparent head mode - -```xml - - - I will ceiling - - -``` - -### Demo Code - - - -## Property - -| Property | Type | Default Value | Description | -| ------------------------------- | -------- | -------------- | -------------------------------------------------------------------- | -| className | string | "" | Container className | -| top | string | "" | The ceiling height, need to write units, such as 10px,24rpx | -| check | bool | false | Whether it is necessary to sense whether the ceiling has been absorbed, because the ceiling inspection still has a certain cost. | -| sticky | bool | true | Whether to ceiling, some scenes do not necessarily need | -| transparentTitle | bool | false | Whether it is a transparent head, the transparent head will automatically calculate the titleBar height, and the default adsorption is under the titlebar | -| #if ALIPAY onStickyChange | Function | (status) => {} | Whether it is in the ceiling state, note that the check function needs to be turned on to have this callback. | -| #if ALIPAY onGetHeaderHeight | Function | (height) => {} | Calculate the height of the head to complete | -| #if WECHAT bind:stickychange | Function | (status) => {} | Whether it is in the ceiling state, note that the check function needs to be turned on to have this callback. | -| #if WECHAT bind:getheaderheight | Function | (height) => {} | Calculate the height of the head to complete | - -## Slot - -There is only one default slot for wrapping elements and components that want to be capped. - -## Other - -It should be noted that the automatic calculation of head height in the transparent page scene is only convenient to suck on the top. If there is an offset, it still needs to be calculated by itself. - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------- | -| --sticky-check-bg |
rgba(238, 238, 238, 0)
|
rgba(238, 238, 238, 0)
| Selector Background Color | diff --git a/compiled/alipay/src/Sticky/index.json b/compiled/alipay/src/Sticky/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Sticky/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Sticky/index.less b/compiled/alipay/src/Sticky/index.less deleted file mode 100644 index cc198e08c..000000000 --- a/compiled/alipay/src/Sticky/index.less +++ /dev/null @@ -1,17 +0,0 @@ -@import (reference) './variable.less'; - -@stickyPrefix: ant-sticky; - -.@{stickyPrefix} { - position: sticky; - top: 0; - - &-check { - position: fixed; - height: 2px; - background: @sticky-check-bg; - top: 0; - width: 100%; - pointer-events: none; - } -} diff --git a/compiled/alipay/src/Sticky/index.md b/compiled/alipay/src/Sticky/index.md deleted file mode 100644 index 38254085d..000000000 --- a/compiled/alipay/src/Sticky/index.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# Sticky 粘性吸附 -用在需要在滚动中吸附在某些地方的情况。 - -## 注意事项 - -Sticky 组件实现依赖了 `position: sticky` 特性,该特性受父元素的影响可能会失效,若遇到 Sticky 组件不生效的情况可根据 [这篇文档](https://developer.mozilla.org/en-US/docs/Web/CSS/position) 检查页面的元素布局。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-sticky": "antd-mini/es/Sticky/index" -#endif -#if WECHAT - "ant-sticky": "antd-mini/Sticky/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - - - 我会吸顶 - - -``` - -### 指定吸顶高度 - -```xml - - - 我会吸顶在距离顶部 100px 的地方 - - -``` - -### 感知是否吸顶 - -```xml - - - 我会吸顶在距离顶部 180px 的地方 - 是否吸上了 {{ stickyStatus }} - - -``` - -```js -Page({ - data: { - stickyStatus: false, - }, - handleStickyChange(status) { - this.setData({ stickyStatus: status }); - }, -}); -``` - -### 透明头模式 - -```xml - - - 我会吸顶 - - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 类型 | 默认值 | 说明 | -| ------------------------------- | -------- | -------------- | -------------------------------------------------------------------- | -| className | string | "" | 容器 className | -| top | string | "" | 吸顶高度,需要写单位,比如 10px,24rpx | -| check | bool | false | 是否需要感知是否吸顶了,因为吸顶检查还是有一定成本的 | -| sticky | bool | true | 是否要吸顶,某些场景不一定需要 | -| transparentTitle | bool | false | 是否是透明头,透明头会自动计算 titleBar 高度,默认吸附在 titlebar 下 | -| #if ALIPAY onStickyChange | Function | (status) => {} | 是否在吸顶状态,注意需要打开 check 功能才有这个回调 | -| #if ALIPAY onGetHeaderHeight | Function | (height) => {} | 计算头的高度完成 | -| #if WECHAT bind:stickychange | Function | (status) => {} | 是否在吸顶状态,注意需要打开 check 功能才有这个回调 | -| #if WECHAT bind:getheaderheight | Function | (height) => {} | 计算头的高度完成 | - -## 插槽 - -仅有一个默认插槽,用于包裹想吸顶的元素、组件。 - -## 其他 - -需要注意的是,透明页面场景下自动计算头高度仅方便吸在顶上的情况,如果有偏移,还是需要自行计算的。 - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------- | -| --sticky-check-bg |
rgba(238, 238, 238, 0)
|
rgba(238, 238, 238, 0)
| 选择器背景颜色 | diff --git a/compiled/alipay/src/Sticky/index.ts b/compiled/alipay/src/Sticky/index.ts deleted file mode 100644 index 27f7b9207..000000000 --- a/compiled/alipay/src/Sticky/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -import equal from 'fast-deep-equal'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { StickyProps } from './props'; - -Component( - StickyProps, - { - initTabsObserver() { - this.stickyIO - .relativeTo('.ant-sticky-check') - .observe('.ant-sticky', (res) => { - // console.log(res, 'intersectionObserver'); - // console.log( - // '相交区域占目标节点的布局区域的比例', - // res.intersectionRatio, - // ); - // console.log('相交区域', res.intersectionRect); - // console.log('相交区域', res.intersectionRect.height); - // console.log('参照区域的边界', res.relativeRect); - // console.log('目标边界', res.boundingClientRect); - // console.log('时间戳', res.time); - triggerEvent(this, 'stickyChange', res.intersectionRatio > 0); - }); - }, - - initHeaderHeight(propsHeaderHeight) { - // 如果外部有传入默认的高度,优先使用外部的高度,则不根据 getSystemInfo 获取 - if (propsHeaderHeight !== undefined) { - this.setData({ headerHeight: propsHeaderHeight }); - // 拿都拿到了,顺便抛出去 - triggerEvent(this, 'getHeaderHeight', propsHeaderHeight); - } else { - my.getSystemInfo().then((res) => { - const headerHeight = - (res.statusBarHeight || 47) + (res.titleBarHeight || 44); - this.setData({ headerHeight }); - // 拿都拿到了,顺便抛出去 - triggerEvent(this, 'getHeaderHeight', propsHeaderHeight); - }); - } - }, - }, - { - headerHeight: 91, // 透明头时的头部高度,单位是px - }, - undefined, - { - onInit() { - const [transparentTitle, propsHeaderHeight, check] = getValueFromProps( - this, - ['transparentTitle', 'headerHeight', 'check'] - ); - // 如果是透明头,高度默认设为一个iPhoneX的默认高度,并通过JSAPI获取实际的高度进行替换 - if (transparentTitle) { - this.initHeaderHeight(propsHeaderHeight); - } - // 考虑到这个还是有点性能开销,用个属性控制 - if (check) { - this.stickyIO = this.createIntersectionObserver(); - this.initTabsObserver(); - } - }, - deriveDataFromProps(nextProps) { - const [sticky, headerHeight] = getValueFromProps(this, [ - 'sticky', - 'headerHeight', - ]); - if (sticky !== nextProps.sticky) { - // 考虑到这个还是有点性能开销,用个属性控制 - if (nextProps.check && !this.stickyIO) { - this.stickyIO = this.createIntersectionObserver(); - this.initTabsObserver(); - } - } - - if (headerHeight !== nextProps.headerHeight) { - this.initHeaderHeight(nextProps.headerHeight); - } - }, - - didUnmount() { - this.stickyIO && this.stickyIO.disconnect(); - }, - } -); diff --git a/compiled/alipay/src/Sticky/props.ts b/compiled/alipay/src/Sticky/props.ts deleted file mode 100644 index 455603118..000000000 --- a/compiled/alipay/src/Sticky/props.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface IStickyProps { - className: string; - headerHeight: number; - sticky: boolean; - top: string; - check: boolean; - transparentTitle: boolean; - onStickyChange: (status: boolean) => void; - onGetHeaderHeight: (height: number) => void; -} - -export const StickyProps: IStickyProps = { - className: '', - headerHeight: undefined, // 从外部传入的 tab header 高度,默认为 undefined - sticky: true, // 是否需要粘性,某些场景可能需要一会儿吸顶一会儿不吸 - top: '', - check: false, // 是否需要检查是否吸顶 - transparentTitle: false, // 是否是透明头 - onStickyChange: (status: boolean) => status, // 是否吸附变化时的回调 - onGetHeaderHeight: (height: number) => height, // 获取到header高度时顺便抛出去一份 -}; diff --git a/compiled/alipay/src/Sticky/variable.less b/compiled/alipay/src/Sticky/variable.less deleted file mode 100644 index b308473c4..000000000 --- a/compiled/alipay/src/Sticky/variable.less +++ /dev/null @@ -1,4 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@sticky-check-bg: var(--sticky-check-bg, rgba(238, 238, 238, 0)); diff --git a/compiled/alipay/src/SwipeAction/index.axml b/compiled/alipay/src/SwipeAction/index.axml deleted file mode 100644 index dbd3889b8..000000000 --- a/compiled/alipay/src/SwipeAction/index.axml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - {{util.getRightText(tapTypeR, idx, item)}} - - - - - - - - - - - - {{util.getLeftText(tapTypeL, idx, itemL)}} - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/SwipeAction/index.en.md b/compiled/alipay/src/SwipeAction/index.en.md deleted file mode 100644 index 3d8f9aa9c..000000000 --- a/compiled/alipay/src/SwipeAction/index.en.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# SwipeAction - -List of functional extensions. Show hidden function menus by sliding. - -## Precautions - -1. The component's parent container must have width and height set. -2. The sum of the widths of the sliding buttons on both sides must be the same. -3. When elasticity is set to false, a smaller damping value provides a better experience. -4. The second confirmation of the sliding on each side will only trigger the first one, the others will not trigger. -5. It is recommended to use it in applets of the basic library 2.0.1.0 versions (such as DingTalk applets) have defects in sliding experience (lack of sliding transition effect after touchend). - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-swipe-action": "antd-mini/es/SwipeAction/index" -#endif - -#if WECHAT - "ant-swipe-action": "antd-mini/SwipeAction/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - - Right-three buttons - -``` - -### Button on the left - -Setup`leftButtons`Property - - -### Change the number of buttons - - - -### Disable sliding rebound - -Setup`elasticity`property is`false` - - -### Set button width - -Set the buttons`width`Property - - -### Set sliding speed - -Setup`damping`Property - - -### Button click twice to confirm - -Set buttons Properties`confirmType`For`tap` - - - -### Second confirmation of maximum sliding distance of button - -Set buttons Properties`confirmType`For`move` - - -### There are buttons on the left and right sides - -Can be set simultaneously`leftButtons`and`rightButtons` - - -### Custom Button - - - -### Demo Code - - - -## API - -| Property | Type | Default Value | Description | -| ------------- | ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------ | -| leftButtons | [SwipeButton](#SwipeButton) | [] | Left button | -| rightButtons | [SwipeButton](#SwipeButton) | [] | Right button | -| damping | number | 70 | Sliding speed | -| elasticity | boolean | `true` | sliding elasticity | -| swiped | `''` \| `'left'` \| `'right'` | `false` | Whether sliding open | -| defaultSwiped | `''` \| `'left'` \| `'right'` | `false` | Default slide open | -| disabled | boolean | `false` | No Sliding | -| onSwipeStart | Slide start callback function | (data: object, e: string) => void | E: data in the data-xxx on the component; Data: direction (whether the sliding button is left or right),swiped (whether to slide open) | -| onSwipeEnd | Slide End Callback Function | (data: object, e: string) => void | E: data in the data-xxx on the component; Data: direction (whether the sliding button is left or right),swiped (whether to slide open) | -| onButtonTap | Callback function triggered by the button | (data: object, e: string) => void | E: data in the data-xxx on the component; data: direction (whether the sliding button is left or right),btnIdx (the index of the button, the part near the main body is 0) | - -### SwipeButton - -| Property | Type | Default Value | Description | -| ----------- | --------------------------- | ------ | ----------------------------------------------------------------------------------- | -| text | string | - | Button Text | -| slotName | string | - | The name of the slot. You can customize the content of the corresponding button.`${slotName}-confirm`You can customize the content of the button at the time of confirmation | -| bgColor | string | - | Button background color | -| color | string | `#fff` | Button Font Color | -| width | number | 150 | Button width | -| confirmType | `''` \| `'move'` \| `'tap'` | - | Secondary confirmation type: do not trigger secondary confirmation | slide beyond the maximum distance to trigger secondary confirmation | click to trigger secondary confirmation | -| confirmText | string | - | Copy description of the second confirmation; if empty, text is displayed | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| -------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --swipe-action-color |
#ffffff
|
#ffffff
| Slide operation color | diff --git a/compiled/alipay/src/SwipeAction/index.json b/compiled/alipay/src/SwipeAction/index.json deleted file mode 100644 index 32640e0dc..000000000 --- a/compiled/alipay/src/SwipeAction/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} \ No newline at end of file diff --git a/compiled/alipay/src/SwipeAction/index.less b/compiled/alipay/src/SwipeAction/index.less deleted file mode 100644 index ecbe57653..000000000 --- a/compiled/alipay/src/SwipeAction/index.less +++ /dev/null @@ -1,113 +0,0 @@ -@import (reference) './variable.less'; - -@keyframes text-animate-right { - 33% { - margin-left: -10 * @rpx; - } - 66% { - margin-left: 10 * @rpx; - } - 100% { - margin-left: 0 * @rpx; - } -} -@keyframes text-animate-midd { - 0% { - margin-left: 44 * @rpx; - } - 100% { - margin-left: 0 * @rpx; - } -} -@keyframes text-animate-left { - 33% { - margin-left: 10 * @rpx; - } - 66% { - margin-left: -10 * @rpx; - } - 100% { - margin-left: 0 * @rpx; - } -} -.text-move-right { - animation-name: text-animate-right; - animation-duration: 500ms; -} -.text-move-left { - animation-name: text-animate-left; - animation-duration: 500ms; -} -.text-move-midd { - animation-name: text-animate-midd; - animation-duration: 500ms; -} -.ant-swipe { - width: 100%; - height: 100%; - overflow: hidden; - &-action { - height: 100%; - position: relative; - &-movable { - width: 100%; - height: 100%; - &-content { - height: 100%; - position: relative; - &-view { - height: 100%; - &-modal { - width: 100%; - height: 100%; - background: transparent; - position: absolute; - left: 0; - top: 0; - z-index: 9; - } - } - &-right { - height: 100%; - color: @swipe-action-color; - &-text { - height: 100%; - display: flex; - align-items: center; - justify-content: center; - transition: all 120ms cubic-bezier(0.2, 0.2, 0.8, 1); - .right-text { - text-align: center; - white-space: nowrap; - } - } - } - &-left { - position: absolute; - right: 0; - top: 0; - color: @swipe-action-color; - display: flex; - flex-direction: row; - justify-content: flex-end; - &-text1 { - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; - transition: all 120ms cubic-bezier(0.2, 0.2, 0.8, 1); - .right-text { - text-align: center; - white-space: nowrap; - } - } - } - } - } - } -} -.ant-swipe-action-is-right-swipe { - display: flex; - flex-direction: row; - justify-content: flex-end; -} diff --git a/compiled/alipay/src/SwipeAction/index.md b/compiled/alipay/src/SwipeAction/index.md deleted file mode 100644 index 11592c577..000000000 --- a/compiled/alipay/src/SwipeAction/index.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# SwipeAction 滑动组件 - -列表的功能扩展。通过滑动操作来展示隐藏的功能菜单。 - -## 注意事项 - -1. 该组件的父级容器必须设置 width 和 height。 -2. 两侧滑动按钮的宽度总和需一致。 -3. 若 elasticity 设置为 false 时,较小的 damping 值可提供更佳的体验。 -4. 每一侧的滑动二次确认只会触发第一个,其他不会触发。 -5. 建议在基础库 2.0 的小程序中使用,1.0 版本(如钉钉小程序)中存在滑动体验缺陷(缺少 touchend 之后的滑动过渡效果)。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-swipe-action": "antd-mini/es/SwipeAction/index" -#endif - -#if WECHAT - "ant-swipe-action": "antd-mini/SwipeAction/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - - 右侧-三个按钮 - -``` - -### 按钮在左侧 - -设置`leftButtons`属性 - - -### 改变按钮数量 - - - -### 禁用滑动回弹 - -设置`elasticity`属性为`false` - - -### 设置按钮宽度 - -设置 buttons 的`width`属性 - - -### 设置滑动速度 - -设置`damping`属性 - - -### 按钮点击二次确认 - -设置 buttons 属性`confirmType`为`tap` - - - -### 按钮滑出最大距离二次确认 - -设置 buttons 属性`confirmType`为`move` - - -### 左右两侧都有按钮 - -可同时设置`leftButtons`和`rightButtons` - - -### 自定义按钮 - - - -### Demo 代码 - - - -## API - -| 属性 | 类型 | 默认值 | 说明 | -| ------------- | ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------ | -| leftButtons | [SwipeButton](#SwipeButton) | [] | 左侧按钮 | -| rightButtons | [SwipeButton](#SwipeButton) | [] | 右侧按钮 | -| damping | number | 70 | 滑动速度 | -| elasticity | boolean | `true` | 滑动弹性 | -| swiped | `''` \| `'left'` \| `'right'` | `false` | 是否滑开 | -| defaultSwiped | `''` \| `'left'` \| `'right'` | `false` | 是否默认滑开 | -| disabled | boolean | `false` | 禁止滑动 | -| onSwipeStart | 滑动开始的回调函数 | (data: object, e: string) => void | e: 组件上 data-xxx 中的数据;data: direction(滑动的按钮是左边还是右边),swiped(是否滑开) | -| onSwipeEnd | 滑动结束的回调函数 | (data: object, e: string) => void | e: 组件上 data-xxx 中的数据;data: direction(滑动的按钮是左边还是右边),swiped(是否滑开) | -| onButtonTap | 按钮触发的回调函数 | (data: object, e: string) => void | e: 组件上 data-xxx 中的数据;data: direction(滑动的按钮是左边还是右边),btnIdx(按钮的索引,靠近主体部分为 0) | - -### SwipeButton - -| 属性 | 类型 | 默认值 | 说明 | -| ----------- | --------------------------- | ------ | ----------------------------------------------------------------------------------- | -| text | string | - | 按钮文字 | -| slotName | string | - | slot 名称,可以自定义对应按钮的内容。`${slotName}-confirm`可以自定义确认时的按钮内容 | -| bgColor | string | - | 按钮背景颜色 | -| color | string | `#fff` | 按钮字体颜色 | -| width | number | 150 | 按钮宽度 | -| confirmType | `''` \| `'move'` \| `'tap'` | - | 二次确认类型:不触发二次确认 \| 滑动超出最大距离触发二次确认 \| 点击触发二次确认 | -| confirmText | string | - | 二次确认的文案描述;若为空,则展示 text | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| -------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --swipe-action-color |
#ffffff
|
#ffffff
| 滑动操作颜色 | diff --git a/compiled/alipay/src/SwipeAction/index.sjs b/compiled/alipay/src/SwipeAction/index.sjs deleted file mode 100644 index bcc68c617..000000000 --- a/compiled/alipay/src/SwipeAction/index.sjs +++ /dev/null @@ -1,144 +0,0 @@ -var getWidth = function getWidth(rightWidth, leftWidth, inertiaWidth) { - var num = (rightWidth || leftWidth) * 2 + inertiaWidth; - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return rightWidth && leftWidth ? "calc(100% + ".concat(width + inertiaWidth, "px)") : "calc(100% + ".concat(num / 2, "px)"); -}; -var getMarginLeft = function getMarginLeft(rightWidth, leftWidth, inertiaWidth) { - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return "calc(-".concat((width + inertiaWidth) / 2, "px)"); -}; -var getSlotWidthStyle = function getSlotWidthStyle(rightWidth, leftWidth) { - var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var right = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; - var inertiaWidth = arguments.length > 4 ? arguments[4] : undefined; - // 右 - if (right.length > 0 && left.length === 0) { - return "calc(100% - ".concat((1 + inertiaWidth) / 2, "px)"); - } - // 左 - if (left.length > 0 && right.length === 0) { - return "width: calc(100% - ".concat(leftWidth / 2, "px); margin-left: ").concat((leftWidth + inertiaWidth) / 2, "px;"); - } - if (left.length > 0 && right.length > 0) { - return "width: 100%;margin-left: 0;"; - } -}; -var getLeft = function getLeft(tapType, idx, right, isLeft) { - var tip = !isLeft ? 'L-' : 'R-'; - if (right.length === 1) { - return tapType && tapType === "".concat(tip).concat(idx) ? 'text-move-midd' : ''; - } - if (right.length === 3 && idx === 1) { - return tapType && tapType === "".concat(tip).concat(idx) ? 'text-move-midd' : ''; - } - var cls = ''; - if (idx === 0) { - cls = isLeft ? 'text-move-left' : 'text-move-right'; - } else { - cls = isLeft ? 'text-move-right' : 'text-move-left'; - } - return tapType && tapType === "".concat(tip).concat(idx) ? cls : ''; -}; -var getWidth2 = function getWidth2(rightWidth, leftWidth, inertiaWidth) { - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return rightWidth && leftWidth ? "calc(100% - ".concat(width + inertiaWidth, "px)") : "calc(100% - ".concat((width + inertiaWidth) / 2, "px)"); -}; -var getMarginLeft2 = function getMarginLeft2(rightWidth, leftWidth, inertiaWidth) { - var num = rightWidth > 0 ? inertiaWidth : 0; - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return leftWidth && rightWidth ? "".concat((width + num) / 2, "px") : leftWidth > 0 ? 0 : "".concat((width + inertiaWidth) / 2, "px"); -}; -var getMarginLeft3 = function getMarginLeft3(rightWidth, leftWidth, inertiaWidth) { - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return leftWidth && rightWidth ? "calc(100% - ".concat((width + inertiaWidth) / 2, "px)") : "calc(100% - ".concat(rightWidth / 2 - 1, "px)"); -}; -var getMoveX = function getMoveX(rightButtons, idx) { - var arr = rightButtons.slice(idx, rightButtons.length); - return arr.reduce(function (tolal, cur) { - return parseFloat(tolal) + cur.width; - }, 0); -}; -var getMovableContentRightStyle = function getMovableContentRightStyle(item, tapTypeR, idx, rightWidth, inTouch, inertiaWidth, myStyle) { - var isTapTypeR = tapTypeR && tapTypeR === "R-".concat(idx); - var myStyleString = isTapTypeR ? styleObjectToString(myStyle) : ''; - return "\n font-size: ".concat((item.fontSize || 28) / 2, "px;\n color: ").concat(item.color, ";\n background: ").concat(item.bgColor, ";\n height: calc(100% + 2px);\n ").concat(isTapTypeR ? "width: ".concat((rightWidth + 1 + (item.confirmType === 'move' && inTouch ? inertiaWidth : 0)) / 2, "px;") : "width: ".concat(item.width / 2, "px;"), "\n ").concat(myStyleString); -}; -var styleKeyMap = { - 'marginRight': 'margin-right', - 'marginLeft': 'margin-left', - 'fontSize': 'font-size', - zIndex: 'z-index' -}; -function styleObjectToString(myStyle) { - var styleKeys = keys(myStyle); - var res = ''; - for (var i = 0; i < styleKeys.length; i++) { - var key = styleKeys[i]; - res = res + "".concat(styleKeyMap[key] || key, ": ").concat(myStyle[key], "; "); - } - return res; -} -var getMovableContentLeftStyle = function getMovableContentLeftStyle(itemL, tapTypeL, idx, leftWidth, inTouch, inertiaWidth, myStyle) { - var isTapTypeL = tapTypeL && tapTypeL === "L-".concat(idx); - var myStyleString = isTapTypeL ? styleObjectToString(myStyle) : ''; - return "\n background: ".concat(itemL.bgColor, ";\n height: calc(100% + 2px);\n font-size: ").concat((itemL.fontSize || 28) / 2, "px;\n color: ").concat(itemL.color, ";\n ").concat(isTapTypeL ? "width: ".concat((leftWidth + 1 + (itemL.confirmType === 'move' && inTouch ? inertiaWidth : 0)) / 2, "px;") : "width: ".concat(itemL.width / 2, "px;"), "\n ").concat(myStyleString); -}; -var getLeftSlotName = function getLeftSlotName(tapTypeL, idx, itemL) { - if (!itemL.slotName) { - return ''; - } - return tapTypeL && tapTypeL === "L-".concat(idx) ? "".concat(itemL.slotName, "-confirm") : itemL.slotName; -}; -var getRightSlotName = function getRightSlotName(tapTypeR, idx, item) { - if (!item.slotName) { - return ''; - } - return tapTypeR && tapTypeR === "R-".concat(idx) ? "".concat(item.slotName, "-confirm") : item.slotName; -}; -var getLeftText = function getLeftText(tapTypeL, idx, itemL) { - return tapTypeL && tapTypeL === "L-".concat(idx) ? itemL.confirmText || itemL.text : itemL.text; -}; -var getRightText = function getRightText(tapTypeR, idx, item) { - return tapTypeR && tapTypeR === "R-".concat(idx) ? item.confirmText || item.text : item.text; -}; -var getRightMovableContentStyle = function getRightMovableContentStyle(tapTypeR, idx, rightWidth, leftWidth, inertiaWidth) { - return styleObjectToString({ - zIndex: tapTypeR === "R-".concat(idx) ? 1 : 0, - marginLeft: getMarginLeft3(rightWidth, leftWidth, inertiaWidth), - width: (rightWidth - 0.1) / 2 + 'px' - }); -}; -var getLeftMovableContentStyle = function getLeftMovableContentStyle(tapTypeL, idx, leftWidth, inertiaWidth) { - return styleObjectToString({ - zIndex: tapTypeL === "L-".concat(idx) ? 1 : 0, - marginLeft: "".concat(inertiaWidth / 2, "px"), - width: (leftWidth - 1) / 2 + 'px' - }); -}; -var axmlObj = function axmlObj(obj) { - return obj; -}; -export default { - axmlObj: axmlObj, - getWidth2: getWidth2, - getMarginLeft2: getMarginLeft2, - getMarginLeft3: getMarginLeft3, - getRightMovableContentStyle: getRightMovableContentStyle, - getLeftMovableContentStyle: getLeftMovableContentStyle, - getLeft: getLeft, - getWidth: getWidth, - getSlotWidthStyle: getSlotWidthStyle, - getMarginLeft: getMarginLeft, - getMoveX: getMoveX, - getMovableContentRightStyle: getMovableContentRightStyle, - getMovableContentLeftStyle: getMovableContentLeftStyle, - getRightText: getRightText, - getLeftText: getLeftText, - getLeftSlotName: getLeftSlotName, - getRightSlotName: getRightSlotName -}; -function keys(obj) { - if (typeof Object.keys === 'function') { - return Object.keys(obj); - } -} \ No newline at end of file diff --git a/compiled/alipay/src/SwipeAction/index.ts b/compiled/alipay/src/SwipeAction/index.ts deleted file mode 100644 index a0ca9c620..000000000 --- a/compiled/alipay/src/SwipeAction/index.ts +++ /dev/null @@ -1,509 +0,0 @@ -import { SwipeActionDefaultProps } from './props'; -import fmtEvent from '../_util/fmtEvent'; -import { compareVersion } from '../_util/compareVersion'; -import '../_util/assert-component2'; -import { platform } from '../_util/platform'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { transformOptions } from './wechat'; - -const setStyleObj1 = (buttons: any[], inertiaWidth?: number) => { - const widthPos = buttons.length === 2 ? 0.5 : 0.3333; - return [ - { marginLeft: 0 }, - { - marginLeft: `${ - -(buttons[0]?.width + 1 + (inertiaWidth || 0) * widthPos) / 2 - }px`, - }, - { - marginLeft: `${ - -( - buttons[0]?.width + - buttons[1]?.width + - 1 + - (inertiaWidth || 0) * 0.6666 - ) / 2 - }px`, - }, - ]; -}; -const setStyleObj2 = (buttons: any[], inertiaWidth?: number) => { - const length = buttons.length; - if (length === 2) { - return [ - { marginRight: 0 }, - { - marginRight: `-${ - (buttons[0]?.width + (inertiaWidth || 0) * 0.5) / 2 - }px`, - }, - ]; - } - if (length === 3) { - return [ - { marginRight: 0 }, - { - marginRight: `-${ - (buttons[0]?.width + (inertiaWidth || 0) * 0.3333) / 2 - }px`, - }, - { - marginRight: `-${ - (buttons[0]?.width + - buttons[1]?.width + - (inertiaWidth || 0) * 0.6666) / - 2 - }px`, - }, - ]; - } - return [{ marginRight: 0 }]; -}; - -let myTimeOut = null; - -const getDirectionLeft = (arr: number[]): boolean => { - if (arr.length < 2) { - arr = [0, arr[0]]; - } - return arr[0] + arr[1] <= 0; -}; - -const isOldVersion = getIsOldVersion(); -function getIsOldVersion() { - if (typeof my === 'undefined') { - return false; - } - const SDKVersion = my.SDKVersion; - return compareVersion(SDKVersion, '2.0.0') < 0; -} - -function getInitReady() { - if (platform() === 'wechat') { - return false; - } - if (isOldVersion) { - return false; - } - return true; -} - -Component( - transformOptions({ - props: SwipeActionDefaultProps, - didMount() { - const { defaultSwiped, elasticity } = this.getProps(); - this.setButtonItemWidth(); - this.setData({ inertiaWidth: !isOldVersion && elasticity ? 20 : 0 }); - if (defaultSwiped) { - this.initWidth((maxSwipe: any) => { - maxSwipe && - this.setData({ - swipeX: (maxSwipe + 0.01) * (defaultSwiped === 'right' ? -1 : 1), - swipedR: defaultSwiped === 'right', - swipedL: defaultSwiped === 'left', - }); - }); - } - }, - didUpdate(prevProp) { - const { swiped, damping, elasticity } = this.getProps(); - // 设置不同的滑动位置时需要重置 - const rs = prevProp.swiped !== swiped && !swiped; - const is = prevProp.elasticity !== elasticity; - const ds = prevProp.damping !== damping; - if (rs || is || ds) { - this.setData({ - swipeX: 0, - swipedR: false, - swipedL: false, - tapTypeL: '', - tapTypeR: '', - }); - } - if (is) { - this.setData({ inertiaWidth: elasticity ? 20 : 0 }); - } - }, - data: { - // 在微信小程序与支付宝小程序基础库 1.0 - // 组件初始化时的 margin-left 决定了后续可移动的距离,所以需要等组件初始化以后再加载 - ready: getInitReady(), - swipeLeft: true, // 是否是进行左滑 - swipeX: 0, // 主体部分左滑的位置 - moveX: 0, // 按钮滑动的位置 - tapTypeL: '', // 左侧点击中的type - tapTypeR: '', // 右侧的点击中的type - leftWidth: 20, // 计算的右侧的宽度 - rightWidth: 20, // 计算的右侧的宽度 - maxSwipeL: 0, // 左侧事件滑动最大距离 - maxSwipeR: 0, // 右侧事件滑动最大距离 - inTouch: false, // 在触摸中的状态 - swipedR: false, // 右侧已经滑开了 - swipedL: false, // 左侧已经滑开了 - changeArr: [0, 0], // 用来判断最后一次滑动的方向 - myStyle: {}, - inertiaWidth: 20, - animation: !isOldVersion, - _leftButtons: [], - _rightButtons: [], - }, - methods: { - setWidth() { - const { _leftButtons, _rightButtons } = this.data; - const _rightArr = _rightButtons || []; - const _leftArr = _leftButtons || []; - this.setData({ - ready: true, - rightWidth: _rightArr.reduce((tolal, cur) => { - return tolal + cur.width; - }, 0), - leftWidth: _leftArr.length - ? _leftArr.reduce((tolal, cur) => { - return tolal + cur.width; - }, 0) - : 0, - }); - }, - setButtonItemWidth() { - const { leftButtons, rightButtons } = this.getProps(); - leftButtons.forEach((i) => { - i.width = i.width || 150; - }); - rightButtons.forEach((i) => { - i.width = i.width || 150; - }); - this.setData( - { _leftButtons: leftButtons, _rightButtons: rightButtons }, - () => { - this.setWidth(); - } - ); - }, - getProps() { - if (platform() === 'wechat') { - return { - ...this.data, - onSwipeStart: (v) => { - this.triggerEvent('swipestart', v); - }, - onSwipeEnd: (v) => { - this.triggerEvent('swipeend', v); - }, - onButtonTap: (v) => { - this.triggerEvent('buttontap', v); - }, - }; - } - return this.props; - }, - initWidth(func?) { - const { leftButtons, rightButtons } = this.getProps(); - // 获取宽度信息,设置滑轨的宽度、初始化滑动位置 - // 如果没有获取到该信息则把左滑禁用掉 - rightButtons.length > 0 && - this.boundingClientRect( - `.ant-swipe-action-movable-right${this.$id ? '-' + this.$id : ''}` - ).then((ret: any) => { - if (ret && ret.width) { - this.setData({ maxSwipeR: ret.width }); - func && func(ret.width); - } - }); - leftButtons.length > 0 && - this.boundingClientRect( - `.ant-swipe-action-movable-left${this.$id ? '-' + this.$id : ''}` - ).then((ret: any) => { - if (ret && ret.width) { - this.setData({ maxSwipeL: ret.width }); - func && func(ret.width); - } - }); - }, - boundingClientRect(id) { - if (typeof my === 'undefined') { - return getInstanceBoundingClientRect(this, id); - } - return getInstanceBoundingClientRect(my, id); - }, - // 向外透出事件 - onTouchStart() { - const { onSwipeStart } = this.getProps(); - const { swipedR, swipedL } = this.data; - this.initWidth(); - this.setData({ tapTypeL: '', tapTypeR: '', inTouch: true }); // 清空confirmType = auto 的表现 - onSwipeStart( - { - swiped: !!(swipedR || swipedL), - direction: swipedL ? 'left' : swipedR ? 'right' : '', - }, - fmtEvent(this.getProps()) - ); - }, - onTouchEnd(e) { - // 因为微信小程序没有 onChangeEnd 事件 - // 所以用 onTouchEnd 模拟 onChangeEnd - if (platform() === 'wechat') { - this.onChangeEnd(e); - } - this.setData({ inTouch: false }); - }, - // 滑动过程中的事件,是内部事件不向外透出,用于控制右侧按钮的位置信息 - onChange(e: any) { - const { - changeArr, - maxSwipeR, - maxSwipeL, - inTouch, - swipedR, - swipedL, - inertiaWidth, - } = this.data; - const { x } = e.detail; - const L = x; - // changeArr用于精准的控制滑动的方向 - const newArr = changeArr[1] === L ? [changeArr] : [changeArr[1], L]; - this.setData({ moveX: L, changeArr: newArr }); - - const ridx = this.getProps().rightButtons.findIndex( - (u) => u.confirmType === 'move' - ); - const lidx = this.getProps().leftButtons.findIndex( - (u) => u.confirmType === 'move' - ); - if (ridx === -1 && lidx === -1) return; - const isRight = getDirectionLeft(changeArr); - // 左滑时的滑动确认、收起处理 - if (isRight) { - if (L < 0 && Math.abs(L) >= maxSwipeR && inTouch && !swipedR) { - clearTimeout(myTimeOut); - myTimeOut = setTimeout(() => { - const { changeArr, maxSwipeR, inTouch, swipedR, moveX } = - this.data; - const _left = - getDirectionLeft(changeArr) && changeArr[0] >= changeArr[1]; - if ( - inTouch && - maxSwipeR + inertiaWidth + 2 >= Math.abs(moveX) && - _left && - !swipedR - ) { - this.onSetCheck(true); - } - }, 100); - } - if (changeArr[0] < changeArr[1] && maxSwipeR > L + 4 && inTouch) { - this.setData({ tapTypeR: '', myStyle: {} }); - } - } else { - if (L > 0 && L + 1 >= maxSwipeL && inTouch && !swipedL) { - clearTimeout(myTimeOut); - myTimeOut = setTimeout(() => { - const { changeArr, maxSwipeL, inTouch, swipedL, moveX } = - this.data; - const _right = - !getDirectionLeft(changeArr) && changeArr[1] >= changeArr[0]; - if (inTouch && maxSwipeL <= moveX + 1 && _right && !swipedL) { - this.onSetCheck(false); - } - }, 100); - } - if (changeArr[0] > changeArr[1] && maxSwipeL > L + 2 && inTouch) { - this.setData({ tapTypeL: '', myStyle: {} }); - } - } - }, - onSetCheck(isRight: boolean) { - const { rightButtons, leftButtons } = this.getProps(); - const { inertiaWidth, _leftButtons, _rightButtons } = this.data; - const arr = isRight ? rightButtons : leftButtons; - const idx = arr.findIndex((u) => u.confirmType === 'move'); - if (idx === -1) return; - - typeof my !== 'undefined' && my.vibrateShort({ success() {} }); - const styArr = isRight - ? setStyleObj1(_rightButtons, inertiaWidth) - : setStyleObj2(_leftButtons, inertiaWidth); - const sty = styArr[idx]; - this.setData({ myStyle: sty }); - isRight - ? this.setData({ tapTypeR: 'R-' + idx }) - : this.setData({ tapTypeL: 'L-' + idx }); - }, - // 意外中断了滑动,则立即开始结算滑动动作 - onTouchCancel(e: any) { - this.onChangeEnd(e); - }, - onChangeEnd(e: any) { - const { x } = e.detail; - const { changeArr } = this.data; - // 如果是停留在初始态返回 - if (x === 0) return; - // 判断是否是左滑 - const isRight = getDirectionLeft(changeArr); - this.setData({ swipeLeft: isRight }); - isRight ? this.onSetSwipeRight(x) : this.onSetSwipeLeft(x); - }, - onSetSwipeRight(x: number, needBack?: boolean) { - const { swipedR, inTouch, tapTypeR, changeArr } = this.data; - const { onButtonTap } = this.getProps(); - let isRight = Math.abs(changeArr[1]) > Math.abs(changeArr[0]); - if (!swipedR && Math.abs(x) < 10) { - isRight = false; - } - - needBack && (isRight = false); - !isRight && this.setData({ tapTypeR: '', myStyle: {} }); - if (inTouch && !!tapTypeR) { - this.setData({ tapTypeR: '', myStyle: {} }); - onButtonTap( - { - direction: 'right', - btnIdx: parseInt(tapTypeR.replace('R-', '')), - }, - fmtEvent(this.getProps()) - ); - this.onSwipeRight(false); - return; - } - this.setData({ changeArr: [0, 0] }); - this.onSwipeRight(isRight); - }, - onSetSwipeLeft(x: number, needBack?: boolean) { - const { swipedL, inTouch, tapTypeL, changeArr } = this.data; - const { onButtonTap } = this.getProps(); - // true:初始是往右滑,false: 右滑收起 - let isRight = changeArr[1] >= changeArr[0]; - if (!swipedL && Math.abs(x) < 10) { - isRight = false; - } - needBack && (isRight = false); - // 清空二次确认的状态 - !isRight && this.setData({ tapTypeL: '', myStyle: {} }); - // 处理滑动-触发事件 - if (inTouch && !!tapTypeL) { - this.setData({ tapTypeL: '', myStyle: {} }); - onButtonTap( - { direction: 'left', btnIdx: parseInt(tapTypeL.replace('L-', '')) }, - fmtEvent(this.getProps()) - ); - this.onSwipeLeft(false); - return; - } - // 清空滑动方向 - this.setData({ changeArr: [0, 0] }); - this.onSwipeLeft(isRight); - }, - // 结算 - onSwipeLeft(isRight: boolean) { - const { onSwipeEnd } = this.getProps(); - const { maxSwipeL, inertiaWidth } = this.data; - // 为了处理到重置状态的效果 - const maxX = maxSwipeL + 0.01 + inertiaWidth; - this.setData( - { - swipeX: isRight ? maxX : -0.01, - }, - () => { - const flag = this.data.swipeX === -0.01; - setTimeout( - () => { - this.setData( - { - swipeX: flag ? 0 : maxSwipeL + 0.01, - swipedL: !flag, - }, - () => { - onSwipeEnd( - { direction: 'left', swiped: !!isRight }, - fmtEvent(this.getProps()) - ); - } - ); - }, - inertiaWidth > 0 ? 180 : 0 - ); - } - ); - }, - onSwipeRight(isRight: boolean) { - const { maxSwipeR, inertiaWidth } = this.data; - const { onSwipeEnd } = this.getProps(); - // 处理x的位置,两次setData X是因为x如果相同位置不会变,刚好也把弹性在这里处理了 - // 为了处理到重置状态的效果 - const maxX = -(maxSwipeR + 0.01 + inertiaWidth); - this.setData( - { - swipeX: isRight ? maxX : -0.01, - }, - () => { - const flag = this.data.swipeX === -0.01; - setTimeout( - () => { - this.setData( - { - swipeX: flag ? 0 : -(maxSwipeR + 0.01), - swipedR: !flag, - }, - () => { - onSwipeEnd( - { direction: 'right', swiped: !!isRight }, - fmtEvent(this.getProps()) - ); - } - ); - }, - inertiaWidth > 0 ? 180 : 0 - ); - } - ); - }, - // 处理右侧点击事件 - onItemTap(e: any) { - const { swipeLeft, tapTypeL, tapTypeR, _leftButtons, _rightButtons } = - this.data; - const { onButtonTap } = this.getProps(); - if (!onButtonTap) return; - const { itemL, idx, item } = e.currentTarget.dataset.item; - const { confirmType } = swipeLeft ? item : itemL; - if (tapTypeL === 'L-' + idx) { - this.onSetSwipeLeft(0, true); - this.setData({ tapTypeL: '', myStyle: {} }); - onButtonTap( - { direction: 'left', btnIdx: idx }, - fmtEvent(this.getProps()) - ); - return; - } - if (tapTypeR === 'R-' + idx) { - this.onSetSwipeRight(0, true); - this.setData({ tapTypeR: '', myStyle: {} }); - onButtonTap( - { direction: 'right', btnIdx: idx }, - fmtEvent(this.getProps()) - ); - return; - } - // auto 是展开按钮二次确认的效果 - if (confirmType === 'tap' || confirmType === 'move') { - const styArr = swipeLeft - ? setStyleObj1(_rightButtons) - : setStyleObj2(_leftButtons); - const sty = styArr[idx]; - this.setData({ myStyle: sty }); - !swipeLeft - ? this.setData({ tapTypeL: 'L-' + idx }) - : this.setData({ tapTypeR: 'R-' + idx }); - } else { - !swipeLeft - ? this.onSetSwipeLeft(0, true) - : this.onSetSwipeRight(0, true); - onButtonTap( - { direction: !swipeLeft ? 'left' : 'right', btnIdx: idx }, - fmtEvent(this.getProps()) - ); - } - }, - }, - }) -); diff --git a/compiled/alipay/src/SwipeAction/props.ts b/compiled/alipay/src/SwipeAction/props.ts deleted file mode 100644 index ca48efcbc..000000000 --- a/compiled/alipay/src/SwipeAction/props.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { IBaseProps } from '../_util/base'; -interface SwipeButton { - text: string; - width?: number; - bgColor?: string; - color?: string; - slotName?: string; - confirmType?: '' | 'move' | 'tap'; - confirmText?: string; -} -interface SwipeData { - direction: 'right' | 'left' | ''; - btnIdx?: number; - swiped?: boolean; -} - -export interface ISwipeActionProps extends IBaseProps { - /** - * @description 左侧滑出事件 - * @default [] - */ - leftButtons: SwipeButton[]; - /** - * @description 右侧滑出事件 - * @default [] - */ - rightButtons: SwipeButton[]; - /** - * @description 滑动速度 - * @default 70 - */ - damping: number | string; - /** - * @description 禁止滑动 - * @default false - */ - disabled: boolean; - /** - * @description 禁止滑动 - * @default '' - */ - swiped: '' | 'left' | 'right' | boolean; - /** - * @description 禁止滑动 - * @default '' - */ - defaultSwiped: '' | 'left' | 'right'; - /** - * @description 弹性超出最大滑动距离自动弹回 - * @default true - */ - elasticity: boolean; - /** - * @description 滑动结束 - */ - onSwipeEnd: (data: SwipeData, e: Record) => void; - /** - * @description 滑动、触摸开始 - */ - onSwipeStart: (data: SwipeData, e: Record) => void; - /** - * @description 右侧滑动按钮的点击事件回调 - */ - onButtonTap: (data: SwipeData, e: Record) => void; -} - -export const SwipeActionDefaultProps: Partial = { - leftButtons: [], - rightButtons: [], - elasticity: true, - swiped: '', - defaultSwiped: '', - damping: 70, - disabled: false, - onSwipeEnd() {}, - onSwipeStart() {}, - onButtonTap() {}, -}; diff --git a/compiled/alipay/src/SwipeAction/variable.less b/compiled/alipay/src/SwipeAction/variable.less deleted file mode 100644 index 10261c1d1..000000000 --- a/compiled/alipay/src/SwipeAction/variable.less +++ /dev/null @@ -1,4 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@swipe-action-color: var(--swipe-action-color, @COLOR_WHITE); diff --git a/compiled/alipay/src/SwipeAction/wechat.ts b/compiled/alipay/src/SwipeAction/wechat.ts deleted file mode 100644 index 80ed9d935..000000000 --- a/compiled/alipay/src/SwipeAction/wechat.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { platform } from '../_util/platform'; - -export function transformOptions(original) { - if (platform() === 'wechat') { - const { props, didMount, didUpdate, ...rest } = original; - return { - ...rest, - properties: transformProperties(props), - lifetimes: { - attached: function () { - return didMount.call(this); - }, - }, - options: { - multipleSlots: true, - styleIsolation: 'shared', - }, - observers: { - 'damping, swiped': function () { - this.setData({ - swipeX: 0, - swipedR: false, - swipedL: false, - tapTypeL: '', - tapTypeR: '', - }); - }, - 'elasticity': function (elasticity) { - this.setData({ - swipeX: 0, - swipedR: false, - swipedL: false, - tapTypeL: '', - tapTypeR: '', - }); - this.setData({ inertiaWidth: elasticity ? 20 : 0 }); - }, - }, - }; - } - return { - ...original, - }; -} - -export function transformProperties(props) { - const properties: any = {}; - Object.keys(props).forEach((key) => { - properties[key] = { - type: null, - value: props[key], - }; - }); - return properties; -} diff --git a/compiled/alipay/src/Switch/index.axml b/compiled/alipay/src/Switch/index.axml deleted file mode 100644 index c216ee6f6..000000000 --- a/compiled/alipay/src/Switch/index.axml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - {{checkedText}} - - - {{uncheckedText}} - - - \ No newline at end of file diff --git a/compiled/alipay/src/Switch/index.en.md b/compiled/alipay/src/Switch/index.en.md deleted file mode 100644 index d40963d71..000000000 --- a/compiled/alipay/src/Switch/index.en.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Switch - -Switch selector, compared to the native Switch, it achieves a consistent experience on iOS and Android. - -- Used when it is necessary to indicate the state of a switch or to switch between two states. -- The difference with Checkbox is that switching Switch will directly trigger a state change, while Checkbox is usually used for state markers and needs to be used in conjunction with commit operations. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-switch": "antd-mini/es/Switch/index" -#endif -#if WECHAT - "ant-switch": "antd-mini/Switch/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - onChange(checked, e) { - console.log(checked); - }, -}); -``` - -### Disable Mode - -> Incoming `disabled` property, disable the collocated gray switch button. - -```xml - -``` - -### Custom Style - -> - `checkedText`、`uncheckedText` Property, you can modify the contents when checked/unchecked. -> - `color` property, you can color the overall button atmosphere. -> - ` size` property, the switch can be resized, support `medium`、`small`、`x-small` Three options. -> - `loading` Property to set the loading state. - -```xml - -#if ALIPAY - - - - - -#endif - - - - - - - - - - -``` - -### Controlled Mode - -> `checked` property and `change` Events, used in conjunction with the implementation of controlled mode. - -```xml - - - Switch - -``` - -```js -Page({ - data: { - checked: true, - }, - handleChange(checked, e) { -#if ALIPAY - this.setData({ - checked, - }); -#endif -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif - }, - handleChangeByButton() { - console.log(this.data.checked); - this.setData({ - checked: !this.data.checked, - }); - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------- | -| className | Class Name | string | - | -| checkedText | Content when selected | string \| slot | - | -| checked | Check | boolean | - | -| color | Selected background color | string | - | -| defaultChecked | Checked by default | boolean | `false` | -| disabled | Disable | boolean | `false` | -| loading | Load status | boolean | `false` | -| uncheckedText | Content when not selected | string \| slot | - | -| size | Component size, optional value is `medium`、`small`、`x-small` | string | `medium` | -| style | Style | string | - | -| #if ALIPAY onChange | Callback triggered when Switch is clicked | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | Callback triggered when Switch is clicked | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ---------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --switch-fill |
#1677ff
|
#3086ff
| Switch Fill Color | -| --switch-border-color |
#eeeeee
|
#2b2b2b
| Switch border color | -| --switch-loading-color |
#1677ff
|
#3086ff
| Switch loading color | -| --switch-handle-bg |
#ffffff
|
#ffffff
| Switch handle background color | -| --switch-inner-color |
#999999
|
#616161
| Switch internal color | diff --git a/compiled/alipay/src/Switch/index.json b/compiled/alipay/src/Switch/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Switch/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Switch/index.less b/compiled/alipay/src/Switch/index.less deleted file mode 100644 index 7250eed08..000000000 --- a/compiled/alipay/src/Switch/index.less +++ /dev/null @@ -1,118 +0,0 @@ -@import (reference) './variable.less'; - -@switchPrefix: ant-switch; - -@keyframes loading-rotate { - 100% { - transform: rotate(1turn); - } -} - -.@{switchPrefix} { - display: inline-block; - vertical-align: middle; - box-sizing: border-box; - position: relative; - align-self: center; - min-width: @switch-width; - height: @switch-height; - border: @switch-border solid @switch-border-color; - border-radius: @switch-height * 0.5; - background: @COLOR_WHITE; - overflow: hidden; - line-height: @switch-height; - &-checked { - background: @switch-fill; - border-color: @switch-fill; - .@{switchPrefix}-handle { - left: calc(100% - (@switch-height - 2 * @switch-border)); - } - .@{switchPrefix}-inner { - color: @COLOR_WHITE; - justify-content: flex-start; - } - } - &-disabled { - opacity: 0.4; - pointer-events: none; - } - &-loading { - pointer-events: none; - - } - &-loading-icon { - font-size: 20 * @rpx; - animation: loading-rotate 1s linear infinite; - color: @switch-loading-color; - } - &-handle { - display: flex; - justify-content: center; - align-items: center; - width: @switch-height - 2 * @switch-border; - height: @switch-height - 2 * @switch-border; - border-radius: 50%; - background: @switch-handle-bg; - position: absolute; - top: 0; - left: 0; - transition: all 200ms; - box-shadow: @switch-handle-shadow; - } - &-inner { - position: relative; - display: flex; - justify-content: flex-end; - align-items: center; - height: 100%; - color: @switch-inner-color; - transition: margin 200ms; - font-size: 30 * @rpx; - padding: 0 14 * @rpx; - min-width: 108 * @rpx; - box-sizing: border-box; - &:empty { - display: none; - } - } - - &-small { - min-width: @switch-width-small; - height: @switch-height-small; - border-radius: @switch-height-small * 0.5; - .@{switchPrefix}-handle { - width: @switch-height-small - 2 * @switch-border; - height: @switch-height-small - 2 * @switch-border; - } - .@{switchPrefix}-inner { - font-size: 16 * @rpx; - padding: 0 10 * @rpx; - min-width: 72 * @rpx; - } - } - &-small&-checked { - .@{switchPrefix}-handle { - left: calc(100% - (@switch-height-small - 2 * @switch-border)); - } - } - - &-x-small { - min-width: @switch-width-x-small; - height: @switch-height-x-small; - border-radius: @switch-height-x-small * 0.5; - .@{switchPrefix}-handle { - width: @switch-height-x-small - 2 * @switch-border; - height: @switch-height-x-small - 2 * @switch-border; - } - .@{switchPrefix}-inner { - font-size: 10 * @rpx; - padding: 0 6 * @rpx; - min-width: 56 * @rpx; - } - } - &-x-small&-checked { - .@{switchPrefix}-handle { - left: calc(100% - (@switch-height-x-small - 2 * @switch-border)); - } - } -} diff --git a/compiled/alipay/src/Switch/index.md b/compiled/alipay/src/Switch/index.md deleted file mode 100644 index 065bad443..000000000 --- a/compiled/alipay/src/Switch/index.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Switch 开关 - -Switch 开关选择器,比起原生 Switch,它实现了在 iOS 和 Android 端一致的体验。 - -- 当需要表示开关状态或两种状态之间切换时使用。 -- 与 Checkbox 的区别在于,切换 Switch 会直接触发状态改变,而 Checkbox 通常用于状态标记,需要与提交操作配合使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-switch": "antd-mini/es/Switch/index" -#endif -#if WECHAT - "ant-switch": "antd-mini/Switch/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - onChange(checked, e) { - console.log(checked); - }, -}); -``` - -### 禁用模式 - -> 传入 `disabled` 属性,禁用并置灰开关按钮。 - -```xml - -``` - -### 自定义样式 - -> - `checkedText`、`uncheckedText` 属性,可以修改选中/未选中时的内容。 -> - `color` 属性,可以整体按钮的颜色氛围。 -> - ` size` 属性,可以调整开关大小,支持 `medium`、`small`、`x-small` 三种选项。 -> - `loading` 属性,设置加载态。 - -```xml - -#if ALIPAY - - - - - -#endif - - - - - - - - - - -``` - -### 受控模式 - -> `checked` 属性和 `change` 事件,配合使用实现受控模式。 - -```xml - - - 切换 - -``` - -```js -Page({ - data: { - checked: true, - }, - handleChange(checked, e) { -#if ALIPAY - this.setData({ - checked, - }); -#endif -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif - }, - handleChangeByButton() { - console.log(this.data.checked); - this.setData({ - checked: !this.data.checked, - }); - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------- | -| className | 类名 | string | - | -| checkedText | 选中时的内容 | string \| slot | - | -| checked | 是否勾选 | boolean | - | -| color | 选中背景色 | string | - | -| defaultChecked | 默认是否勾选 | boolean | `false` | -| disabled | 是否禁用 | boolean | `false` | -| loading | 是否加载状态 | boolean | `false` | -| uncheckedText | 非选中时的内容 | string \| slot | - | -| size | 组件尺寸,可选值为 `medium`、`small`、`x-small` | string | `medium` | -| style | 样式 | string | - | -| #if ALIPAY onChange | 点击 Switch 时触发的回调 | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 点击 Switch 时触发的回调 | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ---------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --switch-fill |
#1677ff
|
#3086ff
| 开关填充颜色 | -| --switch-border-color |
#eeeeee
|
#2b2b2b
| 开关边框颜色 | -| --switch-loading-color |
#1677ff
|
#3086ff
| 开关加载颜色 | -| --switch-handle-bg |
#ffffff
|
#ffffff
| 开关手柄背景颜色 | -| --switch-inner-color |
#999999
|
#616161
| 开关内部颜色 | diff --git a/compiled/alipay/src/Switch/index.ts b/compiled/alipay/src/Switch/index.ts deleted file mode 100644 index eb1e8798e..000000000 --- a/compiled/alipay/src/Switch/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Component, triggerEvent } from '../_util/simply'; -import { SwitchDefaultProps } from './props'; -import mixinValue from '../mixins/value'; - -Component( - SwitchDefaultProps, - { - onChange(e) { - const value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - }, - null, - [ - mixinValue({ - valueKey: 'checked', - defaultValueKey: 'defaultChecked', - }), - ] -); diff --git a/compiled/alipay/src/Switch/props.ts b/compiled/alipay/src/Switch/props.ts deleted file mode 100644 index d1d5ed200..000000000 --- a/compiled/alipay/src/Switch/props.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { IBaseProps } from '../_util/base'; -/** - * @description 开关。 - */ - -export interface ISwitchProps extends IBaseProps { - /** - * @description 是否勾选 - */ - checked?: boolean; - /** - * @description 是否加载状态 - */ - loading?: boolean; - - /** - * @description 选中时的颜色 - */ - color?: string; - /** - * @description 选中时的内容 - */ - checkedText?: string; - /** - * @description 非选中时的内容 - */ - uncheckedText?: string; - /** - * @default medium - * @description 尺寸 - */ - size?: 'medium' | 'small' | 'x-small'; - - /** - * 是否禁用 - */ - disabled?: boolean; - - /** - * 初始值 - */ - defaultChecked?: boolean; - - /** - * @description 修改回调方法 - */ - onChange?: (checked: boolean, e: Record) => void; -} - -export const SwitchDefaultProps: Partial = { - checked: null, - loading: false, - color: '', - checkedText: '', - uncheckedText: '', - size: 'medium', - disabled: false, - defaultChecked: false, -}; diff --git a/compiled/alipay/src/Switch/variable.less b/compiled/alipay/src/Switch/variable.less deleted file mode 100644 index 7837e0990..000000000 --- a/compiled/alipay/src/Switch/variable.less +++ /dev/null @@ -1,35 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 激活时颜色 -@switch-fill: var(--switch-fill, @COLOR_BRAND1); -// 开关宽度 -@switch-width: 102 * @rpx; -// 开关高度 -@switch-height: 62 * @rpx; -// 开关边框 -@switch-border: 4 * @rpx; - -// 开关宽度 -@switch-width-small: 72 * @rpx; -// 开关高度 -@switch-height-small: 42 * @rpx; -// 开关边框 -@switch-border-small: 3 * @rpx; - -// 开关宽度 -@switch-width-x-small: 52 * @rpx; -// 开关高度 -@switch-height-x-small: 32 * @rpx; -// 开关边框 -@switch-border-x-small: 2 * @rpx; - -@switch-border-color: var(--switch-border-color, @COLOR_BORDER); -@switch-loading-color: var(--switch-loading-color, @COLOR_BRAND1); -@switch-handle-bg: var(--switch-handle-bg, @COLOR_WHITE); -@switch-handle-shadow: 0 0 2px 0 - var(--color-black-fade-20, @COLOR_BLACK_FADED_20), - 0 2px 11.5px 0 var(--color-black-fade-8, @COLOR_BLACK_FADED_8), - -1px 2px 2px 0 var(--color-black-fade-10, @COLOR_BLACK_FADED_10); - -@switch-inner-color: var(--switch-inner-color, @COLOR_TEXT_ASSIST); diff --git a/compiled/alipay/src/TabBar/index.axml b/compiled/alipay/src/TabBar/index.axml deleted file mode 100644 index 30d60e47d..000000000 --- a/compiled/alipay/src/TabBar/index.axml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - {{item.text}} - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/TabBar/index.en.md b/compiled/alipay/src/TabBar/index.en.md deleted file mode 100644 index b49c642bd..000000000 --- a/compiled/alipay/src/TabBar/index.en.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# TabBar - -Used to switch between different pages. - -## Introduction - -In `index.json` Introducing Components in -```json -"usingComponents": { -#if ALIPAY - "ant-tab-bar": "antd-mini/es/TabBar/index" -#endif -#if WECHAT - "ant-tab-bar": "antd-mini/TabBar/index" -#endif -} -``` - -## Code example - -### Basic use -```xml - - -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data: { - tabs: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: 'homr', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: 'favor', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: 'like', - }, - ], - current: 0, - }, - handleChange(index) { - console.log(index); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------- | ------------------------------------------------------- | ----------------------- | ------ | -| activeClassName | Tab activation class name | string | - | -| activeStyle | Tab Activation Style | string | - | -| className | Class Name | string | - | -| current | Selected Items | number | - | -| defaultCurrent | Initial Checked | number | 0 | -| icon | Tab icon scope slot, receiving item, index, active parameters | slot | - | -| items | Bottom Icon Configuration | [TabItem](#tabitem)[] | [] | -| style | Style | string | - | -| text | Tab bottom text scope slot, receiving item, index, active parameters | slot | - | -| #if ALIPAY onChange | Trigger callback on Tab switch | `(index: number) => void` | - | -| #if WECHAT bind:change | Trigger callback on Tab switch | `(index: number) => void` | - | - -### TabItem - -| Parameters | Description | Type | Default Value | -| ---------- | -------------------------------------------------- | ------ | ------ | -| icon | bottom icon, support [Icon](./Icon) or picture address | string | - | -| activeIcon | bottom icon for active state, support [Icon](./Icon) or picture address | string | - | -| text | Bottom Text | string | - | -| badge | Type of logo, see [Badge](./Badge) Components | object | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------- | -| --tabbar-bg |
#ffffff
|
#1a1a1a
| TabBar Background Color | -| --tabbar-item-color |
#666666
|
#808080
| TabBar Entry Color | -| --tabbar-active-color |
#1677ff
|
#3086ff
| TabBar Activate Color | diff --git a/compiled/alipay/src/TabBar/index.json b/compiled/alipay/src/TabBar/index.json deleted file mode 100644 index a7c04bf5b..000000000 --- a/compiled/alipay/src/TabBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-badge": "../Badge/index", - "image-icon": "../ImageIcon/index" - } -} diff --git a/compiled/alipay/src/TabBar/index.less b/compiled/alipay/src/TabBar/index.less deleted file mode 100644 index 24d1ac022..000000000 --- a/compiled/alipay/src/TabBar/index.less +++ /dev/null @@ -1,43 +0,0 @@ -@import (reference) './variable.less'; - -@tabsPrefix: ant-tab-bar; -@tabSize: 44 * @rpx; -@tabLargeSize: 72 * @rpx; -@textSize: 20 * @rpx; - -.@{tabsPrefix} { - &-wrap { - display: flex; - align-items: center; - background-color: @tabbar-bg; - } - &-item { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 8 * @rpx 0; - color: @tabbar-item-color; - &-active { - color: @tabbar-active-color; - } - } - - &-icon { - font-size: @tabSize; - } - &-large-icon { - font-size: @tabLargeSize; - } - - &-image { - font-size: @tabSize; - max-width: @tabSize; - max-height: @tabSize; - } - - &-text { - font-size: @textSize; - } -} diff --git a/compiled/alipay/src/TabBar/index.md b/compiled/alipay/src/TabBar/index.md deleted file mode 100644 index e0217a9fc..000000000 --- a/compiled/alipay/src/TabBar/index.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# TabBar 底部导航栏 - -用于在不同页面之间进行切换。 - -## 引入 - -在 `index.json` 中引入组件 -```json -"usingComponents": { -#if ALIPAY - "ant-tab-bar": "antd-mini/es/TabBar/index" -#endif -#if WECHAT - "ant-tab-bar": "antd-mini/TabBar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 -```xml - - -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data: { - tabs: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: 'homr', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: 'favor', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: 'like', - }, - ], - current: 0, - }, - handleChange(index) { - console.log(index); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------- | ------------------------------------------------------- | ----------------------- | ------ | -| activeClassName | 选项卡激活类名 | string | - | -| activeStyle | 选项卡激活样式 | string | - | -| className | 类名 | string | - | -| current | 选中项 | number | - | -| defaultCurrent | 初始选中项 | number | 0 | -| icon | 选项卡图标作用域插槽,接收 item、index、active 参数 | slot | - | -| items | 底部图标配置 | [TabItem](#tabitem)[] | [] | -| style | 样式 | string | - | -| text | 选项卡底部文字作用域插槽,接收 item、index、active 参数 | slot | - | -| #if ALIPAY onChange | Tab 切换时触发回调 | `(index: number) => void` | - | -| #if WECHAT bind:change | Tab 切换时触发回调 | `(index: number) => void` | - | - -### TabItem - -| 参数 | 说明 | 类型 | 默认值 | -| ---------- | -------------------------------------------------- | ------ | ------ | -| icon | 底部图标,支持 [Icon](./Icon) 或图片地址 | string | - | -| activeIcon | 激活状态的底部图标,支持 [Icon](./Icon) 或图片地址 | string | - | -| text | 底部文字 | string | - | -| badge | 徽标类型,参见 [Badge](./Badge) 组件 | object | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------- | -| --tabbar-bg |
#ffffff
|
#1a1a1a
| TabBar 背景颜色 | -| --tabbar-item-color |
#666666
|
#808080
| TabBar 条目颜色 | -| --tabbar-active-color |
#1677ff
|
#3086ff
| TabBar 激活颜色 | diff --git a/compiled/alipay/src/TabBar/index.ts b/compiled/alipay/src/TabBar/index.ts deleted file mode 100644 index e347bc0f1..000000000 --- a/compiled/alipay/src/TabBar/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { TabBarDefaultProps } from './props'; -import { Component, triggerEvent } from '../_util/simply'; -import mixinValue from '../mixins/value'; - -Component( - TabBarDefaultProps, - { - onChange(e) { - const { index } = e.currentTarget.dataset; - if (index === this.getValue()) { - return; - } - if (!this.isControlled()) { - this.update(index); - } - triggerEvent(this, 'change', index, e); - }, - }, - null, - [ - mixinValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - }), - ] -); diff --git a/compiled/alipay/src/TabBar/props.ts b/compiled/alipay/src/TabBar/props.ts deleted file mode 100644 index 730ee14cd..000000000 --- a/compiled/alipay/src/TabBar/props.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { IBaseProps } from '../_util/base'; -import { IBadgeProps } from '../Badge/props'; - -export interface ITabItem { - /** - * @description 底部图标,支持 Icon 或图片 - * @default '' - */ - icon?: string; - - /** - * @description 高亮状态的底部图标,支持 Icon 或图片 - * @default '' - */ - activeIcon?: string; - - /** - * @description 底部的文本信息 - * @default '' - */ - text: string; - /** - * @description 徽标,参见 组件 - * @default undefined - */ - badge?: IBadgeProps; -} - -/** - * @description 标签栏,内部配合 TabItem 使用。 - */ -export interface ITabBarProps extends IBaseProps { - /** - * @description tabbar 配置,为一个数组 - * @default [] - */ - items: ITabItem[]; - - /** - * @description 选中 - */ - current: number; - /** - * @description 初始值 - */ - defaultCurrent: number; - - /** - * @description 高亮状态图标和文本的 className - */ - activeClassName?: string; - - /** - * @description 高亮状态图标和文本的 style - */ - activeStyle?: string; - /** - * @description tabbar 切换时的回调 - */ - onChange: (index: number, e: Record) => void; -} - -export const TabBarDefaultProps: Partial = { - items: [], - current: null, - defaultCurrent: 0, - activeClassName: '', - activeStyle: '', -}; diff --git a/compiled/alipay/src/TabBar/variable.less b/compiled/alipay/src/TabBar/variable.less deleted file mode 100644 index 81af6a1f9..000000000 --- a/compiled/alipay/src/TabBar/variable.less +++ /dev/null @@ -1,6 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@tabbar-bg: var(--tabbar-bg, @COLOR_CARD); -@tabbar-item-color: var(--tabbar-item-color, @COLOR_TEXT_SECONDARY); -@tabbar-active-color: var(--tabbar-active-color, @COLOR_BRAND1); diff --git a/compiled/alipay/src/Table/index.axml b/compiled/alipay/src/Table/index.axml deleted file mode 100644 index 68da9fb55..000000000 --- a/compiled/alipay/src/Table/index.axml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - {{val.title}} - - - - - - - - {{val.value}} - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Table/index.en.md b/compiled/alipay/src/Table/index.en.md deleted file mode 100644 index 6340d92d1..000000000 --- a/compiled/alipay/src/Table/index.en.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# Table - -Displays row and column data. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-table": "antd-mini/es/Table/index" -#endif -#if WECHAT - "ant-table": "antd-mini/Table/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - -``` - -```js -const nameArr = [ - '小明', - '小何', - '小花', - '小美', - '小白', - '小黑', - '小帅', - '阿伟', -]; -const sexArr = ['男', '女']; -const ageArr = ['40', '18', '32', '20', '33', '48', '28', '38']; -const favoriteArr = ['羽毛球', '乒乓球', '篮球', '桌球']; -const addressArr = ['北京', '上海', '浙江', '广州']; - -function getRandomNumber(n) { - return Math.floor(Math.random() * n); -} - -Page({ - data: { - dataSource: Array.from({ length: 7 }).map((v, i) => ({ - key: i, - name: nameArr[i], - sex: sexArr[getRandomNumber(sexArr.length)], - age: ageArr[i], - extra: '测试', - favorite: favoriteArr[getRandomNumber(favoriteArr.length)], - address: addressArr[getRandomNumber(addressArr.length)], - })), - columns: [ - { - title: '姓名', - dataIndex: 'name', - key: 'name', - width: 150, - fixed: true, - }, - { - title: '年龄', - dataIndex: 'age', - key: 'age', - textAlignRight: true, - width: 150, - sorter: true, - }, - { - title: '性别', - dataIndex: 'sex', - key: 'sex', - width: 150, - }, - { - title: '爱好', - dataIndex: 'favorite', - key: 'favorite', - width: 250, - }, - { - title: '地址', - dataIndex: 'address', - key: 'address', - width: 250, - }, - ], - }, -}); -``` - -### Local Scroll - -```xml - -``` - -### Full display - -```xml - -``` - -### Empty data slot - -```xml - - - -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ------------ | ---------------------------------------------------------------------- | ------------------- | ------- | -| className | Container className | string | - | -| dataSource | Data Source | any[] | - | -| columns | Table column configuration description | [Column](#column)[] | - | -| displayType | Table style type. The default style is displayed based on the configured width. Optional `FULL`、`DEFAULT` | string | DEFAULT | -| scrollHeight | Specify scrollable area height | string | - | - -### Column - -| Property | Description | Type | Default Value | -| -------------- | ---------------- | ------- | ------ | -| title | Column Header | string | - | -| dataIndex | Column Value Field | string | - | -| key | Column Unique Identifier | string | - | -| width | Column width | number | - | -| fixed | Fixed column | boolean | - | -| textAlignRight | Whether column text is right-justified | boolean | - | - -## Slot - -| Name | Description | -| --------------- | -------------- | -| Default Slot | Data source is empty slot | -| #if ALIPAY item | Cell Slot | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| --table-item-color |
#333333
|
#c5cad1
| Table Item Color | -| --table-item-bg |
#ffffff
|
#1a1a1a
| Table Item Background Color | -| --table-shadow-color |
rgba(5, 5, 5, 0.06)
|
rgba(5, 5, 5, 0.06)
| Table Shadow Color | -| --table-empty-bg |
#fff
|
#c5cad1
| Table empty state background color | diff --git a/compiled/alipay/src/Table/index.json b/compiled/alipay/src/Table/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Table/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Table/index.less b/compiled/alipay/src/Table/index.less deleted file mode 100644 index 93e9796c0..000000000 --- a/compiled/alipay/src/Table/index.less +++ /dev/null @@ -1,109 +0,0 @@ -@import (reference) './variable.less'; -@import (reference) '../style/mixins/hairline.less'; - -@tablePrefix: ant-table; -@valueSize: 26 * @rpx; - -.@{tablePrefix} { - overflow: auto hidden; - -webkit-overflow-scrolling: touch; - - &-scroll-height { - overflow: auto; - } - - &-list { - &-item-full { - display: flex; - justify-content: space-between; - } - - &-item { - display: flex; - position: relative; - .hairline('bottom', @table-bottom-border-color); - - &::after { - margin-left: 30 * @rpx; - } - - &:last-child { - &::after { - border: 0; - } - } - - &-columns { - justify-content: space-between; - } - - &-sorter { - display: flex; - flex-direction: column; - align-items: center; - margin-left: 6 * @rpx; - - &-icon { - width: 16 * @rpx; - height: 16 * @rpx; - } - } - - &-value { - display: flex; - align-items: center; - font-size: @valueSize; - font-weight: 400; - color: @table-item-color; - background-color: @table-item-bg; - flex-grow: 1; - padding: 24 * @rpx; - min-height: 62 * @rpx; - height: 100%; - word-break: break-all; - text-align: left; - box-sizing: border-box; - - &-align-right { - justify-content: flex-end; - } - - &-fixed { - position: sticky; - left: 0; - } - - &-shadow { - &::after { - content: ''; - position: absolute; - top: 0; - right: 0; - bottom: -1px; - display: block; - width: 30 * @rpx; - box-shadow: inset 5 * @rpx 0 8 * @rpx 0 @table-shadow-color; - transform: translateX(100%); - transition: box-shadow 0.3s; - pointer-events: none; - } - } - } - } - } - - &-empty { - padding-top: 50 * @rpx; - height: 300 * @rpx; - box-sizing: border-box; - background-color: @table-empty-bg; - - &-image { - position: sticky; - left: 50%; - transform: translate(-50%, 0); - width: 200 * @rpx; - height: 200 * @rpx; - } - } -} diff --git a/compiled/alipay/src/Table/index.md b/compiled/alipay/src/Table/index.md deleted file mode 100644 index fa3c53369..000000000 --- a/compiled/alipay/src/Table/index.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' -supportPlatform: ['alipay'] ---- - -# Table 表格 - -展示行列数据。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-table": "antd-mini/es/Table/index" -#endif -#if WECHAT - "ant-table": "antd-mini/Table/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - -``` - -```js -const nameArr = [ - '小明', - '小何', - '小花', - '小美', - '小白', - '小黑', - '小帅', - '阿伟', -]; -const sexArr = ['男', '女']; -const ageArr = ['40', '18', '32', '20', '33', '48', '28', '38']; -const favoriteArr = ['羽毛球', '乒乓球', '篮球', '桌球']; -const addressArr = ['北京', '上海', '浙江', '广州']; - -function getRandomNumber(n) { - return Math.floor(Math.random() * n); -} - -Page({ - data: { - dataSource: Array.from({ length: 7 }).map((v, i) => ({ - key: i, - name: nameArr[i], - sex: sexArr[getRandomNumber(sexArr.length)], - age: ageArr[i], - extra: '测试', - favorite: favoriteArr[getRandomNumber(favoriteArr.length)], - address: addressArr[getRandomNumber(addressArr.length)], - })), - columns: [ - { - title: '姓名', - dataIndex: 'name', - key: 'name', - width: 150, - fixed: true, - }, - { - title: '年龄', - dataIndex: 'age', - key: 'age', - textAlignRight: true, - width: 150, - sorter: true, - }, - { - title: '性别', - dataIndex: 'sex', - key: 'sex', - width: 150, - }, - { - title: '爱好', - dataIndex: 'favorite', - key: 'favorite', - width: 250, - }, - { - title: '地址', - dataIndex: 'address', - key: 'address', - width: 250, - }, - ], - }, -}); -``` - -### 局部滚动 - -```xml - -``` - -### 铺满展示 - -```xml - -``` - -### 空数据插槽 - -```xml - - - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------ | ---------------------------------------------------------------------- | ------------------- | ------- | -| className | 容器 className | string | - | -| dataSource | 数据源 | any[] | - | -| columns | 表格列的配置描述 | [Column](#column)[] | - | -| displayType | 表格样式类型,默认样式会根据配置的宽度进行展示,可选 `FULL`、`DEFAULT` | string | DEFAULT | -| scrollHeight | 指定可滚动区域高度 | string | - | - -### Column - -| 属性 | 说明 | 类型 | 默认值 | -| -------------- | ---------------- | ------- | ------ | -| title | 列标题 | string | - | -| dataIndex | 列取值字段 | string | - | -| key | 列唯一标识 | string | - | -| width | 列宽度 | number | - | -| fixed | 是否固定列 | boolean | - | -| textAlignRight | 列文本是否右对齐 | boolean | - | - -## 插槽 - -| 名称 | 说明 | -| -------- | --------------------------------------------------------------------------- | -| 默认插槽 | 数据源为空插槽 | -| item | 单元格插槽(作用域插槽,对外暴露的属性 `item`、`index`、`row`、`rowIndex`) | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| --table-item-color |
#333333
|
#c5cad1
| 表项颜色 | -| --table-item-bg |
#ffffff
|
#1a1a1a
| 表项背景颜色 | -| --table-shadow-color |
rgba(5, 5, 5, 0.06)
|
rgba(5, 5, 5, 0.06)
| 表格阴影颜色 | -| --table-empty-bg |
#fff
|
#c5cad1
| 表格空状态背景颜色 | diff --git a/compiled/alipay/src/Table/index.ts b/compiled/alipay/src/Table/index.ts deleted file mode 100644 index b9a440461..000000000 --- a/compiled/alipay/src/Table/index.ts +++ /dev/null @@ -1,159 +0,0 @@ -import filter from 'lodash.filter'; -import get from 'lodash.get'; -import isEqual from 'lodash.isequal'; -import reduce from 'lodash.reduce'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; -import { RenderRuleProps, TableDefaultProps } from './props'; - -const rpx2px = (rpx, windowWidth = 375) => { - let numRpx = rpx; - if (typeof rpx === 'string' && rpx.slice(-3) === 'rpx') { - numRpx = parseFloat(rpx.slice(0, -3)); - } - const px = (numRpx / 750) * windowWidth; - return px; -}; - -const defaultWidth = 150; - -Component({ - sysInfo: Promise.resolve({} as any), - data: { - widthPx: 0, - list: [], - showFixedShadow: false, - }, - props: TableDefaultProps, - onInit() { - this.init(); - }, - didUpdate(prevProps) { - const { dataSource: prevDataSource, columns: prevColumns } = prevProps; - const { dataSource, columns } = this.props; - - if ( - !isEqual(prevDataSource, dataSource) || - !isEqual(prevColumns, columns) - ) { - this.init(); - } - }, - methods: { - async init() { - const { columns, dataSource } = this.props; - const { windowWidth } = await this.getSysInfo(); - const width = reduce( - columns, - (sum, cur) => { - return sum + cur.width; - }, - 0 - ); - const columnsData = this.renderColumns(columns, windowWidth); - const rowsData = this.renderRows(dataSource, windowWidth); - - this.setData({ - widthPx: rpx2px(width, windowWidth), - list: [...columnsData, ...rowsData], - }); - }, - renderColumns(columns, windowWidth, renderRule: RenderRuleProps = {}) { - const { key, sorterStatus } = renderRule; - return [ - { - type: 'columns', - key: 'columns_0', - value: columns.map((v) => ({ - ...v, - sorterStatus: key === v.key ? sorterStatus : 'normal', - widthPx: rpx2px(v.width || defaultWidth, windowWidth), - })), - }, - ]; - }, - renderRows(dataSource, windowWidth, renderRule: RenderRuleProps = {}) { - const { columns } = this.props; - const rowsData = dataSource.map((v, i) => { - return { - type: 'rows', - key: `rows_${i}`, - index: i, - value: columns.map((val, idx) => ({ - ...val, - key: val.key, - index: idx, - dataIndex: val.dataIndex, - value: v[val.dataIndex], - textAlignRight: v.textAlignRight || val.textAlignRight, - rowsData: v, - widthPx: rpx2px(val.width || defaultWidth, windowWidth), - fixed: val.fixed, - })), - }; - }); - - const { key, sorter, sorterStatus } = renderRule; - // 排序返回 - if (sorter && sorterStatus !== 'normal') { - return rowsData.sort((a, b) => { - const aValue = filter(a.value, { key })[0].value; - const bValue = filter(b.value, { key })[0].value; - if (sorterStatus === 'forward') { - return aValue - bValue; - } - return bValue - aValue; - }); - } - - // 默认返回 - return rowsData; - }, - async handleSort(e) { - const { columns, dataSource } = this.props; - const { key, sorter, sorterStatus } = get(e, 'target.dataset.item'); - const filterData = filter(columns, { key }); - const onSort = filterData && filterData[0] && filterData[0].onSort; - const { windowWidth } = await this.getSysInfo(); - const type2status = { - // 默认时点击就正序 - normal: 'forward', - // 正序时点击就倒序 - forward: 'reverse', - // 倒序时点击就默认 - reverse: 'normal', - }; - const renderRule = { - key, - sorter, - sorterStatus: type2status[sorterStatus], - }; - - const columnsData = this.renderColumns(columns, windowWidth, renderRule); - let rowsData = []; - if (onSort) { - const newDataSource = await onSort(renderRule.sorterStatus); - rowsData = this.renderRows(newDataSource, windowWidth); - } else { - rowsData = this.renderRows(dataSource, windowWidth, renderRule); - } - this.setData({ - list: [...columnsData, ...rowsData], - }); - }, - handleTouchMove() { - this.setData({ - showFixedShadow: true, - }); - }, - handleScrollToUpper() { - this.setData({ - showFixedShadow: false, - }); - }, - async getSysInfo() { - if (this.sysInfo) return this.sysInfo; - this.sysInfo = getSystemInfo(); - return this.sysInfo; - }, - }, -}); diff --git a/compiled/alipay/src/Table/props.ts b/compiled/alipay/src/Table/props.ts deleted file mode 100644 index 1fed3ead3..000000000 --- a/compiled/alipay/src/Table/props.ts +++ /dev/null @@ -1,18 +0,0 @@ -export interface ITableProps { - dataSource: []; // 数据源 - columns: []; // 表格列的配置描述 - scrollHeight?: string; // 可滚动高度 - displayType?: 'FULL' | 'DEFAULT'; // 布局类型 FULL:内容撑满一屏展示; DEFAULT: 默认展示,可配置左侧固定和每列的宽度等 -} - -export interface RenderRuleProps { - key?: string; - sorter?: (a: any, b: any) => number; - sorterStatus?: 'normal' | 'forward' | 'reverse'; -} - -export const TableDefaultProps: ITableProps = { - dataSource: [], - columns: [], - displayType: 'DEFAULT', -}; diff --git a/compiled/alipay/src/Table/variable.less b/compiled/alipay/src/Table/variable.less deleted file mode 100644 index 80818277a..000000000 --- a/compiled/alipay/src/Table/variable.less +++ /dev/null @@ -1,12 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@table-bottom-border-color: var( - --table-bottom-border-color, - @COLOR_BORDER_GREYCARD -); - -@table-item-color: var(--table-item-color, @COLOR_TEXT_PRIMARY); -@table-item-bg: var(--table-item-bg, @COLOR_CARD); -@table-shadow-color: var(--table-shadow-color, rgba(28, 28, 28, 0.06)); -@table-empty-bg: var(--table-empty-bg, @COLOR_CARD); diff --git a/compiled/alipay/src/Tabs/index.axml b/compiled/alipay/src/Tabs/index.axml deleted file mode 100644 index 7e0ed96c3..000000000 --- a/compiled/alipay/src/Tabs/index.axml +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - {{item.title}} - - - - - - - {{item.title}} - - - - - - - {{item.title}} - - - - - {{item.subTitle}} - - - - - - - - - - - - - - - - - - - - - - {{item.title}} - - - - - - - - - - {{items[mixin.value].content}} - - - \ No newline at end of file diff --git a/compiled/alipay/src/Tabs/index.en.md b/compiled/alipay/src/Tabs/index.en.md deleted file mode 100644 index 527275c0c..000000000 --- a/compiled/alipay/src/Tabs/index.en.md +++ /dev/null @@ -1,373 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# Tabs - -Navigate between content groups. - -- Navigate between content groups. -- The current content needs to be divided into groups of the same hierarchical structure for content switching and display, which is used at the top of the form or standard list interface. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-tabs": "antd-mini/es/Tabs/index" -#endif -#if WECHAT - "ant-tabs": "antd-mini/Tabs/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - badge: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### With content - -```xml - - - {{ item.value.content }} - - -``` - -### Capsule - -```xml - -``` - -### With subtitle - -```xml - -``` - -### With logo - -```xml - - - - {{ item.value.title }} - - {{ item.value.title }} - - -``` - -### Disable state - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - disabled: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### plus button - -```xml - - - - - -``` - -### Control mode - -```xml - -``` - -### Center Scroll After Selection - -```xml - -``` - -### Swiper - -```xml - - - - - {{ item.content }} - - - - -``` - -### Elevator mode - -- Scrolling will correspond to tab. -- Click tab to scroll to the corresponding tab title. -- The onChange will only be triggered in tab switching. In the example, the custom title onTap can scroll current tab. - - - -### ceiling - -- Sliding to the very top will suck the ceiling. -- Toggling the tab content scrolls to the very top. - -```xml - -``` - -```css -.sticky-tabs { - position: sticky; - top: -1px; - z-index: 999; -} -``` - -### Portrait mode - -```xml - - - {{ items[current].content }} - - -``` - -### Longitudinal elevator mode - - - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------- | -| className | Class Name | string | - | -| current | Selected Index | number | - | -| defaultCurrent | Selected index initial value | number | 0 | -| direction | tabs direction,`horizontal`(Horizontal) `vertical`(Vertical) | string | horizontal | -| items | option, quantity must be greater than 0 | `Item[]` | - | -| plus | Operation button slot in upper right corner;
`slot-scope` Include `value`(corresponding `Item`) `index`(corresponding `Item` index of) | slot | - | -| scrollMode | Scrolling mode, optional 'edge', 'center' | string | edge | -| style | Style | string | - | -| tabsBarClassName | tabs bar class name | string | - | -| tabClassName | tab class name | string | - | -| tabActiveClassName | tab active class name | string | - | -| title | Custom `Items` Title;
`slot-scope` Include `value`(corresponding `Item`) `index`(corresponding `Item` index of) | slot | - | -| type | Type,`basic`(basis),`capsule`(capsule),`mixin`(Mixed) | string | `basic` | -| #if ALIPAY onChange | When the panel is switched, the callback is triggered. | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | When the panel is switched, the callback is triggered. | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Item - -| Property | Description | Type | Default Value | -| ----- | ---- | ------ | ------ | -| title | Title | string | - | - -In addition to item can have `title`, you can also add custom properties, such. `content`, `badge` and so on, these properties can be used. `slot-scope` Visit: - -```js -Page({ - data: { - items: [ - { - title: 'tab 1', - content: 'tab 1 content', - }, - { - title: 'tab 2', - content: 'tab 2 content', - }, - { - title: 'tab 3', - content: 'tab 3 content', - }, - ], - }, -}); -``` - -```html - - - {{ tab.index }}:{{ tab.value.title }},{{ tab.value.content }} - - -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --tabs-basic-color |
#333333
|
#c5cad1
| Tabs Basic Colors | -| --tabs-weaken-color |
#999999
|
#616161
| Tabs Weaken Color | -| --tabs-inverse-color |
#ffffff
|
#1a1a1a
| Tabs Invert Color | -| --tabs-active-color |
#1677ff
|
#3086ff
| Tabs Activate Colors | -| --tabs-active-decorate-color |
#1677ff
|
#3086ff
| Tabs Activate Decorative Colors | -| --tabs-underline-border-color |
#eeeeee
|
#2b2b2b
| Tabs Underline Border Color | -| --tabs-plus-color |
#000000
|
#000000
| Tabs Plus Color | -| --tabs-capsule-title-bg |
#f5f5f5
|
#121212
| Tabs Capsule Title Background Color | -| --tabs-subtitle-color |
#ffffff
|
#1a1a1a
| Tabs Subtitle Color | -| --tabs-count-color |
#cccccc
|
#474747
| Tabs Count Color | - -## FAQ - -### onChange can only be triggered by modification. What do you need to do if you want to click on the trigger current label? - -can be used `slot` From the definition. - -```xml - - - {{ tab.value.title }} - - -``` - -```js -Page({ - onChange(index) { - console.log(index); - }, - onTap(e) { - const { index } = e.currentTarget.dataset; - }, -}); -``` diff --git a/compiled/alipay/src/Tabs/index.json b/compiled/alipay/src/Tabs/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/alipay/src/Tabs/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/alipay/src/Tabs/index.less b/compiled/alipay/src/Tabs/index.less deleted file mode 100644 index 5ee77badb..000000000 --- a/compiled/alipay/src/Tabs/index.less +++ /dev/null @@ -1,281 +0,0 @@ -@import (reference) './variable.less'; - -@tabsPrefix: ant-tabs; - -.@{tabsPrefix} { - width: 100%; - &-bar { - position: relative; - width: 100%; - display: flex; - align-content: stretch; - background-color: @tabs-inverse-color; - box-sizing: border-box; - &-underline { - border-bottom: @border-width-standard solid @tabs-underline-border-color; - } - &-fade { - position: absolute; - top: 0; - bottom: 0; - z-index: 9; - width: 36 * @rpx; - background-color: @tabs-inverse-color; - pointer-events: none; - &-left { - left: 0; - background: linear-gradient( - 90deg, - @tabs-subtitle-color, - hsla(0, 0%, 100%, 0) - ); - } - &-right { - right: 84 * @rpx; - background: linear-gradient( - 270deg, - @tabs-subtitle-color, - hsla(0, 0%, 100%, 0) - ); - } - transition: all 0.2s; - } - &-plus { - display: flex; - width: 72 * @rpx; - height: 72 * @rpx; - color: @tabs-plus-color; - align-self: center; - align-items: center; - justify-content: center; - overflow: hidden; - margin-right: @h-spacing-large; - order: 1; - &:empty { - display: none; - ~ .@{tabsPrefix}-bar-fade-right { - right: 0; - } - } - } - &-scroll-view { - width: 100%; - display: flex; - flex-direction: row; - justify-content: space-between; - flex-wrap: nowrap; - overflow: hidden; - will-change: auto; - &::-webkit-scrollbar { - display: none; - } - } - - // 选项卡最后两项间距控制 - &-wrap { - display: flex; - flex-shrink: 0; - - &-capsule { - flex: 1; - } - - &:nth-of-type(2) .@{tabsPrefix}-bar-capsule, - &:nth-of-type(2) .@{tabsPrefix}-bar-mixin { - margin-left: @h-spacing-large; - } - &:nth-last-of-type(2) .@{tabsPrefix}-bar-capsule, - &:nth-last-of-type(2) .@{tabsPrefix}-bar-mixin { - margin-right: @h-spacing-large; - } - } - // 选项卡的通用样式 - &-item { - display: flex; - align-items: center; - justify-content: center; - flex: 1 0 auto; - font-size: @font-size-list; - white-space: nowrap; - color: @tabs-basic-color; - .ant-badge { - width: 100%; - } - } - // 基础类型 tab 选项卡样式 - &-basic { - position: relative; - display: flex; - align-items: center; - padding: @v-spacing-standard @h-spacing-large; - box-sizing: border-box; - } - - &-basic&-active { - color: @tabs-active-color; - position: relative; - &:after { - content: ''; - position: absolute; - bottom: 0; - width: calc(100% - @h-spacing-large * 2); - height: 4 * @rpx; - overflow: hidden; - font-size: 0; - border-radius: @corner-radius-circle; - box-sizing: border-box; - background-color: @tabs-active-decorate-color; - } - } - - // 胶囊类型选项卡样式 - &-capsule { - padding: @v-spacing-large 0; - margin: 0 @h-spacing-large / 2; - box-sizing: border-box; - position: relative; - &-title { - flex: 1; - justify-content: center; - margin-right: 0; - padding: @v-spacing-standard 30 * @rpx; - font-size: 30 * @rpx; - text-align: center; - line-height: @line-height-base; - border-radius: 10vh; - background-color: @tabs-capsule-title-bg; - border-bottom: 0 none; - } - } - &-capsule&-active &-capsule-title { - color: @tabs-subtitle-color; - background-color: @tabs-active-decorate-color; - } - - // 混合类型的选项卡样式 - &-mixin { - flex-direction: column; - margin: 0 @h-spacing-standard; - padding: @v-spacing-large 0; - text-align: center; - &-title { - margin: 2 * @rpx 0; - position: relative; - } - - &-subtitle { - padding: 0 @h-spacing-standard; - font-size: @font-size-content; - line-height: @line-height-paragraph; - color: @tabs-weaken-color; - border-radius: 50vh; - background-color: @tabs-capsule-title-bg; - margin: 2 * @rpx 0; - } - } - &-mixin&-active &-mixin-title { - color: @tabs-active-color; - } - &-mixin&-active &-mixin-subtitle { - color: @tabs-subtitle-color; - background-color: @tabs-active-decorate-color; - } - // 禁用态选项卡样式 - &-disabled { - opacity: @opacity-disabled; - pointer-events: none; - cursor: not-allowed; - } - } - &-content { - overflow: hidden; - background-color: @tabs-subtitle-color; - color: @tabs-basic-color; - } -} - -@vtabsPrefix: ant-vtabs; - -.@{vtabsPrefix} { - width: 100%; - display: flex; - flex-direction: row; - &-bar { - width: 210 * @rpx; - overflow: hidden; - &-scroll-view { - display: flex; - flex-direction: column; - width: 100%; - height: 100%; - background-color: @tabs-capsule-title-bg; - &::-webkit-scrollbar { - display: none; - } - } - &-item { - position: relative; - width: 100%; - padding: @size-4 @h-spacing-large; - overflow: hidden; - display: flex; - align-items: center; - font-size: @font-size-content; - line-height: 37 * @rpx; - color: @tabs-basic-color; - background-color: @tabs-capsule-title-bg; - box-sizing: border-box; - transition: background-color 100ms linear, color 300ms linear; - &-wrap { - background-color: @tabs-inverse-color; - } - &-active { - color: @tabs-active-color; - background-color: @tabs-inverse-color; - &::after { - position: absolute; - content: ''; - top: @size-4; - bottom: @size-4; - left: 0; - width: @border-width-thick; - border-radius: @corner-radius-sm; - background-color: @tabs-active-color; - } - } - &-disabled { - pointer-events: none; - cursor: not-allowed; - .@{vtabsPrefix}-bar-item-title, - .@{vtabsPrefix}-bar-item-count { - opacity: @opacity-disabled; - } - } - &-count { - color: @tabs-count-color; - margin-left: @size-1; - } - &-icon { - padding-left: 8 * @rpx; - width: 28 * @rpx; - height: 28 * @rpx; - font-size: 26 * @rpx; - overflow: hidden; - position: relative; - top: -4 * @rpx; - display: flex; - justify-content: center; - align-items: center; - &:empty { - display: none; - } - } - } - } - &-content { - overflow: hidden; - flex: 1; - background-color: @tabs-inverse-color; - color: @tabs-basic-color; - } -} diff --git a/compiled/alipay/src/Tabs/index.md b/compiled/alipay/src/Tabs/index.md deleted file mode 100644 index b578be7c5..000000000 --- a/compiled/alipay/src/Tabs/index.md +++ /dev/null @@ -1,373 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# Tabs 标签页 - -内容组之间进行导航切换。 - -- 内容组之间进行导航切换。 -- 当前内容需要分成同层级结构的组,进行内容切换展示,用在表单或者标准列表界面的顶部。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-tabs": "antd-mini/es/Tabs/index" -#endif -#if WECHAT - "ant-tabs": "antd-mini/Tabs/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - badge: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### 带有 content - -```xml - - - {{ item.value.content }} - - -``` - -### 胶囊 - -```xml - -``` - -### 带副标题 - -```xml - -``` - -### 带徽标 - -```xml - - - - {{ item.value.title }} - - {{ item.value.title }} - - -``` - -### 禁用状态 - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - disabled: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### plus 按钮 - -```xml - - - - - -``` - -### 控制模式 - -```xml - -``` - -### 选择后居中滚动 - -```xml - -``` - -### Swiper - -```xml - - - - - {{ item.content }} - - - - -``` - -### 电梯模式 - -- 滚动会对应到 tab。 -- 点击 tab 可滚动到对应 tab title。 -- onChange 只会在 tab 切换触发,示例里自定义 title onTap 可滚动 current tab。 - - - -### 吸顶 - -- 滑动到最顶部会吸顶。 -- 切换 tab content 会滚动到最顶部。 - -```xml - -``` - -```css -.sticky-tabs { - position: sticky; - top: -1px; - z-index: 999; -} -``` - -### 纵向模式 - -```xml - - - {{ items[current].content }} - - -``` - -### 纵向电梯模式 - - - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------- | -| className | 类名 | string | - | -| current | 选中索引 | number | - | -| defaultCurrent | 选中索引初始值 | number | 0 | -| direction | tabs 方向,`horizontal`(水平) `vertical`(垂直) | string | horizontal | -| items | 选项,数量必须大于 0 | `Item[]` | - | -| plus | 右上角操作按钮插槽;
`slot-scope` 包括 `value`(对应 `Item`) `index`(对应 `Item` 的索引) | slot | - | -| scrollMode | 滚动方式,可选 'edge', 'center' | string | edge | -| style | 样式 | string | - | -| tabsBarClassName | tabs bar 类名 | string | - | -| tabClassName | tab 类名 | string | - | -| tabActiveClassName | tab active 类名 | string | - | -| title | 自定义 `Items` 标题;
`slot-scope` 包括 `value`(对应 `Item`) `index`(对应 `Item` 的索引) | slot | - | -| type | 类型,`basic`(基础),`capsule`(胶囊),`mixin`(混合) | string | `basic` | -| #if ALIPAY onChange | 面板切换时候,触发回调 | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 面板切换时候,触发回调 | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Item - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | ---- | ------ | ------ | -| title | 标题 | string | - | - -在 Item 里除了可以有 `title`,还可以加上自定义的属性,比如 `content`, `badge` 等,这些属性可使用 `slot-scope` 访问: - -```js -Page({ - data: { - items: [ - { - title: 'tab 1', - content: 'tab 1 content', - }, - { - title: 'tab 2', - content: 'tab 2 content', - }, - { - title: 'tab 3', - content: 'tab 3 content', - }, - ], - }, -}); -``` - -```html - - - {{ tab.index }}:{{ tab.value.title }},{{ tab.value.content }} - - -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --tabs-basic-color |
#333333
|
#c5cad1
| Tabs 基本颜色 | -| --tabs-weaken-color |
#999999
|
#616161
| Tabs 弱化颜色 | -| --tabs-inverse-color |
#ffffff
|
#1a1a1a
| Tabs 反转色 | -| --tabs-active-color |
#1677ff
|
#3086ff
| Tabs 激活颜色 | -| --tabs-active-decorate-color |
#1677ff
|
#3086ff
| Tabs 激活装饰颜色 | -| --tabs-underline-border-color |
#eeeeee
|
#2b2b2b
| Tabs 下划线边框颜色 | -| --tabs-plus-color |
#000000
|
#000000
| Tabs 加号颜色 | -| --tabs-capsule-title-bg |
#f5f5f5
|
#121212
| Tabs 胶囊标题背景色 | -| --tabs-subtitle-color |
#ffffff
|
#1a1a1a
| Tabs 副标题颜色 | -| --tabs-count-color |
#cccccc
|
#474747
| Tabs 计数颜色 | - -## FAQ - -### onChange 只有修改才能触发,想要在触发 current 标签的点击需要怎么做 - -可以使用 `slot` 来自定义。 - -```xml - - - {{ tab.value.title }} - - -``` - -```js -Page({ - onChange(index) { - console.log(index); - }, - onTap(e) { - const { index } = e.currentTarget.dataset; - }, -}); -``` diff --git a/compiled/alipay/src/Tabs/index.ts b/compiled/alipay/src/Tabs/index.ts deleted file mode 100644 index 29dfe9f87..000000000 --- a/compiled/alipay/src/Tabs/index.ts +++ /dev/null @@ -1,162 +0,0 @@ -import createValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { TabsDefaultProps } from './props'; - -Component( - TabsDefaultProps, - { - getInstance() { - if (this.$id) { - return my; - } - return this; - }, - get$Id() { - return this.$id ? `-${this.$id}` : ''; - }, - async getBoundingClientRect(query: string) { - return await getInstanceBoundingClientRect(this.getInstance(), query); - }, - async updateFade() { - this.setData({ - leftFade: !!this.scrollLeft, - }); - const items = getValueFromProps(this, 'items'); - const [view, item] = await Promise.all([ - this.getBoundingClientRect(`#ant-tabs-bar-scroll-view${this.get$Id()}`), - this.getBoundingClientRect( - `#ant-tabs-bar-item${this.get$Id()}-${items.length - 1}` - ), - ]); - if (!item || !view) { - return; - } - this.setData({ - rightFade: item.left + item.width / 2 > view.width, - }); - }, - async updateScroll() { - const current = this.getValue(); - const [view, item] = await Promise.all([ - this.getBoundingClientRect(`#ant-tabs-bar-scroll-view${this.get$Id()}`), - this.getBoundingClientRect( - `#ant-tabs-bar-item${this.get$Id()}-${current}` - ), - ]); - - if (!view || !item) { - return; - } - - const [direction, scrollMode] = getValueFromProps(this, [ - 'direction', - 'scrollMode', - ]); - if (direction === 'vertical') { - let scrollTop = this.scrollTop || 0; - let needScroll = false; - if (scrollMode === 'center') { - needScroll = true; - scrollTop += - item.top - view.top - Math.max((view.height - item.height) / 2, 0); - } else { - const distance = item.top - view.top; - if (distance < 0) { - scrollTop += distance; - needScroll = true; - } else if (distance + item.height > view.height) { - scrollTop += Math.min( - distance + item.height - view.height, - distance - ); - needScroll = true; - } - } - if (needScroll) { - if (scrollTop === this.data.scrollTop) { - scrollTop += Math.random(); - } - this.setData({ - scrollTop, - }); - } - return; - } - let scrollLeft = this.scrollLeft || 0; - let needScroll = false; - if (scrollMode === 'center') { - needScroll = true; - scrollLeft += - item.left - view.left - Math.max((view.width - item.width) / 2, 0); - } else { - const distance = item.left - view.left; - if (distance < 0) { - scrollLeft += distance; - needScroll = true; - } else if (distance + item.width > view.width) { - scrollLeft += Math.min(distance + item.width - view.width, distance); - needScroll = true; - } - } - if (needScroll) { - if (scrollLeft === this.data.scrollLeft) { - scrollLeft += Math.random(); - } - this.setData({ - scrollLeft, - }); - this.updateFade(); - } - }, - async onScroll(e) { - const direction = getValueFromProps(this, 'direction'); - if (direction === 'vertical') { - this.scrollTop = e.detail.scrollTop; - return; - } - this.scrollLeft = e.detail.scrollLeft; - this.updateFade(); - }, - onChange(e) { - const index = parseInt(e.currentTarget.dataset.index, 10); - const items = getValueFromProps(this, 'items'); - if (items[index].disabled) { - return; - } - if (this.getValue() === index) { - return; - } - if (!this.isControlled()) { - this.update(index); - } - - triggerEvent(this, 'change', index, e); - }, - }, - { - scrollLeft: 0, - scrollTop: 0, - leftFade: false, - rightFade: false, - }, - [ - createValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - }), - ], - { - scrollLeft: 0, - scrollTop: 0, - didMount() { - this.updateScroll(); - }, - didUpdate(prevProps, prevData) { - const items = getValueFromProps(this, 'items'); - if (prevProps.items !== items || !this.isEqualValue(prevData)) { - this.updateScroll(); - } - }, - } -); diff --git a/compiled/alipay/src/Tabs/props.ts b/compiled/alipay/src/Tabs/props.ts deleted file mode 100644 index 7bb52cd9b..000000000 --- a/compiled/alipay/src/Tabs/props.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { IBaseProps } from '../_util/base'; - -export interface ITabsProps extends IBaseProps { - /** - * @description 类型,basic(基础),capsule(胶囊),mixin(混合) - * @default "basic" - */ - type: 'basic' | 'capsule' | 'mixin'; - - /** - * @description tabs方向 - */ - direction: 'horizontal' | 'vertical'; - - /** - * @description tab 切换时的回调 - */ - onChange: (index: number, e: Record) => void; - - /** - * @description 选项 - */ - current: number; - - /** - * @description 列表 - */ - items: { - title: string; - content: string; - disabled?: boolean; - subTitle?: string; - }[]; - - /** - * 选项初始值 - */ - defaultCurrent: number; - - /** - * 滚动方式,direction为horizontal生效 - */ - scrollMode: 'edge' | 'center'; - - /** - * @description tabs bar类名 - */ - tabsBarClassName?: string; - /** - * @description tab类名 - */ - tabClassName?: string; - - /** - *@description tab active类名 - */ - tabActiveClassName?: string; -} - -export const TabsDefaultProps: Partial = { - type: 'basic', - direction: 'horizontal', - current: null, - defaultCurrent: 0, - items: [], - scrollMode: 'edge', - tabsBarClassName: '', - tabActiveClassName: '', - tabClassName: '', -}; diff --git a/compiled/alipay/src/Tabs/variable.less b/compiled/alipay/src/Tabs/variable.less deleted file mode 100644 index e0ffd28a0..000000000 --- a/compiled/alipay/src/Tabs/variable.less +++ /dev/null @@ -1,15 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@tabs-basic-color: var(--tabs-basic-color, @COLOR_TEXT_PRIMARY); -@tabs-weaken-color: var(--tabs-weaken-color, @COLOR_TEXT_ASSIST); -@tabs-inverse-color: var(--tabs-inverse-color, @COLOR_CARD); -@tabs-active-color: var(--tabs-active-color, @COLOR_BRAND1); -@tabs-active-decorate-color: var(--tabs-active-decorate-color, @COLOR_BRAND1); -@tabs-underline-border-color: var(--tabs-underline-border-color, @COLOR_BORDER); -@tabs-plus-color: var(--tabs-plus-color, @COLOR_BLACK_CHANGE); -@tabs-capsule-title-bg: var(--tabs-capsule-title-bg, @COLOR_GREY_CARD); -@tabs-subtitle-color: var(--tabs-subtitle-color, @COLOR_WHITE_CHANGE); -@tabs-count-color: var(--tabs-count-color, @COLOR_TEXT_WEAK); - -@tabs-badge-size: var(--tabs-badge-size, @sizeFont4); diff --git a/compiled/alipay/src/Tag/index.axml b/compiled/alipay/src/Tag/index.axml deleted file mode 100644 index ffbeddd3b..000000000 --- a/compiled/alipay/src/Tag/index.axml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Tag/index.en.md b/compiled/alipay/src/Tag/index.en.md deleted file mode 100644 index 89020a1d8..000000000 --- a/compiled/alipay/src/Tag/index.en.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Tag - -Small labels for labeling and classification. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-tag": "antd-mini/es/Tag/index" -#endif -#if WECHAT - "ant-tag": "antd-mini/Tag/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml -Label -``` - -### semantic label - -```xml -default -success -warning -danger -``` - -### Fill mode - -```xml -fill -outline -fill-light -``` - -### Custom icon - -```xml -Label -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------------- | ------------ | --------- | -| className | Class Name | string | - | -| color | Label color, built-in `primary`(blue),`success`(Green),`warning`(yellow),`danger`(Red) | string | `primary` | -| icon | Icon, support Icon type and slot | string\|slot | - | -| style | Style | string | - | -| type | type, optional `outline`、`fill`、`fill-light` | string | `fill` | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -------------------- | -| --tag-primary-color |
#1677ff
|
#3086ff
| Primary Label Color | -| --tag-warning-color |
#ff6430
|
#e65a2b
| Warning Label Color | -| --tag-danger-color |
#ff3141
|
#ff4a58
| Hazard label color | -| --tag-success-color |
#22b35e
|
#34b368
| Success Label Color | -| --tag-primary-light-color |
#e7f1ff
|
#0d2543
| Main label light | -| --tag-warning-light-color |
#ffefdf
|
#ffefdf
| Warning label light color | -| --tag-danger-light-color |
#ffece3
|
#ffece3
| Hazard label light color | -| --tag-success-light-color |
#d4fff1
|
#d4fff1
| Success Label Light | -| --tag-base-color |
#ffffff
|
#ffffff
| Base Label Color | -| --tag-primary-color-faded |
rgba(22, 119, 255, 0.3)
|
rgba(22, 119, 255, 0.3)
| Main label color (faded) | -| --tag-warning-color-faded |
rgba(255, 100, 48, 0.7)
|
rgba(255, 100, 48, 0.7)
| Warning label color (faded) | -| --tag-danger-color-faded |
rgba(255, 49, 65, 0.7)
|
rgba(255, 49, 65, 0.7)
| Hazard label color (faded) | -| --tag-success-color-faded |
rgba(34, 179, 94, 0.7)
|
rgba(34, 179, 94, 0.7)
| Success Label Color (Faded) | diff --git a/compiled/alipay/src/Tag/index.json b/compiled/alipay/src/Tag/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Tag/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Tag/index.less b/compiled/alipay/src/Tag/index.less deleted file mode 100644 index 8de352d27..000000000 --- a/compiled/alipay/src/Tag/index.less +++ /dev/null @@ -1,84 +0,0 @@ -@import '../style/mixins/hairline.less'; -@import (reference) './variable.less'; - -@tagPrefix: ant-tag; - -.@{tagPrefix} { - position: relative; - display: inline-flex; - align-items: center; - padding: 2 * @rpx 8 * @rpx; - font-size: 22 * @rpx; - line-height: 30 * @rpx; - box-sizing: border-box; - border-radius: @corner-radius-sm; - color: @tag-base-color; - &-icon-container { - margin-right: 6 * @rpx; - display: flex; - justify-content: center; - align-self: center; - align-items: center; - - .ant-icon { - font-size: 24 * @rpx; - } - } - &-primary { - background-color: @tag-primary-color; - &.@{tagPrefix}-fill-light { - color: @tag-primary-color; - background-color: @tag-primary-light-color; - } - &.@{tagPrefix}-outline { - color: @tag-primary-color; - border-color: @tag-primary-color-faded; - } - } - &-warning { - background-color: @tag-warning-color; - &.@{tagPrefix}-fill-light { - color: @tag-warning-color; - background-color: @tag-warning-light-color; - } - &.@{tagPrefix}-outline { - color: @tag-warning-color; - border-color: @tag-warning-color-faded; - } - } - &-danger { - background-color: @tag-danger-color; - &.@{tagPrefix}-fill-light { - color: @tag-danger-color; - background-color: @tag-danger-light-color; - } - &.@{tagPrefix}-outline { - color: @tag-danger-color; - border-color: @tag-danger-color-faded; - } - } - &-success { - background-color: @tag-success-color; - &.@{tagPrefix}-fill-light { - color: @tag-success-color; - background-color: @tag-success-light-color; - } - &.@{tagPrefix}-outline { - color: @tag-success-color; - border-color: @tag-success-color-faded; - } - } - &-image { - background-color: rgb(0 0 0 / 50%); - } - &-outline { - border-width: 2rpx; - border-style: solid; - background-color: @tag-base-color; - } - &-content { - display: flex; - justify-content: center; - align-items: center; - } -} diff --git a/compiled/alipay/src/Tag/index.md b/compiled/alipay/src/Tag/index.md deleted file mode 100644 index 7bb58665e..000000000 --- a/compiled/alipay/src/Tag/index.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Tag 标签 - -用于标记和分类的小标签。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-tag": "antd-mini/es/Tag/index" -#endif -#if WECHAT - "ant-tag": "antd-mini/Tag/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml -标签 -``` - -### 语义标签 - -```xml -default -success -warning -danger -``` - -### 填充模式 - -```xml -fill -outline -fill-light -``` - -### 自定义图标 - -```xml -标签 -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------------- | ------------ | --------- | -| className | 类名 | string | - | -| color | 标签颜色,内建 `primary`(蓝色)、`success`(绿色)、`warning`(黄色)、`danger`(红色) | string | `primary` | -| icon | 图标,支持 Icon 类型和插槽 | string\|slot | - | -| style | 样式 | string | - | -| type | 类型,可选 `outline`、`fill`、`fill-light` | string | `fill` | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -------------------- | -| --tag-primary-color |
#1677ff
|
#3086ff
| 主要标签颜色 | -| --tag-warning-color |
#ff6430
|
#e65a2b
| 警告标签颜色 | -| --tag-danger-color |
#ff3141
|
#ff4a58
| 危险标签颜色 | -| --tag-success-color |
#22b35e
|
#34b368
| 成功标签颜色 | -| --tag-primary-light-color |
#e7f1ff
|
#0d2543
| 主要标签浅色 | -| --tag-warning-light-color |
#ffefdf
|
#ffefdf
| 警告标签浅色 | -| --tag-danger-light-color |
#ffece3
|
#ffece3
| 危险标签浅色 | -| --tag-success-light-color |
#d4fff1
|
#d4fff1
| 成功标签浅色 | -| --tag-base-color |
#ffffff
|
#ffffff
| 基础标签颜色 | -| --tag-primary-color-faded |
rgba(22, 119, 255, 0.3)
|
rgba(22, 119, 255, 0.3)
| 主要标签颜色(褪色) | -| --tag-warning-color-faded |
rgba(255, 100, 48, 0.7)
|
rgba(255, 100, 48, 0.7)
| 警告标签颜色(褪色) | -| --tag-danger-color-faded |
rgba(255, 49, 65, 0.7)
|
rgba(255, 49, 65, 0.7)
| 危险标签颜色(褪色) | -| --tag-success-color-faded |
rgba(34, 179, 94, 0.7)
|
rgba(34, 179, 94, 0.7)
| 成功标签颜色(褪色) | diff --git a/compiled/alipay/src/Tag/index.ts b/compiled/alipay/src/Tag/index.ts deleted file mode 100644 index 5f6d9234e..000000000 --- a/compiled/alipay/src/Tag/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TagDefaultProps } from './props'; -import '../_util/assert-component2'; - -Component({ - props: TagDefaultProps, -}); diff --git a/compiled/alipay/src/Tag/props.ts b/compiled/alipay/src/Tag/props.ts deleted file mode 100644 index 589dd6ce5..000000000 --- a/compiled/alipay/src/Tag/props.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { IBaseProps, IconType } from '../_util/base'; -/** - * @description 标签,突出利益点、以及属性说明。 - */ - -export interface ITagProps extends IBaseProps { - /** - * @description 类型 - * @default "fill" - */ - type?: 'outline' | 'fill' | 'fill-light'; - /** - * @description 标签颜色, 内建 primary(蓝), success(绿), warning(黄), danger(红) - * @default "primary" - */ - - color?: 'image' | 'primary' | 'success' | 'warning' | 'danger'; - /** - * @description 图标 - */ - - icon?: IconType; -} - -export const TagDefaultProps: Partial = { - type: 'fill', - color: 'primary', -}; diff --git a/compiled/alipay/src/Tag/variable.less b/compiled/alipay/src/Tag/variable.less deleted file mode 100644 index 9b9c24473..000000000 --- a/compiled/alipay/src/Tag/variable.less +++ /dev/null @@ -1,26 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -// 四种颜色可根据实际情况结合去使用 -// 四种深色颜色 -@tag-primary-color: var(--tag-primary-color, @COLOR_BRAND1); -@tag-warning-color: var(--tag-warning-color, @COLOR_ORANGE); -@tag-danger-color: var(--tag-danger-color, @COLOR_RED); -@tag-success-color: var(--tag-success-color, @COLOR_GREEN); - -// 四种浅色的颜色 -@tag-primary-light-color: var(--tag-primary-light-color, @COLOR_WATHET); -@tag-warning-light-color: var(--tag-warning-light-color, @COLOR_ORANGE_2); -@tag-danger-light-color: var(--tag-danger-light-color, @COLOR_TANGERINE_2); -@tag-success-light-color: var(--tag-success-light-color, @COLOR_POMONAGREEN_2); - -// 白色 -@tag-base-color: var(--tag-base-color, @COLOR_WHITE); - -@tag-primary-color-faded: var(--tag-primary-color-faded, @COLOR_BRAND1_FADED_3); - -@tag-warning-color-faded: var(--tag-warning-color-faded, @COLOR_ORANG_FADED); - -@tag-danger-color-faded: var(--tag-danger-color-faded, @COLOR_RED_FADED); - -@tag-success-color-faded: var(--tag-success-color-faded, @COLOR_GREEN_FADED); diff --git a/compiled/alipay/src/Toast/index.axml b/compiled/alipay/src/Toast/index.axml deleted file mode 100644 index fc3dbf65e..000000000 --- a/compiled/alipay/src/Toast/index.axml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - {{content.substring(0, 24)}} - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Toast/index.en.md b/compiled/alipay/src/Toast/index.en.md deleted file mode 100644 index 633473b5f..000000000 --- a/compiled/alipay/src/Toast/index.en.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 14 -toc: 'content' ---- - -# Toast - -Lightweight feedback on the results of the operation, without user action can disappear. The longest copy can be no more than 2 lines and can display up to 24 characters. If the copy is too long, it will be truncated. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-toast": "antd-mini/es/Toast/index" -#endif -#if WECHAT - "ant-toast": "antd-mini/Toast/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - toastShow: true, - }, - handleCloseToast(e) { - this.setData({ - toastShow: false, - }); - }, -}); -``` - -### Icon type - -> Incoming `type` property, you can use the built-in icon, optional `success`、`error`、`warning`、`loading`. Support `icon` property specifies [ant-icon](/components/icon) type, also supports `image` Property to customize the image. - -```xml - - - - - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------- | ----------------------------------------------------------------- | ----------- | ------ | -| className | Component root node class name | string | - | -| content | Text content | string | - | -| duration | Duration, does not automatically close when 0 | number | 2000 | -| maskCloseable | Click whether the mask is closed | boolean | false | -| icon | Icon, supports all types of Icon components | string | - | -| image | Picture Link | string | - | -| maskStyle | Mat Style | string | - | -| showMask | Whether to show the layer | boolean | false | -| style | Style | string | - | -| type | Built-in icon type, optional `success` `error` `warning` `loading` `alipay` | string | - | -| textType | Text type, optional `short` `long`the short type has a larger fillet | string | `long` | -| visible | Whether to hide | boolean | false | -| #if ALIPAY onClose | Callback after Toast is closed | (e) => void | - | -| #if WECHAT bind:close | Callback after Toast is closed | (e) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------ | -| --toast-default-bg |
rgba(0, 0, 0, 0.75)
|
rgba(0, 0, 0, 0.75)
| Toast Default Background Color | -| --toast-default-color |
#ffffff
|
#ffffff
| Toast default text color | diff --git a/compiled/alipay/src/Toast/index.json b/compiled/alipay/src/Toast/index.json deleted file mode 100644 index 09e719032..000000000 --- a/compiled/alipay/src/Toast/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "am-icon": "../Icon/index", - "ant-mask": "../Mask/index", - "loading": "../Loading/index" - } -} diff --git a/compiled/alipay/src/Toast/index.less b/compiled/alipay/src/Toast/index.less deleted file mode 100644 index b27698028..000000000 --- a/compiled/alipay/src/Toast/index.less +++ /dev/null @@ -1,93 +0,0 @@ -@import (reference) './variable.less'; - -@toastPrefix: ant-toast; - -.@{toastPrefix} { - color: @toast-default-color; - position: fixed; - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - z-index: 999; - padding: 24 * @rpx 32 * @rpx; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - background: @toast-default-bg; - border-radius: 24 * @rpx; - - &-icon, - &-image, - &-normal { - margin-bottom: 24 * @rpx; - } - - &-normal { - height: 80 * @rpx; - } - - &-text-long { - border-radius: 24 * @rpx; - } - - &-text-short { - border-radius: 50vh; - } - - &-icon { - display: flex; - justify-content: center; - align-items: center; - font-size: 100 * @rpx; - &.ant-icon { - color: @toast-default-color; - } - } - - &-image, - &-icon { - width: 80 * @rpx; - height: 80 * @rpx; - background-size: contain; - background-repeat: no-repeat; - } - - &-text { - &-body { - display: flex; - max-width: 380 * @rpx; - max-height: 84 * @rpx; - justify-content: center; - } - - &-box { - min-width: 0; - max-height: 84 * @rpx; - } - - &-content { - font-size: 28 * @rpx; - line-height: 40 * @rpx; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - } - } - - &-icon-wrapper { - width: 240 * @rpx; - height: 240 * @rpx; - border-radius: 32 * @rpx; - padding: 0; - - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - } - - &-mask { - z-index: 998; - } -} diff --git a/compiled/alipay/src/Toast/index.md b/compiled/alipay/src/Toast/index.md deleted file mode 100644 index c865bc1e0..000000000 --- a/compiled/alipay/src/Toast/index.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 14 -toc: 'content' ---- - -# Toast 轻提示 - -对操作结果的轻量级反馈,无需用户操作即可自行消失。最长文案不超过 2 行,最多可以显示 24 个字符,文案过长会被截断。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-toast": "antd-mini/es/Toast/index" -#endif -#if WECHAT - "ant-toast": "antd-mini/Toast/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - toastShow: true, - }, - handleCloseToast(e) { - this.setData({ - toastShow: false, - }); - }, -}); -``` - -### 图标类型 - -> 传入 `type` 属性,可以使用内置图标,可选 `success`、`error`、`warning`、`loading`。支持 `icon` 属性指定 [ant-icon](/components/icon) 类型,还支持 `image` 属性自定义图片。 - -```xml - - - - - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------- | ----------------------------------------------------------------- | ----------- | ------ | -| className | 组件根节点类名 | string | - | -| content | 文本内容 | string | - | -| duration | 持续时间,为 0 时不会自动关闭 | number | 2000 | -| maskCloseable | 点击蒙层是否关闭 | boolean | false | -| icon | 图标,支持 Icon 组件所有 type | string | - | -| image | 图片链接 | string | - | -| maskStyle | 蒙层样式 | string | - | -| showMask | 是否展示蒙层 | boolean | false | -| style | 样式 | string | - | -| type | 内置图标类型,可选 `success` `error` `warning` `loading` `alipay` | string | - | -| textType | 文字类型,可选 `short` `long`,short 类型的圆角更大 | string | `long` | -| visible | 是否隐藏 | boolean | false | -| #if ALIPAY onClose | Toast 关闭后的回调 | (e) => void | - | -| #if WECHAT bind:close | Toast 关闭后的回调 | (e) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------ | -| --toast-default-bg |
rgba(0, 0, 0, 0.75)
|
rgba(0, 0, 0, 0.75)
| Toast 默认背景颜色 | -| --toast-default-color |
#ffffff
|
#ffffff
| Toast 默认文字颜色 | diff --git a/compiled/alipay/src/Toast/index.ts b/compiled/alipay/src/Toast/index.ts deleted file mode 100644 index 66ac53a34..000000000 --- a/compiled/alipay/src/Toast/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { - Component, - triggerEventOnly, - getValueFromProps, -} from '../_util/simply'; -import { ToastDefaultProps } from './props'; - -Component( - ToastDefaultProps, - { - closeMask() { - if (this.timer) { - clearTimeout(this.timer); - } - this.setData({ show: false }); - this.timer = null; - triggerEventOnly(this, 'close'); - }, - handleShowToast() { - this.setData({ show: true }); - - const duration = getValueFromProps(this, 'duration'); - if (duration > 0) { - const timer = setTimeout(() => { - this.closeMask(); - }, duration); - this.timer = timer; - } - }, - handleClickMask() { - const [showMask, maskCloseable] = getValueFromProps(this, [ - 'showMask', - 'maskCloseable', - ]); - if (showMask && maskCloseable) { - this.closeMask(); - } - }, - }, - { - show: false, - }, - undefined, - { - timer: null, - - didUpdate(prev) { - const visible = getValueFromProps(this, 'visible'); - if (!prev.visible && visible) { - this.handleShowToast(); - } else if (!visible && this.data.show) { - this.closeMask(); - } - }, - didMount() { - const visible = getValueFromProps(this, 'visible'); - if (visible) { - this.handleShowToast(); - } - }, - - } -); diff --git a/compiled/alipay/src/Toast/props.ts b/compiled/alipay/src/Toast/props.ts deleted file mode 100644 index 4163f4c51..000000000 --- a/compiled/alipay/src/Toast/props.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { IBaseProps, IconType } from '../_util/base'; -/** - * @description 标签,突出利益点、以及属性说明。 - */ - -type EnumToastType = 'success' | 'warning' | 'error' | 'loading' | 'alipay'; - -/** - * @description Toast 文字类型,short类型的圆角更大 - */ -type EnumTextType = 'short' | 'long'; - -export interface IToastProps extends IBaseProps { - /** - * @description Toast 完全关闭后的回调 - */ - onClose: (e) => void; - /** - * @description Toast 文本内容 - */ - content: string; - /** - * @description Toast 图标 - */ - icon: IconType; - /** - * @description Toast 图片,与 icon 互斥,优先展示 icon - */ - image: string; - /** - * @description Toast 持续时间 - * @default 2000 - */ - duration: number; - /** - * @description 是否展示 Toast - */ - visible: boolean; - /** - * @description 是否展示蒙层 - */ - showMask: boolean; - /** - * @description 点击蒙层是否隐藏 Toast - */ - maskCloseable: boolean; - maskStyle: string; - /** - * @description 点击蒙层是否隐藏 Toast - */ - type: EnumToastType; - textType: EnumTextType; -} - -export const ToastDefaultProps: Partial = { - content: null, - icon: null, - image: null, - duration: 2000, - visible: false, - showMask: false, - maskCloseable: false, - maskStyle: '', - type: null, - textType: 'long', -}; diff --git a/compiled/alipay/src/Toast/variable.less b/compiled/alipay/src/Toast/variable.less deleted file mode 100644 index 0debbc4bc..000000000 --- a/compiled/alipay/src/Toast/variable.less +++ /dev/null @@ -1,6 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@toast-default-color: var(--toast-default-color, @COLOR_WHITE); - -@toast-default-bg: var(--toast-default-bg, rgba(0, 0, 0, 0.75)); diff --git a/compiled/alipay/src/Typography/index.axml b/compiled/alipay/src/Typography/index.axml deleted file mode 100644 index d5a9ebb60..000000000 --- a/compiled/alipay/src/Typography/index.axml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - {{text}} - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Typography/index.en.md b/compiled/alipay/src/Typography/index.en.md deleted file mode 100644 index 727184420..000000000 --- a/compiled/alipay/src/Typography/index.en.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: content ---- - -# Typography - -- It is used when a piece of text needs to be displayed. It supports ellipsis and is compatible with bold on different platforms. -- It can be used when action point operation buttons with icons are required. - -## Precautions - -- `icon` properties can support `Icon` Components `type` property, you can also pass in the link address of the icon directly. -- In disabled mode, you can pass in `onDisabledTap` Event, used to listen for the user's click on the text in the disabled state. - -## Code example - -### Basic Usage - - - -## Property - -| Property | Description | Type | Default Value | -| --------------------------- | ------------------------------------------------------------------- | ------------------------------ | -------- | -| text | Text content | string | - | -| iconPosition | Icon Location | `left` \| `right` | `right` | -| icon | Icon, you can support the type attribute of the Icon component, or you can directly pass in the link address of the icon. | IconType \| string | '' | -| className | Style Class | string | - | -| activeClassName | Click to activate the style class. | string | - | -| style | Style | string | - | -| disabled | Disable | boolean | false | -| selectable | Can be selected | boolean | false | -| fontWeight | Heavy characters, compatible with iOS and Android platforms | `normal` \| `medium` \| `bold` | `normal` | -| lineThrough | Add Strikethrough Style | boolean | false | -| underline | Add Underline Style | boolean | false | -| ellipsisRow | Multiple lines are omitted, and the value must be greater than or equal to 1, which is consistent with the-webkit-line-clamp attribute of css. | number | - | -| #if ALIPAY onTap | Click the button to trigger this callback | (e: Event) => void | - | -| #if ALIPAY catchTap | Click the button to trigger this callback, non-bubbling | (e: Event) => void | - | -| #if ALIPAY onDisabledTap | In the disabled state, click the button to trigger this callback | (e: Event) => void | - | -| #if WECHAT bind:tap | Click the button to trigger this callback | (e: Event) => void | - | -| #if WECHAT bind:disabledtap | In the disabled state, click the button to trigger this callback | (e: Event) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --typography-container-color |
#333333
|
#c5cad1
| typography container color | diff --git a/compiled/alipay/src/Typography/index.json b/compiled/alipay/src/Typography/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/alipay/src/Typography/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/alipay/src/Typography/index.less b/compiled/alipay/src/Typography/index.less deleted file mode 100644 index 01f5df4c3..000000000 --- a/compiled/alipay/src/Typography/index.less +++ /dev/null @@ -1,61 +0,0 @@ -@import (reference) './variable.less'; - -@tabsPrefix: ant-typography; - -.@{tabsPrefix} { - &-container { - font-size: 28 * @rpx; - display: flex; - align-items: center; - width: fit-content; - color: @typography-container-color; - .@{tabsPrefix} { - &-text { - line-height: @default-line-height; - - &.lineThrough { - text-decoration: line-through; - } - &.underline { - text-decoration: underline; - text-decoration-skip-ink: auto; - } - - &-normal { - font-family: PingFangSC-Regular; - } - - &-medium { - font-family: PingFangSC-Medium; - } - - &-bold { - font-family: PingFangSC-SemiBold; - } - } - &-icon { - &-container { - display: flex; - align-items: center; - &.left { - margin-right: @size-1; - } - &.right { - margin-left: @size-1; - } - } - &-image { - display: block; - } - } - } - } - - &-disabled { - opacity: @opacity-disabled; - } - - &-hover { - opacity: @opacity-disabled; - } -} diff --git a/compiled/alipay/src/Typography/index.md b/compiled/alipay/src/Typography/index.md deleted file mode 100644 index b8b73c778..000000000 --- a/compiled/alipay/src/Typography/index.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: content ---- - -# Typography 排版 - -- 需要对一段文本进行展示时使用,支持省略,兼容不同平台的加粗等。 -- 当需要带图标的行动点操作按钮时可以使用。 - -## 注意事项 - -- `icon` 属性可以支持 `Icon` 组件的 `type` 属性,也可以直接传入图标的链接地址。 -- 禁用模式下,可以传入 `onDisabledTap` 事件,用于监听禁用状态下,用户对文本的点击。 - -## 代码示例 - -### 基础用法 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | ------------------------------------------------------------------- | ------------------------------ | -------- | -| text | 文本内容 | string | - | -| iconPosition | 图标位置 | `left` \| `right` | `right` | -| icon | 图标,可以支持 Icon 组件的 type 属性,也可以直接传入图标的链接地址 | IconType \| string | '' | -| className | 样式类 | string | - | -| activeClassName | 点击是激活态样式类 | string | - | -| style | 样式 | string | - | -| disabled | 是否禁用 | boolean | false | -| selectable | 是否可被选中 | boolean | false | -| fontWeight | 字重,兼容 iOS、Android 平台的加粗效果 | `normal` \| `medium` \| `bold` | `normal` | -| lineThrough | 添加删除线样式 | boolean | false | -| underline | 添加下划线样式 | boolean | false | -| ellipsisRow | 多行省略,值须大于等于 1,表现同 css 的 -webkit-line-clamp 属性一致 | number | - | -| #if ALIPAY onTap | 点击按钮,触发此回调 | (e: Event) => void | - | -| #if ALIPAY catchTap | 点击按钮,触发此回调,非冒泡 | (e: Event) => void | - | -| #if ALIPAY onDisabledTap | 禁用状态下,点击按钮,触发此回调 | (e: Event) => void | - | -| #if WECHAT bind:tap | 点击按钮,触发此回调 | (e: Event) => void | - | -| #if WECHAT bind:disabledtap | 禁用状态下,点击按钮,触发此回调 | (e: Event) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --typography-container-color |
#333333
|
#c5cad1
| 排版容器颜色 | diff --git a/compiled/alipay/src/Typography/index.sjs b/compiled/alipay/src/Typography/index.sjs deleted file mode 100644 index 991376c05..000000000 --- a/compiled/alipay/src/Typography/index.sjs +++ /dev/null @@ -1,28 +0,0 @@ -function isUrl(string) { - return !!(string.indexOf('http://') === 0 || string.indexOf('https://') === 0); -} -function getFontWeight(fontWeight, phonemodel) { - var type2weight = { - normal: { - Android: 'normal', - iOS: 'normal' - }, - medium: { - Android: 'bold', - iOS: '500' - }, - bold: { - Android: 'bold', - iOS: 'bold' - } - }; - return (type2weight[fontWeight] || type2weight['normal'])[phonemodel]; -} -function isiOS(phonemodel) { - return phonemodel === 'iOS'; -} -export default { - isUrl: isUrl, - getFontWeight: getFontWeight, - isiOS: isiOS -}; \ No newline at end of file diff --git a/compiled/alipay/src/Typography/index.ts b/compiled/alipay/src/Typography/index.ts deleted file mode 100644 index fd75e4a9f..000000000 --- a/compiled/alipay/src/Typography/index.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { - Component, - getValueFromProps, - triggerCatchEvent, - triggerEventOnly, -} from '../_util/simply'; -import { TypographyDefaultProps } from './props'; - -Component( - TypographyDefaultProps, - { - onTap(e) { - const disabled = getValueFromProps(this, 'disabled'); - if (disabled) { - triggerEventOnly(this, 'disabledTap', e); - return; - } - triggerEventOnly(this, 'tap', e); - }, - catchTap(e) { - const disabled = getValueFromProps(this, 'disabled'); - if (disabled) { - triggerEventOnly(this, 'disabledTap', e); - return; - } - triggerCatchEvent(this, 'catchTap', e); - }, - }, - { phonemodel: '' }, - null, - { - onInit() { - const { platform } = my.env; - this.setData({ - phonemodel: platform, - }); - }, - } -); diff --git a/compiled/alipay/src/Typography/props.ts b/compiled/alipay/src/Typography/props.ts deleted file mode 100644 index 10dd5de64..000000000 --- a/compiled/alipay/src/Typography/props.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { IBaseProps, IconType } from '../_util/base'; - -export interface ITypographyProps extends IBaseProps { - text?: string; - iconPosition?: 'left' | 'right'; - icon?: IconType | string; - activeClassName?: string; - disabled?: boolean; - selectable?: boolean; - fontWeight?: 'normal' | 'medium' | 'bold' | ''; - lineThrough?: boolean; - underline?: boolean; - ellipsisRow?: number; - onTap?: (event: any) => void; - catchTap?: (event: any) => void; - onDisabledTap?: (event: any) => void; -} - -export const TypographyDefaultProps: ITypographyProps = { - text: '', - iconPosition: 'right', - icon: '', - className: '', - activeClassName: '', - style: '', - disabled: false, - selectable: false, - fontWeight: 'normal', - lineThrough: false, - underline: false, - ellipsisRow: null, - onTap: null, - catchTap: null, - onDisabledTap: null, -}; diff --git a/compiled/alipay/src/Typography/variable.less b/compiled/alipay/src/Typography/variable.less deleted file mode 100644 index 1d0f7e3f2..000000000 --- a/compiled/alipay/src/Typography/variable.less +++ /dev/null @@ -1,7 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@typography-container-color: var( - --typography-container-color, - @COLOR_TEXT_PRIMARY -); diff --git a/compiled/alipay/src/Voucher/index.axml b/compiled/alipay/src/Voucher/index.axml deleted file mode 100644 index 7fcd5d421..000000000 --- a/compiled/alipay/src/Voucher/index.axml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - {{item.money}} - {{item.moneyUnit || '元'}} - - - {{item.threshold}} - - - - - - {{item.title}} - - - {{item.desc}} - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/alipay/src/Voucher/index.en.md b/compiled/alipay/src/Voucher/index.en.md deleted file mode 100644 index 68695ba97..000000000 --- a/compiled/alipay/src/Voucher/index.en.md +++ /dev/null @@ -1,185 +0,0 @@ ---- -nav: - path: /components -group: - title: Bizness Components - order: 15 -toc: content -supportPlatform: ['alipay'] ---- - -# Voucher - -Generic Coupon Component. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-voucher": "antd-mini/es/Voucher/index" -#endif -#if WECHAT - "ant-voucher": "antd-mini/Voucher/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - -``` - -```js -Page({ - data: { - dataSource: [ - { - title: 'title', - desc: 'subTitle', - money: '50', - threshold: '500 to use', - actionAreaInfo: { - disabled: false, - text: 'to exchange', - }, - }, - ], - }, -}); -``` - -### small size Voucher Style - -```xml - -``` - -### Horizontal (default) - -```xml - -``` - -### Vertical arrangement - -```xml - -``` - -### Arrange in multiple columns - -```xml - -``` - -### Slot - -```xml - - - Expired - - -``` - -### Demo Code - - - -## Property - -| Property | Type | Required | Default Value | Description | -| ---------- | ------------------------------------------------------ | ---- | ------------ | -------------------- | -| className | string | No | "" | Container className | -| size | `small` | `large` | No | `large` | Voucher Style | -| direction | `horizontal` | `vertical` | `multipleColumn` | No | `horizontal` | Arrangement of multiple coupons | -| dataSource | [Item](#item)[] | Yes | [] | Data Source | - -### Item - -| Property | Type | Default Value | Description | -| -------------- | ---------------- | ------- | -------------------------------- | -| title | string | None | Title of the coupon | -| desc | string | None | Description of Voucher | -| money | string | None | Copy of the amount of the coupon | -| moneyUnit | string | 'Yuan' | The unit copy of the voucher, for example: xx yuan, xx discount | -| threshold | string | None | Restricted copy of coupons | -| disabled | bool | `false` | Disable | -| actionAreaInfo | [ActionAreaInfo] | None | Area of action | - -### ActionAreaInfo - -| Property | Type | Default Value | Description | -| -------- | ------ | ------- | -------------------------------- | -| disabled | bool | `false` | Disable | -| text | string | None | Button Copy | -| imageUrl | string | None | The picture in the completed state does not show the button when there is a picture. | - -## Event - -| Event Name | Description | Type | -| -------------------------- | -------------------- | --------------------- | -| #if ALIPAY onBtnTap | Click the button to trigger this callback | `(item, event)=>void` | -| #if ALIPAY onVoucherTap | Click the card to trigger this callback | `(item, event)=>void` | -| #if WECHAT bind:btntap | Click the button to trigger this callback | `(item, event)=>void` | -| #if WECHAT bind:vouchertap | Click the card to trigger this callback | `(item, event)=>void` | - -## Slot - -| Name | Description | -| ------------------- | -------- | -| voucher-action-area | Area of action | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --voucher-background-image-start |
rgba(255, 255, 255, 0)
|
rgba(255, 255, 255, 0)
| Voucher background map start color | -| --voucher-background-image-end |
#ffffff
|
#ffffff
| Voucher background map end color | -| --voucher-multi-money-color |
#ff3b30
|
#ff3b30
| Multiple Amount Colors | -| --voucher-threshold-color |
#666
|
#808080
| Threshold Color | -| --voucher-action-btn-color |
#ff3141
|
#ff4a58
| Operation button color | -| --voucher-action-bg |
#ffffff
|
#ffffff
| Operation background color | -| --voucher-action-left-bg |
#ffffff
|
#ffffff
| Operation left background color | -| --voucher-action-left-threshold-bg |
#ffffff
|
#ffffff
| Operation Left Threshold Background Color | -| --voucher-action-right-color |
#ffffff
|
#fffffff
| Operation right color | -| --voucher-action-right-title-color |
#ffffff
|
#ffffff
| Manipulation Right Title Color | -| --voucher-action-right-desc-color |
rgba(255, 255, 255, 0.8)
|
rgba(255, 255, 255, 0.8)
| Operation right description color | -| --voucher-item-right-title-color |
#383939
|
#383939
| Right side title color 1 | -| --voucher-item-right-title-color |
#666
|
#808080
| Title color on right side of coupon 2 | diff --git a/compiled/alipay/src/Voucher/index.json b/compiled/alipay/src/Voucher/index.json deleted file mode 100644 index ae724c62b..000000000 --- a/compiled/alipay/src/Voucher/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "button": "../Button/index" - } -} diff --git a/compiled/alipay/src/Voucher/index.less b/compiled/alipay/src/Voucher/index.less deleted file mode 100755 index 1d0ae7c39..000000000 --- a/compiled/alipay/src/Voucher/index.less +++ /dev/null @@ -1,347 +0,0 @@ -@import (reference) './variable.less'; - -@voucherPrefix: ant-voucher; - -.@{voucherPrefix} { - // 外层容器 - &-wrap { - &-show-after { - position: relative; - &::after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - right: -1 * @rpx; - width: 60 * @rpx; - background-image: linear-gradient( - 90deg, - @voucher-background-image-start 0%, - @voucher-background-image-end 100% - ); - } - } - } - - // 列表 - &-container { - position: relative; - width: 100%; - border-radius: 16 * @rpx 0 0 16 * @rpx; - // 水平 - &-horizontal { - display: flex; - flex-wrap: nowrap; - overflow: auto; - // 水平且多个 - &.multiple { - .ant-voucher-item { - width: 81%; - margin-right: 16 * @rpx; - .voucher-action-area-default { - padding-left: 8 * @rpx; - } - } - } - } - // 竖直 - &-vertical { - // 竖直且多个 - &.multiple { - .ant-voucher-item { - margin-bottom: 16 * @rpx; - &:last-child { - margin: 0; - } - } - } - } - // 双列 - &-multipleColumn { - display: flex; - flex-wrap: wrap; - .ant-voucher-item { - width: calc(50% - 8 * @rpx); - height: 136 * @rpx; - background-image: url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*2dJySZuGgc0AAAAAAAAAAAAADtF8AQ/original'), - url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*Vu1qS7zDGscAAAAAAAAAAAAADtF8AQ/original'); - background-size: 130 * @rpx 100%, calc(100% - 128 * @rpx) 100%; - background-position: left top, 128 * @rpx top; - margin-bottom: 16 * @rpx; - &:nth-child(odd) { - margin-right: 16 * @rpx; - } - - // 双列的样式统一 - &-small, - &-large { - .voucher-action-area-default { - padding: 0 12 * @rpx 0 8 * @rpx; - } - .ant-voucher-item-left { - width: 117 * @rpx; - padding: 29 * @rpx 0 0; - &-money { - font-weight: 500; - font-size: 50 * @rpx; - line-height: 64 * @rpx; - color: @voucher-multi-money-color; - &-unit { - line-height: 24 * @rpx; - transform: translateY(-3 * @rpx); - } - &-small { - font-size: 28 * @rpx; - line-height: 36 * @rpx; - padding-top: 21 * @rpx; - .ant-voucher-item-left-money-unit { - transform: translateY(-1 * @rpx); - } - } - } - &-threshold { - opacity: 0.8; - font-weight: 400; - font-size: 22 * @rpx; - line-height: 30 * @rpx; - color: @voucher-multi-threshold-color; - margin-top: 1 * @rpx; - } - } - .ant-voucher-item-right { - padding-left: 16 * @rpx; - } - } - } - } - } - - // 单个券 - &-item { - position: relative; - box-sizing: border-box; - flex-shrink: 0; - display: flex; - background-repeat: no-repeat; - border-radius: 16 * @rpx; - overflow: hidden; - width: 100%; - height: 168 * @rpx; - background-image: url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*WkmYTZUo3aQAAAAAAAAAAAAADtF8AQ/original'), - url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*_sfDQq-WhIMAAAAAAAAAAAAADtF8AQ/original'); - background-size: 200 * @rpx 100%, calc(100% - 195 * @rpx) 100%; - background-position: left top, 195 * @rpx top; - // 券禁用 - &-disabled { - &::after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 2; - } - .ant-voucher-item-left { - opacity: 0.5; - } - .ant-voucher-item-right { - opacity: 0.4; - } - } - - // 默认为 large 的样式,size=small时在&-small中覆盖 - .voucher-action-area-default { - flex-shrink: 0; - display: flex; - align-items: center; - height: 100%; - padding: 0 20 * @rpx 0 24 * @rpx; - .ant-button { - box-sizing: border-box; - box-shadow: none; - height: 56 * @rpx; - line-height: 56 * @rpx; - color: @voucher-action-btn-color; - font-size: 26 * @rpx; - font-weight: bold; - padding: 0 24 * @rpx; - background-color: @voucher-action-bg; - border-radius: 50 * @rpx; - margin-top: -1 * @rpx; - .ant-button-wrap { - transform: translateY(1 * @rpx); - } - } - .a-image { - position: absolute; - bottom: 0; - right: 0; - width: 100 * @rpx; - height: 100 * @rpx; - } - } - &-left { - width: 184 * @rpx; - box-sizing: border-box; - flex-shrink: 0; - padding: 21 * @rpx 0 24 * @rpx; - text-align: center; - &-money { - display: flex; - justify-content: center; - align-items: baseline; - font-weight: 500; - font-size: 65 * @rpx; - line-height: 83 * @rpx; - color: @voucher-action-left-color; - overflow: hidden; - margin-bottom: -1 * @rpx; - &-unit { - font-weight: 500; - font-size: 24 * @rpx; - line-height: 28 * @rpx; - display: inline-block; - transform: translateY(-3 * @rpx); - } - &-small { - font-size: 50 * @rpx; - line-height: 64 * @rpx; - padding-top: 22 * @rpx; - margin-bottom: 5 * @rpx; - } - } - &-threshold { - opacity: 0.8; - font-weight: 400; - font-size: 24 * @rpx; - line-height: 33 * @rpx; - color: @voucher-action-left-threshold-bg; - letter-spacing: 0; - } - } - &-right { - flex: 1; - display: flex; - align-items: center; - justify-content: space-between; - padding-top: 2 * @rpx; - padding-left: 25 * @rpx; - overflow: hidden; - &-content { - flex: 1; - flex-shrink: 0; - display: flex; - flex-direction: column; - overflow: hidden; - } - &-title { - font-weight: 500; - font-size: 32 * @rpx; - line-height: 45 * @rpx; - color: @voucher-action-right-color; - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - } - &-desc { - align-items: center; - font-weight: 400; - font-size: 26 * @rpx; - line-height: 37 * @rpx; - color: @voucher-action-right-desc-color; - letter-spacing: 0; - margin-top: 8 * @rpx; - flex: 1; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - } - } - - // size = large - &-large { - height: 168 * @rpx; - background-image: url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*58psQJf569EAAAAAAAAAAAAADtF8AQ/original'), - url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*PINMS6DvAVQAAAAAAAAAAAAADtF8AQ/original'); - background-size: 200 * @rpx 100%, calc(100% - 195 * @rpx) 100%; - background-position: left top, 195 * @rpx top; - .ant-voucher-item-left { - width: 184 * @rpx; - } - } - - // size = small - &-small { - height: 136 * @rpx; - padding-left: 1 * @rpx; - background-image: url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*bZfRSaKz1-QAAAAAAAAAAAAADtF8AQ/original'), - url('https://mdn.alipayobjects.com/huamei_2jrq4g/afts/img/A*PcgDR6BgE-4AAAAAAAAAAAAADtF8AQ/fmt.webp'); - background-size: 160 * @rpx 100%, calc(100% - 158 * @rpx) 100%; - background-position: left top, 158 * @rpx top; - .ant-voucher-item-left { - width: 140 * @rpx; - padding: 16 * @rpx 0 20 * @rpx; - margin-bottom: -1 * @rpx; - &-money { - font-weight: 500; - font-size: 50 * @rpx; - line-height: 64 * @rpx; - color: @voucher-multi-money-color; - margin-bottom: 1 * @rpx; - &-unit { - line-height: 24 * @rpx; - transform: translateY(-3 * @rpx); - } - &-small { - font-size: 36 * @rpx; - line-height: 46 * @rpx; - padding-top: 22 * @rpx; - margin-bottom: 3 * @rpx; - } - } - &-threshold { - opacity: 0.8; - font-weight: 400; - font-size: 22 * @rpx; - line-height: 30 * @rpx; - color: @voucher-multi-threshold-color; - margin-top: 1 * @rpx; - } - } - .ant-voucher-item-right { - padding-left: 29 * @rpx; - &-title { - font-weight: 600; - font-size: 24 * @rpx; - line-height: 33 * @rpx; - color: @voucher-item-right-title-color; - } - &-desc { - font-weight: 400; - font-size: 22 * @rpx; - line-height: 30 * @rpx; - color: @voucher-item-right-desc-color; - margin-top: 5 * @rpx; - } - } - .voucher-action-area-default { - .ant-button { - background-color: transparent; - &::after { - content: ''; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - border: 1 * @rpx solid @voucher-action-btn-color; - border-radius: 50 * @rpx; - } - } - } - } - } -} diff --git a/compiled/alipay/src/Voucher/index.md b/compiled/alipay/src/Voucher/index.md deleted file mode 100644 index be20798da..000000000 --- a/compiled/alipay/src/Voucher/index.md +++ /dev/null @@ -1,185 +0,0 @@ ---- -nav: - path: /components -group: - title: 业务组件 - order: 15 -toc: content -supportPlatform: ['alipay'] ---- - -# Voucher 优惠券 - -通用优惠券组件。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-voucher": "antd-mini/es/Voucher/index" -#endif -#if WECHAT - "ant-voucher": "antd-mini/Voucher/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - -``` - -```js -Page({ - data: { - dataSource: [ - { - title: 'title', - desc: 'subTitle', - money: '50', - threshold: '500 to use', - actionAreaInfo: { - disabled: false, - text: 'to exchange', - }, - }, - ], - }, -}); -``` - -### 小号券样式 - -```xml - -``` - -### 水平排列(默认) - -```xml - -``` - -### 竖直排列 - -```xml - -``` - -### 多列方式排列 - -```xml - -``` - -### 插槽 - -```xml - - - 已过期 - - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 类型 | 必填 | 默认值 | 说明 | -| ---------- | ------------------------------------------------------ | ---- | ------------ | -------------------- | -| className | string | 否 | "" | 容器 className | -| size | `small` | `large` | 否 | `large` | 券样式 | -| direction | `horizontal` | `vertical` | `multipleColumn` | 否 | `horizontal` | 多张券时候的排列方式 | -| dataSource | [Item](#item)[] | 是 | [] | 数据源 | - -### Item - -| 属性 | 类型 | 默认值 | 说明 | -| -------------- | ---------------- | ------- | -------------------------------- | -| title | string | 无 | 券的标题 | -| desc | string | 无 | 券的描述 | -| money | string | 无 | 券的金额文案 | -| moneyUnit | string | '元' | 券的单位文案,例如:xx 元、xx 折 | -| threshold | string | 无 | 券的限制文案 | -| disabled | bool | `false` | 是否禁用 | -| actionAreaInfo | [ActionAreaInfo] | 无 | 行动区域 | - -### ActionAreaInfo - -| 属性 | 类型 | 默认值 | 说明 | -| -------- | ------ | ------- | -------------------------------- | -| disabled | bool | `false` | 是否禁用 | -| text | string | 无 | 按钮文案 | -| imageUrl | string | 无 | 完成态的图片,有图片时不展示按钮 | - -## 事件 - -| 事件名 | 说明 | 类型 | -| -------------------------- | -------------------- | --------------------- | -| #if ALIPAY onBtnTap | 点击按钮,触发此回调 | `(item, event)=>void` | -| #if ALIPAY onVoucherTap | 点击卡片,触发此回调 | `(item, event)=>void` | -| #if WECHAT bind:btntap | 点击按钮,触发此回调 | `(item, event)=>void` | -| #if WECHAT bind:vouchertap | 点击卡片,触发此回调 | `(item, event)=>void` | - -## 插槽 - -| 名称 | 说明 | -| ------------------- | -------- | -| voucher-action-area | 行动区域 | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --voucher-background-image-start |
rgba(255, 255, 255, 0)
|
rgba(255, 255, 255, 0)
| 券背景图开始颜色 | -| --voucher-background-image-end |
#ffffff
|
#ffffff
| 券背景图结束颜色 | -| --voucher-multi-money-color |
#ff3b30
|
#ff3b30
| 多个金额颜色 | -| --voucher-threshold-color |
#666
|
#808080
| 阈值颜色 | -| --voucher-action-btn-color |
#ff3141
|
#ff4a58
| 操作按钮颜色 | -| --voucher-action-bg |
#ffffff
|
#ffffff
| 操作背景颜色 | -| --voucher-action-left-bg |
#ffffff
|
#ffffff
| 操作左侧背景颜色 | -| --voucher-action-left-threshold-bg |
#ffffff
|
#ffffff
| 操作左侧阈值背景颜色 | -| --voucher-action-right-color |
#ffffff
|
#fffffff
| 操作右侧颜色 | -| --voucher-action-right-title-color |
#ffffff
|
#ffffff
| 操作右侧标题颜色 | -| --voucher-action-right-desc-color |
rgba(255, 255, 255, 0.8)
|
rgba(255, 255, 255, 0.8)
| 操作右侧描述颜色 | -| --voucher-item-right-title-color |
#383939
|
#383939
| 券右侧标题颜色 1 | -| --voucher-item-right-title-color |
#666
|
#808080
| 券右侧标题颜色 2 | diff --git a/compiled/alipay/src/Voucher/index.ts b/compiled/alipay/src/Voucher/index.ts deleted file mode 100644 index c5389b442..000000000 --- a/compiled/alipay/src/Voucher/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -import isFunction from 'lodash.isfunction'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { componentsProps } from './props'; - -Component( - componentsProps, - { - getCurTapVoucher(event) { - const { index } = event.currentTarget.dataset; - const dataSource = getValueFromProps(this, 'dataSource'); - - return dataSource[index]; - }, - - handleVoucherTap(e) { - triggerEvent(this, 'voucherTap', this.getCurTapVoucher(e), e); - }, - handleBtnTap(e) { - const voucher = this.getCurTapVoucher(e); - const [onBtnTap, onTap] = getValueFromProps(this, ['onBtnTap', 'onTap']); - if (isFunction(onBtnTap)) { - triggerEvent(this, 'btnTap', voucher, e); - } else if (isFunction(onTap)) { - triggerEvent(this, 'tap', voucher, e); - } - }, - }, - undefined, - undefined, - undefined -); diff --git a/compiled/alipay/src/Voucher/props.ts b/compiled/alipay/src/Voucher/props.ts deleted file mode 100644 index 4da4b3646..000000000 --- a/compiled/alipay/src/Voucher/props.ts +++ /dev/null @@ -1,35 +0,0 @@ -interface ActionAreaInfo { - disabled?: boolean; - text?: string; - imageUrl?: string; -} - -interface Item { - title?: string; - desc?: string; - money?: string; - moneyUnit?: string; - threshold?: string; - actionAreaInfo?: ActionAreaInfo; - disabled?: boolean; -} - -export interface IVoucherProps { - className?: string; - direction?: 'horizontal' | 'vertical' | 'multipleColumn'; - size?: 'large' | 'small'; - dataSource: Item[]; - onVoucherTap?: (item, event) => void; - onBtnTap?: (item, event) => void; - /** - * @deprecated - */ - onTap?: (item, event) => void; -} - -export const componentsProps: IVoucherProps = { - className: '', - size: 'large', - direction: 'horizontal', - dataSource: [], -}; diff --git a/compiled/alipay/src/Voucher/variable.less b/compiled/alipay/src/Voucher/variable.less deleted file mode 100644 index 61bc154cb..000000000 --- a/compiled/alipay/src/Voucher/variable.less +++ /dev/null @@ -1,25 +0,0 @@ -@import (reference) '../style/variables.less'; -@import (reference) '../style/themes/index.less'; - -@voucher-background-image-start: var(--voucher-background-image-start, rgba(255, 255, 255, 0)); -@voucher-background-image-end: var(--voucher-background-image-end, #fff); -@voucher-multi-money-color: var(--voucher-multi-money-color, #ff3b30); -@voucher-multi-threshold-color: var(--voucher-threshold-color, #666); -@voucher-action-btn-color: var(--voucher-action-btn-color, #ff3141); -@voucher-action-bg: var(--voucher-action-bg, #fff); -@voucher-action-left-color: var(--voucher-action-left-bg, #fff); -@voucher-action-left-threshold-bg: var( - --voucher-action-left-threshold-bg, - #fff -); -@voucher-action-right-color: var(--voucher-action-right-color, #fff); -@voucher-action-right-title-color: var( - --voucher-action-right-title-color, - #fff -); -@voucher-action-right-desc-color: var( - --voucher-action-right-desc-color, - rgba(255, 255, 255, 0.8) -); -@voucher-item-right-title-color: var(--voucher-item-right-title-color, #383939); -@voucher-item-right-desc-color: var(--voucher-item-right-title-color, #666); diff --git a/compiled/alipay/src/_locale/ar-SA.ts b/compiled/alipay/src/_locale/ar-SA.ts deleted file mode 100644 index 50e530976..000000000 --- a/compiled/alipay/src/_locale/ar-SA.ts +++ /dev/null @@ -1,67 +0,0 @@ -//ar-SA 阿拉伯语 - -import type { Locale } from '.'; - -const arSA: Locale = { - // locales for all components - locale: 'ar-SA', - global: { - placeholder: 'يرجى الاختيار', - emptyText: 'لا توجد بيانات حتى الآن', - okText: 'تأكيد', - cancelText: 'إلغاء', - }, - input: { - placeholder: 'الرجاء إدخال', - }, - calendar: { - weekdayNames: [ - 'الإثنين', - 'الثلاثاء', - 'الأربعاء', - 'الخميس', - 'الجمعة', - 'السبت', - 'الأحد', - ], - today: 'اليوم', - start: 'ابدأ', - end: 'النهاية', - startAndEnd: 'البداية/النهاية', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'لم يبدأ الاختيار', - endPlaceholder: 'لم يكتمل الاختيار', - }, - guideTour: { - gotItText: 'فهمت ذلك', - nextStepText: 'الخطوة التالية', - prevStepText: 'الخطوة السابقة', - jumpText: 'تخطي', - }, - imageUpload: { - uploadingText: 'جارٍ التحميل', - uploadfailedText: 'فشل في التحميل', - }, - pageContainer: { - failed: { - title: 'تواجه الصفحة بعض المشكلات البسيطة', - message: 'سأحاول ذلك لاحقًا', - }, - disconnected: { - title: 'الشبكة مشغولة بعض الشيء', - message: 'حرّك إصبعك للمساعدة في الإصلاح', - }, - empty: { - title: 'لا يوجد شيء هنا', - message: 'انظر إلى أشياء أخرى', - }, - busy: { - title: 'الازدحام الأمامي', - message: 'جرّب الانتعاش.', - }, - }, -}; - -export default arSA; diff --git a/compiled/alipay/src/_locale/de-DE.ts b/compiled/alipay/src/_locale/de-DE.ts deleted file mode 100644 index 15c8e08ab..000000000 --- a/compiled/alipay/src/_locale/de-DE.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const deDE: Locale = { - // locales for all components - locale: 'de-DE', - global: { - placeholder: 'Bitte wählen Sie', - emptyText: 'Keine Daten verfügbar', - okText: 'Bestimmt', - cancelText: 'Abbrechen', - }, - input: { - placeholder: 'Bitte geben Sie ein', - }, - calendar: { - weekdayNames: [ - 'Montag', - 'Dienstag', - 'Mittwoch', - 'Donnerstag', - 'Freitag', - 'Samstag', - 'Sonntag', - ], - today: 'Heute', - start: 'Start', - end: 'Ende', - startAndEnd: 'Anfang/Ende', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'Die Auswahl hat noch nicht begonnen', - endPlaceholder: 'Unvollständige Auswahl', - }, - guideTour: { - gotItText: 'Ich habe es verstanden', - nextStepText: 'Nächster Schritt', - prevStepText: 'Vorheriger Schritt', - jumpText: 'Überspringen', - }, - imageUpload: { - uploadingText: 'Hochladen', - uploadfailedText: 'Der Upload ist fehlgeschlagen', - }, - pageContainer: { - failed: { - title: 'Auf der Seite treten einige kleinere Probleme auf', - message: 'Ich werde es später ausprobieren', - }, - disconnected: { - title: 'Das Netzwerk ist etwas beschäftigt', - message: 'Bewegen Sie bitte Ihre Finger, um zu helfen, es zu reparieren.', - }, - empty: { - title: 'Hier gibt es nichts.', - message: 'Schauen Sie sich auch die anderen an.', - }, - busy: { - title: 'Stau voraus', - message: 'Versuchen Sie es erneut.', - }, - }, -}; - -export default deDE; diff --git a/compiled/alipay/src/_locale/en-US.ts b/compiled/alipay/src/_locale/en-US.ts deleted file mode 100644 index 84baf6f4a..000000000 --- a/compiled/alipay/src/_locale/en-US.ts +++ /dev/null @@ -1,57 +0,0 @@ -import type { Locale } from '.'; - -const enUS: Locale = { - // locales for all components - locale: 'en-US', - global: { - placeholder: 'Please select', - emptyText: 'No data available', - okText: 'Ok', - cancelText: 'Cancel', - }, - input: { - placeholder: 'Please enter', - }, - calendar: { - weekdayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - today: 'Today', - start: 'Start', - end: 'End', - startAndEnd: 'Start/End', - format: 'MMM D, YYYY', - }, - rangePicker: { - startPlaceholder: 'No selection started', - endPlaceholder: 'Incomplete selection', - }, - guideTour: { - gotItText: 'Got it', - nextStepText: 'Next step', - prevStepText: 'Prev step', - jumpText: 'Skip', - }, - imageUpload: { - uploadingText: 'Uploading', - uploadfailedText: 'Upload failed', - }, - pageContainer: { - failed: { - title: 'The page is experiencing some minor issues', - message: "I'll try it later", - }, - disconnected: { - title: 'The network is a bit busy', - message: 'Move your fingers to help repair', - }, - empty: { - title: "There's nothing here", - message: 'Check out the others', - }, - busy: { - title: 'Congestion ahead', - message: 'Try refreshing', - }, - }, -}; - -export default enUS; diff --git a/compiled/alipay/src/_locale/es-ES.ts b/compiled/alipay/src/_locale/es-ES.ts deleted file mode 100644 index d27728aa1..000000000 --- a/compiled/alipay/src/_locale/es-ES.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const esES: Locale = { - // locales for all components - locale: 'es-ES', - global: { - placeholder: 'Por favor, seleccione', - emptyText: 'No hay datos disponibles', - okText: 'Confirmar', - cancelText: 'Cancelar', - }, - input: { - placeholder: 'Por favor, introduzca', - }, - calendar: { - weekdayNames: [ - 'Lunes', - 'Martes', - 'Miércoles', - 'Jueves', - 'Viernes', - 'Sábado', - 'Domingo', - ], - format: 'MM/YYYY', - today: 'Hoy', - start: 'Empezar', - end: 'Fin', - startAndEnd: 'Inicio/Fin', - }, - rangePicker: { - startPlaceholder: 'No ha comenzado la selección', - endPlaceholder: 'Selección no completada', - }, - guideTour: { - gotItText: 'Entendido', - nextStepText: 'Siguiente paso', - prevStepText: 'Paso anterior', - jumpText: 'Saltar', - }, - imageUpload: { - uploadingText: 'Subiendo', - uploadfailedText: 'Error al subir', - }, - pageContainer: { - failed: { - title: 'La página ha encontrado algunos pequeños problemas', - message: 'Lo probaré más tarde', - }, - disconnected: { - title: 'La red está un poco ocupada', - message: 'Mueve tus dedos para ayudar a arreglarlo', - }, - empty: { - title: 'Aquí no hay nada', - message: 'Echa un vistazo a los demás', - }, - busy: { - title: 'Congestión por delante', - message: 'Intente refrescar', - }, - }, -}; - -export default esES; diff --git a/compiled/alipay/src/_locale/fr-FR.ts b/compiled/alipay/src/_locale/fr-FR.ts deleted file mode 100644 index 3e1faa85b..000000000 --- a/compiled/alipay/src/_locale/fr-FR.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const frFR: Locale = { - // locales for all components - locale: 'fr-FR', - global: { - placeholder: 'Veuillez sélectionner', - emptyText: 'Aucune donnée disponible', - okText: 'Déterminer', - cancelText: 'Annuler', - }, - input: { - placeholder: 'Veuillez entrer', - }, - calendar: { - weekdayNames: [ - 'Lundi', - 'Mardi', - 'Mercredi', - 'Jeudi', - 'Vendredi', - 'Samedi', - 'Dimanche', - ], - format: 'MM/YYYY', - today: "Aujourd'hui", - start: 'Commencer', - end: 'Fin', - startAndEnd: 'Début/Fin', - }, - rangePicker: { - startPlaceholder: "La sélection n'a pas commencé", - endPlaceholder: 'Sélection incomplète', - }, - guideTour: { - gotItText: "J'ai compris", - nextStepText: 'Prochaine étape', - prevStepText: 'Étape précédente', - jumpText: 'Sauter', - }, - imageUpload: { - uploadingText: 'Téléchargement en cours', - uploadfailedText: 'Échec du téléchargement', - }, - pageContainer: { - failed: { - title: 'La page rencontre quelques problèmes mineurs', - message: 'Je l’essaierai plus tard', - }, - disconnected: { - title: 'Le réseau est un peu occupé.', - message: 'Bougez vos doigts pour aider à le réparer', - }, - empty: { - title: "Il n'y a rien ici.", - message: 'Regardez les autres.', - }, - busy: { - title: "La congestion à l'avant", - message: 'Essayez de rafraîchir.', - }, - }, -}; - -export default frFR; diff --git a/compiled/alipay/src/_locale/in-ID.ts b/compiled/alipay/src/_locale/in-ID.ts deleted file mode 100644 index b3d2a2a1c..000000000 --- a/compiled/alipay/src/_locale/in-ID.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const inID: Locale = { - // locales for all components - locale: 'in-ID', - global: { - placeholder: 'Silakan pilih', - emptyText: 'Tidak ada data', - okText: 'Tentu', - cancelText: 'Pembatalan', - }, - input: { - placeholder: 'Silakan masukkan', - }, - calendar: { - weekdayNames: [ - 'Senin', - 'Selasa', - 'Rabu', - 'Kamis', - 'Jumat', - 'Sabtu', - 'Minggu', - ], - format: 'MM/YYYY', - today: 'Hari ini', - start: 'Mulai', - end: 'Akhir', - startAndEnd: 'Mulai/Akhir', - }, - rangePicker: { - startPlaceholder: 'Seleksi belum dimulai', - endPlaceholder: 'Seleksi belum selesai', - }, - guideTour: { - gotItText: 'Aku tahu', - nextStepText: 'Langkah selanjutnya', - prevStepText: 'Langkah sebelumnya', - jumpText: 'Lewati', - }, - imageUpload: { - uploadingText: 'Sedang diunggah', - uploadfailedText: 'Gagal mengunggah', - }, - pageContainer: { - failed: { - title: 'Halaman ini mengalami beberapa masalah kecil', - message: 'Saya akan mencobanya nanti.', - }, - disconnected: { - title: 'Jaringannya agak sibuk', - message: 'Gerakkan jari Anda untuk membantu memperbaikinya', - }, - empty: { - title: 'Tidak ada apa-apa di sini.', - message: 'Lihat yang lain.', - }, - busy: { - title: 'Kemacetan di depan', - message: 'Cobalah menyegarkan', - }, - }, -}; - -export default inID; diff --git a/compiled/alipay/src/_locale/index.ts b/compiled/alipay/src/_locale/index.ts deleted file mode 100644 index b0e20efd4..000000000 --- a/compiled/alipay/src/_locale/index.ts +++ /dev/null @@ -1,34 +0,0 @@ -export interface Locale { - /** - * 默认的语种标识 - */ - locale: string; - /** - * 全局通用多语言文案 - */ - global?: Record; - /** - * Input组件使用的多语言文案 - */ - input?: Record; - /** - * Calender组件使用的多语言文案 - */ - calendar?: Record; - /** - * RangePicker组件独立出来,使用的多语言文案 - */ - rangePicker?: Record; - /** - * GuideTour组件使用的多语言文案 - */ - guideTour?: Record; - /** - * ImageUpload组件使用的多语言文案 - */ - imageUpload?: Record; - /** - * NumberKeyboard组件使用的多语言文案 - */ - pageContainer?: Record; -} diff --git a/compiled/alipay/src/_locale/it-IT.ts b/compiled/alipay/src/_locale/it-IT.ts deleted file mode 100644 index cb12f6f1a..000000000 --- a/compiled/alipay/src/_locale/it-IT.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const itIT: Locale = { - // locales for all components - locale: 'it-IT', - global: { - placeholder: 'Seleziona', - emptyText: 'Nessun dato disponibile', - okText: 'Certamente', - cancelText: 'Annulla', - }, - input: { - placeholder: 'Inserisci', - }, - calendar: { - weekdayNames: [ - 'Lunedì', - 'Martedì', - 'Mercoledì', - 'Giovedì', - 'Venerdì', - 'Sabato', - 'Domenica', - ], - format: 'MM/YYYY', - today: 'Oggi', - start: 'Inizia', - end: 'Fine', - startAndEnd: 'Inizio/Fine', - }, - rangePicker: { - startPlaceholder: 'Nessuna selezione avviata', - endPlaceholder: 'Selezione non completata', - }, - guideTour: { - gotItText: 'Capito', - nextStepText: 'Passo successivo', - prevStepText: 'Passaggio precedente', - jumpText: 'Salta', - }, - imageUpload: { - uploadingText: 'Caricamento in corso', - uploadfailedText: 'Caricamento non riuscito', - }, - pageContainer: { - failed: { - title: 'La pagina ha riscontrato alcuni problemi minori', - message: 'Lo proverò più tardi', - }, - disconnected: { - title: "La rete è un po' occupata", - message: 'Muovi le dita per ripararlo', - }, - empty: { - title: "Non c'è niente qui", - message: 'Guarda gli altri', - }, - busy: { - title: 'Congestione in vista', - message: 'Prova a ricaricare', - }, - }, -}; - -export default itIT; diff --git a/compiled/alipay/src/_locale/ja-JP.ts b/compiled/alipay/src/_locale/ja-JP.ts deleted file mode 100644 index a8f7fd569..000000000 --- a/compiled/alipay/src/_locale/ja-JP.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const jaJP: Locale = { - // locales for all components - locale: 'ja-JP', - global: { - placeholder: '選択してください', - emptyText: 'データはありません。', - okText: '確定', - cancelText: 'キャンセル', - }, - input: { - placeholder: '入力してください', - }, - calendar: { - weekdayNames: [ - '月曜日', - '火曜日', - '水曜日', - '木曜日', - '金曜日', - '土曜日', - '日曜日', - ], - format: 'MM/YYYY', - today: '今日です', - start: '開始', - end: '終了', - startAndEnd: '開始/終了', - }, - rangePicker: { - startPlaceholder: '選択が開始されていません', - endPlaceholder: '未完成の選択', - }, - guideTour: { - gotItText: 'わかりました', - nextStepText: '次のステップ', - prevStepText: '前のステップ', - jumpText: 'スキップ', - }, - imageUpload: { - uploadingText: 'アップロード中です', - uploadfailedText: 'アップロードに失敗しました', - }, - pageContainer: { - failed: { - title: 'ページにいくつかの小さな問題が発生しています', - message: '後で試してみます', - }, - disconnected: { - title: 'ネットワークが少し混雑しています', - message: '指を動かして修正してください', - }, - empty: { - title: 'ここには何もありません', - message: '他のものをチェックしてください', - }, - busy: { - title: '前方が渋滞しています', - message: 'リフレッシュしてみてください', - }, - }, -}; - -export default jaJP; diff --git a/compiled/alipay/src/_locale/ko-KR.ts b/compiled/alipay/src/_locale/ko-KR.ts deleted file mode 100644 index 1eb9d84c4..000000000 --- a/compiled/alipay/src/_locale/ko-KR.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const koKR: Locale = { - // locales for all components - locale: 'ko-KR', - global: { - placeholder: '선택해 주세요', - emptyText: '데이터가 없습니다', - okText: '확실합니다', - cancelText: '취소', - }, - input: { - placeholder: '입력해 주세요', - }, - calendar: { - weekdayNames: [ - '월요일', - '화요일', - '수요일', - '목요일', - '금요일', - '토요일', - '일요일', - ], - format: 'MM/YYYY', - today: '오늘', - start: '시작', - end: '끝', - startAndEnd: '시작/종료', - }, - rangePicker: { - startPlaceholder: '선택이 시작되지 않았습니다', - endPlaceholder: '선택이 완료되지 않았습니다', - }, - guideTour: { - gotItText: '알았어요', - nextStepText: '다음 단계', - prevStepText: '이전 단계', - jumpText: '건너뛰기', - }, - imageUpload: { - uploadingText: '업로드 중', - uploadfailedText: '업로드 실패', - }, - pageContainer: { - failed: { - title: '페이지에 작은 문제가 발생했습니다', - message: '나중에 해볼게요', - }, - disconnected: { - title: '네트워크가 좀 바쁩니다', - message: '손가락을 움직여 문제를 해결하세요', - }, - empty: { - title: '여기에는 아무것도 없습니다', - message: '다른 것을 보세요', - }, - busy: { - title: '전방 혼잡', - message: '새로 고침 해보세요', - }, - }, -}; - -export default koKR; diff --git a/compiled/alipay/src/_locale/ms-MY.ts b/compiled/alipay/src/_locale/ms-MY.ts deleted file mode 100644 index 7bf6ec88d..000000000 --- a/compiled/alipay/src/_locale/ms-MY.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const msMY: Locale = { - // locales for all components - locale: 'ms-MY', - global: { - placeholder: 'Sila pilih', - emptyText: 'Tiada data', - okText: 'Tentu', - cancelText: 'Batal', - }, - input: { - placeholder: 'Sila masukkan', - }, - calendar: { - weekdayNames: [ - 'Isnin', - 'Selasa', - 'Rabu', - 'Khamis', - 'Jumaat', - 'Sabtu', - 'Ahad', - ], - format: 'MM/YYYY', - today: 'Hari ini', - start: 'Mula', - end: 'Tamat', - startAndEnd: 'Mula/Tamat', - }, - rangePicker: { - startPlaceholder: 'Pemilihan belum bermula', - endPlaceholder: 'Pilihan yang belum selesai', - }, - guideTour: { - gotItText: 'Tahu', - nextStepText: 'Langkah seterusnya', - prevStepText: 'Langkah sebelumnya', - jumpText: 'Langkau', - }, - imageUpload: { - uploadingText: 'Sedang memuat naik', - uploadfailedText: 'Muat naik gagal', - }, - pageContainer: { - failed: { - title: 'Halaman ini mengalami beberapa masalah kecil', - message: 'Saya akan cuba nanti', - }, - disconnected: { - title: 'Jaringan agak sibuk', - message: 'Gerakkan jari anda untuk membantu membetulkan', - }, - empty: { - title: 'Tiada apa-apa di sini', - message: 'Lihat yang lain', - }, - busy: { - title: 'Kesesakan di hadapan', - message: 'Cuba segarkan semula', - }, - }, -}; - -export default msMY; diff --git a/compiled/alipay/src/_locale/pt-BR.ts b/compiled/alipay/src/_locale/pt-BR.ts deleted file mode 100644 index 7b9090568..000000000 --- a/compiled/alipay/src/_locale/pt-BR.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const ptBR: Locale = { - // locales for all components - locale: 'pt-BR', - global: { - placeholder: 'Por favor, selecione', - emptyText: 'Não há dados disponíveis', - okText: 'Confirmar', - cancelText: 'Cancelar', - }, - input: { - placeholder: 'Por favor, insira.', - }, - calendar: { - weekdayNames: [ - 'Segunda-feira', - 'Terça-feira', - 'Quarta-feira', - 'Quinta-feira', - 'Sexta-feira', - 'Sábado', - 'Domingo', - ], - format: 'MM/YYYY', - today: 'Hoje', - start: 'Início', - end: 'Fim', - startAndEnd: 'Início/Fim', - }, - rangePicker: { - startPlaceholder: 'Nenhuma seleção foi iniciada', - endPlaceholder: 'Seleção não concluída', - }, - guideTour: { - gotItText: 'Entendi', - nextStepText: 'Próximo passo', - prevStepText: 'Etapa anterior', - jumpText: 'Pular', - }, - imageUpload: { - uploadingText: 'Carregando', - uploadfailedText: 'Falha no upload', - }, - pageContainer: { - failed: { - title: 'A página encontrou alguns pequenos problemas', - message: 'Vou tentar mais tarde', - }, - disconnected: { - title: 'A rede está um pouco ocupada', - message: 'Mova os dedos para ajudar a consertar', - }, - empty: { - title: 'Não há nada aqui', - message: 'Veja outros', - }, - busy: { - title: 'Congestionamento à frente', - message: 'Tente atualizar', - }, - }, -}; - -export default ptBR; diff --git a/compiled/alipay/src/_locale/ru-RU.ts b/compiled/alipay/src/_locale/ru-RU.ts deleted file mode 100644 index 7084cc2fb..000000000 --- a/compiled/alipay/src/_locale/ru-RU.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const ruRU: Locale = { - // locales for all components - locale: 'ru-RU', - global: { - placeholder: 'Пожалуйста, выберите', - emptyText: 'Нет данных', - okText: 'Конечно', - cancelText: 'Отмена', - }, - input: { - placeholder: 'Пожалуйста, введите', - }, - calendar: { - weekdayNames: [ - 'Понедельник', - 'Вторник', - 'Среда', - 'Четверг', - 'Пятница', - 'Суббота', - 'Воскресенье', - ], - format: 'MM/YYYY', - today: 'Сегодня', - start: 'Начать', - end: 'Конец', - startAndEnd: 'Начало/конец', - }, - rangePicker: { - startPlaceholder: 'Выбор не начался', - endPlaceholder: 'Выбор не завершен', - }, - guideTour: { - gotItText: 'Понял', - nextStepText: 'Следующий шаг', - prevStepText: 'Предыдущий шаг', - jumpText: 'Пропустить', - }, - imageUpload: { - uploadingText: 'Загрузка', - uploadfailedText: 'Загрузка не удалась', - }, - pageContainer: { - failed: { - title: 'На странице возникли небольшие проблемы', - message: 'Попробую позже', - }, - disconnected: { - title: 'Сеть немного загружена', - message: 'Пожалуйста, помогите исправить, немного пошевелив пальцами', - }, - empty: { - title: 'Здесь ничего нет', - message: 'Посмотрите на другие', - }, - busy: { - title: 'Впереди заторы', - message: 'Попробуйте обновить', - }, - }, -}; - -export default ruRU; diff --git a/compiled/alipay/src/_locale/th-TH.ts b/compiled/alipay/src/_locale/th-TH.ts deleted file mode 100644 index e6272dc14..000000000 --- a/compiled/alipay/src/_locale/th-TH.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const thTH: Locale = { - // locales for all components - locale: 'th-TH', - global: { - placeholder: 'กรุณาเลือก', - emptyText: 'ยังไม่มีข้อมูล', - okText: 'แน่นอน', - cancelText: 'ยกเลิก', - }, - input: { - placeholder: 'กรุณากรอก', - }, - calendar: { - weekdayNames: [ - 'วันจันทร์', - 'วันอังคาร', - 'วันพุธ', - 'วันพฤหัสบดี', - 'วันศุกร์', - 'วันเสาร์', - 'วันอาทิตย์', - ], - format: 'MM/YYYY', - today: 'วันนี้', - start: 'เริ่มต้น', - end: 'สิ้นสุด', - startAndEnd: 'เริ่ม/สิ้นสุด', - }, - rangePicker: { - startPlaceholder: 'ยังไม่ได้เริ่มเลือก', - endPlaceholder: 'การเลือกไม่สมบูรณ์', - }, - guideTour: { - gotItText: 'รู้แล้ว', - nextStepText: 'ขั้นตอนต่อไป', - prevStepText: 'ขั้นตอนก่อนหน้า', - jumpText: 'ข้าม', - }, - imageUpload: { - uploadingText: 'กำลังอัปโหลด', - uploadfailedText: 'อัปโหลดล้มเหลว', - }, - pageContainer: { - failed: { - title: 'หน้าเว็บพบปัญหาเล็กน้อย', - message: 'จะลองในภายหลัง', - }, - disconnected: { - title: 'เครือข่ายยุ่งนิดหน่อย', - message: 'ขยับนิ้วของคุณเพื่อช่วยแก้ไข', - }, - empty: { - title: 'ที่นี่ไม่มีอะไรเลย', - message: 'ดูสิ่งอื่นๆ', - }, - busy: { - title: 'ความแออัดข้างหน้า', - message: 'ลองรีเฟรชดูครับ', - }, - }, -}; - -export default thTH; diff --git a/compiled/alipay/src/_locale/tr-TR.ts b/compiled/alipay/src/_locale/tr-TR.ts deleted file mode 100644 index 516d842e7..000000000 --- a/compiled/alipay/src/_locale/tr-TR.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const trTR: Locale = { - // locales for all components - locale: 'tr-TR', - global: { - placeholder: 'Lütfen seçin', - emptyText: 'Henüz veri yok.', - okText: 'Kesinlikle', - cancelText: 'İptal', - }, - input: { - placeholder: 'Lütfen girin', - }, - calendar: { - weekdayNames: [ - 'Pazartesi', - 'Salı', - 'Çarşamba', - 'Perşembe', - 'Cuma', - 'Cumartesi', - 'Pazar', - ], - format: 'MM/YYYY', - today: 'Bugün', - start: 'Başla', - end: 'Bitiyor', - startAndEnd: 'Başlangıç/Bitiş', - }, - rangePicker: { - startPlaceholder: 'Seçim henüz başlamadı', - endPlaceholder: 'Seçim tamamlanmadı', - }, - guideTour: { - gotItText: 'Anladım', - nextStepText: 'Sonraki adım', - prevStepText: 'Önceki adım', - jumpText: 'Atla', - }, - imageUpload: { - uploadingText: 'Yükleniyor', - uploadfailedText: 'Yükleme başarısız oldu', - }, - pageContainer: { - failed: { - title: 'Sayfa bazı küçük sorunlar yaşıyor', - message: 'Daha sonra deneyeceğim', - }, - disconnected: { - title: 'Ağ biraz meşgul', - message: 'Düzeltmeye yardımcı olmak için parmağınızı hareket ettirin', - }, - empty: { - title: 'Burada hiçbir şey yok', - message: 'Diğerlerine bir göz atın', - }, - busy: { - title: 'Önümüzde trafik sıkışıklığı', - message: 'Yenilemeyi deneyin', - }, - }, -}; - -export default trTR; diff --git a/compiled/alipay/src/_locale/vi-VN.ts b/compiled/alipay/src/_locale/vi-VN.ts deleted file mode 100644 index cd8c9126f..000000000 --- a/compiled/alipay/src/_locale/vi-VN.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { Locale } from '.'; - -const viVN: Locale = { - // locales for all components - locale: 'vi-VN', - global: { - placeholder: 'Vui lòng chọn', - emptyText: 'Hiện tại không có dữ liệu', - okText: 'Xác định', - cancelText: 'Hủy bỏ', - }, - input: { - placeholder: 'Vui lòng nhậper', - }, - calendar: { - weekdayNames: [ - 'Thứ Hai', - 'Thứ ba', - 'Thứ Tư', - 'Thứ Năm', - 'Thứ Sáu', - 'Thứ Bảy', - 'Chủ nhật', - ], - today: 'Hôm nay', - start: 'Bắt đầu', - end: 'Kết thúc', - startAndEnd: 'Bắt đầu/Kết thúc', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'Lựa chọn chưa bắt đầu', - endPlaceholder: 'Lựa chọn chưa hoàn thành', - }, - guideTour: { - gotItText: 'Biết rồi', - nextStepText: 'Bước tiếp theo', - prevStepText: 'Bước trước', - jumpText: 'Bỏ qua', - }, - imageUpload: { - uploadingText: 'Đang tải lên', - uploadfailedText: 'Tải lên không thành công', - }, - pageContainer: { - failed: { - title: 'Trang gặp phải một số vấn đề nhỏ', - message: 'Chờ một chút rồi thử xem', - }, - disconnected: { - title: 'Mạng hơi bận', - message: 'Di chuyển ngón tay của bạn để giúp khắc phục sự cố', - }, - empty: { - title: 'Ở đây không có gì cả', - message: 'Hãy xem những cái khác đi', - }, - busy: { - title: 'Tắc nghẽn phía trước', - message: 'Hãy thử làm mới', - }, - }, -}; - -export default viVN; diff --git a/compiled/alipay/src/_locale/zh-CN.ts b/compiled/alipay/src/_locale/zh-CN.ts deleted file mode 100644 index 904de6401..000000000 --- a/compiled/alipay/src/_locale/zh-CN.ts +++ /dev/null @@ -1,57 +0,0 @@ -import type { Locale } from '.'; - -const zhCN: Locale = { - // locales for all components - locale: 'zh-CN', - global: { - placeholder: '请选择', - emptyText: '暂无数据', - okText: '确定', - cancelText: '取消', - }, - input: { - placeholder: '请输入', - }, - calendar: { - weekdayNames: ['一', '二', '三', '四', '五', '六', '日'], - today: '今日', - start: '开始', - end: '结束', - startAndEnd: '开始/结束', - format: 'YYYY年MM月', - }, - rangePicker: { - startPlaceholder: '未选择', - endPlaceholder: '未选择', - }, - guideTour: { - gotItText: '知道了', - nextStepText: '下一步', - prevStepText: '上一步', - jumpText: '跳过', - }, - imageUpload: { - uploadingText: '上传中', - uploadfailedText: '上传失败', - }, - pageContainer: { - failed: { - title: '页面遇到一些小问题', - message: '待会来试试', - }, - disconnected: { - title: '网络有点忙', - message: '动动手指帮忙修复', - }, - empty: { - title: '这里什么也没有', - message: '看看其它吧', - }, - busy: { - title: '前方拥堵', - message: '刷新试试', - }, - }, -}; - -export default zhCN; diff --git a/compiled/alipay/src/_locale/zh-HK.ts b/compiled/alipay/src/_locale/zh-HK.ts deleted file mode 100644 index 94f5ad2c3..000000000 --- a/compiled/alipay/src/_locale/zh-HK.ts +++ /dev/null @@ -1,58 +0,0 @@ -//zh_HK 繁体中文(中国香港) -import type { Locale } from '.'; - -const zhHK: Locale = { - // locales for all components - locale: 'zh_HK', - global: { - placeholder: '請選擇', - emptyText: '暫無數據', - okText: '確定', - cancelText: '取消', - }, - input: { - placeholder: '請輸入', - }, - calendar: { - weekdayNames: ['一', '二', '三', '四', '五', '六', '日'], - today: '今日', - start: '開始', - end: '結束', - startAndEnd: '開始/結束', - format: 'YYYY年MM月', - }, - rangePicker: { - startPlaceholder: '未選擇', - endPlaceholder: '未選擇', - }, - guideTour: { - gotItText: '知道了', - nextStepText: '下一步', - prevStepText: '上一步', - jumpText: '跳過', - }, - imageUpload: { - uploadingText: '上傳中', - uploadfailedText: '上傳失敗', - }, - pageContainer: { - failed: { - title: '頁面遇到一些小問題', - message: '待會來試試', - }, - disconnected: { - title: '網絡有點忙', - message: '動動手指幫忙修復', - }, - empty: { - title: '這裡什麼也沒有', - message: '看看其它吧', - }, - busy: { - title: '前方擁堵', - message: '刷新試試', - }, - }, -}; - -export default zhHK; diff --git a/compiled/alipay/src/_locale/zh-TW.ts b/compiled/alipay/src/_locale/zh-TW.ts deleted file mode 100644 index c6d45f4e8..000000000 --- a/compiled/alipay/src/_locale/zh-TW.ts +++ /dev/null @@ -1,58 +0,0 @@ -//zh_TW 繁体中文(中国台湾) -import type { Locale } from '.'; - -const zhTW: Locale = { - // locales for all components - locale: 'zh_TW', - global: { - placeholder: '請選擇', - emptyText: '暫無數據', - okText: '確定', - cancelText: '取消', - }, - input: { - placeholder: '請輸入', - }, - calendar: { - weekdayNames: ['一', '二', '三', '四', '五', '六', '日'], - today: '今日', - start: '開始', - end: '結束', - startAndEnd: '開始/結束', - format: 'YYYY年MM月', - }, - rangePicker: { - startPlaceholder: '未選擇', - endPlaceholder: '未選擇', - }, - guideTour: { - gotItText: '知道了', - nextStepText: '下一步', - prevStepText: '上一步', - jumpText: '跳過', - }, - imageUpload: { - uploadingText: '上傳中', - uploadfailedText: '上傳失敗', - }, - pageContainer: { - failed: { - title: '頁面遇到一些小問題', - message: '待會來試試', - }, - disconnected: { - title: '網路有點忙', - message: '動動手指幫忙修復', - }, - empty: { - title: '這裡什麼也沒有', - message: '看看其它吧', - }, - busy: { - title: '前方擁堵', - message: '刷新試試', - }, - }, -}; - -export default zhTW; diff --git a/compiled/alipay/src/_util/arrow.sjs b/compiled/alipay/src/_util/arrow.sjs deleted file mode 100644 index 60052c309..000000000 --- a/compiled/alipay/src/_util/arrow.sjs +++ /dev/null @@ -1,14 +0,0 @@ -var arrowType = { - right: 'RightOutline', - up: 'UpOutline', - down: 'DownOutline' -}; -var getArrow = function getArrow(arrow) { - if (arrow === true) { - return arrowType.right; - } - return arrowType[arrow] || ''; -}; -export default { - getArrow: getArrow -}; \ No newline at end of file diff --git a/compiled/alipay/src/_util/assert-component2.ts b/compiled/alipay/src/_util/assert-component2.ts deleted file mode 100644 index c9fb32752..000000000 --- a/compiled/alipay/src/_util/assert-component2.ts +++ /dev/null @@ -1,16 +0,0 @@ -export function assertComponent2() { - if (typeof my === 'undefined') { - return; - } - const component2 = my.canIUse('component2'); - if (!component2) { - console.log('项目未开启 component2,无法使用 Ant Design Mini 组件库'); - console.log( - '请在 IDE 中的 详情 > 项目配置 中,勾选 启用 component2 编译 。', - ); - console.log('参考文档 https://mini.ant.design/guide/migration-v2'); - throw new Error('Ant Design Mini 组件库需要依赖 component2 特性'); - } -} - -assertComponent2(); diff --git a/compiled/alipay/src/_util/base.ts b/compiled/alipay/src/_util/base.ts deleted file mode 100644 index cdf7e4548..000000000 --- a/compiled/alipay/src/_util/base.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface IBaseProps { - id?: string; - /** - * @description 类名 - */ - className?: string; - /** - * @description 样式 - */ - style?: string; -} - -export declare type IconType = string; - -export interface IBoundingClientRect { - /** - * @summary 上边界 - */ - top: number; - /** - * @summary 右边界 - */ - right: number; - /** - * @summary 下边界 - */ - bottom: number; - /** - * @summary 左边界 - */ - left: number; - /** - * @summary 宽度 - */ - width: number; - /** - * @summary 高度 - */ - height: number; -} diff --git a/compiled/alipay/src/_util/compareVersion.ts b/compiled/alipay/src/_util/compareVersion.ts deleted file mode 100644 index 0192c380e..000000000 --- a/compiled/alipay/src/_util/compareVersion.ts +++ /dev/null @@ -1,20 +0,0 @@ -export function compareVersion(v1: string, v2: string): number { - if (v1 === v2) return 0; - const v1Arr = v1.split('.'); - const v2Arr = v2.split('.'); - const len = v1Arr.length < v2Arr.length ? v1Arr.length : v2Arr.length; - let i = 0; - while (i <= len) { - if (v1Arr[i] === v2Arr[i]) { - i++; - } else if (!v1Arr[i] || !v2Arr[i]) { - return v1Arr.length > v2Arr.length ? 1 : -1; - } else { - return Number(v1Arr[i]) === Number(v2Arr[i]) - ? 0 - : Number(v1Arr[i]) > Number(v2Arr[i]) - ? 1 - : -1; - } - } -} diff --git a/compiled/alipay/src/_util/console.ts b/compiled/alipay/src/_util/console.ts deleted file mode 100644 index 855740431..000000000 --- a/compiled/alipay/src/_util/console.ts +++ /dev/null @@ -1,76 +0,0 @@ -export enum EComponents { - Alphabet = 'Alphabet', - AmountInput = 'AmountInput', - Badge = 'Badge', - Button = 'Button', - Checkbox = 'Checkbox', - CheckboxGroup = 'CheckboxGroup', - CheckboxItem = 'CheckboxItem', - Collapse = 'Collapse', - CollapseItem = 'CollapseItem', - Container = 'Container', - DatePicker = 'DatePicker', - Filter = 'Filter', - Footer = 'Footer', - FooterEnd = 'FooterEnd', - FooterImage = 'FooterImage', - FooterLink = 'FooterLink', - FooterTag = 'FooterTag', - FooterText = 'FooterText', - Form = 'Form', - FormItem = 'FormItem', - Grid = 'Grid', - GuideModal = 'GuideModal', - GuideItem = 'GuideItem', - HorizontalScrollbar = 'HorizontalScrollbar', - Icon = 'Icon', - Input = 'Input', - List = 'List', - ListItem = 'ListItem', - Loading = 'Loading', - Mask = 'Mask', - Modal = 'Modal', - NoticeBar = 'NoticeBar', - NoticeBarCapsule = 'NoticeBarCapsule', - Pagination = 'Pagination', - Picker = 'Picker', - Popover = 'Popover', - PopoverItem = 'PopoverItem', - Popup = 'Popup', - RadioGroup = 'RadioGroup', - Radio = 'Radio', - Result = 'Result', - SafeArea = 'SafeArea', - SearchBar = 'SearchBar', - Selector = 'Selector', - Stepper = 'Stepper', - Steps = 'Steps', - StepItem = 'StepItem', - SwipeAction = 'SwipeAction', - Switch = 'Switch', - Tabs = 'Tabs', - TabItem = 'TabItem', - Tag = 'Tag', - Terms = 'Terms', - Textarea = 'Textarea', - Tips = 'Tips', - Title = 'Title', - VerifyCode = 'VerifyCode', - WhiteSpace = 'WhiteSpace', - GuideTour = 'GuideTour', -} - -export type TComponents = keyof typeof EComponents; - -export const log = { - warn(component: TComponents, message: string): void { - const info = `[antd-mini: ${component}] 📡 ${message}`; - // eslint-disable-next-line no-console - console.warn(info); - }, - error(component: TComponents, message: string): void { - const info = `[antd-mini: ${component}] 📡 ${message}`; - // eslint-disable-next-line no-console - console.error(info); - }, -}; diff --git a/compiled/alipay/src/_util/dayjs/iso-weekday.ts b/compiled/alipay/src/_util/dayjs/iso-weekday.ts deleted file mode 100644 index 4f361610e..000000000 --- a/compiled/alipay/src/_util/dayjs/iso-weekday.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Dayjs } from 'dayjs'; - -/** - * see https://github.com/iamkun/dayjs/blob/305f54099172ada45d10ba4c9bb5ec95e2a9d441/src/plugin/isoWeek/index.js#L37 - */ -export function isoWeekday(day: Dayjs): number { - return day.day() || 7; -} diff --git a/compiled/alipay/src/_util/event.sjs b/compiled/alipay/src/_util/event.sjs deleted file mode 100644 index 579bcd028..000000000 --- a/compiled/alipay/src/_util/event.sjs +++ /dev/null @@ -1,10 +0,0 @@ -function disableScrollEvent(event) { - event.preventDefault(); -} -function enableScrollEvent(event) { - event.stopPropagation(); -} -export default { - disableScrollEvent: disableScrollEvent, - enableScrollEvent: enableScrollEvent -}; \ No newline at end of file diff --git a/compiled/alipay/src/_util/fmtEvent.ts b/compiled/alipay/src/_util/fmtEvent.ts deleted file mode 100644 index b700253d1..000000000 --- a/compiled/alipay/src/_util/fmtEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -export default function fmtEvent( - props: Record, - e: Record = {} -): Record { - const dataset = {}; - for (const key in props) { - if (/data-/gi.test(key)) { - dataset[key.replace(/data-/gi, '')] = props[key]; - } - } - return Object.assign({}, e, { - currentTarget: { dataset }, - target: { dataset, targetDataset: dataset }, - }); -} diff --git a/compiled/alipay/src/_util/get.ts b/compiled/alipay/src/_util/get.ts deleted file mode 100644 index 7995f40ea..000000000 --- a/compiled/alipay/src/_util/get.ts +++ /dev/null @@ -1,16 +0,0 @@ -export function get(obj, path, defaultValue?) { - // If path is not an array, convert it to an array - if (!Array.isArray(path)) { - path = path.split('.').map((key) => key.replace(/\[(\d+)]/g, '$1')); - } - - // Use reduce to traverse the path - let result = path.reduce( - (acc, key) => (acc && acc[key] !== undefined ? acc[key] : undefined), - obj - ); - - return result === undefined ? defaultValue : result; -} - -export default get; diff --git a/compiled/alipay/src/_util/isPropsEmpty.sjs b/compiled/alipay/src/_util/isPropsEmpty.sjs deleted file mode 100644 index bf4815874..000000000 --- a/compiled/alipay/src/_util/isPropsEmpty.sjs +++ /dev/null @@ -1,6 +0,0 @@ -function isPropsEmpty(propsValue) { - return [undefined, null].indexOf(propsValue) !== -1; -} -export default { - isPropsEmpty: isPropsEmpty -}; \ No newline at end of file diff --git a/compiled/alipay/src/_util/jsapi/base.ts b/compiled/alipay/src/_util/jsapi/base.ts deleted file mode 100644 index c1bc2bd07..000000000 --- a/compiled/alipay/src/_util/jsapi/base.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { platform } from '../platform'; - -interface JSAPIImpl { - wechat?: (instance: any, args: A) => T; - alipay?: (instance: any, args: A) => T; -} - -export function implJsapi(impl: JSAPIImpl) { - return (args?: A) => { - - if (platform() === 'alipay' && impl.alipay) { - return impl.alipay(my, args); - } - - throw new Error('unsupported platform'); - }; -} diff --git a/compiled/alipay/src/_util/jsapi/choose-image.ts b/compiled/alipay/src/_util/jsapi/choose-image.ts deleted file mode 100644 index 9b011dcf5..000000000 --- a/compiled/alipay/src/_util/jsapi/choose-image.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { implJsapi } from './base'; - -type Files = { - size: number; - path: string; -}[]; - -export interface ChooseImageResult { - tempFiles: Files; - apFilePaths?: Files; - filePaths?: Files; - tempFilePaths?: Files; -} - -export interface ChooseImageOptions { - count: number; - sourceType: string[]; -} - -export const chooseImage = implJsapi< - Promise, - ChooseImageOptions ->({ - alipay: (instance, args: ChooseImageOptions) => { - return new Promise((resolve, reject) => { - /** - * @see https://opendocs.alipay.com/mini/api/media/image/my.chooseimage - */ - instance.chooseImage({ - count: args.count, - sourceType: args.sourceType, - success: (res) => { - resolve(res); - }, - fail: (err) => { - reject(err); - }, - }); - }); - }, -}); diff --git a/compiled/alipay/src/_util/jsapi/create-canvas-context.ts b/compiled/alipay/src/_util/jsapi/create-canvas-context.ts deleted file mode 100644 index adf7a0fb6..000000000 --- a/compiled/alipay/src/_util/jsapi/create-canvas-context.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { implJsapi } from './base'; - -export const createCanvasContext = implJsapi, [string, any]>({ - alipay: (instance, args: [string, any]) => { - return new Promise((resolve) => { - const res = instance.createCanvasContext(args[0]); - resolve(res); - }); - }, -}); diff --git a/compiled/alipay/src/_util/jsapi/get-instance-bounding-client-rect.ts b/compiled/alipay/src/_util/jsapi/get-instance-bounding-client-rect.ts deleted file mode 100644 index 9b7d89c86..000000000 --- a/compiled/alipay/src/_util/jsapi/get-instance-bounding-client-rect.ts +++ /dev/null @@ -1,15 +0,0 @@ -export function getInstanceBoundingClientRect(instance: any, selector: string) { - return new Promise((resolve) => { - instance - .createSelectorQuery() - .select(selector) - .boundingClientRect() - .exec((ret) => { - if (ret && ret[0]) { - resolve(ret[0]); - } else { - resolve(null); - } - }); - }); -} diff --git a/compiled/alipay/src/_util/jsapi/get-system-info.ts b/compiled/alipay/src/_util/jsapi/get-system-info.ts deleted file mode 100644 index 9d16a131c..000000000 --- a/compiled/alipay/src/_util/jsapi/get-system-info.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { implJsapi } from './base'; - -export interface SystemInfo { - windowWidth: number; - windowHeight: number; - pixelRatio: number; -} - -export const getSystemInfo = implJsapi, undefined>({ - alipay: (instance) => { - return new Promise<{ - windowWidth: number; - windowHeight: number; - pixelRatio: number; - }>((resolve, reject) => { - instance.getSystemInfo({ - success: (res) => { - resolve(res); - }, - fail: () => { - reject(); - }, - }); - }); - }, -}); diff --git a/compiled/alipay/src/_util/jsapi/load-font-face.ts b/compiled/alipay/src/_util/jsapi/load-font-face.ts deleted file mode 100644 index 3cfa15932..000000000 --- a/compiled/alipay/src/_util/jsapi/load-font-face.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { implJsapi } from './base'; - -export interface LoadFontOptions { - family: string; - source: string; -} - -export const loadFontFace = implJsapi, LoadFontOptions>({ - alipay: (instance, options) => { - return new Promise((resolve, reject) => { - instance.loadFontFace({ - family: options.family, - source: options.source, - success: (res) => { - resolve(res); - }, - fail: (err) => { - reject(err); - }, - }); - }); - }, -}); diff --git a/compiled/alipay/src/_util/platform.ts b/compiled/alipay/src/_util/platform.ts deleted file mode 100644 index 490665bfc..000000000 --- a/compiled/alipay/src/_util/platform.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { compareVersion } from './compareVersion'; - -export function supportUndefinedProperty(): boolean { - let support = true; - - - return support; -} - -export function platform() { - let platform = 'unknown'; - - - platform = 'alipay'; - - return platform; -} - -export function resolveEventValue(value) { - - return value; -} - -export function resolveEventValues(args1: any, args2?: any, ...rest) { - - return [args1, args2, ...rest]; -} - -export function isOldSDKVersion() { - if (platform() === 'wechat') { - return false; - } - const SDKVersion = my.SDKVersion; - const isOldVersion = compareVersion(SDKVersion, '2.0.0') < 0; - return isOldVersion; -} diff --git a/compiled/alipay/src/_util/promisify.ts b/compiled/alipay/src/_util/promisify.ts deleted file mode 100644 index c8e34ede7..000000000 --- a/compiled/alipay/src/_util/promisify.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* - *@Description: 把所有my.xx的方法变成promise - */ - function promisifyMy(name: string) { - return function (options: any): any { - return new Promise((resolve, reject) => { - my[name]({ - ...options, - success: resolve, - fail: reject, - }); - }); - }; -} - -// eslint-disable-next-line @typescript-eslint/no-namespace -declare namespace My { - interface TempFile { - /** - * @description 本地临时文件路径(本地路径) - */ - path: string; - /** - * @description 本地临时文件大小,单位为 B - */ - size: number; - } - - interface ChooseImage { - apFilePaths?: string[]; - tempFilePaths?: string[]; - filePaths?: string[]; - tempFiles?: TempFile[]; - } - - interface ChooseVideo { - tempFilePath: string; - duration: number; - size: number; - height: number; - width: number; - success: boolean; - } - - interface ChooseFileFromDisk { - apFilePath: string; - success: boolean; - } - - interface UploadFile { - data: string; - statusCode: string | number; - header: string; - } - - interface GetFileInfo { - digest: string; - size: number; - } - - interface DownloadFile { - apFilePath: string; - } -} - -export const chooseImage: (option: any) => Promise = promisifyMy('chooseImage'); -export const chooseVideo: (option: any) => Promise = promisifyMy('chooseVideo'); -export const chooseFileFromDisk: (option?: any) => Promise = promisifyMy('chooseFileFromDisk'); -export const uploadFile: (option: any) => Promise = promisifyMy('uploadFile'); -export const getFileInfo: (option: any) => Promise = promisifyMy('getFileInfo'); -export const previewImage: (option: any) => void = promisifyMy('previewImage'); -export const downloadFile: (option: any) => Promise = promisifyMy('downloadFile'); \ No newline at end of file diff --git a/compiled/alipay/src/_util/set.ts b/compiled/alipay/src/_util/set.ts deleted file mode 100644 index bf518f14a..000000000 --- a/compiled/alipay/src/_util/set.ts +++ /dev/null @@ -1,23 +0,0 @@ -export function set(obj, path, value) { - // If path is not an array, convert it to an array - if (!Array.isArray(path)) { - path = path.split('.').reduce((acc, key) => { - key.split(/\[([^}]+)\]/g).forEach((k) => { - if (k !== '') acc.push(isNaN(k) ? k : Number(k)); - }); - return acc; - }, []); - } - - // Traverse the object according to the path - path.slice(0, -1).reduce((acc, key, index) => { - if (acc[key] === undefined) { - acc[key] = typeof path[index + 1] === 'number' ? [] : {}; - } - return acc[key]; - }, obj)[path[path.length - 1]] = value; - - return obj; -} - -export default set; diff --git a/compiled/alipay/src/_util/simply.ts b/compiled/alipay/src/_util/simply.ts deleted file mode 100644 index b2e84d197..000000000 --- a/compiled/alipay/src/_util/simply.ts +++ /dev/null @@ -1,279 +0,0 @@ -import fmtEvent from './fmtEvent'; - -function removeNullProps(props) { - const newProps = {}; - for (const key in props) { - if (props[key] !== null) { - newProps[key] = props[key]; - } - } - return newProps; -} - -function buildProperties(props) { - const newProperties = {}; - for (const key in props) { - let type = null; - switch (typeof props[key]) { - case 'string': - type = String; - break; - case 'number': - type = Number; - break; - case 'boolean': - type = Boolean; - break; - } - newProperties[key] = { - type, - value: props[key], - }; - } - return newProperties; -} - -function mergeDefaultProps(defaultProps: Record = {}) { - return { - ...defaultProps, - }; -} - -type ComponentInstance = unknown; - -// 增加store使用的版本 -interface IComponentOptions { - // TODO: 需要考虑没有启用 Component2 的情况 - onInit?: () => void; - didUnmount?: () => void; -} -type ExtendedInstanceMethods = Partial & Record; -export const ComponentWithSignalStoreImpl = < - S, - M extends Record unknown>, - Props, - Methods = unknown, - Data = unknown, - Mixins = unknown, - InstanceMethods extends ExtendedInstanceMethods = ExtendedInstanceMethods ->( - storeOptions: TStoreOptions, - defaultProps: Props, - methods?: Methods & - ThisType>, - data?: Data & any, - mixins?: Mixins & any, - instanceMethods?: InstanceMethods & - ThisType< - ComponentInstance & { - $store: S; - props: Props; - } - > -) => { - const storeBinder = new StoreBinder(storeOptions); - - const defaultOnInit = function () { - storeBinder.init(this as unknown as TStoreInitOptions); - }; - const instanceMethodsCopy: ExtendedInstanceMethods = { ...instanceMethods }; - - // 确保 instanceMethods 存在 - // 备份原有的 onInit 和 didUnmount 方法 - const onInitBackup = instanceMethodsCopy.onInit || (() => {}); - const onDidUnmountBackup = instanceMethodsCopy.didUnmount || (() => {}); - - instanceMethodsCopy.onInit = function () { - defaultOnInit.call(this); - if (onInitBackup) { - onInitBackup.call(this); - } - }; - - instanceMethodsCopy.didUnmount = function () { - if (onDidUnmountBackup) { - onDidUnmountBackup.call(this); - } - storeBinder.dispose(); - }; - - // 这里确保 instanceMethodsCopy.onInit 被正确执行 - if (!instanceMethodsCopy.onInit) { - instanceMethodsCopy.onInit = defaultOnInit; - } - - - - Component({ - props: removeNullProps(mergeDefaultProps(defaultProps)), - methods, - mixins: mixins || [], - data, - ...(instanceMethodsCopy || {}), - }); -}; - -type TMapState = Record unknown>; - -// 这里类型直接抄了 PageWithAnyStore,但其实对于 antd-mini 的场景,store 和 updateHook 都可以写死而不需要使用时自定义 -export type TStoreOptions> = { - /** - * store 的创建器,因为页面会有多实例,所以 store 必须每个页面实例单独创建一次 - * 如果你非要多个实例共用一个 store,那你可以 const store = new Store(); store: => store; - */ - store: () => S; - /** - * store 数据更新后的 listener,通过它来触发向页面数据的同步,返回值是一个 dispose 函数。 - * 在 mobx 是 autorun、redux 是 subscribe、你要不在意性能,setInterval 也可以 - */ - updateHook: (fn: () => void) => () => void; - /** - * store 数据到页面 data 的映射关系 - */ - mapState: M; -}; - -export type TStoreInitOptions = { - setData: (o: Record, callback?: () => void) => void; - $store?: S; -}; - -export class StoreBinder> { - private disposeStore?: () => void = undefined; - constructor(private storeOptions: TStoreOptions) {} - - /** - * 绑定和 store 的关系 - */ - init(theThis: TStoreInitOptions) { - const store = this.storeOptions.store(); - const disposes = Object.keys(this.storeOptions.mapState).map((key) => { - return this.storeOptions.updateHook(() => { - theThis.setData({ - [key]: this.storeOptions.mapState[key]({ store }), - }); - }); - }); - theThis.$store = store; - - this.disposeStore = () => disposes.forEach((d) => d()); - } - - /** - * 释放和 store 的关系 - */ - dispose() { - if (this.disposeStore) { - this.disposeStore(); - } - } -} - -function ComponentImpl< - Props, - Methods = unknown, - Data = unknown, - Mixins = unknown, - InstanceMethods = unknown ->( - defaultProps: Props, - methods?: Methods & - ThisType>, - data?: Data & any, - mixins?: Mixins & any, - instanceMethods?: InstanceMethods & any -) { - - Component({ - props: removeNullProps(mergeDefaultProps(defaultProps)), - methods, - mixins: mixins || [], - data, - ...instanceMethods, - }); -} - -export interface IPlatformEvent { - currentTarget: { - dataset: Record; - }; - target: { - dataset: Record; - }; -} - -export function triggerEvent( - instance: any, - eventName: string, - value: unknown, - e?: any -) { - // 首字母大写,然后加上 on - - const alipayCallbackName = - 'on' + eventName.charAt(0).toUpperCase() + eventName.slice(1); - const props = instance.props; - if (props[alipayCallbackName]) { - props[alipayCallbackName](value, fmtEvent(props, e)); - } - -} - -export function triggerEventOnly(instance: any, eventName: string, e?: any) { - // 首字母大写,然后加上 on - - const alipayCallbackName = - 'on' + eventName.charAt(0).toUpperCase() + eventName.slice(1); - const props = instance.props; - if (props[alipayCallbackName]) { - props[alipayCallbackName](fmtEvent(props, e)); - } - -} - -export function triggerEventValues( - instance: any, - eventName: string, - values: any[], - e?: any -) { - // 首字母大写,然后加上 on - - const alipayCallbackName = - 'on' + eventName.charAt(0).toUpperCase() + eventName.slice(1); - const props = instance.props; - if (props[alipayCallbackName]) { - props[alipayCallbackName](...values, fmtEvent(props, e)); - } - -} - -export function triggerCatchEvent(instance: any, eventName: string, e?: any) { - const props = instance.props; - if (props[eventName]) { - props[eventName](fmtEvent(props, e)); - } - -} - -export function getValueFromProps(instance: any, propName?: string | string[]) { - let value; - const props = instance.props; - if (!propName) { - return props; - } - if (typeof propName === 'string') { - value = props[propName]; - } - if (Array.isArray(propName)) { - value = propName.map((name) => props[name]); - } - - - return value; -} - -export { - ComponentWithSignalStoreImpl as ComponentWithSignalStore, - ComponentImpl as Component, -}; diff --git a/compiled/alipay/src/_util/store.ts b/compiled/alipay/src/_util/store.ts deleted file mode 100644 index b2f9279d8..000000000 --- a/compiled/alipay/src/_util/store.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { signal } from '@preact/signals-core'; -import { Locale } from '../_locale/index'; -import zhCN from '../_locale/zh-CN'; - -class SharedStore { - // 当前语种 - currentLocale = signal(zhCN); - // 当前主题 - currentTheme = signal<'light' | 'dark'>('light'); - // 语种全局切换标记 - localeChangeFlag = signal(false); - // 主题全局切换标记 - themeChangeFlag = signal(false); - // 切换语言, 确保每个page只能切换一次 - switchLocale(locale: Locale) { - if (!this.localeChangeFlag.value && locale !== this.currentLocale.value) { - this.currentLocale.value = locale; - this.localeChangeFlag.value = true; - } - } - // 切换主题, 确保每个page只能切换一次 - switchTheme(theme: 'light' | 'dark') { - if (!this.themeChangeFlag.value && theme !== this.currentTheme.value) { - this.currentTheme.value = theme; - this.themeChangeFlag.value = true; - } - } -} - -export default new SharedStore(); diff --git a/compiled/alipay/src/mixins/computed.ts b/compiled/alipay/src/mixins/computed.ts deleted file mode 100644 index 610c7ec69..000000000 --- a/compiled/alipay/src/mixins/computed.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import deepEqual from 'fast-deep-equal'; -import { getValueFromProps } from '../_util/simply'; - -function computedData(this: any) { - const nextData = this.computed(getValueFromProps(this)); - // 浅比较就行了 - const changedData = Object.keys(nextData).reduce((prev, item) => { - // 移除 _ $ 开头的保留 props - if (item[0] === '_' || item[0] === '$') { - return prev; - } - - if (typeof nextData[item] === 'function') { - return prev; - } - if (deepEqual(this.data[item], nextData[item])) { - return prev; - } - - // eslint-disable-next-line no-param-reassign - prev[item] = nextData[item]; - return prev; - }, {}); - - if (Object.keys(changedData).length === 0) { - return; - } - - this.setData(changedData); -} - -export default function () { - let mixin = { - didMount(): void { - computedData.call(this); - }, - didUpdate(): void { - computedData.call(this); - }, - - }; - - - return mixin; -} diff --git a/compiled/alipay/src/mixins/value.ts b/compiled/alipay/src/mixins/value.ts deleted file mode 100644 index 1b180baba..000000000 --- a/compiled/alipay/src/mixins/value.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { IMixin4Legacy } from '@mini-types/alipay'; -import { getValueFromProps } from '../_util/simply'; - -function equal(a, b) { - if (a === b) { - return true; - } - if (a !== a && b !== b) { - return true; - } - return false; -} - -const component2 = my.canIUse('component2'); - -export default ({ - valueKey = 'value', - defaultValueKey = 'defaultValue', - scopeKey = 'mixin', - transformValue = (value) => ({ - needUpdate: true, - value, - }), -}: { - valueKey?: string; - defaultValueKey?: string; - scopeKey?: string; - transformValue?: ( - this: any, - value: any, - extra: { nextProps: Record }, - ...args: any - ) => { - needUpdate: boolean; - value?: any; - }; -} = {}) => { - let mixin = { - data: { - [scopeKey]: { - value: undefined, - updated: false, - controlled: false, - }, - }, - onInit() { - this.init(); - }, - deriveDataFromProps(nextProps) { - if (!equal(nextProps[valueKey], getValueFromProps(this, valueKey))) { - this.update(nextProps[valueKey], { - nextProps, - }); - } - }, - didUpdate(prevProps) { - if (component2) { - return; - } - if (!equal(prevProps[valueKey], getValueFromProps(this, valueKey))) { - this.update(getValueFromProps(this, valueKey), { - nextProps: getValueFromProps(this), - }); - } - }, - didMount() { - if (component2) { - return; - } - this.init(); - }, - - methods: { - init() { - let value; - value = - getValueFromProps(this, valueKey) !== undefined - ? getValueFromProps(this, valueKey) - : getValueFromProps(this, defaultValueKey); - const { needUpdate } = this.update(value, { - nextProps: getValueFromProps(this), - }); - if (!needUpdate) { - this.updateControlled(); - } - }, - getValue(prevData?) { - return (prevData || this.data)[scopeKey].value; - }, - isEqualValue(prevData) { - if (!prevData[scopeKey].updated) { - return true; - } - return equal(this.getValue(prevData), this.getValue()); - }, - isControlled() { - if ('controlled' in getValueFromProps(this)) { - return getValueFromProps(this, 'controlled'); - } - - return valueKey in getValueFromProps(this); - }, - updateControlled() { - this.setData({ - [scopeKey]: { - controlled: this.isControlled(), - }, - }); - }, - update(val, extra?, ...args) { - const { needUpdate, value } = - transformValue.call(this, val, extra, ...args) || {}; - if (needUpdate) { - this.setData({ - [scopeKey]: { - value, - updated: true, - controlled: this.isControlled(), - }, - }); - } - return { - needUpdate, - value, - }; - }, - }, - } as IMixin4Legacy< - Record, - Record, - { - getValue(prevData?: any): any; - isControlled(): boolean; - updateControlled(): void; - update( - val: any, - extra?: any, - ...args: any - ): { - needUpdate: boolean; - value: any; - }; - isEqualValue(prevData: any): boolean; - } - >; - - - return mixin; -}; diff --git a/compiled/alipay/src/style/mixins/hairline.less b/compiled/alipay/src/style/mixins/hairline.less deleted file mode 100644 index d76ecd9bb..000000000 --- a/compiled/alipay/src/style/mixins/hairline.less +++ /dev/null @@ -1,91 +0,0 @@ -@import (reference) '../themes/color.less'; - -.scale-hairline-common(@color, @top, @right, @bottom, @left) { - content: ''; - position: absolute; - background-color: @color; - display: block; - top: @top; - right: @right; - bottom: @bottom; - left: @left; -} - -.hairline(@direction, @color: @COLOR_BORDER) when (@direction = 'top') { - &::before { - .scale-hairline-common(@color, 0, 0, auto, 0); - height: 1px; - transform: scaleY(0.5); - } -} - -.hairline(@direction, @color: @COLOR_BORDER) when (@direction = 'right') { - &::after { - .scale-hairline-common(@color, 0, 0, 0, auto); - width: 1px; - transform: scaleX(0.5); - } -} - -.hairline(@direction, @color: @COLOR_BORDER) when (@direction = 'bottom') { - &::after { - .scale-hairline-common(@color, auto, 0, 0, 0); - height: 1px; - transform: scaleY(0.5); - } -} - -.hairline(@direction, @color: @COLOR_BORDER) when (@direction = 'left') { - &::after { - .scale-hairline-common(@color, 0, auto, 0, 0); - width: 1px; - transform: scaleX(0.5); - } -} - -.hairline-popover(@direction, @color: @COLOR_BORDER) - when - (@direction = 'bottom') { - &::after { - .scale-hairline-common(@color, auto, 0, 0, 104 * @rpx); - height: 1px; - transform: scaleY(0.5); - } -} -.hairline-collapse(@direction, @color: @COLOR_BORDER) - when - (@direction = 'bottom') { - &::after { - .scale-hairline-common(@color, auto, 0, 0, 24 * @rpx); - height: 1px; - transform: scaleY(0.5); - width: 100%; - } -} - -.hairline-picker(@direction) when (@direction = 'bottom') { - &::after { - .scale-hairline-common(#e5e5e5, auto, 0, 0, 0); - height: 1px; - transform: scaleY(0.5); - width: 100%; - } -} - -.hairline-radius(@color: @COLOR_BORDER, @radius) { - position: relative; - &::before { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 200%; - height: 200%; - transform-origin: 0 0; - pointer-events: none; - border: 1px solid @color; - border-radius: @radius; - transform: scale(0.5); - box-sizing: border-box; - } -} diff --git a/compiled/alipay/src/style/themes/color.less b/compiled/alipay/src/style/themes/color.less deleted file mode 100644 index 2ab6694bc..000000000 --- a/compiled/alipay/src/style/themes/color.less +++ /dev/null @@ -1,114 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ - -@COLOR_Link_DEFAULT: #4b6b99; - -@COLOR_BORDER_GREYCARD_DEFAULT: #e5e5e5; - -@COLOR_BRAND1_DEFAULT: #1677ff; -@COLOR_BRAND1_FADED_1: fade(@COLOR_BRAND1_DEFAULT, 10%); -@COLOR_BRAND1_FADED_3: fade(@COLOR_BRAND1, 30%); -@COLOR_BRAND2_DEFAULT: #1677ff; - -@COLOR_BRAND1: @COLOR_BRAND1_DEFAULT; - -@COLOR_BRAND2: @COLOR_BRAND2_DEFAULT; - -@COLOR_LINK: @COLOR_Link_DEFAULT; - -@COLOR_WATHET_DEFAULT: #e7f1ff; -@COLOR_WATHET: @COLOR_WATHET_DEFAULT; - -@COLOR_RED_DEFAULT: #ff3141; -@COLOR_RED: @COLOR_RED_DEFAULT; -@COLOR_RED_FADED: fade(@COLOR_RED_DEFAULT, 30%); - -@COLOR_YELLOW_DEFAULT: #ff9f18; -@COLOR_YELLOW: @COLOR_YELLOW_DEFAULT; - -@COLOR_GREEN_DEFAULT: #22b35e; -@COLOR_GREEN: @COLOR_GREEN_DEFAULT; -@COLOR_GREEN_FADED: fade(@COLOR_GREEN_DEFAULT, 30%); - -@COLOR_TEXT_PRIMARY_DEFAULT: #333333; -@COLOR_TEXT_PRIMARY: @COLOR_TEXT_PRIMARY_DEFAULT; - -@COLOR_WHITE_DEFAULT: #ffffff; -@COLOR_WHITE: @COLOR_WHITE_DEFAULT; -@COLOR_WHITE_FADED: fade(@COLOR_WHITE_DEFAULT, 92%); - -@COLOR_TEXT_ASSIST_DEFAULT: #999999; -@COLOR_TEXT_ASSIST: @COLOR_TEXT_ASSIST_DEFAULT; - -@COLOR_BORDER_DEFAULT: #e5e5e5; -@COLOR_BORDER: @COLOR_BORDER_DEFAULT; -@COLOR_BORDER_GREYCARD: @COLOR_BORDER_GREYCARD_DEFAULT; - -@COLOR_BACKGROUND_DEFAULT: #f5f5f5; -@COLOR_BACKGROUND: @COLOR_BACKGROUND_DEFAULT; - -@COLOR_BACKGROUND2_DEFAULT: #f0f3f7; -@COLOR_BACKGROUND2: @COLOR_BACKGROUND2_DEFAULT; - -@COLOR_TEXT_WEAK_DEFAULT: #cccccc; -@COLOR_TEXT_WEAK: @COLOR_TEXT_WEAK_DEFAULT; -@COLOR_TEXT_WEAK_FADED: fade(@COLOR_TEXT_WEAK, 60%); - -@COLOR_CARD_DEFAULT: #ffffff; -@COLOR_CARD: @COLOR_CARD_DEFAULT; -@COLOR_CARD_FADED_95: fade(@COLOR_CARD, 95); -@COLOR_CARD_FADED_60: fade(@COLOR_CARD, 60); - -@COLOR_CARD2_DEFAULT: #ffffff; -@COLOR_CARD2: @COLOR_CARD2_DEFAULT; - -@COLOR_WHITE_CARD_DEFAULT: #ffffff; -@COLOR_WHITE_CARD: @COLOR_WHITE_CARD_DEFAULT; - -@COLOR_TEXT_SECONDARY_DEFAULT: #666666; -@COLOR_TEXT_SECONDARY: @COLOR_TEXT_SECONDARY_DEFAULT; - -@COLOR_GREY_CARD_DEFAULT: #f5f5f5; -@COLOR_GREY_CARD: @COLOR_GREY_CARD_DEFAULT; - -@COLOR_BLACK_CARD_DEFAULT: #000000; -@COLOR_BLACK_CARD: @COLOR_BLACK_CARD_DEFAULT; - -@COLOR_ORANGE_DEFAULT: #ff6430; -@COLOR_ORANGE: @COLOR_ORANGE_DEFAULT; -@COLOR_ORANG_FADED: fade(@COLOR_ORANGE, 30%); - -@COLOR_BLACK_DEFAULT: #000000; -@COLOR_BLACK: @COLOR_BLACK_DEFAULT; -@COLOR_BLACK_FADED: fade(@COLOR_BLACK, 0%); -@COLOR_BLACK_FADED_20: fade(@COLOR_BLACK, 20%); -@COLOR_BLACK_FADED_10: fade(@COLOR_BLACK, 10%); -@COLOR_BLACK_FADED_8: fade(@COLOR_BLACK, 8%); - -@COLOR_WHITE_DYNAMIC_DEFAULT: #ffffff; -@COLOR_WHITE_DYNAMIC: @COLOR_WHITE_DYNAMIC_DEFAULT; - -@COLOR_WHITE_CHANGE_DEFAULT: @COLOR_WHITE; -@COLOR_WHITE_CHANGE: @COLOR_WHITE_CHANGE_DEFAULT; - -@COLOR_BLACK_CHANGE_DEFAULT: @COLOR_BLACK; -@COLOR_BLACK_CHANGE: @COLOR_BLACK_CHANGE_DEFAULT; - -// 以下是没有是颜色系统里面的 -@COLOR_GOLDEN_2: #fff3d9; -@COLOR_GOLDEN_3: #fff9ed; - -@COLOR_TANGERINE_1: #ff6010; -@COLOR_TANGERINE_2: #ffece3; - -@COLOR_GREY_2: #e5e5e5; -@COLOR_TEXT_WARNING: #ff3b30; - -@COLOR_ORANGE_1: #ff8f1f; -@COLOR_ORANGE_2: #ffefdf; - -@COLOR_POMONAGREEN_1: #00b578; -@COLOR_POMONAGREEN_2: #d4fff1; - -@color-ironblack-1: #454955; //铁黑 - -@COLOR_BACKGROUND_POPOVER: #404040; //popover默认底色 diff --git a/compiled/alipay/src/style/themes/index.less b/compiled/alipay/src/style/themes/index.less deleted file mode 100644 index 5a3889504..000000000 --- a/compiled/alipay/src/style/themes/index.less +++ /dev/null @@ -1,113 +0,0 @@ -@import (reference) './color.less'; - -// @hd: 1px; -// @rpx: 0.5 * @hd; -@rpx: 1rpx; -@size-base: 8 * @rpx; -@default-line-height: 1.4; - -//尺寸 -@size-0: 0; -@size-1: @size-base * 1; -@size-2: @size-base * 2; -@size-3: @size-base * 3; -@size-4: @size-base * 4; -@size-5: @size-base * 5; -@size-6: @size-base * 6; -@size-7: @size-base * 7; -@size-8: @size-base * 8; -@size-9: @size-base * 9; -@size-10: @size-base * 10; -@size-11: @size-base * 11; -@size-12: @size-base * 12; -@size-13: @size-base * 13; -@size-14: @size-base * 14; -@size-15: @size-base * 15; -@size-16: @size-base * 16; -@size-17: @size-base * 17; -@size-18: @size-base * 18; -@size-19: @size-base * 19; -@size-20: @size-base * 20; -@sizeIconFont: 44 * @rpx; - -@corner-radius-md: 8 * @rpx; -@corner-radius-lg: 16 * @rpx; - -@font-size-subcontent: 24 * @rpx; //次常规内容 -@font-size-content: 26 * @rpx; //常规内容 -@font-size-subtitle: 30 * @rpx; //小标题 -@font-size-list: 34 * @rpx; //列表 -@font-size-title: 36 * @rpx; //大标题 -@font-size-list: 34 * @rpx; //列表 -@font-size-weak: 22 * @rpx; //弱化内容和弱辅助文案 - -@opacity-disabled: 0.4; -@opacity-product-mask: 0.55; -@opacity-marketing-mask: 0.75; - -@h-spacing-mini: 8 * @rpx; //更小间距 -@h-spacing-small: 12 * @rpx; //小间距 -@h-spacing-standard: 16 * @rpx; //标准 -@h-spacing-large: 24 * @rpx; //大间距 -@v-spacing-standard: 16 * @rpx; //标准 -@h-spacing-standard: 16 * @rpx; //标准 -@v-spacing-large: 24 * @rpx; //大间距 - -//圆角 -@corner-radius-sm: 4 * @rpx; //小 -@corner-radius-md: 8 * @rpx; //中 -@corner-radius-md-plus: 12 * @rpx; //中加 -@corner-radius-lg: 16 * @rpx; //大 -@corner-radius-circle: 50vh; //圆 - -//行高 -@line-height-base: 1; // 单行行高 -@line-height-paragraph: 1.5; // 多行行高 - -//图标尺寸 -@icon-size-xs: 36 * @rpx; //特小 -@icon-size-sm: 44 * @rpx; //小 -@icon-size-md: 56 * @rpx; //中 -@icon-size-lg: 64 * @rpx; //大 - -//边框尺寸 -@border-width-standard: 2 * @rpx; //标准 -@border-width-thick: 4 * @rpx; //粗 - -@color-product-mask: fade(@COLOR_BLACK, @opacity-product-mask*100); //产品蒙层 -@color-marketing-mask: fade( - @COLOR_BLACK, - @opacity-marketing-mask*100 -); //营销蒙层 - -@SIZE_RADIUS_XS: 8 * @rpx; -@SIZE_RADIUS_S: 16 * @rpx; -@SIZE_RADIUS_M: 24 * @rpx; -@SIZE_RADIUS_L: 32 * @rpx; -@SIZE_RADIUS_XL: 40 * @rpx; -@SIZE_RADIUS_DIALOG: 48 * @rpx; - -@SIZE_SPACE_PAGE_MARGIN: 16 * @rpx; - -@SIZE_SPACE1: 4 * @rpx; - -@OPACITY_PRESS: 0.08; -@OPACITY_DISABLE: 0.4; -@OPACITY_MASK: 0.55; -@OPACITY_MODULE: 0.9; - -@sizeFont1: 22 * @rpx; -@sizeFont2: 24 * @rpx; -@sizeFont3: 26 * @rpx; -@sizeFont4: 28 * @rpx; -@sizeFont5: 30 * @rpx; -@sizeFont6: 32 * @rpx; - -@sizeFont7: 34 * @rpx; -@sizeFont8: 36 * @rpx; -@sizeFont9: 40 * @rpx; -@sizeFont10: 48 * @rpx; -@sizeFont11: 56 * @rpx; -@sizeFont12: 64 * @rpx; -@sizeFont13: 72 * @rpx; -@sizeFont14: 88 * @rpx; diff --git a/compiled/alipay/src/style/themes/theme-black.less b/compiled/alipay/src/style/themes/theme-black.less deleted file mode 100644 index 394f52adf..000000000 --- a/compiled/alipay/src/style/themes/theme-black.less +++ /dev/null @@ -1,500 +0,0 @@ -/* 深色主题 */ -:root, -page { - // primary - --color-brand1: #3086ff; - --color-border-faded: rgba(48, 134, 255, 0.9); - --color-brand2: #0a0a0a; - // secondary - --color-link: #3f5980; - --color-wathet: #0d2543; - --color-orange: #e65a2b; - --color-yellow: #ffa930; - --color-green: #34b368; - --color-red: #ff4a58; - - // neutral - --color-text-primary: #c5cad1; - --color-text-secondary: #808080; - --color-text-assist: #616161; - --color-text-weak: #474747; - --color-text-weak-faded: rgba(71, 71, 71, 0.6); - --color-border: #2b2b2b; - --color-border-greycard: #444444; - --color-background2: #121212; - --color-background: #121212; - --color-card: #1a1a1a; - --color-card2: #222222; - --color-white-card: #2b2b2b; - --color-grey-card: #2b2b2b; - --color-black-card: #525252; - --color_text_secondary: #808080; - - // reverse - --color-white: #ffffff; - --color-black: #000000; - --color-black-fade: rgba(0, 0, 0, 1); - --color-white-dynamic: #c5cad1; - --color-white-change: #000000; - --color-black-change: #ffffff; - - // 以下没在颜色系统中 - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #444444; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - - // radius - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - - // space - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - - // opacity - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - - // font-size - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - - // popoverList - --popover-content-bg: rgba(255, 255, 255, 0.45); - --popover-content-color: #c5cad1; - - // calender - --calendar-weekday-names-bg: #303030; - - // button - --button-disabled-opacity: 0.4; - --button-color: #3086ff; - --button-background-color: #1a1a1a; - --button-border-color: #3086ff;; - --button-primary-border-color: #3086ff; - --button-primary-background-color: #3086ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #0d2543; - --button-primary-aide-color: #3086ff; - --button-default-aide-border-color: #121212; - --button-default-aide-background-color: #1a1a1a; - --button-default-aide-color: #c5cad1; - --button-primary-danger-background-color: #ff4a58; - --button-primary-danger-border-color: #ff4a58; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #1a1a1a; - --button-default-danger-border-color: #ff4a58; - --button-default-danger-color: #ff4a58; - --button-text-danger-color: #ff4a58; - --button-danger-default-color: #ff4a58; - --button-active-bg: rgba(255, 255, 255, 0.08); - - // actionsheet - --actionsheet-danger-color: #ff4a58; - --actionsheet-title-color: #616161; - --actionsheet-item-color: #c5cad1; - --actionsheet-item-active-bg: #2b2b2b; - --activesheet-item-cancel-bg: #121212; - - // tabbar - --tabbar-bg: #1a1a1a; - --tabbar-item-color: #808080; - --tabbar-active-color: #3086ff; - - // tabs - --tabs-basic-color: #c5cad1; - --tabs-weaken-color: #616161; - --tabs-inverse-color: #1a1a1a; - --tabs-active-color: #3086ff; - --tabs-active-decorate-color: #3086ff; - --tabs-underline-border-color: #2b2b2b; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #121212; - --tabs-subtitle-color: #1a1a1a; - --tabs-count-color: #474747; - --tabs-badge-size: 28rpx; - - // feedBack - --feedback-text-color: #c5cad1; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #121212; - --feedback-list-text-color: #c5cad1; - - // calendar - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #c5cad1; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #616161; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #3086ff; - - // collapse - --collapse-title-background-color: #1a1a1a; - --collapse-title-color: #c5cad1; - --collapse-title-icon-color: #474747; - --collapse-content-background-color: #1a1a1a; - --collapse-border-color: #2b2b2b; - --collapse-node-text-color: #616161; - --collapse-container-background-color: #1a1a1a; - - // container - --container-header-color: #c5cad1; - --container-color-text-assist: #616161; - --container-background-color: #1a1a1a; - - // divider - --divider-text-color: #c5cad1; - --divider-border-color: #2b2b2b; - - // empty - --empty-text-color: #c5cad1; - --empty-asisst-text-color: #616161; - - // grid - --ant-grid-title-color: #c5cad1; - --ant-grid-description-color: #616161; - --ant-grid-border-color: #2b2b2b; - - // guide-tour - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #616161; - --guide-tour-dot-color: #616161; - --guide-tour-border-color: #2b2b2b; - --guide-tour-btn-color: #333333; - - // indexbar - --index-bar-tip-background-color: #474747; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #616161; - --index-bar-active-color: #3086ff; - - // input - --input-item-color: #c5cad1; - --input-item-placeholder-color: #474747; - --input-item-clear-color: #616161; - --input-background-color: #1a1a1a; - - // list - --list-header-color: #616161; - --list-footer-color: #616161; - --list-background-color: #1a1a1a; - --list-content-color: #c5cad1; - --list-extra-brief-color: #616161; - --list-item-border-color: #2b2b2b; - --list-item-text-color: #474747; - - // progress - --progress-stroke-color: #3086ff; - --progress-trail-color: #121212; - --progress-success-color: #34b368; - --progress-indicator-color: #c5cad1; - --progress-exception-color: #ff4a58; - --progress-assist-color: #616161; - - // stepsf - --steps-non-active-bg: #444444; - --steps-title-color: #c5cad1; - --steps-desc-color: #616161; - --steps-default-bg: #3086ff; - --steps-finish-bg: #ff4a58; - - // swipe-action - --swipe-action-color: #ffffff; - - // tag - --tag-primary-color: #3086ff; - --tag-warning-color: #e65a2b 橙色; - --tag-danger-color: #ff4a58; - --tag-success-color: #34b368; - --tag-primary-light-color: #0d2543; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - - // checkbox - --checkbox-header-color: #616161; - --checkbox-border-color: #474747; - --checkbox-background-color: #3086ff; - --checkbox-disabled-background: #121212; - --checkbox-text-color: #c5cad1; - --checkbox-fake-icon-background-color: #1a1a1a; - - // checkboxList - --checklist-background-color: #3086ff; - --check-list-item-title-color: #c5cad1; - --check-list-item-background-color: #1a1a1a; - --check-list-item-hover-background-color: #2b2b2b; - --check-list-item-content-color: #c5cad1; - --check-list-item-description-color: #616161; - - // data-picker - --range-picker-shadow-color: #000000; - --range-picker-item-color: #c5cad1; - --range-picker-active-color: #3086ff; - --range-picker-placeholder-color: #474747; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - - // form - --form-text-color: #474747; - --form-item-color: #808080; - --form-item-bg: #1a1a1a; - --form-error-color: #ff4a58; - --form-extra-color: #616161; - --form-asterisk-color: #ff3b30; - - // imageUpload - --image-upload-wrapper-background: #121212; - --image-upload-cover-background: rgba(0, 0, 0, 0.4); - --image-upload-text-color: #ffffff; - --image-upload-background-color: #1a1a1a; - - // loading - --loading-text-color: #454955; //铁黑 - --loading-icon-light-color: #999; - - // mask - --mask-background-color: rgba(0, 0, 0, 0.55); - - // numberKeyboard - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #c5cad1; - --number-key-board-none-text-color: #616161; - --number-key-board-iphonex-safe-background-color: #1a1a1a; - --number-key-board-background-color: #121212; - --number-key-board-border-color: #2b2b2b; - --number-key-board-transfer-color: #3086ff; - --number-key-board-transfer-color: #ffffff; - - // picker - --picker-item-color: #c5cad1; - --picker-header-action-color: #3086ff; - --picker-placeholder-color: #474747; - --picker-header-color: #2b2b2b; - --picker-content-background-color: #1a1a1a; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.02); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.01); - - // radio - --radio-header-color: #616161; - --radio-border-color: #474747; - --radio-background-color: #3086ff; - --radio-disabled-background: #121212; - --radio-text-color: #c5cad1; - --radio-fake-icon-background-color: #1a1a1a; - --radio-icon-color: #ffffff; - - // popoverList - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #1a1a1a; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #444444; - - // rare-words - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #4a4a4a; - --rare-words-keyboard-color: #c5cad1; - --rare-words-border-color: #2b2b2b; - --rare-words-kb-bg: #121212; - --rare-words-pinyin-key-color: #1a1a1a; - --rare-words-inner-bg: #474747; - --rare-words-active-color: #3086ff; - --rare-words-pinyin-color: #121212; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #808080; - - // selector - --selector-background-color: #1a1a1a; - --selector-item-background: #121212; - --selector-item-active-background: #0d2543; - --selector-item-color: #c5cad1; - --selector-item-sub-color: #616161; - --selector-item-color: #3086ff; - - //slide - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slider-default-primary-color: #3086ff; - --slider-track-bg: #1a1a1a; - --slider-fill-bg: #121212; - --slider-number-color: #c5cad1; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #121212; - - // stepper - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #444444; - --stepper-border-color: #444444; - --stepper-background-color: #1a1a1a; - --stepper-hover-bg: rgba(0, 0, 0, 0.92); - - // switch - --switch-fill: #3086ff; - --switch-border-color: #2b2b2b; - --switch-loading-color: #3086ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #616161; - - // modal - --modal-background-color: #1a1a1a; - --modal-title-color: #c5cad1; - --modal-content-color: #c5cad1; - --modal-close-text-color: #616161; - - // popover - --color-background-popover: #404040; //popover默认底色 - --popover-bg: #1a1a1a; - --popover-text-color: #000000; - --popover-inner-color: #ff4a58; - - // popup - --popup-background: #1a1a1a; - --popup-color: #c5cad1; - --popup-assit-color: #616161; - --popup-mask-close-bg: rgba(0, 0, 0, 1); - - // rate - --rate-active-icon: #ffa930; - --rate-icon-color: #2b2b2b; - - // result - --result-main-background: #1a1a1a; - --result-title-color: #ffffff; - --result-desc-color: #c5cad1; - --result-success-color: #3086ff; - --result-error-color: #ff544a; - --result-warning-color: #ff9c38; - --result-wait-color: #12b57e; - - // skeleton - --skeleton-animation-25: #2b2b2b; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #2b2b2b; - // toast - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - - // badge - --badge-text-color: #ffffff; - --badge-background-color: #ff4a58; - - // notice-bar - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff4a58; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #3086ff; - --notice-primary-background-color: rgba(208, 228, 255, 1); - --notice-info-text-color: #ffffff; - --notice-info-background-color: #808080; - - // page-container - --page-container-background-color: #121212; - - // typography - --typography-container-color: #c5cad1; - - // pagination - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #3086ff; - - // table - --table-item-color: #c5cad1; - --table-item-bg: #1a1a1a; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #c5cad1; - // sticky - --sticky-check-bg: rgba(238, 238, 238, 0); - // voucher - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #808080; - --voucher-action-btn-color: #ff4a58; - --voucher-action-bg: #ffffff; - --voucher-action-left-bg: #c5cad1; - --voucher-action-left-threshold-bg: #c5cad1; - --voucher-action-right-color: #c5cad1; - --voucher-action-right-title-color: #c5cad1; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #808080; - // card - --ant-card-bg: #1a1a1a; - --ant-card-header-title-color: #c5cad1; - --ant-card-header-link-color: #616161; - --ant-card-fold-btn-color: #3086ff; - // countdown - --ant-countdown-color: #808080; - --ant-countdown-number-color: #000000; - --ant-countdown-number-bg: #3086ff; - // select-contact - --select-contact-search-bar-focus-color: #3086ff; - --select-contact-search-cancel-color: #c5cad1; - --select-contact-wrap-loading-bg: #1a1a1a; - --select-contact-scroll-bg: #1a1a1a; - --select-contact-list-bg: #1a1a1a; - --select-contact-title-bg: #1a1a1a; - --select-contact-title-color: #999; - --select-contact-title-first-color: #c5cad1; - --select-contact-title-first-border: #2b2b2b; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #1a1a1a; - --select-contact-empty-color: #616161; - --select-contact-loading-bg: #616161; - --select-contact-display-light-color: #fa6300; - - // number-input - --number-input-background-color: #1a1a1a; - --number-input-title-color: #c5cad1; - --number-input-link-color: #3f5980; - --number-input-unit-color: #616161; - --number-input-border-color: #2b2b2b; - --number-input-prefix-color: #c5cad1; - --number-input-caret-color: #3086ff; - --number-input-quick-text-color: #3086ff; - --number-input-quick-border-color: #3086ff; - // postScript - --postscript-background-color: #1a1a1a; - --postscript-title-color: #c5cad1; - --postscript-input-color: #c5cad1; - --postscript-caret-color: #3086ff; - --postscript-placeholder-color:#474747; - --postscript-quick-text-color: #808080; - --postscript-quick-border-color: #2b2b2b; -} diff --git a/compiled/alipay/src/style/themes/theme-mode.less b/compiled/alipay/src/style/themes/theme-mode.less deleted file mode 100644 index 2a06e96c5..000000000 --- a/compiled/alipay/src/style/themes/theme-mode.less +++ /dev/null @@ -1,1038 +0,0 @@ -/* 浅色模式的css变量 */ -@media (prefers-color-scheme: light) { - :root, - page { - // primary - --color-brand1: #1677ff; - --color-brand1-faded: rgba(22, 119, 255, 0.1); - --color-brand1-faded-3: rgba(22, 119, 255, 0.3); - --color-brand2: #1677ff; - - // secondary - --color-link: #4b6b99; - --color-wathet: #e7f1ff; - --color-orange: #ff6430; - --color-orange-faded: rgba(255, 100, 48, 0.7); - --color-yellow: #ff9f18; - --color-green: #22b35e; - --color-green-faded: rgba(34, 179, 94, 0.7); - --color-red: #ff3141; - --color-red-faded: rgba(255, 49, 65, 0.7); - - // neutral - --color-text-primary: #333333; - --color-text-secondary: #666666; - --color-text-assist: #999999; - --color-text-weak: #cccccc; - --color-text-weak-faded: rgba(204, 204, 204, 0.6); - --color-border: #eeeeee; - --color-border-greycard: #e5e5e5; - - --color-background2: #f0f3f7; - --color-background: #f5f5f5; - --color-card: #ffffff; - --color-card-faded-95: rgba(255, 255, 255, 0.05); - --color-card-faded-60: rgba(255, 255, 255, 0.4); - --color-card2: #ffffff; - --color-white-card: #ffffff; - --color-grey-card: #f5f5f5; - --color-black-card: #000000e6; - - // reverse - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: rgba(0, 0, 0, 1); - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #ffffff; - --color-white-change: #ffffff; - --color-black-change: #000000; - - // 以下没在颜色系统中 - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #e5e5e5; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - - // radius - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - - // space - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - - // opacity - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - - // font-size - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - - // button - --button-disabled-opacity: 0.4; - --button-color: #1677ff; - --button-background-color: #ffffff; - --button-border-color: #1677ff; - --button-primary-border-color: #1677ff; - --button-primary-background-color: #1677ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #e7f1ff; - --button-primary-aide-color: #1677ff; - --button-default-aide-border-color: #f5f5f5; - --button-default-aide-background-color: #ffffff; - --button-default-aide-color: #333333; - --button-primary-danger-background-color: #ff3141; - --button-primary-danger-border-color: #ff3141; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #ffffff; - --button-default-danger-border-color: #ff3141; - --button-default-danger-color: #ff3141; - --button-text-danger-color: #ff3141; - --button-danger-default-color: #ff3141; - --button-active-bg: rgba(255, 255, 255, 0.08); - --button-inline-size: 30rpx; - --button-font-size: 38rpx; - --button-large-font-size: 38rpx; - --button-medium-font-size: 34rpx; - --button-small-font-size: 30rpx; - --button-icon-size: 44rpx; - --button-padding: 24rpx; - --button-large-padding: 24rpx; - --button-medium-padding-top: 16rpx; - --button-medium-padding-left: 24rpx; - --button-small-padding-top: 8rpx; - --button-small-padding-left: 24rpx; - --button-subtext-size: 24rpx; - --button-border-size: 2rpx; - - // actionsheet - --actionsheet-danger-color: #ff3141; - --actionsheet-title-color: #999999; - --actionsheet-item-color: #333333; - --actionsheet-item-active-bg: #eeeeee; - --activesheet-item-cancel-bg: #f5f5f5; - - // icon - --icon-color: #333333; - - // tabbar - --tabbar-bg: #ffffff; - --tabbar-item-color: #666666; - --tabbar-active-color: #1677ff; - - // tabs - --tabs-basic-color: #333333; - --tabs-weaken-color: #999999; - --tabs-inverse-color: #ffffff; - --tabs-active-color: #1677ff; - --tabs-active-decorate-color: #1677ff; - --tabs-underline-border-color: #eeeeee; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #f5f5f5; - --tabs-subtitle-color: #ffffff; - --tabs-count-color: #cccccc; - --tabs-badge-size: 28rpx; - - // feedBack - --feedback-text-color: #333333; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #f5f5f5; - --feedback-list-text-color: #333333; - - // calendar - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #333333; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #999999; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #1677ff; - - // collapse - --collapse-title-background-color: #ffffff; - --collapse-title-color: #333333; - --collapse-title-icon-color: #cccccc; - --collapse-content-background-color: #ffffff; - --collapse-border-color: #eeeeee; - --collapse-node-text-color: #999999; - --collapse-container-background-color: #ffffff; - - // container - --container-header-color: #333333; - --container-color-text-assist: #999999; - --container-background-color: #ffffff; - - // divider - --divider-text-color: #333333; - --divider-border-color: #e5e5e5; - - // empty - --empty-text-color: #333333; - --empty-asisst-text-color: #999999; - - // grid - --ant-grid-title-color: #333333; - --ant-grid-description-color: #999999; - --ant-grid-border-color: #eeeeee; - - // guide-tour - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #999999; - --guide-tour-dot-color: #999999; - --guide-tour-border-color: #eeeeee; - --guide-tour-btn-color: #333333; - --guide-tour-right-btn-color: #333333; - - // indexbar - --index-bar-tip-background-color: #cccccc; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #999999; - --index-bar-active-color: #1677ff; - - // input - --input-item-color: #333333; - --input-item-placeholder-color: #cccccc; - --input-item-clear-color: #999999; - --input-background-color: #ffffff; - - // list - --list-header-color: #999999; - --list-footer-color: #999999; - --list-background-color: #ffffff; - --list-content-color: #333333; - --list-extra-brief-color: #999999; - --list-item-border-color: #eeeeee; - --list-item-text-color: #cccccc; - - // progress - --progress-stroke-color: #1677ff; - --progress-trail-color: #f5f5f5; - --progress-success-color: #22b35e; - --progress-indicator-color: #333333; - --progress-exception-color: #ff3141; - --progress-assist-color: #999999; - - // stepsf - --steps-non-active-bg: #e5e5e5; - --steps-title-color: #333333; - --steps-desc-color: #999999; - --steps-default-bg: #1677ff; - --steps-finish-bg: #ff3141; - - // swipe-action - --swipe-action-color: #ffffff; - - // tag - --tag-primary-color: #1677ff; - --tag-warning-color: #ff6430; - --tag-danger-color: #ff3141; - --tag-success-color: #22b35e; - --tag-primary-light-color: #e7f1ff; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - - // checkbox - --checkbox-header-color: #999999; - --checkbox-border-color: #cccccc; - --checkbox-background-color: #1677ff; - --checkbox-disabled-background: #f5f5f5; - --checkbox-text-color: #333333; - --checkbox-fake-icon-background-color: #ffffff; - - // checkboxList - --checklist-background-color: #1677ff; - --check-list-item-title-color: #333333; - --check-list-item-background-color: #ffffff; - --check-list-item-hover-background-color: #eeeeee; - --check-list-item-content-color: #333333; - --check-list-item-description-color: #999999; - - // data-picker - --range-picker-shadow-color: #000000; - --range-picker-item-color: #333333; - --range-picker-active-color: #1677ff; - --range-picker-placeholder-color: #cccccc; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - - // form - --form-text-color: #cccccc; - --form-item-color: #666666; - --form-item-bg: #ffffff; - --form-error-color: #ff3141; - --form-extra-color: #999999; - --form-asterisk-color: #ff3b30; - - // imageUpload - --image-upload-cover-background: #ffffff; - --image-upload-wrapper-background: #f5f5f5; - --image-upload-background-color: #ffffff; - --image-upload-text-color: #ffffff; - - // loading - --loading-text-color: #d8d8d8; //铁黑 - --loading-icon-light-color: rgba(255, 255, 255, 0.6); - - // mask - --mask-background-color: rgba(0, 0, 0, 0.55); - - // numberKeyboard - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #333333; - --number-key-board-none-text-color: #999999; - --number-key-board-iphonex-safe-background-color: #ffffff; - --number-key-board-background-color: #f5f5f5; - --number-key-board-border-color: #eeeeee; - --number-key-board-transfer-bg: #1677ff; - --number-key-board-transfer-color: #ffffff; - - // picker - --picker-item-color: #333333; - --picker-header-action-color: #1677ff; - --picker-placeholder-color: #cccccc; - --picker-header-color: #eeeeee; - --picker-content-background-color: #ffffff; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.05); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.4); - - // radio - --radio-header-color: #999999; - --radio-border-color: #cccccc; - --radio-background-color: #1677ff; - --radio-disabled-background: #f5f5f5; - --radio-text-color: #333333; - --radio-fake-icon-background-color: #ffffff; - --radio-icon-color: #ffffff; - - // popoverList - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #ffffff; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #e5e5e5; - - // rare-words - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #d8d8d8; - --rare-words-keyboard-color: #333333; - --rare-words-border-color: #eeeeee; - --rare-words-kb-bg: #f5f5f5; - --rare-words-pinyin-key-color: #ffffff; - --rare-words-inner-bg: #cccccc; - --rare-words-active-color: #1677ff; - --rare-words-pinyin-color: #f5f5f5; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #666666; - - // selector - --selector-background-color: #ffffff; - --selector-item-background: #f5f5f5; - --selector-item-active-background: #e7f1ff; - --selector-item-color: #333333; - --selector-item-sub-color: #999999; - --selector-item-color: #1677ff; - - //slide - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slider-default-primary-color: #1677ff; - --slider-track-bg: #ffffff; - --slider-fill-bg: #f5f5f5; - --slider-number-color: #333333; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #f5f5f5; - - // stepper - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #e5e5e5; - --stepper-border-color: #e5e5e5; - --stepper-background-color: #ffffff; - --stepper-hover-bg: rgba(0, 0, 0, 0.08); - --stepper-input-font-color: #333333; - - // switch - --switch-fill: #1677ff; - --switch-border-color: #eeeeee; - --switch-loading-color: #1677ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #999999; - - // dialog - --dialog-background-color: #ffffff; - --dialog-title-color: #333333; - --dialog-content-color: #333333; - --dialog-close-text-color: #999999; - - // modal - --modal-background-color: #ffffff; - --modal-title-color: #333333; - --modal-content-color: #333333; - --modal-close-text-color: #999999; - - // popover - --popover-color-background: #404040; //popover默认底色 - --popover-bg: #ffffff; - --popover-text-color: #000000; - --popover-inner-color: #ffffff; - - // popup - --popup-background: #ffffff; - --popup-color: #333333; - --popup-assit-color: #999999; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - - // rate - --rate-active-icon: #ff9f18; - --rate-icon-color: #eeeeee; - - // result - --result-main-background: #ffffff; - --result-title-color: #000000; - --result-desc-color: #333333; - --result-success-color: #1677ff; - --result-error-color: #ff3b30; - --result-warning-color: #ff8f1f; - --result-wait-color: #00b578; - - // skeleton - --skeleton-animation-25: #eeeeee; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #eeeeee; - // toast - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - - // badge - --badge-text-color: #ffffff; - --badge-background-color: #ff3141; - - // notice-bar - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff3141; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #1677ff; - --notice-primary-background-color: rgba(208, 228, 255, 1); - --notice-info-text-color: #ffffff; - --notice-info-background-color: #666666; - - // page-container - --page-container-background-color: #f5f5f5; - // typography - --typography-container-color: #333333; - // pagination - --pagination-area-background-color: #121212; - --pagination-move-background-color: #3086ff; - // table - --table-item-color: #333333; - --table-item-bg: #ffffff; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #fff; - // sticky - --sticky-check-bg: rgba(238, 238, 238, 0); - // voucher - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #666; - --voucher-action-btn-color: #ff3141; - --voucher-action-bg: #fff; - --voucher-action-left-bg: #fff; - --voucher-action-left-threshold-bg: #fff; - --voucher-action-right-color: #fff; - --voucher-action-right-title-color: #fff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #666; - // card - --ant-card-bg: #ffffff; - --ant-card-header-title-color: #333333; - --ant-card-header-link-color: #999999; - --ant-card-fold-btn-color: #1677ff; - - // countdown - --ant-countdown-color: #666; - --ant-countdown-number-color: #fff; - --ant-countdown-number-bg: #1677ff; - --search-bar-focus-color: #1677ff; - --select-contact-search-cancel-color: #333333; - --select-contact-loading-bg: #fff; - --select-contact-scroll-bg: #fff; - --select-contact-list-bg: #fff; - --select-contact-title-bg: #fff; - --select-contact-title-color: #999; - --select-contact-title-first-color: #333; - --select-contact-title-first-border: #eee; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #fff; - --select-contact-empty-color: #999; - --select-contact-loading-bg: #999; - --select-contact-display-light-color: #fa6300; - - // numberInput - --number-input-background-color: #ffffff; - --number-input-title-color: #333333; - --number-input-link-color: #4b6b99; - --number-input-unit-color: #999999; - --number-input-border-color: #eeeeee; - --number-input-prefix-color: #333333; - --number-input-caret-color: #1677ff; - --number-input-quick-text-color: #1677ff; - --number-input-quick-border-color: #1677ff; - - // postScript - --postscript-background-color: #ffffff; - --postscript-title-color: #333; - --postscript-input-color: #333; - --postscript-caret-color: #1677ff; - --postscript-placeholder-color: #cccccc; - --postscript-quick-text-color: #666; - --postscript-quick-border-color: #eeeeee; - } -} - -/* 深色模式的css变量 */ -@media (prefers-color-scheme: dark) { - :root, - page { - // primary - --color-brand1: #3086ff; - --color-border-faded: rgba(48, 134, 255, 0.9); - --color-brand2: #0a0a0a; - // secondary - --color-link: #3f5980; - --color-wathet: #0d2543; - --color-orange: #e65a2b; - --color-yellow: #ffa930; - --color-green: #34b368; - --color-red: #ff4a58; - - // neutral - --color-text-primary: #c5cad1; - --color-text-secondary: #808080; - --color-text-assist: #616161; - --color-text-weak: #474747; - --color-text-weak-faded: rgba(71, 71, 71, 0.6); - --color-border: #2b2b2b; - --color-border-greycard: #444444; - --color-background2: #121212; - --color-background: #121212; - --color-card: #1a1a1a; - --color-card2: #222222; - --color-white-card: #2b2b2b; - --color-grey-card: #2b2b2b; - --color-black-card: #525252; - --color_text_secondary: #808080; - - // reverse - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: rgba(0, 0, 0, 1); - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #c5cad1; - --color-white-change: #000000; - --color-black-change: #ffffff; - - // 以下没在颜色系统中 - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #444444; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - - // radius - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - - // space - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - - // opacity - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - - // font-size - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - - // popoverList - --popover-content-bg: rgba(255, 255, 255, 0.45); - --popover-content-color: #c5cad1; - - // button - --button-disabled-opacity: 0.4; - --button-color: #3086ff; - --button-background-color: #1a1a1a; - --button-border-color: #3086ff; - --button-primary-border-color: #3086ff; - --button-primary-background-color: #3086ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #0d2543; - --button-primary-aide-color: #3086ff; - --button-default-aide-border-color: #121212; - --button-default-aide-background-color: #1a1a1a; - --button-default-aide-color: #c5cad1; - --button-primary-danger-background-color: #ff4a58; - --button-primary-danger-border-color: #ff4a58; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #1a1a1a; - --button-default-danger-border-color: #ff4a58; - --button-default-danger-color: #ff4a58; - --button-text-danger-color: #ff4a58; - --button-danger-default-color: #ff4a58; - --button-active-bg: rgba(255, 255, 255, 0.08); - - // actionsheet - --actionsheet-danger-color: #ff4a58; - --actionsheet-title-color: #616161; - --actionsheet-item-color: #c5cad1; - --actionsheet-item-active-bg: #2b2b2b; - --activesheet-item-cancel-bg: #121212; - - // tabbar - --tabbar-bg: #1a1a1a; - --tabbar-item-color: #808080; - --tabbar-active-color: #3086ff; - - // tabs - --tabs-basic-color: #c5cad1; - --tabs-weaken-color: #616161; - --tabs-inverse-color: #1a1a1a; - --tabs-active-color: #3086ff; - --tabs-active-decorate-color: #3086ff; - --tabs-underline-border-color: #2b2b2b; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #121212; - --tabs-subtitle-color: #1a1a1a; - --tabs-count-color: #474747; - --tabs-badge-size: 28rpx; - - // feedBack - --feedback-text-color: #c5cad1; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #1a1a1a; - --feedback-list-background-color: #121212; - --feedback-list-text-color: #c5cad1; - - // calendar - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #303030; - --calendar-default-color: #c5cad1; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #616161; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #3086ff; - - // collapse - --collapse-title-background-color: #1a1a1a; - --collapse-title-color: #c5cad1; - --collapse-title-icon-color: #474747; - --collapse-content-background-color: #1a1a1a; - --collapse-border-color: #2b2b2b; - --collapse-node-text-color: #616161; - --collapse-container-background-color: #1a1a1a; - - // container - --container-header-color: #c5cad1; - --container-color-text-assist: #616161; - --container-background-color: #1a1a1a; - - // divider - --divider-text-color: #c5cad1; - --divider-border-color: #2b2b2b; - - // empty - --empty-text-color: #c5cad1; - --empty-asisst-text-color: #616161; - - // grid - --ant-grid-title-color: #c5cad1; - --ant-grid-description-color: #616161; - --ant-grid-border-color: #2b2b2b; - - // guide-tour - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #616161; - --guide-tour-dot-color: #616161; - --guide-tour-border-color: #2b2b2b; - --guide-tour-btn-color: #333333; - - // indexbar - --index-bar-tip-background-color: #474747; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #616161; - --index-bar-active-color: #3086ff; - - // input - --input-item-color: #c5cad1; - --input-item-placeholder-color: #474747; - --input-item-clear-color: #616161; - --input-background-color: #1a1a1a; - - // list - --list-header-color: #616161; - --list-footer-color: #616161; - --list-background-color: #1a1a1a; - --list-content-color: #c5cad1; - --list-extra-brief-color: #616161; - --list-item-border-color: #2b2b2b; - --list-item-text-color: #474747; - - // progress - --progress-stroke-color: #3086ff; - --progress-trail-color: #121212; - --progress-success-color: #34b368; - --progress-indicator-color: #c5cad1; - --progress-exception-color: #ff4a58; - --progress-assist-color: #616161; - - // stepsf - --steps-non-active-bg: #444444; - --steps-title-color: #c5cad1; - --steps-desc-color: #616161; - --steps-default-bg: #3086ff; - --steps-finish-bg: #ff4a58; - - // swipe-action - --swipe-action-color: #ffffff; - - // tag - --tag-primary-color: #3086ff; - --tag-warning-color: #e65a2b 橙色; - --tag-danger-color: #ff4a58; - --tag-success-color: #34b368; - --tag-primary-light-color: #0d2543; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - - // checkbox - --checkbox-header-color: #616161; - --checkbox-border-color: #474747; - --checkbox-background-color: #3086ff; - --checkbox-disabled-background: #121212; - --checkbox-text-color: #c5cad1; - --checkbox-fake-icon-background-color: #1a1a1a; - - // checkboxList - --checklist-background-color: #3086ff; - --check-list-item-title-color: #c5cad1; - --check-list-item-background-color: #1a1a1a; - --check-list-item-hover-background-color: #2b2b2b; - --check-list-item-content-color: #c5cad1; - --check-list-item-description-color: #616161; - - // data-picker - --range-picker-shadow-color: #000000; - --range-picker-item-color: #c5cad1; - --range-picker-active-color: #3086ff; - --range-picker-placeholder-color: #474747; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - - // form - --form-text-color: #474747; - --form-item-color: #808080; - --form-item-bg: #1a1a1a; - --form-error-color: #ff4a58; - --form-extra-color: #616161; - --form-asterisk-color: #ff3b30; - - // imageUpload - --image-upload-wrapper-background: #121212; - --image-upload-cover-background: rgba(0, 0, 0, 0.4); - --image-upload-text-color: #ffffff; - --image-upload-background-color: #1a1a1a; - - // loading - --loading-text-color: #454955; //铁黑 - --loading-icon-light-color: #999; - - // mask - --mask-background-color: rgba(0, 0, 0, 0.55); - - // numberKeyboard - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #c5cad1; - --number-key-board-none-text-color: #616161; - --number-key-board-iphonex-safe-background-color: #1a1a1a; - --number-key-board-background-color: #121212; - --number-key-board-border-color: #2b2b2b; - --number-key-board-transfer-bg: #3086ff; - --number-key-board-transfer-color: #ffffff; - - // picker - --picker-item-color: #c5cad1; - --picker-header-action-color: #3086ff; - --picker-placeholder-color: #474747; - --picker-header-color: #2b2b2b; - --picker-content-background-color: #1a1a1a; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.02); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.01); - - // radio - --radio-header-color: #616161; - --radio-border-color: #474747; - --radio-background-color: #3086ff; - --radio-disabled-background: #121212; - --radio-text-color: #c5cad1; - --radio-fake-icon-background-color: #1a1a1a; - --radio-icon-color: #ffffff; - - // popoverList - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-item-bg: #444444; - --popover-list-badge-color: #ff411c; - --popover-list-content-color: #1a1a1a; - - // rare-words - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #4a4a4a; - --rare-words-keyboard-color: #c5cad1; - --rare-words-border-color: #2b2b2b; - --rare-words-kb-bg: #121212; - --rare-words-pinyin-key-color: #1a1a1a; - --rare-words-inner-bg: #474747; - --rare-words-active-color: #3086ff; - --rare-words-pinyin-color: #121212; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #808080; - - // selector - --selector-background-color: #1a1a1a; - --selector-item-background: #121212; - --selector-item-active-background: #0d2543; - --selector-item-color: #c5cad1; - --selector-item-sub-color: #616161; - --selector-item-color: #3086ff; - - //slide - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slider-default-primary-color: #3086ff; - --slider-track-bg: #1a1a1a; - --slider-fill-bg: #121212; - --slider-number-color: #c5cad1; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #121212; - - // stepper - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #444444; - --stepper-border-color: #444444; - --stepper-background-color: #1a1a1a; - --stepper-hover-bg: rgba(0, 0, 0, 0.92); - --stepper-input-font-color: #ffffff; - - // switch - --switch-fill: #3086ff; - --switch-border-color: #2b2b2b; - --switch-loading-color: #3086ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #616161; - - // dialog - --dialog-background-color: #1a1a1a; - --dialog-title-color: #c5cad1; - --dialog-content-color: #c5cad1; - --dialog-close-text-color: #616161; - - // modal - --modal-background-color: #1a1a1a; - --modal-title-color: #c5cad1; - --modal-content-color: #c5cad1; - --modal-close-text-color: #616161; - - // popover - --popover-color-background: #404040; //popover默认底色 - --popover-bg: #1a1a1a; - --popover-text-color: #ffffff; - --popover-inner-color: #ffffff; - - // popup - --popup-background: #1a1a1a; - --popup-color: #c5cad1; - --popup-assit-color: #616161; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - - // rate - --rate-active-icon: #ffa930; - --rate-icon-color: #2b2b2b; - - // result - --result-main-background: #1a1a1a; - --result-title-color: #ffffff; - --result-desc-color: #c5cad1; - --result-success-color: #3086ff; - --result-error-color: #ff544a; - --result-warning-color: #ff9c38; - --result-wait-color: #12b57e; - - // skeleton - --skeleton-animation-25: #2b2b2b; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #2b2b2b; - // toast - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - - // badge - --badge-text-color: #ffffff; - --badge-background-color: #ff4a58; - - // notice-bar - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff4a58; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #3086ff; - --notice-primary-background-color: rgba(208, 228, 255, 1); - --notice-info-text-color: #ffffff; - --notice-info-background-color: #808080; - - // page-container - --page-container-background-color: #121212; - // typography - --typography-container-color: #c5cad1; - // pagination - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #3086ff; - // table - --table-item-color: #c5cad1; - --table-item-bg: #1a1a1a; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #c5cad1; - // sticky - --sticky-check-bg: rgba(238, 238, 238, 0); - // voucher - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #808080; - --voucher-action-btn-color: #ff4a58; - --voucher-action-bg: #ffffff; - --voucher-action-left-bg: #ffffff; - --voucher-action-left-threshold-bg: #ffffff; - --voucher-action-right-color: #ffffff; - --voucher-action-right-title-color: #ffffff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #808080; - // card - --ant-card-bg: #1a1a1a; - --ant-card-header-title-color: #c5cad1; - --ant-card-header-link-color: #616161; - --ant-card-fold-btn-color: #3086ff; - // countdown - --ant-countdown-color: #808080; - --ant-countdown-number-color: #000000; - --ant-countdown-number-bg: #3086ff; - // select-contact - --select-contact-search-bar-focus-color: #3086ff; - --select-contact-search-cancel-color: #c5cad1; - --select-contact-wrap-loading-bg: #1a1a1a; - --select-contact-scroll-bg: #1a1a1a; - --select-contact-list-bg: #1a1a1a; - --select-contact-title-bg: #1a1a1a; - --select-contact-title-color: #999; - --select-contact-title-first-color: #c5cad1; - --select-contact-title-first-border: #2b2b2b; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #1a1a1a; - --select-contact-empty-color: #616161; - --select-contact-loading-bg: #616161; - --select-contact-display-light-color: #fa6300; - - // numberInput - --number-input-background-color: #1a1a1a; - --number-input-title-color: #c5cad1; - --number-input-link-color: #3f5980; - --number-input-unit-color: #616161; - --number-input-border-color: #2b2b2b; - --number-input-prefix-color: #c5cad1; - --number-input-caret-color: #3086ff; - --number-input-quick-text-color: #3086ff; - --number-input-quick-border-color: #3086ff; - - // postScript - --postscript-background-color: #1a1a1a; - --postscript-title-color: #c5cad1; - --postscript-input-color: #c5cad1; - --postscript-caret-color: #3086ff; - --postscript-placeholder-color: #474747; - --postscript-quick-text-color: #808080; - --postscript-quick-border-color: #2b2b2b; - } -} diff --git a/compiled/alipay/src/style/variables.less b/compiled/alipay/src/style/variables.less deleted file mode 100644 index d02a6445a..000000000 --- a/compiled/alipay/src/style/variables.less +++ /dev/null @@ -1,529 +0,0 @@ -/* default主题,浅色主题 */ -:root, -page { - // primary - --color-brand1: #1677ff; - --color-brand1-faded: rgba(22, 119, 255, 0.1); - --color-brand1-faded-3: rgba(22, 119, 255, 0.3); - --color-brand2: #1677ff; - - // secondary - --color-link: #4b6b99; - --color-wathet: #e7f1ff; - --color-orange: #ff6430; - --color-orange-faded: rgba(255, 100, 48, 0.7); - --color-yellow: #ff9f18; - --color-green: #22b35e; - --color-green-faded: rgba(34, 179, 94, 0.7); - --color-red: #ff3141; - --color-red-faded: rgba(255, 49, 65, 0.7); - - // neutral - --color-text-primary: #333333; - --color-text-secondary: #666666; - --color-text-assist: #999999; - --color-text-weak: #cccccc; - --color-text-weak-faded: rgba(204, 204, 204, 0.6); - --color-border: #eeeeee; - --color-border-greycard: #e5e5e5; - - --color-background2: #f0f3f7; - --color-background: #f5f5f5; - --color-card: #ffffff; - --color-card-faded-95: rgba(255, 255, 255, 0.05); - --color-card-faded-60: rgba(255, 255, 255, 0.4); - --color-card2: #ffffff; - --color-white-card: #ffffff; - --color-grey-card: #f5f5f5; - --color-black-card: #000000e6; - --color-text-secondary: #666666; - - // reverse - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: rgba(0, 0, 0, 1); - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #ffffff; - --color-white-change: #ffffff; - --color-black-change: #000000; - - // 以下没在颜色系统中 - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #e5e5e5; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - - // radius - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - - // space - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - - // opacity - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - - // font-size - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - - // button - --button-disabled-opacity: 0.4; - --button-color: #1677ff; - --button-background-color: #ffffff; - --button-border-color: #1677ff; - --button-primary-border-color: #1677ff; - --button-primary-background-color: #1677ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #e7f1ff; - --button-primary-aide-color: #1677ff; - --button-default-aide-border-color: #f5f5f5; - --button-default-aide-background-color: #ffffff; - --button-default-aide-color: #333333; - --button-primary-danger-background-color: #ff3141; - --button-primary-danger-border-color: #ff3141; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #ffffff; - --button-default-danger-border-color: #ff3141; - --button-default-danger-color: #ff3141; - --button-text-danger-color: #ff3141; - --button-danger-default-color: #ff3141; - --button-active-bg: rgba(255, 255, 255, 0.08); - --button-inline-size: 30rpx; - --button-font-size: 38rpx; - --button-large-font-size: 38rpx; - --button-medium-font-size: 34rpx; - --button-small-font-size: 30rpx; - --button-icon-size: 44rpx; - --button-padding: 24rpx; - --button-large-padding: 24rpx; - --button-medium-padding-top: 16rpx; - --button-medium-padding-left: 24rpx; - --button-small-padding-top: 8rpx; - --button-small-padding-left: 24rpx; - --button-subtext-size: 24rpx; - --button-border-size: 2rpx; - - // actionsheet - --actionsheet-danger-color: #ff3141; - --actionsheet-title-color: #999999; - --actionsheet-item-color: #333333; - --actionsheet-item-active-bg: #eeeeee; - --activesheet-item-cancel-bg: #f5f5f5; - - // tabbar - --tabbar-bg: #ffffff; - --tabbar-item-color: #666666; - --tabbar-active-color: #1677ff; - - // tabs - --tabs-basic-color: #333333; - --tabs-weaken-color: #999999; - --tabs-inverse-color: #ffffff; - --tabs-active-color: #1677ff; - --tabs-active-decorate-color: #1677ff; - --tabs-underline-border-color: #eeeeee; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #f5f5f5; - --tabs-subtitle-color: #ffffff; - --tabs-count-color: #cccccc; - --tabs-badge-size: 28rpx; - - // feedBack - --feedback-text-color: #333333; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #f5f5f5; - --feedback-list-text-color: #333333; - - // calendar - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #333333; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #999999; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #1677ff; - - // collapse - --collapse-title-background-color: #ffffff; - --collapse-title-color: #333333; - --collapse-title-icon-color: #cccccc; - --collapse-content-background-color: #ffffff; - --collapse-border-color: #eeeeee; - --collapse-node-text-color: #999999; - --collapse-container-background-color: #ffffff; - - // container - --container-header-color: #333333; - --container-color-text-assist: #999999; - --container-background-color: #ffffff; - - // divider - --divider-text-color: #333333; - --divider-border-color: #e5e5e5; - - // empty - --empty-text-color: #333333; - --empty-asisst-text-color: #999999; - - // grid - --ant-grid-title-color: #333333; - --ant-grid-description-color: #999999; - --ant-grid-border-color: #eeeeee; - - // guide-tour - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #999999; - --guide-tour-dot-color: #999999; - --guide-tour-border-color: #eeeeee; - --guide-tour-btn-color: #333333; - - // indexbar - --index-bar-tip-background-color: #cccccc; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #999999; - --index-bar-active-color: #1677ff; - - // input - --input-item-color: #333333; - --input-item-placeholder-color: #cccccc; - --input-item-clear-color: #999999; - --input-background-color: #ffffff; - - // list - --list-header-color: #999999; - --list-footer-color: #999999; - --list-background-color: #ffffff; - --list-content-color: #333333; - --list-extra-brief-color: #999999; - --list-item-border-color: #eeeeee; - --list-item-text-color: #cccccc; - - // progress - --progress-stroke-color: #1677ff; - --progress-trail-color: #f5f5f5; - --progress-success-color: #22b35e; - --progress-indicator-color: #333333; - --progress-exception-color: #ff3141; - --progress-assist-color: #999999; - - // stepsf - --steps-non-active-bg: #e5e5e5; - --steps-title-color: #333333; - --steps-desc-color: #999999; - --steps-default-bg: #1677ff; - --steps-finish-bg: #ff3141; - - // swipe-action - --swipe-action-color: #ffffff; - - // tag - --tag-primary-color: #1677ff; - --tag-warning-color: #ff6430; - --tag-danger-color: #ff3141; - --tag-success-color: #22b35e; - --tag-primary-light-color: #e7f1ff; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - - // checkbox - --checkbox-header-color: #999999; - --checkbox-border-color: #cccccc; - --checkbox-background-color: #1677ff; - --checkbox-disabled-background: #f5f5f5; - --checkbox-text-color: #333333; - --checkbox-fake-icon-background-color: #ffffff; - - // checkboxList - --checklist-background-color: #1677ff; - --check-list-item-title-color: #333333; - --check-list-item-background-color: #ffffff; - --check-list-item-hover-background-color: #eeeeee; - --check-list-item-content-color: #333333; - --check-list-item-description-color: #999999; - - // data-picker - --range-picker-shadow-color: #000000; - --range-picker-item-color: #333333; - --range-picker-active-color: #1677ff; - --range-picker-placeholder-color: #cccccc; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - - // form - --form-text-color: #cccccc; - --form-item-color: #666666; - --form-item-bg: #ffffff; - --form-error-color: #ff3141; - --form-extra-color: #999999; - --form-asterisk-color: #ff3b30; - - // imageUpload - --image-upload-cover-background: #ffffff; - --image-upload-wrapper-background: #f5f5f5; - --image-upload-background-color: #ffffff; - --image-upload-text-color: #ffffff; - - // loading - --loading-text-color: #d8d8d8; //铁黑 - --loading-icon-light-color: rgba(255, 255, 255, 0.6); - - // mask - --mask-background-color: rgba(0, 0, 0, 0.55); - - // numberKeyboard - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #333333; - --number-key-board-none-text-color: #999999; - --number-key-board-iphonex-safe-background-color: #ffffff; - --number-key-board-background-color: #f5f5f5; - --number-key-board-border-color: #eeeeee; - --number-key-board-transfer-bg: #1677ff; - --number-key-board-transfer-color: #ffffff; - - // picker - --picker-item-color: #333333; - --picker-header-action-color: #1677ff; - --picker-placeholder-color: #cccccc; - --picker-header-color: #eeeeee; - --picker-content-background-color: #ffffff; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.05); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.4); - - // radio - --radio-header-color: #999999; - --radio-border-color: #cccccc; - --radio-background-color: #1677ff; - --radio-disabled-background: #f5f5f5; - --radio-text-color: #333333; - --radio-fake-icon-background-color: #ffffff; - --radio-icon-color: #ffffff; - - // popoverList - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #ffffff; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #e5e5e5; - - // rare-words - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #d8d8d8; - --rare-words-keyboard-color: #333333; - --rare-words-border-color: #eeeeee; - --rare-words-kb-bg: #f5f5f5; - --rare-words-pinyin-key-color: #ffffff; - --rare-words-inner-bg: #cccccc; - --rare-words-active-color: #1677ff; - --rare-words-pinyin-color: #f5f5f5; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #666666; - - // selector - --selector-background-color: #ffffff; - --selector-item-background: #f5f5f5; - --selector-item-active-background: #e7f1ff; - --selector-item-color: #333333; - --selector-item-sub-color: #999999; - --selector-item-color: #1677ff; - - //slide - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slider-default-primary-color: #1677ff; - --slider-track-bg: #ffffff; - --slider-fill-bg: #f5f5f5; - --slider-number-color: #333333; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #f5f5f5; - - // stepper - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #e5e5e5; - --stepper-border-color: #e5e5e5; - --stepper-background-color: #ffffff; - --stepper-hover-bg: rgba(0, 0, 0, 0.08); - --stepper-input-font-color: #333333; - - // switch - --switch-fill: #1677ff; - --switch-border-color: #eeeeee; - --switch-loading-color: #1677ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #999999; - - // dialog - --dialog-background-color: #ffffff; - --dialog-title-color: #333333; - --dialog-content-color: #333333; - --dialog-close-text-color: #999999; - - // modal - --modal-background-color: #ffffff; - --modal-title-color: #333333; - --modal-content-color: #333333; - --modal-close-text-color: #999999; - - // popover - --popover-color-background: #404040; //popover默认底色 - --popover-bg: #ffffff; - --popover-text-color: #000000; - --popover-inner-color: #ffffff; - - // popup - --popup-background: #ffffff; - --popup-color: #333333; - --popup-assit-color: #999999; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - - // rate - --rate-active-icon: #ff9f18; - --rate-icon-color: #eeeeee; - - // result - --result-main-background: #ffffff; - --result-title-color: #000000; - --result-desc-color: #333333; - --result-success-color: #1677ff; - --result-error-color: #ff3b30; - --result-warning-color: #ff8f1f; - --result-wait-color: #00b578; - - // skeleton - --skeleton-animation-25: #eeeeee; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #eeeeee; - // toast - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - - // badge - --badge-text-color: #ffffff; - --badge-background-color: #ff3141; - - // notice-bar - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff3141; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #1677ff; - --notice-primary-background-color: rgba(208, 228, 255, 1); - --notice-info-text-color: #ffffff; - --notice-info-background-color: #666666; - // page-container - --page-container-background-color: #f5f5f5; - // typography - --typography-container-color: #333333; - // pagination - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #1677ff; - - // table - --table-item-color: #333333; - --table-item-bg: #ffffff; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #fff; - - // sticky - --sticky-check-bg: rgba(238, 238, 238, 0); - - // voucher - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #666; - --voucher-action-btn-color: #ff3141; - --voucher-action-bg: #fff; - --voucher-action-left-bg: #fff; - --voucher-action-left-threshold-bg: #fff; - --voucher-action-right-color: #fff; - --voucher-action-right-title-color: #fff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #666; - - // card - --ant-card-bg: #ffffff; - --ant-card-header-title-color: #333333; - --ant-card-header-link-color: #999999; - --ant-card-fold-btn-color: #1677ff; - - // countDown - --ant-countdown-color: #666; - --ant-countdown-number-color: #ffffff; - --ant-countdown-number-bg: #1677ff; - - // select-contact - --select-contact-search-bar-focus-color: #1677ff; - --select-contact-search-cancel-color: #333333; - --select-contact-wrap-loading-bg: #fff; - --select-contact-scroll-bg: #fff; - --select-contact-list-bg: #fff; - --select-contact-list-bg: #fff; - --select-contact-list-color: #999; - --select-contact-title-first-color: #333; - --select-contact-title-first-border: #eee; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #fff; - --select-contact-empty-color: #999; - --select-contact-loading-bg: #999; - --select-contact-display-light-color: #fa6300; - - // numberInput - --number-input-background-color: #ffffff; - --number-input-title-color: #333333; - --number-input-link-color: #4b6b99; - --number-input-unit-color: #999999; - --number-input-border-color: #eeeeee; - --number-input-prefix-color: #333333; - --number-input-caret-color: #1677ff; - --number-input-quick-text-color: #1677ff; - --number-input-quick-border-color: #1677ff; - - // postScript - --postscript-background-color: #ffffff; - --postscript-title-color: #333; - --postscript-input-color: #333; - --postscript-caret-color: #1677ff; - --postscript-placeholder-color: #cccccc; - --postscript-quick-text-color: #666; - --postscript-quick-border-color: #eeeeee; -} diff --git a/compiled/wechat/demo/pages/ActionSheet/index.js b/compiled/wechat/demo/pages/ActionSheet/index.js deleted file mode 100644 index 940576449..000000000 --- a/compiled/wechat/demo/pages/ActionSheet/index.js +++ /dev/null @@ -1,72 +0,0 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ -Page({ - data: { - visible1: false, - visible2: false, - visible3: false, - actions1: [ - { - text: '复制', - key: 'copy', - }, - { - text: '修改', - key: 'modify', - }, - ], - actions2: [ - { - text: '复制', - key: 'copy', - description: '请选择复制内容', - }, - { - text: '修改', - key: 'modify', - disabled: true, - }, - { - text: '删除', - key: 'delete', - danger: true, - }, - ], - actions3: [ - { - text: '备份', - key: 'backup', - description: '请选择要备份的内容', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*I0oNS4RCQzUAAAAAAAAAAAAAARQnAQ', - }, - { - text: '保存', - key: 'save', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*BNczQ7hmp2gAAAAAAAAAAAAAARQnAQ', - }, - { - text: '同步', - key: 'sync', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*eRaVSrV56dIAAAAAAAAAAAAAARQnAQ', - }, - ], - }, - handleOpenBasic(e) { - const { index } = e.currentTarget.dataset; - this.setData({ - [`visible${index}`]: true, - }); - }, - handleCloseBasic(e) { - const { index } = e.currentTarget.dataset; - this.setData({ - [`visible${index}`]: false, - }); - }, - handleAction(item, index, e) { - const [clickItem, clickIndex] = item.detail; - //@ts-ignore - wx.showToast({ - title: `你点击了${clickItem.key}(${clickIndex})`, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/ActionSheet/index.json b/compiled/wechat/demo/pages/ActionSheet/index.json deleted file mode 100644 index 0ecdf8984..000000000 --- a/compiled/wechat/demo/pages/ActionSheet/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "ActionSheet", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-action-sheet": "../../../src/ActionSheet/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/ActionSheet/index.wxml b/compiled/wechat/demo/pages/ActionSheet/index.wxml deleted file mode 100644 index ec0b50920..000000000 --- a/compiled/wechat/demo/pages/ActionSheet/index.wxml +++ /dev/null @@ -1,49 +0,0 @@ - - - 基础用法 - - - 危险状态&禁用状态 - - - 带注释及icon - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/ActionSheet/index.wxss b/compiled/wechat/demo/pages/ActionSheet/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/AutoResize/index.js b/compiled/wechat/demo/pages/AutoResize/index.js deleted file mode 100644 index 8ec69958d..000000000 --- a/compiled/wechat/demo/pages/AutoResize/index.js +++ /dev/null @@ -1,3 +0,0 @@ -Page({ - data: {}, -}); diff --git a/compiled/wechat/demo/pages/AutoResize/index.json b/compiled/wechat/demo/pages/AutoResize/index.json deleted file mode 100644 index 817374a37..000000000 --- a/compiled/wechat/demo/pages/AutoResize/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "AutoResize", - "usingComponents": { - "ant-auto-resize": "../../../src/AutoResize/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/AutoResize/index.wxml b/compiled/wechat/demo/pages/AutoResize/index.wxml deleted file mode 100644 index f9b7a7247..000000000 --- a/compiled/wechat/demo/pages/AutoResize/index.wxml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - 页面遇到一些小问题 - - - - - The page is experiencing some minor issues - - - - - The page is experiencing some minor issues - - - - - ページにいくつかの小さな問題が発生しています - - - - - 페이지에 작은 문제가 발생했습니다 - - - - - تواجه الصفحة بعض المشكلات البسيطة - - - - - La página ha encontrado algunos pequeños problemas - - - - - На странице возникли небольшие проблемы - - - - - La page rencontre quelques problèmes mineurs - - - - - Auf der Seite treten einige kleinere Probleme auf - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/AutoResize/index.wxss b/compiled/wechat/demo/pages/AutoResize/index.wxss deleted file mode 100644 index ae3e2a465..000000000 --- a/compiled/wechat/demo/pages/AutoResize/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -page { - padding-top: 70px; - box-sizing: border-box; -} diff --git a/compiled/wechat/demo/pages/Avatar/index.js b/compiled/wechat/demo/pages/Avatar/index.js deleted file mode 100644 index aafd900fd..000000000 --- a/compiled/wechat/demo/pages/Avatar/index.js +++ /dev/null @@ -1,11 +0,0 @@ -Page({ - data: { - sizes: ['x-small', 'small', 'medium', 'large'], - images: [ - 'https://images.unsplash.com/photo-1548532928-b34e3be62fc6?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ', - 'https://images.unsplash.com/photo-1493666438817-866a91353ca9?ixlib=rb-0.3.5&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&s=b616b2c5b373a80ffc9636ba24f7a4a9', - 'https://images.unsplash.com/photo-1542624937-8d1e9f53c1b9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ', - 'https://images.unsplash.com/photo-1546967191-fdfb13ed6b1e?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ', - ], - }, -}); diff --git a/compiled/wechat/demo/pages/Avatar/index.json b/compiled/wechat/demo/pages/Avatar/index.json deleted file mode 100644 index 070e83d45..000000000 --- a/compiled/wechat/demo/pages/Avatar/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Avatar", - "usingComponents": { - "ant-avatar": "../../../src/Avatar/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Avatar/index.wxml b/compiled/wechat/demo/pages/Avatar/index.wxml deleted file mode 100644 index a33a8caf2..000000000 --- a/compiled/wechat/demo/pages/Avatar/index.wxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - Novalee Spicer - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Avatar/index.wxss b/compiled/wechat/demo/pages/Avatar/index.wxss deleted file mode 100644 index c175a553d..000000000 --- a/compiled/wechat/demo/pages/Avatar/index.wxss +++ /dev/null @@ -1,10 +0,0 @@ -.avatar { - margin: 8px; -} -.avatar-custom { - margin: 8px; -} -.avatar-custom image { - width: 40px; - height: 40px; -} diff --git a/compiled/wechat/demo/pages/Badge/index.js b/compiled/wechat/demo/pages/Badge/index.js deleted file mode 100644 index 8ec69958d..000000000 --- a/compiled/wechat/demo/pages/Badge/index.js +++ /dev/null @@ -1,3 +0,0 @@ -Page({ - data: {}, -}); diff --git a/compiled/wechat/demo/pages/Badge/index.json b/compiled/wechat/demo/pages/Badge/index.json deleted file mode 100644 index 53c2abb17..000000000 --- a/compiled/wechat/demo/pages/Badge/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Badge", - "usingComponents": { - "ant-badge": "../../../src/Badge/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Badge/index.wxml b/compiled/wechat/demo/pages/Badge/index.wxml deleted file mode 100644 index d9805c400..000000000 --- a/compiled/wechat/demo/pages/Badge/index.wxml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Badge/index.wxss b/compiled/wechat/demo/pages/Badge/index.wxss deleted file mode 100644 index 0cb96a005..000000000 --- a/compiled/wechat/demo/pages/Badge/index.wxss +++ /dev/null @@ -1,16 +0,0 @@ -page { - padding: 24rpx; -} -.badge-list { - display: flex; -} -.ant-badge { - margin-right: 16px; -} -.box { - width: 40px; - height: 40px; - display: block; - border-radius: 8px; - background: #b3b3b3; -} diff --git a/compiled/wechat/demo/pages/Button/index.js b/compiled/wechat/demo/pages/Button/index.js deleted file mode 100644 index 5c06ece55..000000000 --- a/compiled/wechat/demo/pages/Button/index.js +++ /dev/null @@ -1,14 +0,0 @@ -Page({ - handleTap() { - //@ts-ignore - wx.showToast({ - title: '点击按钮', - }); - }, - handleDisabledTap() { - //@ts-ignore - wx.showToast({ - title: '禁用点击', - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Button/index.json b/compiled/wechat/demo/pages/Button/index.json deleted file mode 100644 index 38117ee8e..000000000 --- a/compiled/wechat/demo/pages/Button/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Button", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Button/index.wxml b/compiled/wechat/demo/pages/Button/index.wxml deleted file mode 100644 index 1214e518a..000000000 --- a/compiled/wechat/demo/pages/Button/index.wxml +++ /dev/null @@ -1,392 +0,0 @@ - - - 主要按钮 - 操作线框按钮 - 文本按钮 - - - 辅助按钮 - 辅助按钮 - 操作线框辅助按钮 - 操作线框辅助按钮 - - - 主要按钮 - 次要按钮 - 文本按钮 - - - 主要按钮 - 次要按钮 - 文本按钮 - - - 主要按钮 - 次要按钮 - 文本 - - - 主要按钮 - 次要按钮 - 文本按钮 - - - 主要按钮 - 主要按钮 - 主要按钮 - - - 主要按钮 - 主要按钮 - - - Icon - Icon - Icon - Icon - Icon - Icon - - - Icon - Icon - Icon - - - Icon - Icon - Icon - - - loading - loading - loading - - - disabled - disabled - disabled - - - 主要按钮 - 次要按钮 - 文本按钮 - - - 主要按钮 - 主要按钮 - 主要按钮 - - - 主要按钮 - 次要按钮 - 文本按钮 - - - 主要按钮 - 次要按钮 - 文本按钮 - - - 主要按钮 - 次要按钮 - 文本 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Button/index.wxss b/compiled/wechat/demo/pages/Button/index.wxss deleted file mode 100644 index e999d7226..000000000 --- a/compiled/wechat/demo/pages/Button/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -button { - margin-bottom: 8px; -} diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.js b/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.js deleted file mode 100644 index 3f3e09a87..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.js +++ /dev/null @@ -1,41 +0,0 @@ -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import Converter from './js-calendar-converter'; -import { Component, getValueFromProps } from '../../../../../src/_util/simply'; -Component({ - cell: null, -}, { - updateData() { - const cell = getValueFromProps(this, 'cell'); - const time = dayjs(cell === null || cell === void 0 ? void 0 : cell.time); - const vs = Converter.solar2lunar(time.get('year'), time.get('month') + 1, time.get('date')); - if (vs === -1) { - this.setData({ - cnday: '', - }); - return; - } - this.setData({ - cnday: vs.lunarFestival || vs.festival || vs.IDayCn, - festival: !!vs.festival || !!vs.lunarFestival, - unset: (cell === null || cell === void 0 ? void 0 : cell.isSelectedBegin) || (cell === null || cell === void 0 ? void 0 : cell.isSelectedEnd), - }); - }, -}, { - cnday: '', - festival: '', - unset: '', -}, null, { - attached() { - this.updateData(); - }, - observers: { - '**': function (data) { - const prevData = this._prevData || this.data; - this._prevData = { ...data }; - if (!equal(prevData.cell, data.cell)) { - this.updateData(); - } - }, - }, -}); diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.json b/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.json deleted file mode 100644 index 79f273097..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "styleIsolation": "apply-shared" -} diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.wxml b/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.wxml deleted file mode 100644 index 37e52579f..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.wxml +++ /dev/null @@ -1 +0,0 @@ -{{cnday}} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.wxss b/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.wxss deleted file mode 100644 index 1f8ea376f..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.wxss +++ /dev/null @@ -1,9 +0,0 @@ -.cn-day { - color: #999999; -} -.festival { - color: red; -} -.unset { - color: unset; -} diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/js-calendar-converter.js b/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/js-calendar-converter.js deleted file mode 100644 index 2038a00e9..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/js-calendar-converter.js +++ /dev/null @@ -1,669 +0,0 @@ -var lunarInfo = [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, -//1900-1909 -0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, -//1910-1919 -0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, -//1920-1929 -0x06566, 0x0d4a0, 0x0ea50, 0x16a95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, -//1930-1939 -0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, -//1940-1949 -0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, -//1950-1959 -0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, -//1960-1969 -0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, -//1970-1979 -0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, -//1980-1989 -0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, -//1990-1999 -0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, -//2000-2009 -0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, -//2010-2019 -0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, -//2020-2029 -0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, -//2030-2039 -0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, -//2040-2049 -/**Add By JJonline@JJonline.Cn**/ -0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, -//2050-2059 -0x092e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, -//2060-2069 -0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, -//2070-2079 -0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, -//2080-2089 -0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, -//2090-2099 -0x0d520]; //2100 - -var solarMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; - -var Gan = ["\u7532", "\u4E59", "\u4E19", "\u4E01", "\u620A", "\u5DF1", "\u5E9A", "\u8F9B", "\u58EC", "\u7678"]; -var Zhi = ["\u5B50", "\u4E11", "\u5BC5", "\u536F", "\u8FB0", "\u5DF3", "\u5348", "\u672A", "\u7533", "\u9149", "\u620C", "\u4EA5"]; - -var ChineseZodiac = ["\u9F20", "\u725B", "\u864E", "\u5154", "\u9F99", "\u86C7", "\u9A6C", "\u7F8A", "\u7334", "\u9E21", "\u72D7", "\u732A"]; - -var festival = { - '1-1': { - title: '元旦节' - }, - '2-14': { - title: '情人节' - }, - '5-1': { - title: '劳动节' - }, - '5-4': { - title: '青年节' - }, - '6-1': { - title: '儿童节' - }, - '9-10': { - title: '教师节' - }, - '10-1': { - title: '国庆节' - }, - '12-25': { - title: '圣诞节' - }, - '3-8': { - title: '妇女节' - }, - '3-12': { - title: '植树节' - }, - '4-1': { - title: '愚人节' - }, - '5-12': { - title: '护士节' - }, - '7-1': { - title: '建党节' - }, - '8-1': { - title: '建军节' - }, - '12-24': { - title: '平安夜' - } -}; -var lFestival = { - '12-30': { - title: '除夕' - }, - '1-1': { - title: '春节' - }, - '1-15': { - title: '元宵节' - }, - '2-2': { - title: '龙抬头' - }, - '5-5': { - title: '端午节' - }, - '7-7': { - title: '七夕节' - }, - '7-15': { - title: '中元节' - }, - '8-15': { - title: '中秋节' - }, - '9-9': { - title: '重阳节' - }, - '10-1': { - title: '寒衣节' - }, - '10-15': { - title: '下元节' - }, - '12-8': { - title: '腊八节' - }, - '12-23': { - title: '北方小年' - }, - '12-24': { - title: '南方小年' - } -}; - -var solarTerm = ["\u5C0F\u5BD2", "\u5927\u5BD2", "\u7ACB\u6625", "\u96E8\u6C34", "\u60CA\u86F0", "\u6625\u5206", "\u6E05\u660E", "\u8C37\u96E8", "\u7ACB\u590F", "\u5C0F\u6EE1", "\u8292\u79CD", "\u590F\u81F3", "\u5C0F\u6691", "\u5927\u6691", "\u7ACB\u79CB", "\u5904\u6691", "\u767D\u9732", "\u79CB\u5206", "\u5BD2\u9732", "\u971C\u964D", "\u7ACB\u51AC", "\u5C0F\u96EA", "\u5927\u96EA", "\u51AC\u81F3"]; -var sTermInfo = ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722']; - -var nStr1 = ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"]; -var nStr2 = ["\u521D", "\u5341", "\u5EFF", "\u5345"]; -var nStr3 = ["\u6B63", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341", "\u51AC", "\u814A"]; - -/** - * @1900-2100区间内的公历、农历互转 - * @charset UTF-8 - * @Author Jea杨(JJonline@JJonline.Cn) - * @Time 2014-7-21 - * @Time 2016-8-13 Fixed 2033hex、Attribution Annals - * @Time 2016-9-25 Fixed lunar LeapMonth Param Bug - * @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year - * @Version 1.0.3 - * @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0] - * @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0] - */ -var calendar = { - /** - * 农历1900-2100的润大小信息表 - * @Array Of Property - * @return Hex - */ - lunarInfo: lunarInfo, - /** - * 公历每个月份的天数普通表 - * @Array Of Property - * @return Number - */ - solarMonth: solarMonth, - /** - * 天干地支之天干速查表 - * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"] - * @return Cn string - */ - Gan: Gan, - /** - * 天干地支之地支速查表 - * @Array Of Property - * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"] - * @return Cn string - */ - Zhi: Zhi, - /** - * 天干地支之地支速查表<=>生肖 - * @Array Of Property - * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"] - * @return Cn string - */ - Animals: ChineseZodiac, - /** - * 阳历节日 - */ - festival: festival, - /** - * 农历节日 - */ - lFestival: lFestival, - /** - * 24节气速查表 - * @Array Of Property - * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"] - * @return Cn string - */ - solarTerm: solarTerm, - /** - * 1900-2100各年的24节气日期速查表 - * @Array Of Property - * @return 0x string For splice - */ - sTermInfo: sTermInfo, - /** - * 数字转中文速查表 - * @Array Of Property - * @trans ['日','一','二','三','四','五','六','七','八','九','十'] - * @return Cn string - */ - nStr1: nStr1, - /** - * 日期转农历称呼速查表 - * @Array Of Property - * @trans ['初','十','廿','卅'] - * @return Cn string - */ - nStr2: nStr2, - /** - * 月份转农历称呼速查表 - * @Array Of Property - * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊'] - * @return Cn string - */ - nStr3: nStr3, - /** - * 返回默认定义的阳历节日 - */ - getFestival: function getFestival() { - return this.festival; - }, - /** - * 返回默认定义的内容里节日 - */ - getLunarFestival: function getLunarFestival() { - return this.lFestival; - }, - /** - * - * @param param {Object} 按照festival的格式输入数据,设置阳历节日 - */ - setFestival: function setFestival() { - var param = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.festival = param; - }, - /** - * - * @param param {Object} 按照lFestival的格式输入数据,设置农历节日 - */ - setLunarFestival: function setLunarFestival() { - var param = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.lFestival = param; - }, - /** - * 返回农历y年一整年的总天数 - * @param y lunar Year - * @return Number - * @eg:var count = calendar.lYearDays(1987) ;//count=387 - */ - lYearDays: function lYearDays(y) { - var i, - sum = 348; - for (i = 0x8000; i > 0x8; i >>= 1) { - sum += this.lunarInfo[y - 1900] & i ? 1 : 0; - } - return sum + this.leapDays(y); - }, - /** - * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0 - * @param y lunar Year - * @return Number (0-12) - * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6 - */ - leapMonth: function leapMonth(y) { - //闰字编码 \u95f0 - return this.lunarInfo[y - 1900] & 0xf; - }, - /** - * 返回农历y年闰月的天数 若该年没有闰月则返回0 - * @param y lunar Year - * @return Number (0、29、30) - * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29 - */ - leapDays: function leapDays(y) { - if (this.leapMonth(y)) { - return this.lunarInfo[y - 1900] & 0x10000 ? 30 : 29; - } - return 0; - }, - /** - * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法 - * @param y lunar Year - * @param m lunar Month - * @return Number (-1、29、30) - * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29 - */ - monthDays: function monthDays(y, m) { - if (m > 12 || m < 1) { - return -1; - } //月份参数从1至12,参数错误返回-1 - return this.lunarInfo[y - 1900] & 0x10000 >> m ? 30 : 29; - }, - /** - * 返回公历(!)y年m月的天数 - * @param y solar Year - * @param m solar Month - * @return Number (-1、28、29、30、31) - * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30 - */ - solarDays: function solarDays(y, m) { - if (m > 12 || m < 1) { - return -1; - } //若参数错误 返回-1 - var ms = m - 1; - if (ms === 1) { - //2月份的闰平规律测算后确认返回28或29 - return y % 4 === 0 && y % 100 !== 0 || y % 400 === 0 ? 29 : 28; - } else { - return this.solarMonth[ms]; - } - }, - /** - * 农历年份转换为干支纪年 - * @param lYear 农历年的年份数 - * @return Cn string - */ - toGanZhiYear: function toGanZhiYear(lYear) { - var ganKey = (lYear - 3) % 10; - var zhiKey = (lYear - 3) % 12; - if (ganKey === 0) ganKey = 10; //如果余数为0则为最后一个天干 - if (zhiKey === 0) zhiKey = 12; //如果余数为0则为最后一个地支 - return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1]; - }, - /** - * 公历月、日判断所属星座 - * @param cMonth [description] - * @param cDay [description] - * @return Cn string - */ - toAstro: function toAstro(cMonth, cDay) { - var s = "\u6469\u7FAF\u6C34\u74F6\u53CC\u9C7C\u767D\u7F8A\u91D1\u725B\u53CC\u5B50\u5DE8\u87F9\u72EE\u5B50\u5904\u5973\u5929\u79E4\u5929\u874E\u5C04\u624B\u6469\u7FAF"; - var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22]; - return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + "\u5EA7"; //座 - }, - - /** - * 传入offset偏移量返回干支 - * @param offset 相对甲子的偏移量 - * @return Cn string - */ - toGanZhi: function toGanZhi(offset) { - return this.Gan[offset % 10] + this.Zhi[offset % 12]; - }, - /** - * 传入公历(!)y年获得该年第n个节气的公历日期 - * @param y y公历年(1900-2100) - * @param n n二十四节气中的第几个节气(1~24);从n=1(小寒)算起 - * @return day Number - * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春 - */ - getTerm: function getTerm(y, n) { - if (y < 1900 || y > 2100 || n < 1 || n > 24) { - return -1; - } - var _table = this.sTermInfo[y - 1900]; - var _calcDay = []; - for (var index = 0; index < _table.length; index += 5) { - var chunk = parseInt('0x' + _table.substr(index, 5)).toString(); - _calcDay.push(chunk[0], chunk.substr(1, 2), chunk[3], chunk.substr(4, 2)); - } - return parseInt(_calcDay[n - 1]); - }, - /** - * 传入农历数字月份返回汉语通俗表示法 - * @param m lunar month - * @return Cn string - * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月' - */ - toChinaMonth: function toChinaMonth(m) { - // 月 => \u6708 - if (m > 12 || m < 1) { - return -1; - } //若参数错误 返回-1 - var s = this.nStr3[m - 1]; - s += "\u6708"; //加上月字 - return s; - }, - /** - * 传入农历日期数字返回汉字表示法 - * @param d lunar day - * @return Cn string - * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一' - */ - toChinaDay: function toChinaDay(d) { - //日 => \u65e5 - var s; - switch (d) { - case 10: - s = "\u521D\u5341"; - break; - case 20: - s = "\u4E8C\u5341"; - break; - case 30: - s = "\u4E09\u5341"; - break; - default: - s = this.nStr2[Math.floor(d / 10)]; - s += this.nStr1[d % 10]; - } - return s; - }, - /** - * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春” - * @param y year - * @return Cn string - * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔' - */ - getAnimal: function getAnimal(y) { - return this.Animals[(y - 4) % 12]; - }, - /** - * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON - * !important! 公历参数区间1900.1.31~2100.12.31 - * @param yPara solar year - * @param mPara solar month - * @param dPara solar day - * @return JSON object - * @eg:console.log(calendar.solar2lunar(1987,11,01)); - */ - solar2lunar: function solar2lunar(yPara, mPara, dPara) { - var y = parseInt(yPara); - var m = parseInt(mPara); - var d = parseInt(dPara); - //年份限定、上限 - if (y < 1900 || y > 2100) { - return -1; // undefined转换为数字变为NaN - } - //公历传参最下限 - if (y === 1900 && m === 1 && d < 31) { - return -1; - } - - //未传参 获得当天 - var objDate; - if (!y) { - objDate = new Date(); - } else { - objDate = new Date(y, parseInt(m) - 1, d); - } - var i, - leap = 0, - temp = 0; - //修正ymd参数 - y = objDate.getFullYear(); - m = objDate.getMonth() + 1; - d = objDate.getDate(); - var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000; - for (i = 1900; i < 2101 && offset > 0; i++) { - temp = this.lYearDays(i); - offset -= temp; - } - if (offset < 0) { - offset += temp; - i--; - } - - //是否今天 - var isTodayObj = new Date(), - isToday = false; - if (isTodayObj.getFullYear() === y && isTodayObj.getMonth() + 1 === m && isTodayObj.getDate() === d) { - isToday = true; - } - //星期几 - var nWeek = objDate.getDay(), - cWeek = this.nStr1[nWeek]; - //数字表示周几顺应天朝周一开始的惯例 - if (nWeek === 0) { - nWeek = 7; - } - //农历年 - var year = i; - leap = this.leapMonth(i); //闰哪个月 - var isLeap = false; - - //效验闰月 - for (i = 1; i < 13 && offset > 0; i++) { - //闰月 - if (leap > 0 && i === leap + 1 && isLeap === false) { - --i; - isLeap = true; - temp = this.leapDays(year); //计算农历闰月天数 - } else { - temp = this.monthDays(year, i); //计算农历普通月天数 - } - //解除闰月 - if (isLeap === true && i === leap + 1) { - isLeap = false; - } - offset -= temp; - } - // 闰月导致数组下标重叠取反 - if (offset === 0 && leap > 0 && i === leap + 1) { - if (isLeap) { - isLeap = false; - } else { - isLeap = true; - --i; - } - } - if (offset < 0) { - offset += temp; - --i; - } - //农历月 - var month = i; - //农历日 - var day = offset + 1; - //天干地支处理 - var sm = m - 1; - var gzY = this.toGanZhiYear(year); - - // 当月的两个节气 - // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year` - var firstNode = this.getTerm(y, m * 2 - 1); //返回当月「节」为几日开始 - var secondNode = this.getTerm(y, m * 2); //返回当月「节」为几日开始 - - // 依据12节气修正干支月 - var gzM = this.toGanZhi((y - 1900) * 12 + m + 11); - if (d >= firstNode) { - gzM = this.toGanZhi((y - 1900) * 12 + m + 12); - } - - //传入的日期的节气与否 - var isTerm = false; - var Term = null; - if (firstNode === d) { - isTerm = true; - Term = this.solarTerm[m * 2 - 2]; - } - if (secondNode === d) { - isTerm = true; - Term = this.solarTerm[m * 2 - 1]; - } - //日柱 当月一日与 1900/1/1 相差天数 - var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10; - var gzD = this.toGanZhi(dayCyclical + d - 1); - //该日期所属的星座 - var astro = this.toAstro(m, d); - var solarDate = y + '-' + m + '-' + d; - var lunarDate = year + '-' + month + '-' + day; - var festival = this.festival; - var lFestival = this.lFestival; - var festivalDate = m + '-' + d; - var lunarFestivalDate = month + '-' + day; - - // bugfix https://github.com/jjonline/calendar.js/issues/29 - // 农历节日修正:农历12月小月则29号除夕,大月则30号除夕 - // 此处取巧修正:当前为农历12月29号时增加一次判断并且把lunarFestivalDate设置为12-30以正确取得除夕 - // 天朝农历节日遇闰月过前不过后的原则,此处取农历12月天数不考虑闰月 - // 农历润12月在本工具支持的200年区间内仅1574年出现 - if (month === 12 && day === 29 && this.monthDays(year, month) === 29) { - lunarFestivalDate = '12-30'; - } - return { - date: solarDate, - lunarDate: lunarDate, - festival: festival[festivalDate] ? festival[festivalDate].title : null, - lunarFestival: lFestival[lunarFestivalDate] ? lFestival[lunarFestivalDate].title : null, - 'lYear': year, - 'lMonth': month, - 'lDay': day, - 'Animal': this.getAnimal(year), - 'IMonthCn': (isLeap ? "\u95F0" : '') + this.toChinaMonth(month), - 'IDayCn': this.toChinaDay(day), - 'cYear': y, - 'cMonth': m, - 'cDay': d, - 'gzYear': gzY, - 'gzMonth': gzM, - 'gzDay': gzD, - 'isToday': isToday, - 'isLeap': isLeap, - 'nWeek': nWeek, - 'ncWeek': "\u661F\u671F" + cWeek, - 'isTerm': isTerm, - 'Term': Term, - 'astro': astro - }; - }, - /** - * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON - * !important! 参数区间1900.1.31~2100.12.1 - * @param y lunar year - * @param m lunar month - * @param d lunar day - * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可] - * @return JSON object - * @eg:console.log(calendar.lunar2solar(1987,9,10)); - */ - lunar2solar: function lunar2solar(y, m, d, isLeapMonth) { - y = parseInt(y); - m = parseInt(m); - d = parseInt(d); - isLeapMonth = !!isLeapMonth; - var leapMonth = this.leapMonth(y); - this.leapDays(y); - if (isLeapMonth && leapMonth !== m) { - return -1; - } //传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同 - if (y === 2100 && m === 12 && d > 1 || y === 1900 && m === 1 && d < 31) { - return -1; - } //超出了最大极限值 - var day = this.monthDays(y, m); - var _day = day; - //bugFix 2016-9-25 - //if month is leap, _day use leapDays method - if (isLeapMonth) { - _day = this.leapDays(y, m); - } - if (y < 1900 || y > 2100 || d > _day) { - return -1; - } //参数合法性效验 - - //计算农历的时间差 - var offset = 0; - var i; - for (i = 1900; i < y; i++) { - offset += this.lYearDays(i); - } - var leap = 0, - isAdd = false; - for (i = 1; i < m; i++) { - leap = this.leapMonth(y); - if (!isAdd) { - //处理闰月 - if (leap <= i && leap > 0) { - offset += this.leapDays(y); - isAdd = true; - } - } - offset += this.monthDays(y, i); - } - //转换闰月农历 需补充该年闰月的前一个月的时差 - if (isLeapMonth) { - offset += day; - } - //1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点) - var strap = Date.UTC(1900, 1, 30, 0, 0, 0); - var calObj = new Date((offset + d - 31) * 86400000 + strap); - var cY = calObj.getUTCFullYear(); - var cM = calObj.getUTCMonth() + 1; - var cD = calObj.getUTCDate(); - return this.solar2lunar(cY, cM, cD); - } -}; - -export { calendar as default }; diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.js b/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.js deleted file mode 100644 index b2f8e043a..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.js +++ /dev/null @@ -1,30 +0,0 @@ -import { Component, getValueFromProps } from '../../../../src/_util/simply'; -Component({ - hide: false, - defaultCollapse: null, - title: '', -}, { - handleToggle() { - const { collapse } = this.data; - this.setData({ - collapse: !collapse, - }); - }, -}, { - collapse: true, - internalHide: false, - containerTitle: '', -}, null, { - attached() { - const [defaultCollapse, hide, title] = getValueFromProps(this, [ - 'defaultCollapse', - 'hide', - 'title', - ]); - this.setData({ - collapse: defaultCollapse !== null && defaultCollapse !== void 0 ? defaultCollapse : true, - internalHide: hide, - containerTitle: title, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.json b/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.json deleted file mode 100644 index cc07bd87b..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "styleIsolation": "apply-shared", - "usingComponents": { - "ant-container": "../../../../src/Container/index" - } -} diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.wxml b/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.wxml deleted file mode 100644 index 8b7b1180e..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.wxml +++ /dev/null @@ -1,22 +0,0 @@ - - - - 收起 - - 展示 - - - - - - - 展示 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.wxss b/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.wxss deleted file mode 100644 index c4d8390a0..000000000 --- a/compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.placeholder { - text-align: center; - color: #999999; -} diff --git a/compiled/wechat/demo/pages/Calendar/index.js b/compiled/wechat/demo/pages/Calendar/index.js deleted file mode 100644 index ec523dbc6..000000000 --- a/compiled/wechat/demo/pages/Calendar/index.js +++ /dev/null @@ -1,133 +0,0 @@ -import dayjs from 'dayjs'; -const localeText = { - weekdayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - format: 'YYYY/MM', - today: 'Today', - start: 'Start', - end: 'End', - startAndEnd: 'Start/End', -}; -function demo8Formatter(cell) { - const isOdd = dayjs(cell.time).date() % 2 === 1; - const isNotBeginEnd = !cell.isSelectedBegin && !cell.isSelectedEnd; - const isWeekend = dayjs(cell.time).day() > 4; - let topClassName; - if (isNotBeginEnd) { - topClassName = isOdd ? 'odd' : 'even'; - } - return { - top: { - className: topClassName, - label: isOdd ? '奇数' : '偶数', - }, - bottom: { - label: isWeekend ? '周末' : '', - }, - }; -} -function demo8MonthFormatter(month) { - return { - ...month, - }; -} -function demoFormatter(cell, value) { - if (Array.isArray(value) && value.length == 1) { - const current = value[0]; - return { - disabled: dayjs(cell.time).diff(dayjs(current), 'days') > 3, - bottom: dayjs(cell.time).diff(dayjs(current), 'days') > 3 - ? { - label: '不可选', - } - : undefined, - }; - } - return {}; -} -const nowDate = Date.now(); -Page({ - data: { - demo1: { - defaultValue: [nowDate, nowDate], - visible: true, - }, - demo2: { - defaultValue: dayjs().add(1, 'M').toDate().getTime(), - visible: true, - }, - demo3: { - title: dayjs(new Date().getTime()).format('YYYY年MM月'), - monthRange: [new Date().getTime(), new Date().getTime()], - visible: true, - }, - demo4: { - visible: true, - }, - demo5: { - visible: true, - }, - demo6: { - monthRange: [new Date().getTime(), new Date().getTime()], - visible: true, - }, - demo7: { - localeText, - visible: true, - monthRange: [new Date().getTime(), new Date().getTime()], - }, - demo8: { - visible: true, - monthRange: [ - dayjs().toDate().getTime(), - dayjs().add(1, 'M').toDate().getTime(), - ], - }, - demoFormatter, - demo8Formatter, - demo8MonthFormatter, - demo9: { - visible: true, - value: nowDate, - }, - }, - demo3NextMonth() { - const current = this.data.demo3.monthRange[0]; - const newMonth = dayjs(current).add(1, 'month').toDate().getTime(); - this.setData({ - 'demo3.title': dayjs(newMonth).format('YYYY年MM月'), - 'demo3.monthRange': [newMonth, newMonth], - }); - }, - demo3PreviousMonth() { - const current = this.data.demo3.monthRange[0]; - const newMonth = dayjs(current).add(-1, 'month').toDate().getTime(); - this.setData({ - 'demo3.title': dayjs(newMonth).format('YYYY年MM月'), - 'demo3.monthRange': [newMonth, newMonth], - }); - }, - demoFormatter, - demo8Formatter, - demo8MonthFormatter, - demo9HandleChange(value) { - this.setData({ - 'demo9.value': value.detail, - }); - }, - demo9HandlePreviousDay() { - this.setData({ - 'demo9.value': this.data.demo9.value - 1000 * 24 * 3600, - }); - }, - demo9HandleNextDay() { - this.setData({ - 'demo9.value': this.data.demo9.value + 1000 * 24 * 3600, - }); - }, - demo9HandleScrollIntoView() { - this.ref.scrollIntoView(dayjs().add(1, 'M').toDate().getTime()); - }, - handleRef(ref) { - this.ref = ref.detail; - }, -}); diff --git a/compiled/wechat/demo/pages/Calendar/index.json b/compiled/wechat/demo/pages/Calendar/index.json deleted file mode 100644 index 7aef99c8d..000000000 --- a/compiled/wechat/demo/pages/Calendar/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "Calendar", - "usingComponents": { - "ant-icon": "../../../src/Icon/index", - "collapse-container": "./collapse-container/collapse-container", - "ant-button": "../../../src/Button/index", - "ant-calendar": "../../../src/Calendar/index", - "cn-day": "./collapse-container/cn-day/cn-day" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Calendar/index.wxml b/compiled/wechat/demo/pages/Calendar/index.wxml deleted file mode 100644 index c04677711..000000000 --- a/compiled/wechat/demo/pages/Calendar/index.wxml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - 上个月 - {{demo3.title}} - 下个月 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 上一天 - 下一天 - 滚动到下个月的今天 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Calendar/index.wxss b/compiled/wechat/demo/pages/Calendar/index.wxss deleted file mode 100644 index dcd1f09c3..000000000 --- a/compiled/wechat/demo/pages/Calendar/index.wxss +++ /dev/null @@ -1,32 +0,0 @@ -page { - padding: 8px; - box-sizing: border-box; -} -.custom-header { - display: flex; - justify-content: space-between; - align-items: center; - height: 60rpx; -} -.custom-header-left { - display: flex; - align-items: center; -} -.custom-header-right { - display: flex; - align-items: center; -} -.odd { - color: red; -} -.even { - color: blue; -} -.ant-calendar-cell.hidden { - opacity: 0; - pointer-events: none; -} -.ant-calendar-body-container.shrink { - height: 100px; - overflow: hidden; -} diff --git a/compiled/wechat/demo/pages/Card/index.js b/compiled/wechat/demo/pages/Card/index.js deleted file mode 100644 index 805eaa5cd..000000000 --- a/compiled/wechat/demo/pages/Card/index.js +++ /dev/null @@ -1,17 +0,0 @@ -Page({ - data: { - foldStatus: false, - titleSticky: false, - }, - handleLinkClick() { - // @ts-ignore - wx.showToast({ title: '被点击了' }); - }, - handleTapFoldBtn() { - console.log('收起展开态发生变化'); - this.setData({ foldStatus: !this.data.foldStatus }); - }, - handleTitleSticky(status) { - this.setData({ titleSticky: status }); - }, -}); diff --git a/compiled/wechat/demo/pages/Card/index.json b/compiled/wechat/demo/pages/Card/index.json deleted file mode 100644 index 5a8e015ab..000000000 --- a/compiled/wechat/demo/pages/Card/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Card", - "usingComponents": { - "ant-container": "../../../src/Container/index", - "ant-card": "../../../src/Card/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Card/index.wxml b/compiled/wechat/demo/pages/Card/index.wxml deleted file mode 100644 index 3697066a6..000000000 --- a/compiled/wechat/demo/pages/Card/index.wxml +++ /dev/null @@ -1,73 +0,0 @@ - - - - 我是卡片内容 - - - - - 标题内容间带分割线 - - - - - 模拟一个长卡片内容 - - - - - 内容区域可展开/收起 - - - - - 自定义 - 我是卡片内容 - - - - - 我是卡片内容 - - - - - 我是卡片内容 - - - - - {{foldStatus ? '查看更多内容' : '收起'}} - 内容区域可展开/收起 - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Card/index.wxss b/compiled/wechat/demo/pages/Card/index.wxss deleted file mode 100644 index 9e9c5dcf8..000000000 --- a/compiled/wechat/demo/pages/Card/index.wxss +++ /dev/null @@ -1,16 +0,0 @@ -#__react-content { - overflow: unset !important; -} -.ant-container { - background: transparent; -} -.card-title-radius { - border-radius: 32rpx; -} -.card-title-radius .ant-card-header { - background: var(--color-grey-card); - border-radius: 32rpx 32rpx 0 0; -} -.card-demo-sticky .ant-card-header { - border-radius: 0; -} diff --git a/compiled/wechat/demo/pages/Checkbox/index.js b/compiled/wechat/demo/pages/Checkbox/index.js deleted file mode 100644 index 081cb6ec0..000000000 --- a/compiled/wechat/demo/pages/Checkbox/index.js +++ /dev/null @@ -1,78 +0,0 @@ -Page({ - data: { - checked: false, - value: ['banana'], - options: [ - { value: 'apple', label: 'Apple' }, - { value: 'orange', label: 'Orange' }, - { value: 'banana', label: 'Banana' }, - ], - customOptions: [ - { - title: '分组一', - list: [ - { - title: '选项一', - value: '1', - }, - { - title: '选项二', - value: '2', - }, - { - title: '选项三', - value: '3', - }, - ], - }, - { - title: '分组二', - list: [ - { - title: '选项四', - value: '4', - }, - { - title: '选项五', - value: '5', - }, - { - title: '选项六', - value: '6', - }, - ], - }, - ], - customValue: [], - }, - onChange(value, e) { - console.log(value, e); - }, - handleCheckedChange(checked) { - this.setData({ - checked: checked.detail, - }); - }, - handleValueChange(value) { - this.setData({ - value: value.detail, - }); - }, - toggleChange() { - this.setData({ - checked: !this.data.checked, - }); - }, - handleCustomChange(checked, e) { - let value = this.data.customValue; - const event = checked; - if (event.detail) { - value = value.concat(event.target.dataset.value); - } - else { - value = value.filter((v) => v !== event.target.dataset.value); - } - this.setData({ customValue: value }); - console.log(value); - }, -}); diff --git a/compiled/wechat/demo/pages/Checkbox/index.json b/compiled/wechat/demo/pages/Checkbox/index.json deleted file mode 100644 index 1e56f9513..000000000 --- a/compiled/wechat/demo/pages/Checkbox/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "navigationBarTitleText": "CheckBox", - "usingComponents": { - "ant-checkbox": "../../../src/Checkbox/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index", - "ant-checkbox-group": "../../../src/Checkbox/CheckboxGroup/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Checkbox/index.wxml b/compiled/wechat/demo/pages/Checkbox/index.wxml deleted file mode 100644 index eff2328f4..000000000 --- a/compiled/wechat/demo/pages/Checkbox/index.wxml +++ /dev/null @@ -1,105 +0,0 @@ - - - - - 基础使用 - - - 设置默认值 - - - 禁用模式未选中 - 禁用模式已选中 - - - 自定义颜色 - - - - 受控模式 - - 切换 - - - - - 基础使用 - - - - 设置默认值 - - - - 横向布局 - - - - 禁用模式 - - - - 受控模式 - - - - 自定义颜色 - - - - - - - - - {{item.title}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Checkbox/index.wxs b/compiled/wechat/demo/pages/Checkbox/index.wxs deleted file mode 100644 index e55dc334f..000000000 --- a/compiled/wechat/demo/pages/Checkbox/index.wxs +++ /dev/null @@ -1,6 +0,0 @@ -function indexOf(array, value) { - return array.indexOf(value); -} -module.exports = { - indexOf: indexOf -}; \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Checkbox/index.wxss b/compiled/wechat/demo/pages/Checkbox/index.wxss deleted file mode 100644 index 36688f87e..000000000 --- a/compiled/wechat/demo/pages/Checkbox/index.wxss +++ /dev/null @@ -1,6 +0,0 @@ -.line { - margin-top: 40rpx; -} -.title { - color: #999; -} diff --git a/compiled/wechat/demo/pages/Checklist/index.js b/compiled/wechat/demo/pages/Checklist/index.js deleted file mode 100644 index 3d4846089..000000000 --- a/compiled/wechat/demo/pages/Checklist/index.js +++ /dev/null @@ -1,75 +0,0 @@ -Page({ - data: { - value: [1, 2], - options_1: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - options_2: [ - { - value: 1, - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - description: '这里是描述信息', - title: '可勾选列表项1', - }, - { - value: 2, - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - description: '这里是描述信息', - title: '可勾选列表项2', - }, - { - value: 3, - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - description: '这里是描述信息', - title: '可勾选列表项3', - }, - ], - options_3: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '禁用列表项2', - disabled: true, - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - options_4: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '只读列表项2', - readonly: true, - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChange(v, items, e) { - console.log('当前选中的值为:', v, items, e); - }, - onChangeControlled(value) { - this.setData({ value: value.detail[0] }); - }, -}); diff --git a/compiled/wechat/demo/pages/Checklist/index.json b/compiled/wechat/demo/pages/Checklist/index.json deleted file mode 100644 index 90db89fbf..000000000 --- a/compiled/wechat/demo/pages/Checklist/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Checklist", - "usingComponents": { - "ant-checklist": "../../../src/Checklist/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Checklist/index.wxml b/compiled/wechat/demo/pages/Checklist/index.wxml deleted file mode 100644 index 18566b9bf..000000000 --- a/compiled/wechat/demo/pages/Checklist/index.wxml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Checklist/index.wxss b/compiled/wechat/demo/pages/Checklist/index.wxss deleted file mode 100644 index 6a67e0cbb..000000000 --- a/compiled/wechat/demo/pages/Checklist/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.demo-checklist-label { - font-size: 32rpx; - padding: 36rpx 0 16rpx 16rpx; -} -.demo-checklist-checked-icon { - font-size: 36rpx; -} diff --git a/compiled/wechat/demo/pages/Collapse/index.js b/compiled/wechat/demo/pages/Collapse/index.js deleted file mode 100644 index 7f86a88e2..000000000 --- a/compiled/wechat/demo/pages/Collapse/index.js +++ /dev/null @@ -1,73 +0,0 @@ -const items1 = [ - { - title: '第一项', - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.' - }, - { - title: '第二项', - content: 'Dolor reprehenderit cillum aliqua qui id Lorem elit anim do minim mollit. Commodo id cupidatat est tempor anim. Fugiat ipsum dolor nostrud officia mollit. Aliquip aliqua pariatur tempor excepteur commodo non et adipisicing magna ex nostrud dolore cillum exercitation enim. In sunt velit laboris ullamco et in reprehenderit sit excepteur aute in dolor. Sunt minim incididunt consectetur laborum sint fugiat voluptate sunt culpa fugiat duis. Ad consectetur ad aliquip aute labore magna commodo est cupidatat.' - }, - { - title: '第三项', - content: 'Ad ut ullamco exercitation do excepteur ipsum ipsum consectetur nulla fugiat est et. Occaecat ullamco nulla mollit cupidatat dolore nulla minim cillum proident laboris mollit. Veniam consectetur esse consectetur. Fugiat in laborum anim.' - }, - { - title: '禁止选项', - disabled: true, - } -]; -const items2 = [ - { - title: '第一项', - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.' - }, - { - title: '第二项', - content: 'Dolor reprehenderit cillum aliqua qui id Lorem elit anim do minim mollit. Commodo id cupidatat est tempor anim. Fugiat ipsum dolor nostrud officia mollit. Aliquip aliqua pariatur tempor excepteur commodo non et adipisicing magna ex nostrud dolore cillum exercitation enim. In sunt velit laboris ullamco et in reprehenderit sit excepteur aute in dolor. Sunt minim incididunt consectetur laborum sint fugiat voluptate sunt culpa fugiat duis. Ad consectetur ad aliquip aute labore magna commodo est cupidatat.' - }, -]; -const items3 = [ - { - title: '第一项', - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.' - }, - { - title: '第二项', - content: 'Dolor reprehenderit cillum aliqua qui id Lorem elit anim do minim mollit. Commodo id cupidatat est tempor anim. Fugiat ipsum dolor nostrud officia mollit. Aliquip aliqua pariatur tempor excepteur commodo non et adipisicing magna ex nostrud dolore cillum exercitation enim. In sunt velit laboris ullamco et in reprehenderit sit excepteur aute in dolor. Sunt minim incididunt consectetur laborum sint fugiat voluptate sunt culpa fugiat duis. Ad consectetur ad aliquip aute labore magna commodo est cupidatat.' - }, - { - title: '第三项', - content: 'Ad ut ullamco exercitation do excepteur ipsum ipsum consectetur nulla fugiat est et. Occaecat ullamco nulla mollit cupidatat dolore nulla minim cillum proident laboris mollit. Veniam consectetur esse consectetur. Fugiat in laborum anim.' - }, -]; -Page({ - data: { - items1, - items2, - items3, - checkboxList: items3.map((item) => false), - }, - onChange(current) { - console.log(current); - }, - addItems() { - const items2 = [ - ...this.data.items2, - { - title: this.data.items2.length, - content: 'Pariatur dolore commodo commodo elit adipisicing sunt adipisicing ex duis labore nisi sunt. Magna ut minim deserunt. Sunt velit occaecat incididunt aliqua. Dolore officia voluptate aute reprehenderit anim excepteur elit.', - }, - ]; - this.setData({ - items2, - }); - }, - onCheckboxChange(checked, e) { - const { index } = e.currentTarget.dataset; - const checkboxList = [...this.data.checkboxList]; - checkboxList[index] = checked; - this.setData({ - checkboxList, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Collapse/index.json b/compiled/wechat/demo/pages/Collapse/index.json deleted file mode 100644 index f617ba9ba..000000000 --- a/compiled/wechat/demo/pages/Collapse/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Collapse", - "usingComponents": { - "ant-collapse": "../../../src/Collapse/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index", - "ant-checkbox": "../../../src/Checkbox/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Collapse/index.wxml b/compiled/wechat/demo/pages/Collapse/index.wxml deleted file mode 100644 index 1882e900a..000000000 --- a/compiled/wechat/demo/pages/Collapse/index.wxml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - 添加items - - - - 由于微信小程序平台的限制, Collapse 暂时不支持 Slot - - - - {{item.value.title}} - - {{item.value.content}} - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Collapse/index.wxss b/compiled/wechat/demo/pages/Collapse/index.wxss deleted file mode 100644 index fc9bc7608..000000000 --- a/compiled/wechat/demo/pages/Collapse/index.wxss +++ /dev/null @@ -1,8 +0,0 @@ -.container { - background: transparent; - padding: 0; -} -.collapse-item { - display: flex; - align-items: center; -} diff --git a/compiled/wechat/demo/pages/ConfigProvider/ar-SA.js b/compiled/wechat/demo/pages/ConfigProvider/ar-SA.js deleted file mode 100644 index 0db95d785..000000000 --- a/compiled/wechat/demo/pages/ConfigProvider/ar-SA.js +++ /dev/null @@ -1,62 +0,0 @@ -const arSA = { - // locales for all components - locale: 'ar-SA', - global: { - placeholder: 'يرجى الاختيار', - emptyText: 'لا توجد بيانات حتى الآن', - okText: 'تأكيد', - cancelText: 'إلغاء', - }, - input: { - placeholder: 'الرجاء إدخال', - }, - calendar: { - weekdayNames: [ - 'الإثنين', - 'الثلاثاء', - 'الأربعاء', - 'الخميس', - 'الجمعة', - 'السبت', - 'الأحد', - ], - today: 'اليوم', - start: 'ابدأ', - end: 'النهاية', - startAndEnd: 'البداية/النهاية', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'لم يبدأ الاختيار', - endPlaceholder: 'لم يكتمل الاختيار', - }, - guideTour: { - gotItText: 'فهمت ذلك', - nextStepText: 'الخطوة التالية', - prevStepText: 'الخطوة السابقة', - jumpText: 'تخطي', - }, - imageUpload: { - uploadingText: 'جارٍ التحميل', - uploadfailedText: 'فشل في التحميل', - }, - pageContainer: { - failed: { - title: 'تواجه الصفحة بعض المشكلات البسيطة', - message: 'سأحاول ذلك لاحقًا', - }, - disconnected: { - title: 'الشبكة مشغولة بعض الشيء', - message: 'حرّك إصبعك للمساعدة في الإصلاح', - }, - empty: { - title: 'لا يوجد شيء هنا', - message: 'انظر إلى أشياء أخرى', - }, - busy: { - title: 'الازدحام الأمامي', - message: 'جرّب الانتعاش.', - }, - }, -}; -export default arSA; diff --git a/compiled/wechat/demo/pages/ConfigProvider/es-US.js b/compiled/wechat/demo/pages/ConfigProvider/es-US.js deleted file mode 100644 index 709d5c9e0..000000000 --- a/compiled/wechat/demo/pages/ConfigProvider/es-US.js +++ /dev/null @@ -1,54 +0,0 @@ -const enUS = { - // locales for all components - locale: 'en-US', - global: { - placeholder: 'Please select', - emptyText: 'No data available', - okText: 'Ok', - cancelText: 'Cancel', - }, - input: { - placeholder: 'Please enter', - }, - calendar: { - weekdayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - today: 'Today', - start: 'Start', - end: 'End', - startAndEnd: 'Start/End', - format: 'MMM D, YYYY', - }, - rangePicker: { - startPlaceholder: 'No selection started', - endPlaceholder: 'Incomplete selection', - }, - guideTour: { - gotItText: 'Got it', - nextStepText: 'Next step', - prevStepText: 'Prev step', - jumpText: 'Skip', - }, - imageUpload: { - uploadingText: 'Uploading', - uploadfailedText: 'Upload failed', - }, - pageContainer: { - failed: { - title: 'The page is experiencing some minor issues', - message: "I'll try it later", - }, - disconnected: { - title: 'The network is a bit busy', - message: 'Move your fingers to help repair', - }, - empty: { - title: "There's nothing here", - message: 'Check out the others', - }, - busy: { - title: 'Congestion ahead', - message: 'Try refreshing', - }, - }, -}; -export default enUS; diff --git a/compiled/wechat/demo/pages/ConfigProvider/index.js b/compiled/wechat/demo/pages/ConfigProvider/index.js deleted file mode 100644 index 1747ce2f9..000000000 --- a/compiled/wechat/demo/pages/ConfigProvider/index.js +++ /dev/null @@ -1,37 +0,0 @@ -import enUS from './es-US'; -// import arSA from './ar-SA'; -Page({ - data: { - locale: enUS, - defaultValue: '', - value: '', - list: ['BeiJing', 'ShangHai', 'GuangZhou', 'ShenZhen', 'HangZhou', 'ChengDu', 'ChangSha'], - themeVars: { - 'button-primary-color': 'yellow', - 'button-primary-background-color': 'green', - }, - defaultDate: new Date('2019/02/02').getTime(), - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handleTap() { - //@ts-ignore - wx.showToast({ - title: '点击按钮', - }); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, -}); diff --git a/compiled/wechat/demo/pages/ConfigProvider/index.json b/compiled/wechat/demo/pages/ConfigProvider/index.json deleted file mode 100644 index b559127d1..000000000 --- a/compiled/wechat/demo/pages/ConfigProvider/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "navigationBarTitleText": "ConfigProvider", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-config-provider": "../../../src/ConfigProvider/index", - "ant-picker": "../../../src/Picker/index", - "ant-container": "../../../src/Container/index", - "ant-range-picker": "../../../src/DatePicker/RangePicker/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/ConfigProvider/index.wxml b/compiled/wechat/demo/pages/ConfigProvider/index.wxml deleted file mode 100644 index f2a194598..000000000 --- a/compiled/wechat/demo/pages/ConfigProvider/index.wxml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - City - - Date - - - - - - - Dark - - - - - Theme - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/ConfigProvider/index.wxss b/compiled/wechat/demo/pages/ConfigProvider/index.wxss deleted file mode 100644 index 4893b2574..000000000 --- a/compiled/wechat/demo/pages/ConfigProvider/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -page { - box-sizing: border-box; - --button-primary-color: #fff; - --button-primary-background-color: #ff4040; -} diff --git a/compiled/wechat/demo/pages/Container/index.js b/compiled/wechat/demo/pages/Container/index.js deleted file mode 100644 index 560d44d43..000000000 --- a/compiled/wechat/demo/pages/Container/index.js +++ /dev/null @@ -1 +0,0 @@ -Page({}); diff --git a/compiled/wechat/demo/pages/Container/index.json b/compiled/wechat/demo/pages/Container/index.json deleted file mode 100644 index 5a8cdb2ae..000000000 --- a/compiled/wechat/demo/pages/Container/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Container", - "usingComponents": { - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Container/index.wxml b/compiled/wechat/demo/pages/Container/index.wxml deleted file mode 100644 index e2ed64e6c..000000000 --- a/compiled/wechat/demo/pages/Container/index.wxml +++ /dev/null @@ -1,30 +0,0 @@ - - - 这里是卡片内容 - - - - - 标题 - - 右侧内容 - - - - 右侧内容 - - - - - - - - - 右侧内容 - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Container/index.wxss b/compiled/wechat/demo/pages/Container/index.wxss deleted file mode 100644 index bebd2a31d..000000000 --- a/compiled/wechat/demo/pages/Container/index.wxss +++ /dev/null @@ -1,16 +0,0 @@ -page { - padding: 12px; - box-sizing: border-box; -} -.content { - height: 70px; - display: flex; -} -.content .box { - background-color: var(--color-grey-card); - flex: 1; - border-radius: 4px; -} -.content .box:not(:first-of-type) { - margin-left: 8px; -} diff --git a/compiled/wechat/demo/pages/Countdown/index.js b/compiled/wechat/demo/pages/Countdown/index.js deleted file mode 100644 index 34469c990..000000000 --- a/compiled/wechat/demo/pages/Countdown/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: { - countdownTen: +new Date() + 10000, - currentDelayed: +new Date() + 500, - wrongCurrent: +new Date() - 50000, - countdownDay: +new Date() + 500000000, - countdownCurrent: +new Date(), - countdownAutoDay: +new Date() + 86405000, // 自动计算“天”的展示 - }, - handleCountdownChange(e) { - console.log('倒计时变化', JSON.stringify(e)); - }, - handleCountdownEnd() { - console.log('倒计时结束'); - }, -}); diff --git a/compiled/wechat/demo/pages/Countdown/index.json b/compiled/wechat/demo/pages/Countdown/index.json deleted file mode 100644 index 6d7225f81..000000000 --- a/compiled/wechat/demo/pages/Countdown/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Countdown", - "usingComponents": { - "ant-countdown": "../../../src/Countdown/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Countdown/index.wxml b/compiled/wechat/demo/pages/Countdown/index.wxml deleted file mode 100644 index 3a217a405..000000000 --- a/compiled/wechat/demo/pages/Countdown/index.wxml +++ /dev/null @@ -1,69 +0,0 @@ - - - - 剩余时间 - 就开始抢购啦 - - - 剩余时间 - 就开始抢购啦 - - - - - - 还剩{{module.day}}天,{{module.hour}}:{{module.min}}:{{module.sec}} - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Countdown/index.wxss b/compiled/wechat/demo/pages/Countdown/index.wxss deleted file mode 100644 index e2973aa2c..000000000 --- a/compiled/wechat/demo/pages/Countdown/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -.marginTop { - margin-top: 24rpx; -} diff --git a/compiled/wechat/demo/pages/DatePicker/index.js b/compiled/wechat/demo/pages/DatePicker/index.js deleted file mode 100644 index 00b787f55..000000000 --- a/compiled/wechat/demo/pages/DatePicker/index.js +++ /dev/null @@ -1,74 +0,0 @@ -Page({ - data: { - pickerVisible: false, - dateRangePickerVisible: false, - min: new Date('2019/01/15').getTime(), - max: new Date('2023/08/20').getTime(), - defaultDate: new Date('2019/02/02').getTime(), - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - controlledDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - handleFormatLabel(type, value) { - return String(value); - }, - }, - handleControlledRangeOk(value) { - console.log('handleControlledRangeOk'); - console.log(value); - this.setData({ - // 微信只支持传递时间戳 - controlledDateRange: value.detail[0].map((o) => o.getTime()), - }); - }, - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleOk(date, format, e) { - console.log('onOk', date, format, e); - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, - handleRangeOk(date, format, e) { - console.log('onRangeOk', date, format, e); - }, - handleChangeDate() { - this.setData({ defaultDate: new Date('2019/05/02').getTime() }); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleDismiss(e) { - console.log('e', e); - }, - handleFormatLabel(type, value) { - return String(value); - }, - handleTriggerControlledPicker(visible, e) { - console.log('handleTriggerControlledPicker', visible); - this.setData({ - pickerVisible: visible.detail, - }); - }, - handleOpenPicker() { - this.setData({ - pickerVisible: true, - }); - }, - handleTriggerControlledDateRangePicker(visible, e) { - console.log('handleTriggerControlledDateRangePicker', visible); - this.setData({ - dateRangePickerVisible: visible.detail, - }); - }, - handleOpenDateRangePicker() { - this.setData({ - dateRangePickerVisible: true, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/DatePicker/index.json b/compiled/wechat/demo/pages/DatePicker/index.json deleted file mode 100644 index 7a0213dc4..000000000 --- a/compiled/wechat/demo/pages/DatePicker/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "navigationBarTitleText": "DatePicker", - "usingComponents": { - "ant-date-picker": "../../../src/DatePicker/index", - "ant-range-picker": "../../../src/DatePicker/RangePicker/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-list": "../../../src/List/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/DatePicker/index.wxml b/compiled/wechat/demo/pages/DatePicker/index.wxml deleted file mode 100644 index 0ef16f6b7..000000000 --- a/compiled/wechat/demo/pages/DatePicker/index.wxml +++ /dev/null @@ -1,147 +0,0 @@ - - - 请选择日期 - - 请选择日期(点击蒙层不关闭) - - - - 请选择年度 - - 请选择月份 - - 请选择时间 - - - - 请选择日期 - - - - 每列不显示单位 - - - - 日期范围 - - 受控模式 - - 每列不显示单位 - - - - - 请选择时间 - - - 打开 DatePicker - - - - 请选择日期范围 - - - 打开 DateRangePicker - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/DatePicker/index.wxss b/compiled/wechat/demo/pages/DatePicker/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Dialog/index.js b/compiled/wechat/demo/pages/Dialog/index.js deleted file mode 100644 index e0ca552ea..000000000 --- a/compiled/wechat/demo/pages/Dialog/index.js +++ /dev/null @@ -1,58 +0,0 @@ -Page({ - data: { - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - customBodyVisible: false, - withImageVisible: false, - slotWeakVisible: false, - slotStrongVisible: false, - footer1: { - buttons: [{ text: '我知道了' }], - }, - footer2: { - buttons: [{ text: '取消', type: 'default' }, { text: '确定', type: 'primary' }], - layout: 'horizontal', - }, - footer3: { - buttons: [{ text: '主按钮', type: 'primary' }, { text: '更多', type: 'default' }, { text: '取消', type: 'text' }], - }, - }, - onClickActivityModalButton() { - this.showToast(`点击了活动弹框「开心收下」`); - this.handleClose(); - }, - onButtonTap(buttonItem) { - console.log('点击的按钮: ', buttonItem); - this.showToast(`点击了${buttonItem.text}`); - this.handleClose(); - }, - handleOpen(e) { - const { field } = e.target.dataset; - this.setData({ [field]: true }); - }, - handleClose() { - this.setData({ - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - customBodyVisible: false, - withImageVisible: false, - slotWeakVisible: false, - slotStrongVisible: false, - }); - }, - showToast(content) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showToast({ - title: content, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Dialog/index.json b/compiled/wechat/demo/pages/Dialog/index.json deleted file mode 100644 index 33bdc397e..000000000 --- a/compiled/wechat/demo/pages/Dialog/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Dialog", - "usingComponents": { - "ant-dialog": "../../../src/Dialog/index", - "ant-button": "../../../src/Button/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Dialog/index.wxml b/compiled/wechat/demo/pages/Dialog/index.wxml deleted file mode 100644 index e3a989c2b..000000000 --- a/compiled/wechat/demo/pages/Dialog/index.wxml +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - 开心收下 - 奖品可在我的奖品中查看 - - - - - - - 去使用 - 奖品可在我的奖品中查看 - - - - 最简单的弹框 - 带有标题 - 带头图 - 两个按钮 横排 - 三个按钮 竖排 - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Dialog/index.wxss b/compiled/wechat/demo/pages/Dialog/index.wxss deleted file mode 100644 index 6ae15a160..000000000 --- a/compiled/wechat/demo/pages/Dialog/index.wxss +++ /dev/null @@ -1,86 +0,0 @@ -.bodyImg { - width: 424rpx; - height: 528rpx; - border-radius: 8rpx; -} -.bodyAction { - padding-top: 32rpx; - font-size: 48rpx; - text-align: center; - color: #fff; -} -.list button { - margin-bottom: 8px; -} -.activity-dialog .ant-dialog-body { - background-image: linear-gradient(0deg, #FFFFFF 75%, rgba(255, 255, 255, 0.95) 91%, rgba(255, 242, 218, 0.93) 100%); - box-shadow: 0 2px 56px 0 rgba(0, 0, 0, 0.18); -} -.activity-dialog .ant-dialog-body-title { - padding-bottom: 10rpx; -} -.activity-dialog .ant-dialog-body-content { - color: #999999; - padding-bottom: 0rpx; -} -.activity-dialog-header-image { - width: 250rpx; - height: 250rpx; - position: relative; - margin-top: -220rpx; - margin-left: 50%; - margin-bottom: 21rpx; - transform: translateX(-50%); -} -.activity-dialog-content-image { - width: 516rpx; - margin: 64rpx auto 0 auto; -} -.activity-dialog-footer { - padding-top: 64rpx; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: column; -} -.activity-dialog-footer-button { - background: #FF4000; - border-radius: 55rpx; - font-weight: 500; - font-size: 36rpx; - line-height: 50rpx; - color: #FFFFFF; - text-align: center; - width: 360rpx; - height: 96rpx; - display: flex; - justify-content: center; - align-items: center; -} -.activity-dialog-footer-extra { - font-size: 24rpx; - color: #999999; - letter-spacing: 0; - text-align: center; - line-height: 36rpx; - padding-top: 20rpx; -} -.activity-dialog-strong-header-image { - width: 100%; - position: absolute; - top: -160rpx; - left: 0; - z-index: -1; -} -.activity-dialog-strong .activity-dialog-footer { - padding-top: 75rpx; -} -.activity-dialog-strong .activity-dialog-content-image { - width: 528rpx; - margin-top: 60rpx; -} -.activity-dialog-strong .ant-dialog-body { - background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.57) 0%, rgba(255, 255, 255, 0.91) 8%, #FFFFFF 17%); - box-shadow: 0; - padding-top: 30rpx; -} diff --git a/compiled/wechat/demo/pages/Divider/index.js b/compiled/wechat/demo/pages/Divider/index.js deleted file mode 100644 index 8ec69958d..000000000 --- a/compiled/wechat/demo/pages/Divider/index.js +++ /dev/null @@ -1,3 +0,0 @@ -Page({ - data: {}, -}); diff --git a/compiled/wechat/demo/pages/Divider/index.json b/compiled/wechat/demo/pages/Divider/index.json deleted file mode 100644 index 0210781b5..000000000 --- a/compiled/wechat/demo/pages/Divider/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Divider", - "usingComponents": { - "ant-divider": "../../../src/Divider/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Divider/index.wxml b/compiled/wechat/demo/pages/Divider/index.wxml deleted file mode 100644 index 842032673..000000000 --- a/compiled/wechat/demo/pages/Divider/index.wxml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - 100m - - 浙江省杭州市西湖区西溪路556号 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Divider/index.wxss b/compiled/wechat/demo/pages/Divider/index.wxss deleted file mode 100644 index 56552ae08..000000000 --- a/compiled/wechat/demo/pages/Divider/index.wxss +++ /dev/null @@ -1,11 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -page { - padding: 24px; - box-sizing: border-box; -} -.divider-vertical { - display: flex; - justify-content: flex-start; - align-items: center; - color: #cccccc; -} diff --git a/compiled/wechat/demo/pages/Empty/index.js b/compiled/wechat/demo/pages/Empty/index.js deleted file mode 100644 index 61cc61aef..000000000 --- a/compiled/wechat/demo/pages/Empty/index.js +++ /dev/null @@ -1,35 +0,0 @@ -const BUTTON_LISt = [ - { - type: 'primary', - text: '刷新重试' - }, - { - type: 'default', - text: '网络诊断' - }, -]; -Page({ - data: { - imageUrl: 'https://mdn.alipayobjects.com/huamei_mnxlps/afts/img/A*oV92T4FXR64AAAAAAAAAAAAADkqGAQ/original', - mode: 'page', - modeList: [{ - label: '全页空状态', - value: 'page', - }, { - label: '局部空状态', - value: 'section', - }], - horizontalButtonInfo: { - layout: 'horizontal', - list: BUTTON_LISt, - }, - verticalButtonInfo: { - layout: 'vertical', - list: BUTTON_LISt, - }, - }, - onClickButton(buttonInfo) { - console.log('onClickButton buttonInfo: ', buttonInfo); - my.showToast({ content: `点击了按钮「${buttonInfo.text}」` }); - }, -}); diff --git a/compiled/wechat/demo/pages/Empty/index.json b/compiled/wechat/demo/pages/Empty/index.json deleted file mode 100644 index 6d4535c68..000000000 --- a/compiled/wechat/demo/pages/Empty/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Empty", - "usingComponents": { - "ant-empty": "../../../src/Empty/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Empty/index.wxml b/compiled/wechat/demo/pages/Empty/index.wxml deleted file mode 100644 index 7d7accea4..000000000 --- a/compiled/wechat/demo/pages/Empty/index.wxml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - 操作1 - 操作2 - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Empty/index.wxss b/compiled/wechat/demo/pages/Empty/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Feedback/index.js b/compiled/wechat/demo/pages/Feedback/index.js deleted file mode 100644 index d61a7d0f3..000000000 --- a/compiled/wechat/demo/pages/Feedback/index.js +++ /dev/null @@ -1,89 +0,0 @@ -Page({ - data: { - visible3: true, - visible2: false, - visible1: false, - visible4: false, - selectorOption: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - { text: '选项四', value: '4' }, - { text: '选项五', value: '5' }, - { text: '选项六', value: '6' }, - ], - feedList: [ - { - icon: 'HeartOutline', - text: '喜欢推荐内容', - id: '1', - }, - { - icon: 'FrownOutline', - text: '我不感兴趣', - id: '2', - }, - { - image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', - text: '看过类似内容', - id: '3', - }, - { - icon: 'ExclamationCircleOutline', - text: '夸张博眼球', - id: '4', - }, - ], - }, - onVisibleChange1(visible) { - this.updateVisible('visible1', visible); - }, - onVisibleChange3(visible) { - this.updateVisible('visible3', visible); - }, - onVisibleChange2(visible) { - this.updateVisible('visible2', visible); - }, - onVisibleChange4(visible) { - this.updateVisible('visible4', visible); - }, - updateVisible(field, visible) { - this.setData({ - [field]: visible.detail, - }); - }, - onShowFeedback(e) { - const filed = e.target.dataset.filed; - this.setData({ - [filed]: true, - }); - }, - onTapFeedItem2(feedItem) { - // @ts-ignore - wx.showToast({ - title: `点击了反馈项${feedItem.text}`, - }); - this.updateVisible('visible2', { detail: false }); - }, - onTapFeedItem4(feedItem) { - // @ts-ignore - wx.showToast({ - title: `点击了反馈项${feedItem.text}`, - }); - this.updateVisible('visible4', { detail: false }); - }, - onTapFeedItem3(feedItem) { - // @ts-ignore - wx.showToast({ - title: `点击了反馈项${feedItem.text}`, - }); - this.updateVisible('visible3', { detail: false }); - }, - handleTapItem() { - // @ts-ignore - wx.showToast({ - title: `已反馈`, - }); - this.updateVisible('visible1', { detail: false }); - }, -}); diff --git a/compiled/wechat/demo/pages/Feedback/index.json b/compiled/wechat/demo/pages/Feedback/index.json deleted file mode 100644 index 78395acaa..000000000 --- a/compiled/wechat/demo/pages/Feedback/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "navigationBarTitleText": "Feedback", - "usingComponents": { - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-popover": "../../../src/Popover/index", - "ant-selector": "../../../src/Selector/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-feedback": "../../../src/Feedback/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Feedback/index.wxml b/compiled/wechat/demo/pages/Feedback/index.wxml deleted file mode 100644 index 656ad1ce4..000000000 --- a/compiled/wechat/demo/pages/Feedback/index.wxml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - 点击右上角的icon 展示反馈内容 -点击下面的内容 展示点引导反馈 - - - - 点击 展示反馈卡片 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Feedback/index.wxss b/compiled/wechat/demo/pages/Feedback/index.wxss deleted file mode 100644 index b44500e26..000000000 --- a/compiled/wechat/demo/pages/Feedback/index.wxss +++ /dev/null @@ -1,48 +0,0 @@ -.feedback-content-selector { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: flex-start; -} -.feedback-container-flex { - display: flex; - justify-content: space-between; -} -.feedback-demo .feedback-demo-target { - width: 50rpx; - height: 40rpx; - background: var(--color-background2); - border-radius: 8rpx; - display: flex; - justify-content: center; - align-items: center; -} -.feedback-demo .ant-selector-content-container { - margin-left: -6px; - margin-right: -6px; -} -.feedback-demo .ant-popover-inner { - padding: 0; -} -.feedback-demo .ant-popover-arrow { - right: 46rpx !important; -} -.feedback-demo .ant-popover-bottom-right { - right: -40rpx !important; -} -.feedback-demo2, -.feedback-demo4 { - margin: 40rpx 0 0 0 !important; -} -.feedback-demo2 .ant-popover-inner, -.feedback-demo4 .ant-popover-inner { - padding: 0; -} -.feedback-gray-container .ant-container-content { - background: var(--color-background); - color: var(--color-text-primary); -} -.feedback-gray-container .ant-feedback-content-card { - width: 345rpx; - box-sizing: border-box; -} diff --git a/compiled/wechat/demo/pages/Form/FormBasic/city.js b/compiled/wechat/demo/pages/Form/FormBasic/city.js deleted file mode 100644 index 4671c75bc..000000000 --- a/compiled/wechat/demo/pages/Form/FormBasic/city.js +++ /dev/null @@ -1,1552 +0,0 @@ -export default [ - { - label: '北京', - children: [ - { - label: '北京', - value: '110', - }, - ], - value: '11', - }, - { - label: '河北', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - { - label: '秦皇岛', - value: '182', - }, - { - label: '邯郸', - value: '186', - }, - { - label: '邢台', - value: '185', - }, - { - label: '保定', - value: '187', - }, - { - label: '张家口', - value: '184', - }, - { - label: '承德', - value: '189', - }, - { - label: '廊坊', - value: '183', - }, - { - label: '沧州', - value: '180', - }, - { - label: '衡水', - value: '720', - }, - { - label: '雄安', - value: '782', - }, - ], - value: '18', - }, - { - label: '福建', - children: [ - { - label: '福州', - value: '380', - }, - { - label: '厦门', - value: '390', - }, - { - label: '泉州', - value: '480', - }, - { - label: '漳州', - value: '395', - }, - { - label: '宁德', - value: '386', - }, - { - label: '莆田', - value: '385', - }, - { - label: '南平', - value: '387', - }, - { - label: '三明', - value: '389', - }, - { - label: '龙岩', - value: '384', - }, - ], - value: '38', - }, - { - label: '江西', - children: [ - { - label: '南昌', - value: '750', - }, - { - label: '九江', - value: '755', - }, - { - label: '上饶', - value: '757', - }, - { - label: '抚州', - value: '759', - }, - { - label: '宜春', - value: '756', - }, - { - label: '吉安', - value: '751', - }, - { - label: '赣州', - value: '752', - }, - { - label: '景德镇', - value: '740', - }, - { - label: '萍乡', - value: '758', - }, - { - label: '新余', - value: '753', - }, - { - label: '鹰潭', - value: '754', - }, - ], - value: '75', - }, - { - label: '山东', - children: [ - { - label: '济南', - value: '170', - }, - { - label: '青岛', - value: '166', - }, - { - label: '淄博', - value: '150', - }, - { - label: '枣庄', - value: '157', - }, - { - label: '东营', - value: '156', - }, - { - label: '烟台', - value: '161', - }, - { - label: '潍坊', - value: '155', - }, - { - label: '济宁', - value: '158', - }, - { - label: '泰安', - value: '172', - }, - { - label: '威海', - value: '152', - }, - { - label: '日照', - value: '154', - }, - { - label: '莱芜', - value: '160', - }, - { - label: '临沂', - value: '153', - }, - { - label: '德州', - value: '173', - }, - { - label: '聊城', - value: '174', - }, - { - label: '滨州', - value: '151', - }, - { - label: '菏泽', - value: '159', - }, - ], - value: '17', - }, - { - label: '河南', - children: [ - { - label: '郑州', - value: '760', - }, - { - label: '洛阳', - value: '761', - }, - { - label: '开封', - value: '762', - }, - { - label: '焦作', - value: '763', - }, - { - label: '新乡', - value: '764', - }, - { - label: '许昌', - value: '765', - }, - { - label: '漯河', - value: '766', - }, - { - label: '安阳', - value: '767', - }, - { - label: '商丘', - value: '768', - }, - { - label: '平顶山', - value: '769', - }, - { - label: '周口', - value: '770', - }, - { - label: '驻马店', - value: '771', - }, - { - label: '三门峡', - value: '772', - }, - { - label: '濮阳', - value: '773', - }, - { - label: '鹤壁', - value: '774', - }, - { - label: '济源', - value: '775', - }, - { - label: '信阳', - value: '776', - }, - { - label: '南阳', - value: '777', - }, - ], - value: '76', - }, - { - label: '湖北', - children: [ - { - label: '武汉', - value: '710', - }, - { - label: '宜昌', - value: '711', - }, - { - label: '荆州', - value: '712', - }, - { - label: '黄冈', - value: '714', - }, - { - label: '黄石', - value: '715', - }, - { - label: '襄阳', - value: '716', - }, - { - label: '孝感', - value: '717', - }, - { - label: '鄂州', - value: '718', - }, - { - label: '咸宁', - value: '719', - }, - { - label: '十堰', - value: '721', - }, - { - label: '随州', - value: '723', - }, - { - label: '荆门', - value: '724', - }, - { - label: '仙桃/潜江/天门', - value: '713', - }, - { - label: '恩施', - value: '727', - }, - ], - value: '71', - }, - { - label: '湖南', - children: [ - { - label: '长沙', - value: '741', - }, - { - label: '衡阳', - value: '744', - }, - { - label: '株洲', - value: '742', - }, - { - label: '湘潭', - value: '743', - }, - { - label: '岳阳', - value: '745', - }, - { - label: '邵阳', - value: '792', - }, - { - label: '郴州', - value: '748', - }, - { - label: '常德', - value: '749', - }, - { - label: '益阳', - value: '747', - }, - { - label: '怀化', - value: '795', - }, - { - label: '永州', - value: '796', - }, - { - label: '娄底', - value: '791', - }, - { - label: '湘西', - value: '793', - }, - { - label: '张家界', - value: '794', - }, - ], - value: '74', - }, - { - label: '广东', - children: [ - { - label: '广州', - value: '510', - }, - { - label: '深圳', - value: '540', - }, - { - label: '东莞', - value: '580', - }, - { - label: '佛山', - value: '530', - }, - { - label: '惠州', - value: '570', - }, - { - label: '珠海', - value: '620', - }, - { - label: '中山', - value: '556', - }, - { - label: '江门', - value: '550', - }, - { - label: '汕头', - value: '560', - }, - { - label: '湛江', - value: '520', - }, - { - label: '揭阳', - value: '526', - }, - { - label: '肇庆', - value: '536', - }, - { - label: '清远', - value: '535', - }, - { - label: '韶关', - value: '558', - }, - { - label: '潮州', - value: '531', - }, - { - label: '茂名', - value: '568', - }, - { - label: '河源', - value: '670', - }, - { - label: '汕尾', - value: '525', - }, - { - label: '阳江', - value: '565', - }, - { - label: '梅州', - value: '528', - }, - { - label: '云浮', - value: '538', - }, - ], - value: '51', - }, - { - label: '广西', - children: [ - { - label: '南宁', - value: '591', - }, - { - label: '柳州', - value: '593', - }, - { - label: '桂林', - value: '592', - }, - { - label: '梧州', - value: '594', - }, - { - label: '玉林', - value: '595', - }, - { - label: '百色', - value: '596', - }, - { - label: '钦州', - value: '597', - }, - { - label: '河池', - value: '598', - }, - { - label: '北海', - value: '599', - }, - { - label: '防城港', - value: '590', - }, - { - label: '贵港', - value: '589', - }, - { - label: '贺州', - value: '588', - }, - { - label: '崇左', - value: '600', - }, - { - label: '来宾', - value: '601', - }, - ], - value: '59', - }, - { - label: '天津', - children: [ - { - label: '天津', - value: '130', - }, - ], - value: '13', - }, - { - label: '海南', - children: [ - { - label: '海口', - value: '501', - }, - ], - value: '50', - }, - { - label: '重庆', - children: [ - { - label: '重庆', - value: '831', - }, - ], - value: '83', - }, - { - label: '四川', - children: [ - { - label: '成都', - value: '810', - }, - { - label: '自贡', - value: '818', - }, - { - label: '雅安', - value: '811', - }, - { - label: '绵阳', - value: '824', - }, - { - label: '乐山', - value: '814', - }, - { - label: '德阳', - value: '825', - }, - { - label: '攀枝花', - value: '813', - }, - { - label: '宜宾', - value: '817', - }, - { - label: '阿坝', - value: '829', - }, - { - label: '内江', - value: '816', - }, - { - label: '眉山', - value: '819', - }, - { - label: '资阳', - value: '830', - }, - { - label: '泸州', - value: '815', - }, - { - label: '南充', - value: '822', - }, - { - label: '达州', - value: '820', - }, - { - label: '遂宁', - value: '821', - }, - { - label: '广元', - value: '826', - }, - { - label: '广安', - value: '823', - }, - { - label: '巴中', - value: '827', - }, - { - label: '凉山', - value: '812', - }, - { - label: '甘孜', - value: '828', - }, - ], - value: '81', - }, - { - label: '山西', - children: [ - { - label: '太原', - value: '190', - }, - { - label: '大同', - value: '193', - }, - { - label: '阳泉', - value: '192', - }, - { - label: '长治', - value: '195', - }, - { - label: '晋城', - value: '194', - }, - { - label: '朔州', - value: '199', - }, - { - label: '忻州', - value: '198', - }, - { - label: '晋中', - value: '191', - }, - { - label: '吕梁', - value: '200', - }, - { - label: '临汾', - value: '197', - }, - { - label: '运城', - value: '196', - }, - ], - value: '19', - }, - { - label: '贵州', - children: [ - { - label: '贵阳', - value: '850', - }, - { - label: '遵义', - value: '787', - }, - { - label: '安顺', - value: '789', - }, - { - label: '黔南', - value: '788', - }, - { - label: '黔东南', - value: '786', - }, - { - label: '铜仁', - value: '785', - }, - { - label: '毕节', - value: '851', - }, - { - label: '六盘水', - value: '853', - }, - { - label: '黔西南', - value: '852', - }, - ], - value: '85', - }, - { - label: '云南', - children: [ - { - label: '昆明', - value: '860', - }, - { - label: '德宏', - value: '730', - }, - { - label: '保山', - value: '731', - }, - { - label: '文山', - value: '732', - }, - { - label: '临沧', - value: '733', - }, - { - label: '怒江', - value: '734', - }, - { - label: '迪庆', - value: '735', - }, - { - label: '西双版纳', - value: '736', - }, - { - label: '红河', - value: '861', - }, - { - label: '大理', - value: '862', - }, - { - label: '丽江', - value: '863', - }, - { - label: '楚雄', - value: '864', - }, - { - label: '玉溪', - value: '865', - }, - { - label: '曲靖', - value: '866', - }, - { - label: '昭通', - value: '867', - }, - { - label: '普洱', - value: '869', - }, - ], - value: '86', - }, - { - label: '西藏', - children: [ - { - label: '拉萨', - value: '790', - }, - { - label: '日喀则', - value: '797', - }, - { - label: '山南', - value: '798', - }, - { - label: '林芝', - value: '799', - }, - { - label: '昌都', - value: '800', - }, - { - label: '那曲', - value: '801', - }, - { - label: '阿里', - value: '802', - }, - ], - value: '79', - }, - { - label: '陕西', - children: [ - { - label: '西安', - value: '841', - }, - { - label: '咸阳', - value: '844', - }, - { - label: '渭南', - value: '843', - }, - { - label: '宝鸡', - value: '840', - }, - { - label: '汉中', - value: '849', - }, - { - label: '延安', - value: '842', - }, - { - label: '榆林', - value: '845', - }, - { - label: '铜川', - value: '846', - }, - { - label: '安康', - value: '848', - }, - { - label: '商洛', - value: '847', - }, - ], - value: '84', - }, - { - label: '甘肃', - children: [ - { - label: '兰州', - value: '870', - }, - { - label: '酒泉', - value: '931', - }, - { - label: '庆阳', - value: '873', - }, - { - label: '天水', - value: '877', - }, - { - label: '武威', - value: '874', - }, - { - label: '临夏', - value: '878', - }, - { - label: '白银', - value: '879', - }, - { - label: '定西', - value: '871', - }, - { - label: '平凉', - value: '872', - }, - { - label: '陇南', - value: '960', - }, - { - label: '张掖', - value: '875', - }, - { - label: '嘉峪关', - value: '876', - }, - { - label: '金昌', - value: '930', - }, - { - label: '甘南', - value: '961', - }, - ], - value: '87', - }, - { - label: '青海', - children: [ - { - label: '西宁', - value: '700', - }, - { - label: '海东', - value: '701', - }, - { - label: '格尔木', - value: '702', - }, - { - label: '海西', - value: '704', - }, - { - label: '海北', - value: '706', - }, - { - label: '海南', - value: '705', - }, - { - label: '黄南', - value: '707', - }, - { - label: '果洛', - value: '708', - }, - { - label: '玉树', - value: '709', - }, - ], - value: '70', - }, - { - label: '宁夏', - children: [ - { - label: '银川', - value: '880', - }, - { - label: '石嘴山', - value: '884', - }, - { - label: '吴忠', - value: '883', - }, - { - label: '固原', - value: '885', - }, - { - label: '中卫', - value: '886', - }, - ], - value: '88', - }, - { - label: '新疆', - children: [ - { - label: '乌鲁木齐', - value: '890', - }, - { - label: '昌吉', - value: '891', - }, - { - label: '石河子', - value: '893', - }, - { - label: '奎屯', - value: '892', - }, - { - label: '塔城', - value: '952', - }, - { - label: '克拉玛依', - value: '899', - }, - { - label: '伊犁', - value: '898', - }, - { - label: '博乐', - value: '951', - }, - { - label: '阿勒泰', - value: '953', - }, - { - label: '吐鲁番', - value: '894', - }, - { - label: '哈密', - value: '900', - }, - { - label: '巴音郭楞', - value: '895', - }, - { - label: '阿克苏', - value: '896', - }, - { - label: '喀什', - value: '897', - }, - { - label: '和田', - value: '955', - }, - { - label: '克孜勒苏', - value: '954', - }, - ], - value: '89', - }, - { - label: '内蒙古', - children: [ - { - label: '呼和浩特', - value: '101', - }, - { - label: '包头', - value: '102', - }, - { - label: '乌海', - value: '106', - }, - { - label: '赤峰', - value: '107', - }, - { - label: '呼伦贝尔', - value: '108', - }, - { - label: '兴安盟', - value: '113', - }, - { - label: '通辽', - value: '109', - }, - { - label: '乌兰察布', - value: '103', - }, - { - label: '巴彦淖尔', - value: '105', - }, - { - label: '阿拉善盟', - value: '114', - }, - { - label: '鄂尔多斯', - value: '104', - }, - { - label: '锡林郭勒盟', - value: '111', - }, - ], - value: '10', - }, - { - label: '辽宁', - children: [ - { - label: '沈阳', - value: '910', - }, - { - label: '大连', - value: '940', - }, - { - label: '鞍山', - value: '912', - }, - { - label: '抚顺', - value: '913', - }, - { - label: '本溪', - value: '914', - }, - { - label: '丹东', - value: '915', - }, - { - label: '锦州', - value: '916', - }, - { - label: '营口', - value: '917', - }, - { - label: '阜新', - value: '918', - }, - { - label: '辽阳', - value: '919', - }, - { - label: '铁岭', - value: '911', - }, - { - label: '朝阳', - value: '920', - }, - { - label: '盘锦', - value: '921', - }, - { - label: '葫芦岛', - value: '922', - }, - ], - value: '91', - }, - { - label: '吉林', - children: [ - { - label: '长春', - value: '901', - }, - { - label: '吉林', - value: '902', - }, - { - label: '延边', - value: '909', - }, - { - label: '四平', - value: '903', - }, - { - label: '通化', - value: '905', - }, - { - label: '白城', - value: '907', - }, - { - label: '辽源', - value: '906', - }, - { - label: '松原', - value: '904', - }, - { - label: '白山', - value: '908', - }, - ], - value: '90', - }, - { - label: '黑龙江', - children: [ - { - label: '哈尔滨', - value: '971', - }, - { - label: '齐齐哈尔', - value: '973', - }, - { - label: '牡丹江', - value: '988', - }, - { - label: '佳木斯', - value: '976', - }, - { - label: '绥化', - value: '989', - }, - { - label: '大庆', - value: '981', - }, - { - label: '鸡西', - value: '991', - }, - { - label: '黑河', - value: '990', - }, - { - label: '伊春', - value: '996', - }, - { - label: '双鸭山', - value: '994', - }, - { - label: '鹤岗', - value: '993', - }, - { - label: '七台河', - value: '992', - }, - { - label: '大兴安岭', - value: '995', - }, - ], - value: '97', - }, - { - label: '上海', - children: [ - { - label: '上海', - value: '310', - }, - ], - value: '31', - }, - { - label: '江苏', - children: [ - { - label: '南京', - value: '340', - }, - { - label: '苏州', - value: '450', - }, - { - label: '无锡', - value: '330', - }, - { - label: '常州', - value: '440', - }, - { - label: '扬州', - value: '430', - }, - { - label: '镇江', - value: '343', - }, - { - label: '南通', - value: '358', - }, - { - label: '徐州', - value: '350', - }, - { - label: '泰州', - value: '445', - }, - { - label: '盐城', - value: '348', - }, - { - label: '淮安', - value: '354', - }, - { - label: '连云港', - value: '346', - }, - { - label: '宿迁', - value: '349', - }, - ], - value: '34', - }, - { - label: '浙江', - children: [ - { - label: '杭州', - value: '360', - }, - { - label: '宁波', - value: '370', - }, - { - label: '温州', - value: '470', - }, - { - label: '台州', - value: '476', - }, - { - label: '金华', - value: '367', - }, - { - label: '嘉兴', - value: '363', - }, - { - label: '绍兴', - value: '365', - }, - { - label: '湖州', - value: '362', - }, - { - label: '丽水', - value: '469', - }, - { - label: '衢州', - value: '468', - }, - { - label: '舟山', - value: '364', - }, - ], - value: '36', - }, - { - label: '安徽', - children: [ - { - label: '合肥', - value: '305', - }, - { - label: '安庆', - value: '302', - }, - { - label: '蚌埠', - value: '301', - }, - { - label: '亳州', - value: '318', - }, - { - label: '池州', - value: '317', - }, - { - label: '滁州', - value: '312', - }, - { - label: '阜阳', - value: '306', - }, - { - label: '淮北', - value: '314', - }, - { - label: '淮南', - value: '307', - }, - { - label: '黄山', - value: '316', - }, - { - label: '六安', - value: '304', - }, - { - label: '马鞍山', - value: '300', - }, - { - label: '宿州', - value: '313', - }, - { - label: '铜陵', - value: '308', - }, - { - label: '芜湖', - value: '303', - }, - { - label: '宣城', - value: '311', - }, - ], - value: '30', - }, -]; diff --git a/compiled/wechat/demo/pages/Form/FormBasic/index.js b/compiled/wechat/demo/pages/Form/FormBasic/index.js deleted file mode 100644 index cb2357562..000000000 --- a/compiled/wechat/demo/pages/Form/FormBasic/index.js +++ /dev/null @@ -1,97 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -import cityList from './city'; -Page({ - data: { - onUpload(localFile) { - return new Promise((resolve) => { - console.log('上传的图片为:', localFile); - setTimeout(() => { - resolve('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ'); - }, 2000); - }); - }, - fruitList: ['苹果', '香蕉', '橘子', '西瓜'], - cityList, - radioGroupOptions: [ - { value: 'cat', label: '🐱' }, - { value: 'fox', label: '🦊' }, - ], - checkboxGroupOptions: [ - { value: 'tomato', label: '🍅' }, - { value: 'potato', label: '🥔' }, - { value: 'eggplant', label: '🍆' }, - ], - selectorOptions: [ - { value: 'basketball', text: '🏀' }, - { value: 'football', text: '⚽️' }, - { value: 'badminton', text: '🏸️' }, - ], - toastShow: false, - }, - onLoad() { - this.form = new Form({ - initialValues: { user: { account: 'andy', phone: '10000' } }, - }); - this.form.onValueChange('user.account', (value, allValues) => { - console.log('onValueChange:', value, allValues); - }); - this.form.onValuesChange((value, allValues) => { - console.log('onValuesChange:', value, allValues); - }); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset({ user: { phone: '10000' } }); - }, - update() { - this.form.setFieldsValue({ - user: { account: 'pony', phone: '10086', password: '123456' }, - address: '312312', - needDelivery: true, - quantity: 20, - fruit: '西瓜', - birthday: Date.now(), - range: [Date.now(), Date.now() + 86400000], - city: ['36', '360'], - animalChoose: 'fox', - fruitChoose: ['potato', 'eggplant'], - likeChoose: 'badminton', - slider: 44, - image: [ - { - path: 'https://resource/apml3bc4f816b58586ab65e1b54980a10c87.jpg', - size: 2352941, - status: 'done', - uid: '201-1720155950249-1', - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ', - }, - ], - description: '说明一下情况', - rate: 4, - }); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, - showToast() { - this.setData({ - toastShow: true, - }); - }, - handleCloseToast() { - this.setData({ - toastShow: false, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormBasic/index.json b/compiled/wechat/demo/pages/Form/FormBasic/index.json deleted file mode 100644 index 43a587a71..000000000 --- a/compiled/wechat/demo/pages/Form/FormBasic/index.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "form-input": "../../../../src/Form/FormInput/index", - "form-switch": "../../../../src/Form/FormSwitch/index", - "form-stepper": "../../../../src/Form/FormStepper/index", - "form-picker": "../../../../src/Form/FormPicker/index", - "form-date-picker": "../../../../src/Form/FormDatePicker/index", - "form-range-picker": "../../../../src/Form/FormRangePicker/index", - "form-cascader-picker": "../../../../src/Form/FormCascaderPicker/index", - "form-checkbox-group": "../../../../src/Form/FormCheckboxGroup/index", - "form-radio-group": "../../../../src/Form/FormRadioGroup/index", - "form-slider": "../../../../src/Form/FormSlider/index", - "form-selector": "../../../../src/Form/FormSelector/index", - "form-upload-image": "../../../../src/Form/FormImageUpload/index", - "form-rate": "../../../../src/Form/FormRate/index", - "form-textarea": "../../../../src/Form/FormTextarea/index", - "ant-button": "../../../../src/Button/index", - "ant-icon": "../../../../src/Icon/index", - "ant-toast": "../../../../src/Toast/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormBasic/index.wxml b/compiled/wechat/demo/pages/Form/FormBasic/index.wxml deleted file mode 100644 index 855cf0d8d..000000000 --- a/compiled/wechat/demo/pages/Form/FormBasic/index.wxml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - 提交 - 重置 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormBasic/index.wxss b/compiled/wechat/demo/pages/Form/FormBasic/index.wxss deleted file mode 100644 index 3e43d2e1c..000000000 --- a/compiled/wechat/demo/pages/Form/FormBasic/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px 12px 48px 12px; -} -textarea { - min-height: 100px; -} diff --git a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.js b/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.js deleted file mode 100644 index 588d353c6..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.js +++ /dev/null @@ -1,22 +0,0 @@ -import { createForm } from '../../../../../src/Form/form'; -Component({ - mixins: [createForm()], - data: { - visible: false, - }, - methods: { - showPopup() { - this.setData({ - visible: true, - }); - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, - onChange(value, e) { - this.emit('onChange', value); - }, - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.json b/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.json deleted file mode 100644 index 2847d9846..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "component": true, - "navigationBarTitleText": "Form", - "usingComponents": { - "form-item": "../../../../../src/Form/FormItem/index", - "checklist": "../../../../../src/Checklist/index", - "icon": "../../../../../src/Icon/index", - "popup": "../../../../../src/Popup/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxml b/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxml deleted file mode 100644 index 89cfa69c9..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - {{utils.getTitle(options, item)}} - - - 请选择 - - - {{extra}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxs b/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxs deleted file mode 100644 index e4dc1bc62..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxs +++ /dev/null @@ -1,11 +0,0 @@ -function getTitle(options, value) { - var obj = options.find(function (item) { - return item.value === value; - }); - if (obj) { - return obj.title; - } -} -module.exports = { - getTitle: getTitle -}; \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxss b/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxss deleted file mode 100644 index d554954cf..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/checklist/index.wxss +++ /dev/null @@ -1,21 +0,0 @@ -.input { - border: 1px solid var(--color-border); - padding: 4px; - min-height: 25px; - border-radius: 4px; - display: flex; - align-items: center; -} -.choose { - color: var(--color-text-weak); -} -.input-items { - flex: 1; - display: flex; -} -.input-item { - text-align: center; - padding: 0 8px 0 8px; - margin-right: 8px; - background-color: var(--color-grey-card); -} diff --git a/compiled/wechat/demo/pages/Form/FormCustom/index.js b/compiled/wechat/demo/pages/Form/FormCustom/index.js deleted file mode 100644 index 9ea73022f..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - data: { - likeOptions: [ - { value: 'basketball', title: '🏀' }, - { value: 'football', title: '⚽️' }, - { value: 'badminton', title: '🏸️' }, - ], - chooseOptions: [ - { value: '1', label: '1111' } - ] - }, - form: new Form(), - handleRef(ref) { - this.form.addItem(ref); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - my.alert({ - title: '提交', - content: JSON.stringify(values), - }); - } -}); diff --git a/compiled/wechat/demo/pages/Form/FormCustom/index.json b/compiled/wechat/demo/pages/Form/FormCustom/index.json deleted file mode 100644 index 4303bb365..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "form-input": "../../../../src/Form/FormInput/index", - "form-checklist": "./checklist", - "form-location": "./location", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/index.wxml b/compiled/wechat/demo/pages/Form/FormCustom/index.wxml deleted file mode 100644 index 6ec428e1c..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/index.wxml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/index.wxss b/compiled/wechat/demo/pages/Form/FormCustom/index.wxss deleted file mode 100644 index e83f1a78f..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} -.button { - margin-bottom: 12px; -} -.input { - border: 1px solid var(--color-border); - padding: 4px; - border-radius: 4px; -} diff --git a/compiled/wechat/demo/pages/Form/FormCustom/location/index.js b/compiled/wechat/demo/pages/Form/FormCustom/location/index.js deleted file mode 100644 index c31509941..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/location/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import { createForm } from '../../../../../src/Form/form'; -Component({ - mixins: [createForm()], - data: { - visible: false, - }, - methods: { - showPopup() { - my.chooseLocation({ - success: (res) => { - this.emit('onChange', res); - }, - }); - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, - onChange(value, e) { - this.emit('onChange', value); - }, - } -}); diff --git a/compiled/wechat/demo/pages/Form/FormCustom/location/index.json b/compiled/wechat/demo/pages/Form/FormCustom/location/index.json deleted file mode 100644 index 2847d9846..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/location/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "component": true, - "navigationBarTitleText": "Form", - "usingComponents": { - "form-item": "../../../../../src/Form/FormItem/index", - "checklist": "../../../../../src/Checklist/index", - "icon": "../../../../../src/Icon/index", - "popup": "../../../../../src/Popup/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxml b/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxml deleted file mode 100644 index beea6e7d9..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - {{formData.value.name}} - {{formData.value.address}} - - 请选择 - - - {{extra}} - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxs b/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxs deleted file mode 100644 index e4dc1bc62..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxs +++ /dev/null @@ -1,11 +0,0 @@ -function getTitle(options, value) { - var obj = options.find(function (item) { - return item.value === value; - }); - if (obj) { - return obj.title; - } -} -module.exports = { - getTitle: getTitle -}; \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxss b/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxss deleted file mode 100644 index 68d6b9fa6..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustom/location/index.wxss +++ /dev/null @@ -1,14 +0,0 @@ -.input { - border: 1px solid var(--color-border); - padding: 4px; - min-height: 25px; - border-radius: 4px; - display: flex; - align-items: center; -} -.choose { - color: var(--color-text-weak); -} -.input-location { - flex: 1; -} diff --git a/compiled/wechat/demo/pages/Form/FormCustomError/index.js b/compiled/wechat/demo/pages/Form/FormCustomError/index.js deleted file mode 100644 index 424404a48..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustomError/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormCustomError/index.json b/compiled/wechat/demo/pages/Form/FormCustomError/index.json deleted file mode 100644 index bfd175431..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustomError/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-icon": "../../../../src/Icon/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustomError/index.wxml b/compiled/wechat/demo/pages/Form/FormCustomError/index.wxml deleted file mode 100644 index fad5447bf..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustomError/index.wxml +++ /dev/null @@ -1,59 +0,0 @@ - -由于微信小程序不支持 slot-scope="item", 所以暂时不支持自定义 Error - - - - {{item.errors}} - - - - - - {{item.errors}} - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormCustomError/index.wxss b/compiled/wechat/demo/pages/Form/FormCustomError/index.wxss deleted file mode 100644 index 0a59d9193..000000000 --- a/compiled/wechat/demo/pages/Form/FormCustomError/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -.errors { - background: #fff3f4; - border: 1px solid rgba(255, 49, 65, 0.2); - border-radius: 8px; - color: #ff3141; - margin-top: 8px; - padding: 8px; -} -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormDependency/index.js b/compiled/wechat/demo/pages/Form/FormDependency/index.js deleted file mode 100644 index 6a20cad22..000000000 --- a/compiled/wechat/demo/pages/Form/FormDependency/index.js +++ /dev/null @@ -1,40 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (this.form) { - this.form.addItem(ref.detail); - } - else if (!this.formRefList) { - this.formRefList = [ref.detail]; - } - else { - this.formRefList.push(ref.detail); - } - }, - data: { - needFruit: false, - }, - onChange(value) { - this.setData({ - needFruit: value.detail, - }); - }, - reset() { - this.setData({ - needFruit: false, - }); - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormDependency/index.json b/compiled/wechat/demo/pages/Form/FormDependency/index.json deleted file mode 100644 index 6910dcacd..000000000 --- a/compiled/wechat/demo/pages/Form/FormDependency/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "form-input": "../../../../src/Form/FormInput/index", - "form-switch": "../../../../src/Form/FormSwitch/index", - "form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormDependency/index.wxml b/compiled/wechat/demo/pages/Form/FormDependency/index.wxml deleted file mode 100644 index 1d88bcef2..000000000 --- a/compiled/wechat/demo/pages/Form/FormDependency/index.wxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormDependency/index.wxss b/compiled/wechat/demo/pages/Form/FormDependency/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormDependency/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormDynamic/index.js b/compiled/wechat/demo/pages/Form/FormDynamic/index.js deleted file mode 100644 index 1bb70dbf6..000000000 --- a/compiled/wechat/demo/pages/Form/FormDynamic/index.js +++ /dev/null @@ -1,58 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -let account = 1; -Page({ - data: { - list: [ - { - id: `Account${account++}`, - }, - { - id: `Account${account++}`, - }, - ], - }, - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (this.form) { - this.form.addItem(ref.detail); - } - else { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - } - }, - reset() { - this.form.reset(); - }, - add() { - this.setData({ - list: [ - ...this.data.list, - { - id: `Account${account++}`, - }, - ], - }); - }, - minus(e) { - const { index } = e.currentTarget.dataset; - const list = [...this.data.list]; - list.splice(index, 1); - this.setData({ - list, - }); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormDynamic/index.json b/compiled/wechat/demo/pages/Form/FormDynamic/index.json deleted file mode 100644 index 740fb4ab4..000000000 --- a/compiled/wechat/demo/pages/Form/FormDynamic/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index", - "ant-icon": "../../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormDynamic/index.wxml b/compiled/wechat/demo/pages/Form/FormDynamic/index.wxml deleted file mode 100644 index 6f393f36a..000000000 --- a/compiled/wechat/demo/pages/Form/FormDynamic/index.wxml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - 添加用户 - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormDynamic/index.wxss b/compiled/wechat/demo/pages/Form/FormDynamic/index.wxss deleted file mode 100644 index cc8071507..000000000 --- a/compiled/wechat/demo/pages/Form/FormDynamic/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} -.button { - margin-bottom: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.js b/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.js deleted file mode 100644 index 64f4e7dd6..000000000 --- a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.js +++ /dev/null @@ -1,53 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - data: { - onUpload(localFile) { - return new Promise((resolve) => { - console.log('上传的图片为:', localFile); - setTimeout(() => { - resolve('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ'); - }, 2000); - }); - }, - }, - onLoad() { - this.form = new Form({ - rules: { - imageList: [ - { - required: true, - message: '需要上传图片', - }, - () => ({ - async validator(_, fileList = []) { - if (fileList.length !== 3) { - throw new Error('需要上传3张图片'); - } - if (fileList.find((file) => file.status !== 'done')) { - throw new Error('图片需要上传完成'); - } - }, - }), - ], - }, - }); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.json b/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.json deleted file mode 100644 index 1ae852e46..000000000 --- a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-image-upload": "../../../../src/Form/FormImageUpload/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.wxml b/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.wxml deleted file mode 100644 index a8fbf526f..000000000 --- a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.wxml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.wxss b/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormImageUploadRules/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormInitialValues/index.js b/compiled/wechat/demo/pages/Form/FormInitialValues/index.js deleted file mode 100644 index e5f5497d1..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValues/index.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form({ - initialValues: { - account: 'lily', - address: 'alipay', - needDelivery: true, - quantity: 1, - }, - }); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormInitialValues/index.json b/compiled/wechat/demo/pages/Form/FormInitialValues/index.json deleted file mode 100644 index fc73c5acc..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValues/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-switch": "../../../../src/Form/FormSwitch/index", - "ant-form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormInitialValues/index.wxml b/compiled/wechat/demo/pages/Form/FormInitialValues/index.wxml deleted file mode 100644 index 926fb2c16..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValues/index.wxml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormInitialValues/index.wxss b/compiled/wechat/demo/pages/Form/FormInitialValues/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValues/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.js b/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.js deleted file mode 100644 index e6a5c9156..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.js +++ /dev/null @@ -1,41 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showLoading({ - title: '加载中', - }); - setTimeout(() => { - this.form.setInitialValues({ - account: 'lily', - address: 'alipay', - needDelivery: true, - quantity: 1, - }); - this.form.reset(); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.hideLoading(); - }, 1000); - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.json b/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.json deleted file mode 100644 index fc73c5acc..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-switch": "../../../../src/Form/FormSwitch/index", - "ant-form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.wxml b/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.wxml deleted file mode 100644 index 926fb2c16..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.wxml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.wxss b/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormInitialValuesAsync/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.js b/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.js deleted file mode 100644 index 1770a1bf1..000000000 --- a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { Form } from '../../../../../src/Form/form'; - - -Component({ - onInit() { - this.form = new Form(); - this.form.setInitialValues(this.props.config.initialValues); - this.form.reset(); - }, - - methods: { - handleRef(ref) { - this.form.addItem(ref); - }, - async submit() { - const values = await this.form.submit(); - this.props.onSuccess(values); - }, - reset() { - this.form.reset(); - }, - } -}); diff --git a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.json b/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.json deleted file mode 100644 index 681e54e76..000000000 --- a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "component": true, - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-item": "../../../../../src/Form/FormItem/index", - "form-input": "../../../../../src/Form/FormInput/index", - "form-stepper": "../../../../../src/Form/FormStepper/index", - "button": "../../../../../src/Button/index" - } -} diff --git a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.wxml b/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.wxml deleted file mode 100644 index b9b77c616..000000000 --- a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.wxml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.wxss b/compiled/wechat/demo/pages/Form/FormJSON/form-json/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Form/FormJSON/index.js b/compiled/wechat/demo/pages/Form/FormJSON/index.js deleted file mode 100644 index 8f5d9abf9..000000000 --- a/compiled/wechat/demo/pages/Form/FormJSON/index.js +++ /dev/null @@ -1,81 +0,0 @@ -Page({ - data: { - config: {}, - }, - onLoad() { - this.setData({ - config: { - formItems: [ - { - type: 'input', - label: '用户名', - name: 'account', - placeholder: '请输入用户名', - required: true, - message: '提交需要有用户名', - }, - { - type: 'input', - label: '地址', - name: 'address', - placeholder: '请输入地址', - required: true, - message: '提交需要有地址', - }, - { - type: 'custom-input', - label: '水果', - name: 'fruit', - placeholder: '请输入数量', - required: true, - message: '提交需要有数量', - }, - { - type: 'stepper', - label: '数量', - name: 'quantity', - placeholder: '请输入数量', - required: true, - message: '提交需要有数量', - }, - { - type: 'custom-switch', - label: '需要小票', - name: 'choose', - required: true, - message: '提交需要有数量', - }, - ], - initialValues: { - account: 'lily' - }, - submit: { - text: '提交', - type: 'primary', - style: 'margin: 12px', - }, - reset: { - text: '重置', - type: 'default', - style: 'margin: 12px', - }, - }, - }); - }, - formItems: [], - handleFormJSONRef(ref) { - this.formItems.forEach(formItem => { - ref.form.addItem(formItem); - }); - }, - handleRef(ref) { - this.formItems.push(ref); - }, - onSuccess(values) { - my.alert({ - title: '提交', - content: JSON.stringify(values, null, 2), - }); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormJSON/index.json b/compiled/wechat/demo/pages/Form/FormJSON/index.json deleted file mode 100644 index 3a7af3705..000000000 --- a/compiled/wechat/demo/pages/Form/FormJSON/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "defaultTitle": "Form", - "transparentTitle": "auto", - "titlePenetrate": "YES", - "usingComponents": { - "form-json": "./form-json/index", - "form-input": "../../../../src/Form/FormInput/index", - "form-switch": "../../../../src/Form/FormSwitch/index" - } -} diff --git a/compiled/wechat/demo/pages/Form/FormJSON/index.wxml b/compiled/wechat/demo/pages/Form/FormJSON/index.wxml deleted file mode 100644 index bab078208..000000000 --- a/compiled/wechat/demo/pages/Form/FormJSON/index.wxml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormJSON/index.wxss b/compiled/wechat/demo/pages/Form/FormJSON/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Form/FormLayout/index.js b/compiled/wechat/demo/pages/Form/FormLayout/index.js deleted file mode 100644 index c184b07e7..000000000 --- a/compiled/wechat/demo/pages/Form/FormLayout/index.js +++ /dev/null @@ -1,32 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - data: { - position: 'horizontal', - }, - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - toggle() { - this.setData({ - position: this.data.position === 'horizontal' ? 'vertical' : 'horizontal', - }); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormLayout/index.json b/compiled/wechat/demo/pages/Form/FormLayout/index.json deleted file mode 100644 index fc73c5acc..000000000 --- a/compiled/wechat/demo/pages/Form/FormLayout/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-form-switch": "../../../../src/Form/FormSwitch/index", - "ant-form-stepper": "../../../../src/Form/FormStepper/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormLayout/index.wxml b/compiled/wechat/demo/pages/Form/FormLayout/index.wxml deleted file mode 100644 index 34e26bd1f..000000000 --- a/compiled/wechat/demo/pages/Form/FormLayout/index.wxml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - 提交 - 重置 - 切换表单布局 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormLayout/index.wxss b/compiled/wechat/demo/pages/Form/FormLayout/index.wxss deleted file mode 100644 index cc8071507..000000000 --- a/compiled/wechat/demo/pages/Form/FormLayout/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} -.button { - margin-bottom: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormMultiple/index.js b/compiled/wechat/demo/pages/Form/FormMultiple/index.js deleted file mode 100644 index 017a7163e..000000000 --- a/compiled/wechat/demo/pages/Form/FormMultiple/index.js +++ /dev/null @@ -1,43 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - this.form2 = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - if (this.form2RefList) { - this.form2RefList.forEach((ref) => { - this.form2.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - handleRef2(ref) { - if (!this.form2RefList) { - this.form2RefList = []; - } - this.form2RefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - reset2() { - this.form2.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, - async submit2() { - const values = await this.form2.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormMultiple/index.json b/compiled/wechat/demo/pages/Form/FormMultiple/index.json deleted file mode 100644 index dcca20f86..000000000 --- a/compiled/wechat/demo/pages/Form/FormMultiple/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-container": "../../../../src/Container/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormMultiple/index.wxml b/compiled/wechat/demo/pages/Form/FormMultiple/index.wxml deleted file mode 100644 index c6f16d0df..000000000 --- a/compiled/wechat/demo/pages/Form/FormMultiple/index.wxml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - 提交 - 重置 - - - - - - - 提交 - 重置 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormMultiple/index.wxss b/compiled/wechat/demo/pages/Form/FormMultiple/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormMultiple/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormRules/index.js b/compiled/wechat/demo/pages/Form/FormRules/index.js deleted file mode 100644 index ccd058bad..000000000 --- a/compiled/wechat/demo/pages/Form/FormRules/index.js +++ /dev/null @@ -1,52 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form({ - rules: { - password: [ - { - required: true, - message: '需要输入密码', - }, - ], - confirm: [ - { - required: true, - message: '需要输入确认密码', - }, - (form) => ({ - async validator(_, value) { - if (!value || form.getFieldValue('password') === value) { - return; - } - throw new Error('验证密码需要跟密码相同'); - }, - }), - ], - }, - }); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - fill() { - this.form.setFieldValue('account', 'lily'); - this.form.setFieldValue('password', '1234'); - this.form.setFieldValue('confirm', '1234'); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormRules/index.json b/compiled/wechat/demo/pages/Form/FormRules/index.json deleted file mode 100644 index 5c6d214af..000000000 --- a/compiled/wechat/demo/pages/Form/FormRules/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormRules/index.wxml b/compiled/wechat/demo/pages/Form/FormRules/index.wxml deleted file mode 100644 index c68dafba3..000000000 --- a/compiled/wechat/demo/pages/Form/FormRules/index.wxml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - 提交 - 重置 - Fill表单 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormRules/index.wxss b/compiled/wechat/demo/pages/Form/FormRules/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormRules/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormValidate/index.js b/compiled/wechat/demo/pages/Form/FormValidate/index.js deleted file mode 100644 index 53aab6feb..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidate/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - onReady() { - setTimeout(() => { - // 填入表单及校验 - this.form.setFieldValue('fruit', '橘子'); - this.form.setFieldValidatorStatus('fruit', { - status: 'error', - errors: ['后台服务返回: 橘子还在进货,请换一个'], - }); - }); - }, - async submit() { - const values = await this.form.submit(); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormValidate/index.json b/compiled/wechat/demo/pages/Form/FormValidate/index.json deleted file mode 100644 index 5c6d214af..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidate/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormValidate/index.wxml b/compiled/wechat/demo/pages/Form/FormValidate/index.wxml deleted file mode 100644 index 059e4176d..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidate/index.wxml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormValidate/index.wxss b/compiled/wechat/demo/pages/Form/FormValidate/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidate/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.js b/compiled/wechat/demo/pages/Form/FormValidateMessages/index.js deleted file mode 100644 index fed82bb94..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.js +++ /dev/null @@ -1,54 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -const validateMessages = { - required: '需要输入${label}', - string: { - min: '${label}最少${min}个字符', - }, - pattern: { - mismatch: '${label}需要满足${pattern}', - }, -}; -Page({ - onLoad() { - this.form = new Form({ - validateMessages, - rules: { - account: [ - { - required: true, - min: 6, - }, - ], - password: [ - { - required: true, - }, - ], - ip: [ - { - required: true, - pattern: /^((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}$/, - }, - ], - }, - }); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.json b/compiled/wechat/demo/pages/Form/FormValidateMessages/index.json deleted file mode 100644 index 5c6d214af..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.wxml b/compiled/wechat/demo/pages/Form/FormValidateMessages/index.wxml deleted file mode 100644 index 4d35db465..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.wxml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.wxss b/compiled/wechat/demo/pages/Form/FormValidateMessages/index.wxss deleted file mode 100644 index f65043b4c..000000000 --- a/compiled/wechat/demo/pages/Form/FormValidateMessages/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/FormWatch/index.js b/compiled/wechat/demo/pages/Form/FormWatch/index.js deleted file mode 100644 index ea8cc9e16..000000000 --- a/compiled/wechat/demo/pages/Form/FormWatch/index.js +++ /dev/null @@ -1,50 +0,0 @@ -import { Form } from '../../../../src/Form/form'; -Page({ - onLoad() { - this.form = new Form(); - if (this.formRefList) { - this.formRefList.forEach((ref) => { - this.form.addItem(ref); - }); - } - }, - data: { - changedValuesText: '', - allValuesText: '', - }, - onReady() { - this.form.onValuesChange((changedValues, allValues) => { - let changedValuesText = ''; - let allValuesText = ''; - Object.keys(changedValues).forEach((name) => { - const value = changedValues[name]; - changedValuesText += `${name}: ${value};`; - }); - Object.keys(allValues).forEach((name) => { - const value = allValues[name]; - allValuesText += `${name}: ${value};`; - }); - this.setData({ - changedValuesText, - allValuesText, - }); - }); - }, - handleRef(ref) { - if (!this.formRefList) { - this.formRefList = []; - } - this.formRefList.push(ref.detail); - }, - reset() { - this.form.reset(); - this.setData({ - changedValuesText: '', - allValuesText: '', - }); - }, - async submit() { - const values = await this.form.submit(); - console.log(values); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/FormWatch/index.json b/compiled/wechat/demo/pages/Form/FormWatch/index.json deleted file mode 100644 index 5c6d214af..000000000 --- a/compiled/wechat/demo/pages/Form/FormWatch/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Form", - "usingComponents": { - "ant-form-input": "../../../../src/Form/FormInput/index", - "ant-button": "../../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormWatch/index.wxml b/compiled/wechat/demo/pages/Form/FormWatch/index.wxml deleted file mode 100644 index 846ec9147..000000000 --- a/compiled/wechat/demo/pages/Form/FormWatch/index.wxml +++ /dev/null @@ -1,30 +0,0 @@ - - - -onValuesChange: - 修改:{{changedValuesText}} - 表单:{{allValuesText}} - - - - 提交 - 重置 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/FormWatch/index.wxss b/compiled/wechat/demo/pages/Form/FormWatch/index.wxss deleted file mode 100644 index cc8071507..000000000 --- a/compiled/wechat/demo/pages/Form/FormWatch/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px; -} -.button { - margin-bottom: 12px; -} diff --git a/compiled/wechat/demo/pages/Form/index.js b/compiled/wechat/demo/pages/Form/index.js deleted file mode 100644 index f429bc966..000000000 --- a/compiled/wechat/demo/pages/Form/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: {}, - gotoPage(event) { - const src = event.target.dataset.src; - if (typeof my === 'undefined') { - //@ts-ignore - wx.navigateTo({ - url: `./${src}/index`, - }); - return; - } - my.navigateTo({ - url: `./${src}/index`, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Form/index.json b/compiled/wechat/demo/pages/Form/index.json deleted file mode 100644 index b9069b91d..000000000 --- a/compiled/wechat/demo/pages/Form/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Form Demo", - "usingComponents": { - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/index.wxml b/compiled/wechat/demo/pages/Form/index.wxml deleted file mode 100644 index b1575d952..000000000 --- a/compiled/wechat/demo/pages/Form/index.wxml +++ /dev/null @@ -1,78 +0,0 @@ - - - 基本使用 - 布局 - 初始值 - 初始值异步加载 - 表单侦听 - 校验 - 增加删除表单项 - 表单项联动 - 自定义表单项校验 - 自定义表单校验消息 - 多个表单 - 图片校验 - JSON 生成表单 - 自定义错误样式 - 自定义表单项 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Form/index.wxss b/compiled/wechat/demo/pages/Form/index.wxss deleted file mode 100644 index 3e43d2e1c..000000000 --- a/compiled/wechat/demo/pages/Form/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.buttons { - background: var(--color-card); - padding: 12px 12px 48px 12px; -} -textarea { - min-height: 100px; -} diff --git a/compiled/wechat/demo/pages/Grid/index.js b/compiled/wechat/demo/pages/Grid/index.js deleted file mode 100644 index d78149f04..000000000 --- a/compiled/wechat/demo/pages/Grid/index.js +++ /dev/null @@ -1,135 +0,0 @@ -Page({ - data: { - items2: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items3: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items4: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items5: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - items3withDesc: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述信息', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述信息', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述信息', - }, - ], - items2withDesc: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述文字最多一行', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: '描述文字最多一行', - }, - ], - itemsCustom: [ - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*MwsuTZI4qA8AAAAAAAAAAAAAARQnAQ', - tag: '1', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*xXRcRohQFc0AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*UJf2QLxdoa8AAAAAAAAAAAAAARQnAQ', - tag: '新', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*now3Q4h5DH8AAAAAAAAAAAAAARQnAQ', - }, - { - title: '标题文字', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*I27zQbOu8ScAAAAAAAAAAAAAARQnAQ', - }, - ], - items5More: [], - }, - onLoad() { - const { items5 } = this.data; - this.setData({ - scrollItems: this.data.items4.concat(this.data.items4), - items5More: [...items5, ...items5], - }); - }, - handleTapItem(item) { - //@ts-ignore - wx.showToast({ - title: '点击', - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Grid/index.json b/compiled/wechat/demo/pages/Grid/index.json deleted file mode 100644 index ec19e7f79..000000000 --- a/compiled/wechat/demo/pages/Grid/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Grid", - "usingComponents": { - "ant-container": "../../../src/Container/index", - "ant-grid": "../../../src/Grid/index", - "ant-badge": "../../../src/Badge/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Grid/index.wxml b/compiled/wechat/demo/pages/Grid/index.wxml deleted file mode 100644 index 4b1631df3..000000000 --- a/compiled/wechat/demo/pages/Grid/index.wxml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Grid/index.wxss b/compiled/wechat/demo/pages/Grid/index.wxss deleted file mode 100644 index d91ffc91e..000000000 --- a/compiled/wechat/demo/pages/Grid/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -swiper { - height: 360rpx; -} diff --git a/compiled/wechat/demo/pages/GuideTour/index.js b/compiled/wechat/demo/pages/GuideTour/index.js deleted file mode 100644 index d5c768d22..000000000 --- a/compiled/wechat/demo/pages/GuideTour/index.js +++ /dev/null @@ -1,49 +0,0 @@ -Page({ - data: { - baseVisible: false, - moreVisible: false, - swiperVisible: false, - slotVisible: false, - controlledVisible: false, - current: 0, - list: [ - { - left: 20, - top: 80, - imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', - imageMode: 'widthFix', - }, - { - left: 20, - top: 160, - imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png', - }, - { - left: 20, - top: 220, - imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png', - }, - ], - }, - onChange(index) { - console.log('index', index); - }, - onChangeControlled(value) { - this.setData({ current: value.detail }); - }, - openTour(e) { - this.setData({ - [e.target.dataset.field]: true, - current: 0, - }); - }, - closeTour() { - this.setData({ - baseVisible: false, - moreVisible: false, - swiperVisible: false, - slotVisible: false, - controlledVisible: false, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/GuideTour/index.json b/compiled/wechat/demo/pages/GuideTour/index.json deleted file mode 100644 index e8ebf5d51..000000000 --- a/compiled/wechat/demo/pages/GuideTour/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "GuideTour", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index", - "ant-guide-tour": "../../../src/GuideTour/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/GuideTour/index.wxml b/compiled/wechat/demo/pages/GuideTour/index.wxml deleted file mode 100644 index 893051a6e..000000000 --- a/compiled/wechat/demo/pages/GuideTour/index.wxml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - 单图模式 - 多图模式 - 滑动模式 - 受控模式 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/GuideTour/index.wxss b/compiled/wechat/demo/pages/GuideTour/index.wxss deleted file mode 100644 index e8e95c3f7..000000000 --- a/compiled/wechat/demo/pages/GuideTour/index.wxss +++ /dev/null @@ -1,10 +0,0 @@ -.step-box { - background-color: #fff; - width: 200px; - height: 200px; - line-height: 200px; - text-align: center; -} -.list button { - margin-bottom: 8px; -} diff --git a/compiled/wechat/demo/pages/Icon/index.js b/compiled/wechat/demo/pages/Icon/index.js deleted file mode 100644 index dc794f208..000000000 --- a/compiled/wechat/demo/pages/Icon/index.js +++ /dev/null @@ -1,9 +0,0 @@ -Page({ - handleTap(e) { - console.log(e); - console.log('detail', e.detail); - console.log('e.currentTarget.dataset', e.currentTarget.dataset); - console.log('e.target.dataset', e.target.dataset); - console.log('e.target.targetDataset', e.target.targetDataset); - }, -}); diff --git a/compiled/wechat/demo/pages/Icon/index.json b/compiled/wechat/demo/pages/Icon/index.json deleted file mode 100644 index 70baf7f95..000000000 --- a/compiled/wechat/demo/pages/Icon/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Icon", - "usingComponents": { - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Icon/index.wxml b/compiled/wechat/demo/pages/Icon/index.wxml deleted file mode 100644 index 6c0aea564..000000000 --- a/compiled/wechat/demo/pages/Icon/index.wxml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Icon/index.wxss b/compiled/wechat/demo/pages/Icon/index.wxss deleted file mode 100644 index 277a4a260..000000000 --- a/compiled/wechat/demo/pages/Icon/index.wxss +++ /dev/null @@ -1,13 +0,0 @@ -.custom-color { - color: var(--color-brand1); -} -.custom-size { - font-size: 40px !important; -} -.custom { - color: red; - margin: 10px; -} -.custom text { - font-size: 40px; -} diff --git a/compiled/wechat/demo/pages/ImageUpload/index.js b/compiled/wechat/demo/pages/ImageUpload/index.js deleted file mode 100644 index a2d1a82f3..000000000 --- a/compiled/wechat/demo/pages/ImageUpload/index.js +++ /dev/null @@ -1,79 +0,0 @@ -function onRemove(file) { - return new Promise((resolve) => { - console.log('即将移除的图片为:', file); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showModal({ - title: '是否确认移除图片', - success: function (e) { - resolve(e.confirm); - }, - }); - }); -} -Page({ - data: { - defaultFileList: [ - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*kStORbDQxwMAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*K4Z-RLHuliYAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - ], - fileList: [ - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', - status: 'done', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*kStORbDQxwMAAAAAAAAAAAAAARQnAQ', - status: 'pending', - }, - { - url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*K4Z-RLHuliYAAAAAAAAAAAAAARQnAQ', - status: 'error', - }, - ], - onRemove, - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ'); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, - }, - onChange(fileList) { - // 这里的数据包括上传失败和成功的图片列表,如果需要筛选出上传成功的图片需要在此处理 - console.log('图片列表:', fileList); - }, - onPreview(file) { - console.log('preview', file); - }, - handleControlledChange(fileList) { - this.setData({ - fileList: fileList.detail, - }); - }, - handleUploaderRef(ref) { - console.log('handleUploaderRef', ref); - this.handleUploaderRef = ref.detail; - }, - upload() { - this.handleUploaderRef.chooseImage(); - }, -}); diff --git a/compiled/wechat/demo/pages/ImageUpload/index.json b/compiled/wechat/demo/pages/ImageUpload/index.json deleted file mode 100644 index 646daf1ea..000000000 --- a/compiled/wechat/demo/pages/ImageUpload/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "ImageUpload", - "usingComponents": { - "ant-uploader": "../../../src/ImageUpload/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/ImageUpload/index.wxml b/compiled/wechat/demo/pages/ImageUpload/index.wxml deleted file mode 100644 index 06936a7d0..000000000 --- a/compiled/wechat/demo/pages/ImageUpload/index.wxml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -限制只能上传1个 - - - - - - - - - - - - - 上传 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/ImageUpload/index.wxss b/compiled/wechat/demo/pages/ImageUpload/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Input/index.js b/compiled/wechat/demo/pages/Input/index.js deleted file mode 100644 index 9083dabef..000000000 --- a/compiled/wechat/demo/pages/Input/index.js +++ /dev/null @@ -1,40 +0,0 @@ -Page({ - data: { - value: '', - money: '', - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(value) { - this.setData({ - value: value.detail, - }); - }, - handleMoney(value) { - console.log(value); - if (isNaN(Number(value.detail))) { - return; - } - this.setData({ - money: value.detail, - }); - }, - clear() { - this.setData({ - value: '', - }); - }, - handleRefInput(input) { - this.input = input.detail; - }, - handleRefTextArea(textArea) { - this.textArea = textArea.detail; - }, - clearByInputRef() { - this.input.update(''); - }, - clearByTextAreaRef() { - this.textArea.update(''); - }, -}); diff --git a/compiled/wechat/demo/pages/Input/index.json b/compiled/wechat/demo/pages/Input/index.json deleted file mode 100644 index 19cef5287..000000000 --- a/compiled/wechat/demo/pages/Input/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "Input", - "usingComponents": { - "ant-input": "../../../src/Input/index", - "ant-button": "../../../src/Button/index", - "container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-textarea": "../../../src/Input/Textarea/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Input/index.wxml b/compiled/wechat/demo/pages/Input/index.wxml deleted file mode 100644 index 3730f6997..000000000 --- a/compiled/wechat/demo/pages/Input/index.wxml +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - RMB - - - - - - - - clear - - - - - RMB - - - - - - clear - - - - - - - - - 取消 - - - - - - - - - - - - - - - - - clear - - - - - clear - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Input/index.wxss b/compiled/wechat/demo/pages/Input/index.wxss deleted file mode 100644 index db0d03104..000000000 --- a/compiled/wechat/demo/pages/Input/index.wxss +++ /dev/null @@ -1,54 +0,0 @@ -.input { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 1s; -} -.money { - width: 180px; -} -.border { - border-color: var(--color-border); -} -button { - margin-top: 8px; -} -.search-line { - display: flex; - align-items: center; - padding: 16px; -} -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; -} -.search-bar-focus { - border-color: var(--color-brand1); -} -.cancel { - color: var(--color-text-primary); - margin-left: 8px; -} -.custom { - border: 1px solid var(--color-border-greycard); - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} -.placeholder { - color: var(--color-text-primary); - opacity: 0.7; - font-size: 16px; -} -.custom-color { - margin-bottom: 12px; -} -.custom-color input, -.custom-color textarea { - padding: 4px; - background: var(--color-background); - border-radius: 4px; -} diff --git a/compiled/wechat/demo/pages/InputCustom/index.js b/compiled/wechat/demo/pages/InputCustom/index.js deleted file mode 100644 index d28de2f3a..000000000 --- a/compiled/wechat/demo/pages/InputCustom/index.js +++ /dev/null @@ -1,34 +0,0 @@ -Page({ - data: { - value: '', - money: '', - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(value) { - this.setData({ - value, - }); - }, - handleMoney(value) { - console.log(value); - if (isNaN(Number(value))) { - return; - } - this.setData({ - money: value, - }); - }, - clear() { - this.setData({ - value: '', - }); - }, - handleRef(input) { - this.input = input; - }, - clearByInputRef() { - this.input.update(''); - } -}); diff --git a/compiled/wechat/demo/pages/InputCustom/index.json b/compiled/wechat/demo/pages/InputCustom/index.json deleted file mode 100644 index cd884cadd..000000000 --- a/compiled/wechat/demo/pages/InputCustom/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Input", - "usingComponents": { - "ant-input": "../../../src/Input/index", - "ant-textarea": "../../../src/Input/Textarea/index", - "ant-icon": "../../../src/Icon/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/InputCustom/index.wxml b/compiled/wechat/demo/pages/InputCustom/index.wxml deleted file mode 100644 index b345faed2..000000000 --- a/compiled/wechat/demo/pages/InputCustom/index.wxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/InputCustom/index.wxss b/compiled/wechat/demo/pages/InputCustom/index.wxss deleted file mode 100644 index d1fe8dacf..000000000 --- a/compiled/wechat/demo/pages/InputCustom/index.wxss +++ /dev/null @@ -1,24 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -.custom { - border: 1px solid #e5e5e5; - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} -.placeholder { - color: #333333; - opacity: 0.7; - font-size: 16px; -} -.custom-color { - margin-bottom: 12px; -} -.custom-color input, -.custom-color textarea { - padding: 4px; - background: #f5f5f5; - border-radius: 4px; -} -textarea { - min-height: 100px; -} diff --git a/compiled/wechat/demo/pages/InputSearchBar/index.js b/compiled/wechat/demo/pages/InputSearchBar/index.js deleted file mode 100644 index b2fa7c6b3..000000000 --- a/compiled/wechat/demo/pages/InputSearchBar/index.js +++ /dev/null @@ -1,10 +0,0 @@ -Page({ - onChange(value, e) { - console.log(value, e); - }, - onConfirm(value) { - my.alert({ - content: value, - }); - } -}); diff --git a/compiled/wechat/demo/pages/InputSearchBar/index.json b/compiled/wechat/demo/pages/InputSearchBar/index.json deleted file mode 100644 index 4ad988b00..000000000 --- a/compiled/wechat/demo/pages/InputSearchBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Input", - "usingComponents": { - "ant-input": "../../../src/Input/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/InputSearchBar/index.wxml b/compiled/wechat/demo/pages/InputSearchBar/index.wxml deleted file mode 100644 index 745b1801b..000000000 --- a/compiled/wechat/demo/pages/InputSearchBar/index.wxml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - 取消 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/InputSearchBar/index.wxss b/compiled/wechat/demo/pages/InputSearchBar/index.wxss deleted file mode 100644 index baab227ea..000000000 --- a/compiled/wechat/demo/pages/InputSearchBar/index.wxss +++ /dev/null @@ -1,20 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -.container { - display: flex; - align-items: center; - padding: 16px; -} -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; -} -.search-bar-focus { - border-color: #1677ff; -} -.cancel { - color: #333333; - margin-left: 8px; -} diff --git a/compiled/wechat/demo/pages/InputTextarea/index.js b/compiled/wechat/demo/pages/InputTextarea/index.js deleted file mode 100644 index 0185442df..000000000 --- a/compiled/wechat/demo/pages/InputTextarea/index.js +++ /dev/null @@ -1,35 +0,0 @@ -import { resolveEventValue } from './utils'; -Page({ - data: { - value: '', - money: '', - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(value) { - this.setData({ - value: resolveEventValue(value), - }); - }, - handleMoney(value) { - console.log(value); - if (isNaN(Number(resolveEventValue(value)))) { - return; - } - this.setData({ - money: resolveEventValue(value), - }); - }, - clear() { - this.setData({ - value: '', - }); - }, - handleRef(input) { - this.input = resolveEventValue(input); - }, - clearByInputRef() { - this.input.update(''); - }, -}); diff --git a/compiled/wechat/demo/pages/InputTextarea/index.json b/compiled/wechat/demo/pages/InputTextarea/index.json deleted file mode 100644 index fd40621c3..000000000 --- a/compiled/wechat/demo/pages/InputTextarea/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Input", - "usingComponents": { - "ant-textarea": "../../../src/Input/Textarea/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/InputTextarea/index.wxml b/compiled/wechat/demo/pages/InputTextarea/index.wxml deleted file mode 100644 index eaf0dcc75..000000000 --- a/compiled/wechat/demo/pages/InputTextarea/index.wxml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - clear - - - - - clear - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/InputTextarea/index.wxss b/compiled/wechat/demo/pages/InputTextarea/index.wxss deleted file mode 100644 index 265134284..000000000 --- a/compiled/wechat/demo/pages/InputTextarea/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -textarea { - min-height: 100px; -} -button { - margin-top: 8px; -} diff --git a/compiled/wechat/demo/pages/InputTextarea/utils.js b/compiled/wechat/demo/pages/InputTextarea/utils.js deleted file mode 100644 index c6ad68009..000000000 --- a/compiled/wechat/demo/pages/InputTextarea/utils.js +++ /dev/null @@ -1,6 +0,0 @@ -export function resolveEventValue(event) { - if (typeof event.detail !== 'undefined') { - return event.detail; - } - return event; -} diff --git a/compiled/wechat/demo/pages/List/index.js b/compiled/wechat/demo/pages/List/index.js deleted file mode 100644 index 1fd98a735..000000000 --- a/compiled/wechat/demo/pages/List/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: { - radius: false, - }, - handleTap(e) { - console.log(e); - }, - catchTap(e) { - console.log(e); - }, - handleSetRadius(checked) { - this.setData({ - radius: checked, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/List/index.json b/compiled/wechat/demo/pages/List/index.json deleted file mode 100644 index f0d51f350..000000000 --- a/compiled/wechat/demo/pages/List/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "List", - "usingComponents": { - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index", - "ant-switch": "../../../src/Switch/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/List/index.wxml b/compiled/wechat/demo/pages/List/index.wxml deleted file mode 100644 index c22b7b891..000000000 --- a/compiled/wechat/demo/pages/List/index.wxml +++ /dev/null @@ -1,71 +0,0 @@ - - - - 1 - 2 - 3 - - - 总资产 - 设置 - 图片胶囊按钮 - - - - 大字号模式 - 授权管理 - - - 账单 - 总资产 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/List/index.wxss b/compiled/wechat/demo/pages/List/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Loading/index.js b/compiled/wechat/demo/pages/Loading/index.js deleted file mode 100644 index 560d44d43..000000000 --- a/compiled/wechat/demo/pages/Loading/index.js +++ /dev/null @@ -1 +0,0 @@ -Page({}); diff --git a/compiled/wechat/demo/pages/Loading/index.json b/compiled/wechat/demo/pages/Loading/index.json deleted file mode 100644 index 748c34323..000000000 --- a/compiled/wechat/demo/pages/Loading/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Loading", - "usingComponents": { - "ant-loading": "../../../src/Loading/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Loading/index.wxml b/compiled/wechat/demo/pages/Loading/index.wxml deleted file mode 100644 index f90060e16..000000000 --- a/compiled/wechat/demo/pages/Loading/index.wxml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Loading/index.wxss b/compiled/wechat/demo/pages/Loading/index.wxss deleted file mode 100644 index 65d762406..000000000 --- a/compiled/wechat/demo/pages/Loading/index.wxss +++ /dev/null @@ -1,16 +0,0 @@ -page { - padding: 24px; - box-sizing: border-box; -} -.container { - padding-bottom: 24px; -} -.list { - display: flex; - align-items: center; - background: #000; -} -.custom-size { - width: 20px; - height: 20px; -} diff --git a/compiled/wechat/demo/pages/Modal/index.js b/compiled/wechat/demo/pages/Modal/index.js deleted file mode 100644 index bf50b43a3..000000000 --- a/compiled/wechat/demo/pages/Modal/index.js +++ /dev/null @@ -1,49 +0,0 @@ -Page({ - data: { - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - focusThreeVisible: false, - customVisible: false, - customBodyVisible: false, - }, - handleOpen(e) { - const { field } = e.target.dataset; - this.setData({ [field]: true }); - }, - handleClose() { - this.setData({ - basicVisible: false, - withTitleVisible: false, - basicTwoVisible: false, - basicThreeVisible: false, - focusOneVisible: false, - focusTwoVisible: false, - focusThreeVisible: false, - customVisible: false, - customBodyVisible: false, - }); - }, - handlePrimaryButtonTap() { - this.handleClose(); - this.showToast('点击主要按钮'); - }, - handleSecondaryButtonTap() { - this.handleClose(); - this.showToast('点击辅助按钮'); - }, - handleCancelButtonTap() { - this.handleClose(); - this.showToast('点击取消按钮'); - }, - showToast(content) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showToast({ - title: content, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Modal/index.json b/compiled/wechat/demo/pages/Modal/index.json deleted file mode 100644 index 600f95de7..000000000 --- a/compiled/wechat/demo/pages/Modal/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Modal", - "usingComponents": { - "ant-modal": "../../../src/Modal/index", - "ant-button": "../../../src/Button/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Modal/index.wxml b/compiled/wechat/demo/pages/Modal/index.wxml deleted file mode 100644 index 6a8d64939..000000000 --- a/compiled/wechat/demo/pages/Modal/index.wxml +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - 最简单的弹框 - 带有标题 - 带辅助按钮 - 带辅助和取消按钮 - - - 只有主按钮 - 带辅助按钮 - 带辅助和取消按钮 - - - 自定义按钮样式 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Modal/index.wxss b/compiled/wechat/demo/pages/Modal/index.wxss deleted file mode 100644 index 4df97caf5..000000000 --- a/compiled/wechat/demo/pages/Modal/index.wxss +++ /dev/null @@ -1,14 +0,0 @@ -.bodyImg { - width: 424rpx; - height: 528rpx; - border-radius: 8rpx; -} -.bodyAction { - padding-top: 32rpx; - font-size: 48rpx; - text-align: center; - color: #fff; -} -.list button { - margin-bottom: 8px; -} diff --git a/compiled/wechat/demo/pages/NoticeBar/index.js b/compiled/wechat/demo/pages/NoticeBar/index.js deleted file mode 100644 index 2271eb485..000000000 --- a/compiled/wechat/demo/pages/NoticeBar/index.js +++ /dev/null @@ -1,20 +0,0 @@ -Page({ - data: { - typeList: ['default', 'error', 'info', 'primary'], - }, - handleTapAction() { - this.showToast('点击按钮'); - }, - handleTapLink() { - this.showToast('link 类型被点击了'); - }, - handleClose() { - this.showToast('点击关闭'); - }, - showToast(content) { - //@ts-ignore - wx.showToast({ - title: content, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/NoticeBar/index.json b/compiled/wechat/demo/pages/NoticeBar/index.json deleted file mode 100644 index 9116007b2..000000000 --- a/compiled/wechat/demo/pages/NoticeBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Notice", - "usingComponents": { - "ant-notice": "../../../src/NoticeBar/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NoticeBar/index.wxml b/compiled/wechat/demo/pages/NoticeBar/index.wxml deleted file mode 100644 index 20e443b5f..000000000 --- a/compiled/wechat/demo/pages/NoticeBar/index.wxml +++ /dev/null @@ -1,81 +0,0 @@ - - - - {{item}} - - - - 这条通知可以关闭 - - - - 文本溢出时,开启循环滚动。文字不够继续添加文字凑数。 - - - - - 文本溢出时,开启循环滚动。文字不够继续添加文字凑数。 - - - - 不展示图标 - - 自定义左侧图标 - 自定义左侧图标图片 - 自定义右侧按钮 - 不再提示 - 查看详情 - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NoticeBar/index.wxss b/compiled/wechat/demo/pages/NoticeBar/index.wxss deleted file mode 100644 index 44ad7d17a..000000000 --- a/compiled/wechat/demo/pages/NoticeBar/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.extra { - display: flex; -} -.extra > view { - white-space: nowrap; - margin-left: 8rpx; -} diff --git a/compiled/wechat/demo/pages/NumberInput/index.js b/compiled/wechat/demo/pages/NumberInput/index.js deleted file mode 100644 index 743947bfa..000000000 --- a/compiled/wechat/demo/pages/NumberInput/index.js +++ /dev/null @@ -1,43 +0,0 @@ -Page({ - data: { - value1: '', - value2: '', - value3: '', - maxValue: 5800, - quickAmounts: ['500', '1000', '2000'] - }, - handleChange1(value) { - this.setData({ - value1: value - }); - }, - handleChange2(value) { - this.setData({ - value2: value - }); - }, - handleChange3(value) { - if (Number(value) > this.data.maxValue) { - my.alert({ - title: '提示', - content: `提现金额不能大于${this.data.maxValue}` - }); - return; - } - this.setData({ - value3: value - }); - }, - handleLinkTap() { - my.alert({ - title: '交易明细', - content: '交易明细' - }); - }, - handleAllWithdraw() { - this.input.update(this.data.maxValue); - }, - handleRef(input) { - this.input = input; - } -}); diff --git a/compiled/wechat/demo/pages/NumberInput/index.json b/compiled/wechat/demo/pages/NumberInput/index.json deleted file mode 100644 index df7695f4d..000000000 --- a/compiled/wechat/demo/pages/NumberInput/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "NumberInput", - "usingComponents": { - "ant-number-input": "../../../src/NumberInput/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberInput/index.wxml b/compiled/wechat/demo/pages/NumberInput/index.wxml deleted file mode 100644 index 8b7e1804f..000000000 --- a/compiled/wechat/demo/pages/NumberInput/index.wxml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - 剩余额度:{{maxValue}}全部提现 - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberInput/index.wxss b/compiled/wechat/demo/pages/NumberInput/index.wxss deleted file mode 100644 index 097a61d4b..000000000 --- a/compiled/wechat/demo/pages/NumberInput/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -.link-text { - padding-left: 10rpx; - color: #165dff; - text-decoration: underline; -} diff --git a/compiled/wechat/demo/pages/NumberKeyboard/index.js b/compiled/wechat/demo/pages/NumberKeyboard/index.js deleted file mode 100644 index 842e6f26b..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboard/index.js +++ /dev/null @@ -1,66 +0,0 @@ -Page({ - data: { - visible: false, - visible1: false, - visible2: false, - visible3: false, - visible4: false, - visible5: false, - visible6: false, - visible7: false, - value8: '', - }, - // 默认键盘 - onTap() { - this.setData({ visible: !this.data.visible }); - }, - // 没有小数点 - onTap1() { - this.setData({ visible1: !this.data.visible1 }); - }, - // 带确认按钮 - onTap2() { - this.setData({ visible2: !this.data.visible2 }); - }, - // 带向下箭头 - onTap3() { - this.setData({ visible3: !this.data.visible3 }); - }, - // 乱序键盘 - onTap4() { - this.setData({ visible4: !this.data.visible4 }); - }, - // 带标题 - onTap5() { - this.setData({ visible5: !this.data.visible5 }); - }, - // 自定义标题 - onTap6() { - this.setData({ visible6: !this.data.visible6 }); - }, - // 自定义确认按钮 - onTap7() { - this.setData({ visible7: !this.data.visible7 }); - }, - onNumberFocus() { - this.setData({ visible8: true }); - }, - onChange8(e) { - e = e.detail; - this.setData({ value8: e ? parseFloat(e) : '' }); - }, - onClose8() { - this.setData({ visible8: false }); - }, - onCodeFocus9() { - this.setData({ visible9: true }); - }, - onChange9(e) { - e = e.detail; - this.setData({ value9: e }); - e.length === 4 && this.onClose9(); - }, - onClose9() { - this.setData({ visible9: false }); - }, -}); diff --git a/compiled/wechat/demo/pages/NumberKeyboard/index.json b/compiled/wechat/demo/pages/NumberKeyboard/index.json deleted file mode 100644 index e1dc3a25c..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboard/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "NumberKeyboard", - "usingComponents": { - "ant-number-keyboard": "../../../src/NumberKeyboard/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboard/index.wxml b/compiled/wechat/demo/pages/NumberKeyboard/index.wxml deleted file mode 100644 index 89941d798..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboard/index.wxml +++ /dev/null @@ -1,95 +0,0 @@ - - - 默认键盘 - - 没有小数点 - - 带确认按钮 - - 带关闭箭头 - - 乱序键盘 - - - - - - - {{value8}} - - 0.00 - - - - - - - - - - {{value9[index] || ''}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboard/index.wxss b/compiled/wechat/demo/pages/NumberKeyboard/index.wxss deleted file mode 100644 index 7d63418fb..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboard/index.wxss +++ /dev/null @@ -1,892 +0,0 @@ -/* 浅色模式的css变量 */ -@media (prefers-color-scheme: light) { - :root, - page { - --color-brand1: #1677ff; - --color-brand1-faded: rgba(22, 119, 255, 0.1); - --color-brand1-faded-3: rgba(22, 119, 255, 0.3); - --color-brand2: #1677ff; - --color-link: #4b6b99; - --color-wathet: #e7f1ff; - --color-orange: #ff6430; - --color-orange-faded: rgba(255, 100, 48, 0.7); - --color-yellow: #ff9f18; - --color-green: #22b35e; - --color-green-faded: rgba(34, 179, 94, 0.7); - --color-red: #ff3141; - --color-red-faded: rgba(255, 49, 65, 0.7); - --color-text-primary: #333333; - --color-text-secondary: #666666; - --color-text-assist: #999999; - --color-text-weak: #cccccc; - --color-text-weak-faded: rgba(204, 204, 204, 0.6); - --color-border: #eeeeee; - --color-border-greycard: #e5e5e5; - --color-background2: #f0f3f7; - --color-background: #f5f5f5; - --color-card: #ffffff; - --color-card-faded-95: rgba(255, 255, 255, 0.05); - --color-card-faded-60: rgba(255, 255, 255, 0.4); - --color-card2: #ffffff; - --color-white-card: #ffffff; - --color-grey-card: #f5f5f5; - --color-black-card: #000000e6; - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: #000000; - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #ffffff; - --color-white-change: #ffffff; - --color-black-change: #000000; - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #e5e5e5; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - --button-disabled-opacity: 0.4; - --button-color: #1677ff; - --button-background-color: #ffffff; - --button-border-color: #1677ff; - --button-primary-border-color: #1677ff; - --button-primary-background-color: #1677ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #e7f1ff; - --button-primary-aide-color: #1677ff; - --button-default-aide-border-color: #f5f5f5; - --button-default-aide-background-color: #ffffff; - --button-default-aide-color: #333333; - --button-primary-danger-background-color: #ff3141; - --button-primary-danger-border-color: #ff3141; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #ffffff; - --button-default-danger-border-color: #ff3141; - --button-default-danger-color: #ff3141; - --button-text-danger-color: #ff3141; - --button-danger-default-color: #ff3141; - --button-active-bg: rgba(255, 255, 255, 0.08); - --button-inline-size: 30rpx; - --button-font-size: 38rpx; - --button-large-font-size: 38rpx; - --button-medium-font-size: 34rpx; - --button-small-font-size: 30rpx; - --button-icon-size: 44rpx; - --button-padding: 24rpx; - --button-large-padding: 24rpx; - --button-medium-padding-top: 16rpx; - --button-medium-padding-left: 24rpx; - --button-small-padding-top: 8rpx; - --button-small-padding-left: 24rpx; - --button-subtext-size: 24rpx; - --button-border-size: 2rpx; - --actionsheet-danger-color: #ff3141; - --actionsheet-title-color: #999999; - --actionsheet-item-color: #333333; - --actionsheet-item-active-bg: #eeeeee; - --activesheet-item-cancel-bg: #f5f5f5; - --icon-color: #333333; - --tabbar-bg: #ffffff; - --tabbar-item-color: #666666; - --tabbar-active-color: #1677ff; - --tabs-basic-color: #333333; - --tabs-weaken-color: #999999; - --tabs-inverse-color: #ffffff; - --tabs-active-color: #1677ff; - --tabs-active-decorate-color: #1677ff; - --tabs-underline-border-color: #eeeeee; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #f5f5f5; - --tabs-subtitle-color: #ffffff; - --tabs-count-color: #cccccc; - --tabs-badge-size: 28rpx; - --feedback-text-color: #333333; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #f5f5f5; - --feedback-list-text-color: #333333; - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #333333; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #999999; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #1677ff; - --collapse-title-background-color: #ffffff; - --collapse-title-color: #333333; - --collapse-title-icon-color: #cccccc; - --collapse-content-background-color: #ffffff; - --collapse-border-color: #eeeeee; - --collapse-node-text-color: #999999; - --collapse-container-background-color: #ffffff; - --container-header-color: #333333; - --container-color-text-assist: #999999; - --container-background-color: #ffffff; - --divider-text-color: #333333; - --divider-border-color: #e5e5e5; - --empty-text-color: #333333; - --empty-asisst-text-color: #999999; - --ant-grid-title-color: #333333; - --ant-grid-description-color: #999999; - --ant-grid-border-color: #eeeeee; - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #999999; - --guide-tour-dot-color: #999999; - --guide-tour-border-color: #eeeeee; - --guide-tour-btn-color: #333333; - --guide-tour-right-btn-color: #333333; - --index-bar-tip-background-color: #cccccc; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #999999; - --index-bar-active-color: #1677ff; - --input-item-color: #333333; - --input-item-placeholder-color: #cccccc; - --input-item-clear-color: #999999; - --input-background-color: #ffffff; - --list-header-color: #999999; - --list-footer-color: #999999; - --list-background-color: #ffffff; - --list-content-color: #333333; - --list-extra-brief-color: #999999; - --list-item-border-color: #eeeeee; - --list-item-text-color: #cccccc; - --progress-stroke-color: #1677ff; - --progress-trail-color: #f5f5f5; - --progress-success-color: #22b35e; - --progress-indicator-color: #333333; - --progress-exception-color: #ff3141; - --progress-assist-color: #999999; - --steps-non-active-bg: #e5e5e5; - --steps-title-color: #333333; - --steps-desc-color: #999999; - --steps-default-bg: #1677ff; - --steps-finish-bg: #ff3141; - --swipe-action-color: #ffffff; - --tag-primary-color: #1677ff; - --tag-warning-color: #ff6430; - --tag-danger-color: #ff3141; - --tag-success-color: #22b35e; - --tag-primary-light-color: #e7f1ff; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - --checkbox-header-color: #999999; - --checkbox-border-color: #cccccc; - --checkbox-background-color: #1677ff; - --checkbox-disabled-background: #f5f5f5; - --checkbox-text-color: #333333; - --checkbox-fake-icon-background-color: #ffffff; - --checklist-background-color: #1677ff; - --check-list-item-title-color: #333333; - --check-list-item-background-color: #ffffff; - --check-list-item-hover-background-color: #eeeeee; - --check-list-item-content-color: #333333; - --check-list-item-description-color: #999999; - --range-picker-shadow-color: #000000; - --range-picker-item-color: #333333; - --range-picker-active-color: #1677ff; - --range-picker-placeholder-color: #cccccc; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - --form-text-color: #cccccc; - --form-item-color: #666666; - --form-item-bg: #ffffff; - --form-error-color: #ff3141; - --form-extra-color: #999999; - --form-asterisk-color: #ff3b30; - --image-upload-cover-background: #ffffff; - --image-upload-wrapper-background: #f5f5f5; - --image-upload-background-color: #ffffff; - --image-upload-text-color: #ffffff; - --loading-text-color: #d8d8d8; - --loading-icon-light-color: rgba(255, 255, 255, 0.6); - --mask-background-color: rgba(0, 0, 0, 0.55); - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #333333; - --number-key-board-none-text-color: #999999; - --number-key-board-iphonex-safe-background-color: #ffffff; - --number-key-board-background-color: #f5f5f5; - --number-key-board-border-color: #eeeeee; - --number-key-board-transfer-bg: #1677ff; - --number-key-board-transfer-color: #ffffff; - --picker-item-color: #333333; - --picker-header-action-color: #1677ff; - --picker-placeholder-color: #cccccc; - --picker-header-color: #eeeeee; - --picker-content-background-color: #ffffff; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.05); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.4); - --radio-header-color: #999999; - --radio-border-color: #cccccc; - --radio-background-color: #1677ff; - --radio-disabled-background: #f5f5f5; - --radio-text-color: #333333; - --radio-fake-icon-background-color: #ffffff; - --radio-icon-color: #ffffff; - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #ffffff; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #e5e5e5; - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #d8d8d8; - --rare-words-keyboard-color: #333333; - --rare-words-border-color: #eeeeee; - --rare-words-kb-bg: #f5f5f5; - --rare-words-pinyin-key-color: #ffffff; - --rare-words-inner-bg: #cccccc; - --rare-words-active-color: #1677ff; - --rare-words-pinyin-color: #f5f5f5; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #666666; - --selector-background-color: #ffffff; - --selector-item-background: #f5f5f5; - --selector-item-active-background: #e7f1ff; - --selector-item-color: #333333; - --selector-item-sub-color: #999999; - --selector-item-color: #1677ff; - --slider-default-primary-color: #1677ff; - --slider-track-bg: #ffffff; - --slider-fill-bg: #f5f5f5; - --slider-number-color: #333333; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #f5f5f5; - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #e5e5e5; - --stepper-border-color: #e5e5e5; - --stepper-background-color: #ffffff; - --stepper-hover-bg: rgba(0, 0, 0, 0.08); - --stepper-input-font-color: #333333; - --switch-fill: #1677ff; - --switch-border-color: #eeeeee; - --switch-loading-color: #1677ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #999999; - --dialog-background-color: #ffffff; - --dialog-title-color: #333333; - --dialog-content-color: #333333; - --dialog-close-text-color: #999999; - --modal-background-color: #ffffff; - --modal-title-color: #333333; - --modal-content-color: #333333; - --modal-close-text-color: #999999; - --popover-color-background: #404040; - --popover-bg: #ffffff; - --popover-text-color: #000000; - --popover-inner-color: #ffffff; - --popup-background: #ffffff; - --popup-color: #333333; - --popup-assit-color: #999999; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - --rate-active-icon: #ff9f18; - --rate-icon-color: #eeeeee; - --result-main-background: #ffffff; - --result-title-color: #000000; - --result-desc-color: #333333; - --result-success-color: #1677ff; - --result-error-color: #ff3b30; - --result-warning-color: #ff8f1f; - --result-wait-color: #00b578; - --skeleton-animation-25: #eeeeee; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #eeeeee; - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - --badge-text-color: #ffffff; - --badge-background-color: #ff3141; - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff3141; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #1677ff; - --notice-primary-background-color: #d0e4ff; - --notice-info-text-color: #ffffff; - --notice-info-background-color: #666666; - --page-container-background-color: #f5f5f5; - --typography-container-color: #333333; - --pagination-area-background-color: #121212; - --pagination-move-background-color: #3086ff; - --table-item-color: #333333; - --table-item-bg: #ffffff; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #fff; - --sticky-check-bg: rgba(238, 238, 238, 0); - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #666; - --voucher-action-btn-color: #ff3141; - --voucher-action-bg: #fff; - --voucher-action-left-bg: #fff; - --voucher-action-left-threshold-bg: #fff; - --voucher-action-right-color: #fff; - --voucher-action-right-title-color: #fff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #666; - --ant-card-bg: #ffffff; - --ant-card-header-title-color: #333333; - --ant-card-header-link-color: #999999; - --ant-card-fold-btn-color: #1677ff; - --ant-countdown-color: #666; - --ant-countdown-number-color: #fff; - --ant-countdown-number-bg: #1677ff; - --search-bar-focus-color: #1677ff; - --select-contact-search-cancel-color: #333333; - --select-contact-loading-bg: #fff; - --select-contact-scroll-bg: #fff; - --select-contact-list-bg: #fff; - --select-contact-title-bg: #fff; - --select-contact-title-color: #999; - --select-contact-title-first-color: #333; - --select-contact-title-first-border: #eee; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #fff; - --select-contact-empty-color: #999; - --select-contact-loading-bg: #999; - --select-contact-display-light-color: #fa6300; - --number-input-background-color: #ffffff; - --number-input-title-color: #333333; - --number-input-link-color: #4b6b99; - --number-input-unit-color: #999999; - --number-input-border-color: #eeeeee; - --number-input-prefix-color: #333333; - --number-input-caret-color: #1677ff; - --number-input-quick-text-color: #1677ff; - --number-input-quick-border-color: #1677ff; - --postscript-background-color: #ffffff; - --postscript-title-color: #333; - --postscript-input-color: #333; - --postscript-caret-color: #1677ff; - --postscript-placeholder-color: #cccccc; - --postscript-quick-text-color: #666; - --postscript-quick-border-color: #eeeeee; - } -} -/* 深色模式的css变量 */ -@media (prefers-color-scheme: dark) { - :root, - page { - --color-brand1: #3086ff; - --color-border-faded: rgba(48, 134, 255, 0.9); - --color-brand2: #0a0a0a; - --color-link: #3f5980; - --color-wathet: #0d2543; - --color-orange: #e65a2b; - --color-yellow: #ffa930; - --color-green: #34b368; - --color-red: #ff4a58; - --color-text-primary: #c5cad1; - --color-text-secondary: #808080; - --color-text-assist: #616161; - --color-text-weak: #474747; - --color-text-weak-faded: rgba(71, 71, 71, 0.6); - --color-border: #2b2b2b; - --color-border-greycard: #444444; - --color-background2: #121212; - --color-background: #121212; - --color-card: #1a1a1a; - --color-card2: #222222; - --color-white-card: #2b2b2b; - --color-grey-card: #2b2b2b; - --color-black-card: #525252; - --color_text_secondary: #808080; - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: #000000; - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #c5cad1; - --color-white-change: #000000; - --color-black-change: #ffffff; - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #444444; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - --popover-content-bg: rgba(255, 255, 255, 0.45); - --popover-content-color: #c5cad1; - --button-disabled-opacity: 0.4; - --button-color: #3086ff; - --button-background-color: #1a1a1a; - --button-border-color: #3086ff; - --button-primary-border-color: #3086ff; - --button-primary-background-color: #3086ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #0d2543; - --button-primary-aide-color: #3086ff; - --button-default-aide-border-color: #121212; - --button-default-aide-background-color: #1a1a1a; - --button-default-aide-color: #c5cad1; - --button-primary-danger-background-color: #ff4a58; - --button-primary-danger-border-color: #ff4a58; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #1a1a1a; - --button-default-danger-border-color: #ff4a58; - --button-default-danger-color: #ff4a58; - --button-text-danger-color: #ff4a58; - --button-danger-default-color: #ff4a58; - --button-active-bg: rgba(255, 255, 255, 0.08); - --actionsheet-danger-color: #ff4a58; - --actionsheet-title-color: #616161; - --actionsheet-item-color: #c5cad1; - --actionsheet-item-active-bg: #2b2b2b; - --activesheet-item-cancel-bg: #121212; - --tabbar-bg: #1a1a1a; - --tabbar-item-color: #808080; - --tabbar-active-color: #3086ff; - --tabs-basic-color: #c5cad1; - --tabs-weaken-color: #616161; - --tabs-inverse-color: #1a1a1a; - --tabs-active-color: #3086ff; - --tabs-active-decorate-color: #3086ff; - --tabs-underline-border-color: #2b2b2b; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #121212; - --tabs-subtitle-color: #1a1a1a; - --tabs-count-color: #474747; - --tabs-badge-size: 28rpx; - --feedback-text-color: #c5cad1; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #1a1a1a; - --feedback-list-background-color: #121212; - --feedback-list-text-color: #c5cad1; - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #303030; - --calendar-default-color: #c5cad1; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #616161; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #3086ff; - --collapse-title-background-color: #1a1a1a; - --collapse-title-color: #c5cad1; - --collapse-title-icon-color: #474747; - --collapse-content-background-color: #1a1a1a; - --collapse-border-color: #2b2b2b; - --collapse-node-text-color: #616161; - --collapse-container-background-color: #1a1a1a; - --container-header-color: #c5cad1; - --container-color-text-assist: #616161; - --container-background-color: #1a1a1a; - --divider-text-color: #c5cad1; - --divider-border-color: #2b2b2b; - --empty-text-color: #c5cad1; - --empty-asisst-text-color: #616161; - --ant-grid-title-color: #c5cad1; - --ant-grid-description-color: #616161; - --ant-grid-border-color: #2b2b2b; - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #616161; - --guide-tour-dot-color: #616161; - --guide-tour-border-color: #2b2b2b; - --guide-tour-btn-color: #333333; - --index-bar-tip-background-color: #474747; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #616161; - --index-bar-active-color: #3086ff; - --input-item-color: #c5cad1; - --input-item-placeholder-color: #474747; - --input-item-clear-color: #616161; - --input-background-color: #1a1a1a; - --list-header-color: #616161; - --list-footer-color: #616161; - --list-background-color: #1a1a1a; - --list-content-color: #c5cad1; - --list-extra-brief-color: #616161; - --list-item-border-color: #2b2b2b; - --list-item-text-color: #474747; - --progress-stroke-color: #3086ff; - --progress-trail-color: #121212; - --progress-success-color: #34b368; - --progress-indicator-color: #c5cad1; - --progress-exception-color: #ff4a58; - --progress-assist-color: #616161; - --steps-non-active-bg: #444444; - --steps-title-color: #c5cad1; - --steps-desc-color: #616161; - --steps-default-bg: #3086ff; - --steps-finish-bg: #ff4a58; - --swipe-action-color: #ffffff; - --tag-primary-color: #3086ff; - --tag-warning-color: #e65a2b 橙色; - --tag-danger-color: #ff4a58; - --tag-success-color: #34b368; - --tag-primary-light-color: #0d2543; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - --checkbox-header-color: #616161; - --checkbox-border-color: #474747; - --checkbox-background-color: #3086ff; - --checkbox-disabled-background: #121212; - --checkbox-text-color: #c5cad1; - --checkbox-fake-icon-background-color: #1a1a1a; - --checklist-background-color: #3086ff; - --check-list-item-title-color: #c5cad1; - --check-list-item-background-color: #1a1a1a; - --check-list-item-hover-background-color: #2b2b2b; - --check-list-item-content-color: #c5cad1; - --check-list-item-description-color: #616161; - --range-picker-shadow-color: #000000; - --range-picker-item-color: #c5cad1; - --range-picker-active-color: #3086ff; - --range-picker-placeholder-color: #474747; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - --form-text-color: #474747; - --form-item-color: #808080; - --form-item-bg: #1a1a1a; - --form-error-color: #ff4a58; - --form-extra-color: #616161; - --form-asterisk-color: #ff3b30; - --image-upload-wrapper-background: #121212; - --image-upload-cover-background: rgba(0, 0, 0, 0.4); - --image-upload-text-color: #ffffff; - --image-upload-background-color: #1a1a1a; - --loading-text-color: #454955; - --loading-icon-light-color: #999; - --mask-background-color: rgba(0, 0, 0, 0.55); - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #c5cad1; - --number-key-board-none-text-color: #616161; - --number-key-board-iphonex-safe-background-color: #1a1a1a; - --number-key-board-background-color: #121212; - --number-key-board-border-color: #2b2b2b; - --number-key-board-transfer-bg: #3086ff; - --number-key-board-transfer-color: #ffffff; - --picker-item-color: #c5cad1; - --picker-header-action-color: #3086ff; - --picker-placeholder-color: #474747; - --picker-header-color: #2b2b2b; - --picker-content-background-color: #1a1a1a; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.02); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.01); - --radio-header-color: #616161; - --radio-border-color: #474747; - --radio-background-color: #3086ff; - --radio-disabled-background: #121212; - --radio-text-color: #c5cad1; - --radio-fake-icon-background-color: #1a1a1a; - --radio-icon-color: #ffffff; - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-item-bg: #444444; - --popover-list-badge-color: #ff411c; - --popover-list-content-color: #1a1a1a; - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #4a4a4a; - --rare-words-keyboard-color: #c5cad1; - --rare-words-border-color: #2b2b2b; - --rare-words-kb-bg: #121212; - --rare-words-pinyin-key-color: #1a1a1a; - --rare-words-inner-bg: #474747; - --rare-words-active-color: #3086ff; - --rare-words-pinyin-color: #121212; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #808080; - --selector-background-color: #1a1a1a; - --selector-item-background: #121212; - --selector-item-active-background: #0d2543; - --selector-item-color: #c5cad1; - --selector-item-sub-color: #616161; - --selector-item-color: #3086ff; - --slider-default-primary-color: #3086ff; - --slider-track-bg: #1a1a1a; - --slider-fill-bg: #121212; - --slider-number-color: #c5cad1; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #121212; - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #444444; - --stepper-border-color: #444444; - --stepper-background-color: #1a1a1a; - --stepper-hover-bg: rgba(0, 0, 0, 0.92); - --stepper-input-font-color: #ffffff; - --switch-fill: #3086ff; - --switch-border-color: #2b2b2b; - --switch-loading-color: #3086ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #616161; - --dialog-background-color: #1a1a1a; - --dialog-title-color: #c5cad1; - --dialog-content-color: #c5cad1; - --dialog-close-text-color: #616161; - --modal-background-color: #1a1a1a; - --modal-title-color: #c5cad1; - --modal-content-color: #c5cad1; - --modal-close-text-color: #616161; - --popover-color-background: #404040; - --popover-bg: #1a1a1a; - --popover-text-color: #ffffff; - --popover-inner-color: #ffffff; - --popup-background: #1a1a1a; - --popup-color: #c5cad1; - --popup-assit-color: #616161; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - --rate-active-icon: #ffa930; - --rate-icon-color: #2b2b2b; - --result-main-background: #1a1a1a; - --result-title-color: #ffffff; - --result-desc-color: #c5cad1; - --result-success-color: #3086ff; - --result-error-color: #ff544a; - --result-warning-color: #ff9c38; - --result-wait-color: #12b57e; - --skeleton-animation-25: #2b2b2b; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #2b2b2b; - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - --badge-text-color: #ffffff; - --badge-background-color: #ff4a58; - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff4a58; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #3086ff; - --notice-primary-background-color: #d0e4ff; - --notice-info-text-color: #ffffff; - --notice-info-background-color: #808080; - --page-container-background-color: #121212; - --typography-container-color: #c5cad1; - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #3086ff; - --table-item-color: #c5cad1; - --table-item-bg: #1a1a1a; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #c5cad1; - --sticky-check-bg: rgba(238, 238, 238, 0); - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #808080; - --voucher-action-btn-color: #ff4a58; - --voucher-action-bg: #ffffff; - --voucher-action-left-bg: #ffffff; - --voucher-action-left-threshold-bg: #ffffff; - --voucher-action-right-color: #ffffff; - --voucher-action-right-title-color: #ffffff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #808080; - --ant-card-bg: #1a1a1a; - --ant-card-header-title-color: #c5cad1; - --ant-card-header-link-color: #616161; - --ant-card-fold-btn-color: #3086ff; - --ant-countdown-color: #808080; - --ant-countdown-number-color: #000000; - --ant-countdown-number-bg: #3086ff; - --select-contact-search-bar-focus-color: #3086ff; - --select-contact-search-cancel-color: #c5cad1; - --select-contact-wrap-loading-bg: #1a1a1a; - --select-contact-scroll-bg: #1a1a1a; - --select-contact-list-bg: #1a1a1a; - --select-contact-title-bg: #1a1a1a; - --select-contact-title-color: #999; - --select-contact-title-first-color: #c5cad1; - --select-contact-title-first-border: #2b2b2b; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #1a1a1a; - --select-contact-empty-color: #616161; - --select-contact-loading-bg: #616161; - --select-contact-display-light-color: #fa6300; - --number-input-background-color: #1a1a1a; - --number-input-title-color: #c5cad1; - --number-input-link-color: #3f5980; - --number-input-unit-color: #616161; - --number-input-border-color: #2b2b2b; - --number-input-prefix-color: #c5cad1; - --number-input-caret-color: #3086ff; - --number-input-quick-text-color: #3086ff; - --number-input-quick-border-color: #3086ff; - --postscript-background-color: #1a1a1a; - --postscript-title-color: #c5cad1; - --postscript-input-color: #c5cad1; - --postscript-caret-color: #3086ff; - --postscript-placeholder-color: #474747; - --postscript-quick-text-color: #808080; - --postscript-quick-border-color: #2b2b2b; - } -} -page { - padding-bottom: 500px; -} -.number-keyboard-header { - border-top: 1px solid var(--color-background); - border-bottom: 1px solid var(--color-background); - line-height: 40px; - display: flex; - align-items: center; - justify-content: center; - background-color: var(--color-card); -} -.number-keyboard-confirm { - width: 100%; - height: 100%; - background-color: var(--color-card); - color: #333; - font-size: 26px; - display: flex; - align-items: center; - justify-content: center; -} -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.number-input .number-content { - height: 24px; - display: flex; - align-items: center; - justify-content: flex-start; - width: calc(100% - 24px); - position: relative; -} -.number-input .number-content-tip { - position: absolute; - left: 2px; -} -.number-input .number-placeholder { - color: #e5e5e5; -} -.number-input .number-light { - margin-left: 2px; - height: calc(100% - 4px); - width: 2px; - border-radius: 2px; - display: inline-block; - vertical-align: middle; - background: #1677ff; - animation: number-input-cursor 1s step-start infinite; -} -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.verify-code .number-code { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - width: 100%; - height: 24px; -} -.verify-code .number-code-view { - width: 40px; - height: 40px; - line-height: 40px; - font-size: 24px; - text-align: center; - border: 1px solid #e5e5e5; - border-radius: 4px; - margin-right: 12px; -} -.verify-code .number-code-view:last-child { - margin-right: 0; -} -.verify-code .number-code-tip { - height: calc(100% - 20px); - width: 2px; - border-radius: 2px; - display: inline-block; - background: #1677ff; - vertical-align: middle; - animation: number-input-cursor 1s step-start infinite; -} -.verify-code .number-code-border { - border: 1px solid #1677ff; - box-shadow: 0 0 2px 0 #1677ff; -} diff --git a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.js b/compiled/wechat/demo/pages/NumberKeyboardAmount/index.js deleted file mode 100644 index f433e3ed3..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.js +++ /dev/null @@ -1,40 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - }, - onAmountFocus() { - this.setData({ visible: true }); - }, - onChange(e) { - e = e.detail; - // 第一位输入0,第二位输入1,直接展示1 - if (e[0] === '0' && e[1] && e[1] !== '.') { - this.setData({ value: e.slice(1, e.length) }); - return; - } - // 小数点补齐0. - if (e === '.') { - this.setData({ value: '0.' }); - return; - } - // 不允许多个小数点 - const onePoint = e && e[e.length - 1] === '.' && e.length - 1 !== e.indexOf('.'); - // 限制小数点后2位 - const precision2 = e && e.split('.').length > 1 && e.split('.')[1].length === 3; - if (onePoint || precision2) { - this.setData({ value: e.slice(0, e.length - 1) }); - return; - } - this.setData({ value: e }); - }, - onClose() { - // 失去焦点时如果末尾是小数点,自动去掉 - if (this.data.value[this.data.value.length - 1] === '.') { - this.setData({ - value: this.data.value.slice(0, this.data.value.length - 1), - }); - } - this.setData({ visible: false }); - }, -}); diff --git a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.json b/compiled/wechat/demo/pages/NumberKeyboardAmount/index.json deleted file mode 100644 index aa0da150c..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "NumberKeyboard", - "usingComponents": { - "number-keyboard": "../../../src/NumberKeyboard/index", - "list-item": "../../../src/List/ListItem/index", - "list": "../../../src/List/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.wxml b/compiled/wechat/demo/pages/NumberKeyboardAmount/index.wxml deleted file mode 100644 index 0d74aa4fe..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.wxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - {{value}} - - 0.00 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.wxss b/compiled/wechat/demo/pages/NumberKeyboardAmount/index.wxss deleted file mode 100644 index a99be2c4e..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardAmount/index.wxss +++ /dev/null @@ -1,36 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.number-content { - height: 24px; - display: flex; - align-items: center; - justify-content: flex-start; - width: calc(100% - 24px); - position: relative; -} -.number-content-tip { - position: absolute; - left: 2px; -} -.number-placeholder { - color: #e5e5e5; -} -.number-light { - margin-left: 2px; - height: calc(100% - 4px); - width: 2px; - border-radius: 2px; - display: inline-block; - vertical-align: middle; - background: #1677ff; - animation: number-input-cursor 1s step-start infinite; -} diff --git a/compiled/wechat/demo/pages/NumberKeyboardCode/index.js b/compiled/wechat/demo/pages/NumberKeyboardCode/index.js deleted file mode 100644 index 6305bae49..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardCode/index.js +++ /dev/null @@ -1,17 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - }, - onCodeFocus() { - this.setData({ visible: true }); - }, - onChange(e) { - e = e.detail; - this.setData({ value: e }); - e.length === 4 && this.onClose(); - }, - onClose() { - this.setData({ visible: false }); - }, -}); diff --git a/compiled/wechat/demo/pages/NumberKeyboardCode/index.json b/compiled/wechat/demo/pages/NumberKeyboardCode/index.json deleted file mode 100644 index aa0da150c..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardCode/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "NumberKeyboard", - "usingComponents": { - "number-keyboard": "../../../src/NumberKeyboard/index", - "list-item": "../../../src/List/ListItem/index", - "list": "../../../src/List/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboardCode/index.wxml b/compiled/wechat/demo/pages/NumberKeyboardCode/index.wxml deleted file mode 100644 index 5569260cd..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardCode/index.wxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - {{value[index] || ''}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboardCode/index.wxss b/compiled/wechat/demo/pages/NumberKeyboardCode/index.wxss deleted file mode 100644 index db81934ae..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardCode/index.wxss +++ /dev/null @@ -1,45 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.number-code { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - width: 100%; - height: 24px; -} -.number-code-view { - width: 40px; - height: 40px; - line-height: 40px; - font-size: 24px; - text-align: center; - border: 1px solid #e5e5e5; - border-radius: 4px; - margin-right: 12px; -} -.number-code-view:last-child { - margin-right: 0; -} -.number-code-tip { - height: calc(100% - 20px); - width: 2px; - border-radius: 2px; - display: inline-block; - background: #1677ff; - vertical-align: middle; - animation: number-input-cursor 1s step-start infinite; -} -.number-code-border { - border: 1px solid #1677ff; - box-shadow: 0 0 2px 0 #1677ff; -} diff --git a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.js b/compiled/wechat/demo/pages/NumberKeyboardNumber/index.js deleted file mode 100644 index 7d79b39e9..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - }, - onNumberFocus() { - this.setData({ visible: true }); - }, - onChange(e) { - e = e.detail; - this.setData({ value: e ? parseFloat(e) : '' }); - }, - onClose() { - this.setData({ visible: false }); - }, -}); diff --git a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.json b/compiled/wechat/demo/pages/NumberKeyboardNumber/index.json deleted file mode 100644 index aa0da150c..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "NumberKeyboard", - "usingComponents": { - "number-keyboard": "../../../src/NumberKeyboard/index", - "list-item": "../../../src/List/ListItem/index", - "list": "../../../src/List/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.wxml b/compiled/wechat/demo/pages/NumberKeyboardNumber/index.wxml deleted file mode 100644 index 97192abc7..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.wxml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - {{value}} - - 0.00 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.wxss b/compiled/wechat/demo/pages/NumberKeyboardNumber/index.wxss deleted file mode 100644 index a99be2c4e..000000000 --- a/compiled/wechat/demo/pages/NumberKeyboardNumber/index.wxss +++ /dev/null @@ -1,36 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.number-content { - height: 24px; - display: flex; - align-items: center; - justify-content: flex-start; - width: calc(100% - 24px); - position: relative; -} -.number-content-tip { - position: absolute; - left: 2px; -} -.number-placeholder { - color: #e5e5e5; -} -.number-light { - margin-left: 2px; - height: calc(100% - 4px); - width: 2px; - border-radius: 2px; - display: inline-block; - vertical-align: middle; - background: #1677ff; - animation: number-input-cursor 1s step-start infinite; -} diff --git a/compiled/wechat/demo/pages/PageContainer/index.js b/compiled/wechat/demo/pages/PageContainer/index.js deleted file mode 100644 index d11903cfe..000000000 --- a/compiled/wechat/demo/pages/PageContainer/index.js +++ /dev/null @@ -1,70 +0,0 @@ -Page({ - data: { - loading: true, - status: 'failed', - safeArea: 'both', - }, - onLoad() { - setTimeout(() => { - this.setData({ - loading: false, - }); - }, 1000); - }, - handleRefresh() { - // @ts-ignore - wx.reLaunch({ - url: 'index', - fail(e) { - console.log(e); - }, - }); - }, - handleSwitchToDisconnected() { - this.setData({ - status: 'disconnected', - title: '', - message: '', - image: '', - }); - }, - handleSwitchToEmpty() { - this.setData({ - status: 'empty', - title: '', - message: '', - image: '', - }); - }, - handleSwitchToBusy() { - this.setData({ - status: 'busy', - title: '', - message: '', - image: '', - }); - }, - handleSwitchToCustom() { - this.setData({ - loading: false, - status: '', - title: '自定义标题', - message: '自定义详情', - image: 'https://gw.alipayobjects.com/zos/antfincdn/ZHrcdLPrvN/empty.svg', - }); - }, - handleSwitchToNormal() { - this.setData({ - status: '', - title: '', - message: '', - image: '', - }); - }, - handleToggleSafeArea(e) { - const { position = '' } = e.target.dataset; - this.setData({ - safeArea: position, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/PageContainer/index.json b/compiled/wechat/demo/pages/PageContainer/index.json deleted file mode 100644 index f6bf58078..000000000 --- a/compiled/wechat/demo/pages/PageContainer/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "", - "titleBarColor": "#ffffff", - "transparentTitle": "auto", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-page-container": "../../../src/PageContainer/index", - "ant-loading": "../../../src/Loading/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/PageContainer/index.wxml b/compiled/wechat/demo/pages/PageContainer/index.wxml deleted file mode 100644 index 99c3b02fc..000000000 --- a/compiled/wechat/demo/pages/PageContainer/index.wxml +++ /dev/null @@ -1,96 +0,0 @@ - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - 后台繁忙 - 顶部安全区 - 底部安全区 - 全局安全区 - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - 空内容 - 后台繁忙 - 自定义 - 正常 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/PageContainer/index.wxss b/compiled/wechat/demo/pages/PageContainer/index.wxss deleted file mode 100644 index d676d2e39..000000000 --- a/compiled/wechat/demo/pages/PageContainer/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -.content { - padding: 24rpx; -} diff --git a/compiled/wechat/demo/pages/Picker/city.js b/compiled/wechat/demo/pages/Picker/city.js deleted file mode 100644 index 4671c75bc..000000000 --- a/compiled/wechat/demo/pages/Picker/city.js +++ /dev/null @@ -1,1552 +0,0 @@ -export default [ - { - label: '北京', - children: [ - { - label: '北京', - value: '110', - }, - ], - value: '11', - }, - { - label: '河北', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - { - label: '秦皇岛', - value: '182', - }, - { - label: '邯郸', - value: '186', - }, - { - label: '邢台', - value: '185', - }, - { - label: '保定', - value: '187', - }, - { - label: '张家口', - value: '184', - }, - { - label: '承德', - value: '189', - }, - { - label: '廊坊', - value: '183', - }, - { - label: '沧州', - value: '180', - }, - { - label: '衡水', - value: '720', - }, - { - label: '雄安', - value: '782', - }, - ], - value: '18', - }, - { - label: '福建', - children: [ - { - label: '福州', - value: '380', - }, - { - label: '厦门', - value: '390', - }, - { - label: '泉州', - value: '480', - }, - { - label: '漳州', - value: '395', - }, - { - label: '宁德', - value: '386', - }, - { - label: '莆田', - value: '385', - }, - { - label: '南平', - value: '387', - }, - { - label: '三明', - value: '389', - }, - { - label: '龙岩', - value: '384', - }, - ], - value: '38', - }, - { - label: '江西', - children: [ - { - label: '南昌', - value: '750', - }, - { - label: '九江', - value: '755', - }, - { - label: '上饶', - value: '757', - }, - { - label: '抚州', - value: '759', - }, - { - label: '宜春', - value: '756', - }, - { - label: '吉安', - value: '751', - }, - { - label: '赣州', - value: '752', - }, - { - label: '景德镇', - value: '740', - }, - { - label: '萍乡', - value: '758', - }, - { - label: '新余', - value: '753', - }, - { - label: '鹰潭', - value: '754', - }, - ], - value: '75', - }, - { - label: '山东', - children: [ - { - label: '济南', - value: '170', - }, - { - label: '青岛', - value: '166', - }, - { - label: '淄博', - value: '150', - }, - { - label: '枣庄', - value: '157', - }, - { - label: '东营', - value: '156', - }, - { - label: '烟台', - value: '161', - }, - { - label: '潍坊', - value: '155', - }, - { - label: '济宁', - value: '158', - }, - { - label: '泰安', - value: '172', - }, - { - label: '威海', - value: '152', - }, - { - label: '日照', - value: '154', - }, - { - label: '莱芜', - value: '160', - }, - { - label: '临沂', - value: '153', - }, - { - label: '德州', - value: '173', - }, - { - label: '聊城', - value: '174', - }, - { - label: '滨州', - value: '151', - }, - { - label: '菏泽', - value: '159', - }, - ], - value: '17', - }, - { - label: '河南', - children: [ - { - label: '郑州', - value: '760', - }, - { - label: '洛阳', - value: '761', - }, - { - label: '开封', - value: '762', - }, - { - label: '焦作', - value: '763', - }, - { - label: '新乡', - value: '764', - }, - { - label: '许昌', - value: '765', - }, - { - label: '漯河', - value: '766', - }, - { - label: '安阳', - value: '767', - }, - { - label: '商丘', - value: '768', - }, - { - label: '平顶山', - value: '769', - }, - { - label: '周口', - value: '770', - }, - { - label: '驻马店', - value: '771', - }, - { - label: '三门峡', - value: '772', - }, - { - label: '濮阳', - value: '773', - }, - { - label: '鹤壁', - value: '774', - }, - { - label: '济源', - value: '775', - }, - { - label: '信阳', - value: '776', - }, - { - label: '南阳', - value: '777', - }, - ], - value: '76', - }, - { - label: '湖北', - children: [ - { - label: '武汉', - value: '710', - }, - { - label: '宜昌', - value: '711', - }, - { - label: '荆州', - value: '712', - }, - { - label: '黄冈', - value: '714', - }, - { - label: '黄石', - value: '715', - }, - { - label: '襄阳', - value: '716', - }, - { - label: '孝感', - value: '717', - }, - { - label: '鄂州', - value: '718', - }, - { - label: '咸宁', - value: '719', - }, - { - label: '十堰', - value: '721', - }, - { - label: '随州', - value: '723', - }, - { - label: '荆门', - value: '724', - }, - { - label: '仙桃/潜江/天门', - value: '713', - }, - { - label: '恩施', - value: '727', - }, - ], - value: '71', - }, - { - label: '湖南', - children: [ - { - label: '长沙', - value: '741', - }, - { - label: '衡阳', - value: '744', - }, - { - label: '株洲', - value: '742', - }, - { - label: '湘潭', - value: '743', - }, - { - label: '岳阳', - value: '745', - }, - { - label: '邵阳', - value: '792', - }, - { - label: '郴州', - value: '748', - }, - { - label: '常德', - value: '749', - }, - { - label: '益阳', - value: '747', - }, - { - label: '怀化', - value: '795', - }, - { - label: '永州', - value: '796', - }, - { - label: '娄底', - value: '791', - }, - { - label: '湘西', - value: '793', - }, - { - label: '张家界', - value: '794', - }, - ], - value: '74', - }, - { - label: '广东', - children: [ - { - label: '广州', - value: '510', - }, - { - label: '深圳', - value: '540', - }, - { - label: '东莞', - value: '580', - }, - { - label: '佛山', - value: '530', - }, - { - label: '惠州', - value: '570', - }, - { - label: '珠海', - value: '620', - }, - { - label: '中山', - value: '556', - }, - { - label: '江门', - value: '550', - }, - { - label: '汕头', - value: '560', - }, - { - label: '湛江', - value: '520', - }, - { - label: '揭阳', - value: '526', - }, - { - label: '肇庆', - value: '536', - }, - { - label: '清远', - value: '535', - }, - { - label: '韶关', - value: '558', - }, - { - label: '潮州', - value: '531', - }, - { - label: '茂名', - value: '568', - }, - { - label: '河源', - value: '670', - }, - { - label: '汕尾', - value: '525', - }, - { - label: '阳江', - value: '565', - }, - { - label: '梅州', - value: '528', - }, - { - label: '云浮', - value: '538', - }, - ], - value: '51', - }, - { - label: '广西', - children: [ - { - label: '南宁', - value: '591', - }, - { - label: '柳州', - value: '593', - }, - { - label: '桂林', - value: '592', - }, - { - label: '梧州', - value: '594', - }, - { - label: '玉林', - value: '595', - }, - { - label: '百色', - value: '596', - }, - { - label: '钦州', - value: '597', - }, - { - label: '河池', - value: '598', - }, - { - label: '北海', - value: '599', - }, - { - label: '防城港', - value: '590', - }, - { - label: '贵港', - value: '589', - }, - { - label: '贺州', - value: '588', - }, - { - label: '崇左', - value: '600', - }, - { - label: '来宾', - value: '601', - }, - ], - value: '59', - }, - { - label: '天津', - children: [ - { - label: '天津', - value: '130', - }, - ], - value: '13', - }, - { - label: '海南', - children: [ - { - label: '海口', - value: '501', - }, - ], - value: '50', - }, - { - label: '重庆', - children: [ - { - label: '重庆', - value: '831', - }, - ], - value: '83', - }, - { - label: '四川', - children: [ - { - label: '成都', - value: '810', - }, - { - label: '自贡', - value: '818', - }, - { - label: '雅安', - value: '811', - }, - { - label: '绵阳', - value: '824', - }, - { - label: '乐山', - value: '814', - }, - { - label: '德阳', - value: '825', - }, - { - label: '攀枝花', - value: '813', - }, - { - label: '宜宾', - value: '817', - }, - { - label: '阿坝', - value: '829', - }, - { - label: '内江', - value: '816', - }, - { - label: '眉山', - value: '819', - }, - { - label: '资阳', - value: '830', - }, - { - label: '泸州', - value: '815', - }, - { - label: '南充', - value: '822', - }, - { - label: '达州', - value: '820', - }, - { - label: '遂宁', - value: '821', - }, - { - label: '广元', - value: '826', - }, - { - label: '广安', - value: '823', - }, - { - label: '巴中', - value: '827', - }, - { - label: '凉山', - value: '812', - }, - { - label: '甘孜', - value: '828', - }, - ], - value: '81', - }, - { - label: '山西', - children: [ - { - label: '太原', - value: '190', - }, - { - label: '大同', - value: '193', - }, - { - label: '阳泉', - value: '192', - }, - { - label: '长治', - value: '195', - }, - { - label: '晋城', - value: '194', - }, - { - label: '朔州', - value: '199', - }, - { - label: '忻州', - value: '198', - }, - { - label: '晋中', - value: '191', - }, - { - label: '吕梁', - value: '200', - }, - { - label: '临汾', - value: '197', - }, - { - label: '运城', - value: '196', - }, - ], - value: '19', - }, - { - label: '贵州', - children: [ - { - label: '贵阳', - value: '850', - }, - { - label: '遵义', - value: '787', - }, - { - label: '安顺', - value: '789', - }, - { - label: '黔南', - value: '788', - }, - { - label: '黔东南', - value: '786', - }, - { - label: '铜仁', - value: '785', - }, - { - label: '毕节', - value: '851', - }, - { - label: '六盘水', - value: '853', - }, - { - label: '黔西南', - value: '852', - }, - ], - value: '85', - }, - { - label: '云南', - children: [ - { - label: '昆明', - value: '860', - }, - { - label: '德宏', - value: '730', - }, - { - label: '保山', - value: '731', - }, - { - label: '文山', - value: '732', - }, - { - label: '临沧', - value: '733', - }, - { - label: '怒江', - value: '734', - }, - { - label: '迪庆', - value: '735', - }, - { - label: '西双版纳', - value: '736', - }, - { - label: '红河', - value: '861', - }, - { - label: '大理', - value: '862', - }, - { - label: '丽江', - value: '863', - }, - { - label: '楚雄', - value: '864', - }, - { - label: '玉溪', - value: '865', - }, - { - label: '曲靖', - value: '866', - }, - { - label: '昭通', - value: '867', - }, - { - label: '普洱', - value: '869', - }, - ], - value: '86', - }, - { - label: '西藏', - children: [ - { - label: '拉萨', - value: '790', - }, - { - label: '日喀则', - value: '797', - }, - { - label: '山南', - value: '798', - }, - { - label: '林芝', - value: '799', - }, - { - label: '昌都', - value: '800', - }, - { - label: '那曲', - value: '801', - }, - { - label: '阿里', - value: '802', - }, - ], - value: '79', - }, - { - label: '陕西', - children: [ - { - label: '西安', - value: '841', - }, - { - label: '咸阳', - value: '844', - }, - { - label: '渭南', - value: '843', - }, - { - label: '宝鸡', - value: '840', - }, - { - label: '汉中', - value: '849', - }, - { - label: '延安', - value: '842', - }, - { - label: '榆林', - value: '845', - }, - { - label: '铜川', - value: '846', - }, - { - label: '安康', - value: '848', - }, - { - label: '商洛', - value: '847', - }, - ], - value: '84', - }, - { - label: '甘肃', - children: [ - { - label: '兰州', - value: '870', - }, - { - label: '酒泉', - value: '931', - }, - { - label: '庆阳', - value: '873', - }, - { - label: '天水', - value: '877', - }, - { - label: '武威', - value: '874', - }, - { - label: '临夏', - value: '878', - }, - { - label: '白银', - value: '879', - }, - { - label: '定西', - value: '871', - }, - { - label: '平凉', - value: '872', - }, - { - label: '陇南', - value: '960', - }, - { - label: '张掖', - value: '875', - }, - { - label: '嘉峪关', - value: '876', - }, - { - label: '金昌', - value: '930', - }, - { - label: '甘南', - value: '961', - }, - ], - value: '87', - }, - { - label: '青海', - children: [ - { - label: '西宁', - value: '700', - }, - { - label: '海东', - value: '701', - }, - { - label: '格尔木', - value: '702', - }, - { - label: '海西', - value: '704', - }, - { - label: '海北', - value: '706', - }, - { - label: '海南', - value: '705', - }, - { - label: '黄南', - value: '707', - }, - { - label: '果洛', - value: '708', - }, - { - label: '玉树', - value: '709', - }, - ], - value: '70', - }, - { - label: '宁夏', - children: [ - { - label: '银川', - value: '880', - }, - { - label: '石嘴山', - value: '884', - }, - { - label: '吴忠', - value: '883', - }, - { - label: '固原', - value: '885', - }, - { - label: '中卫', - value: '886', - }, - ], - value: '88', - }, - { - label: '新疆', - children: [ - { - label: '乌鲁木齐', - value: '890', - }, - { - label: '昌吉', - value: '891', - }, - { - label: '石河子', - value: '893', - }, - { - label: '奎屯', - value: '892', - }, - { - label: '塔城', - value: '952', - }, - { - label: '克拉玛依', - value: '899', - }, - { - label: '伊犁', - value: '898', - }, - { - label: '博乐', - value: '951', - }, - { - label: '阿勒泰', - value: '953', - }, - { - label: '吐鲁番', - value: '894', - }, - { - label: '哈密', - value: '900', - }, - { - label: '巴音郭楞', - value: '895', - }, - { - label: '阿克苏', - value: '896', - }, - { - label: '喀什', - value: '897', - }, - { - label: '和田', - value: '955', - }, - { - label: '克孜勒苏', - value: '954', - }, - ], - value: '89', - }, - { - label: '内蒙古', - children: [ - { - label: '呼和浩特', - value: '101', - }, - { - label: '包头', - value: '102', - }, - { - label: '乌海', - value: '106', - }, - { - label: '赤峰', - value: '107', - }, - { - label: '呼伦贝尔', - value: '108', - }, - { - label: '兴安盟', - value: '113', - }, - { - label: '通辽', - value: '109', - }, - { - label: '乌兰察布', - value: '103', - }, - { - label: '巴彦淖尔', - value: '105', - }, - { - label: '阿拉善盟', - value: '114', - }, - { - label: '鄂尔多斯', - value: '104', - }, - { - label: '锡林郭勒盟', - value: '111', - }, - ], - value: '10', - }, - { - label: '辽宁', - children: [ - { - label: '沈阳', - value: '910', - }, - { - label: '大连', - value: '940', - }, - { - label: '鞍山', - value: '912', - }, - { - label: '抚顺', - value: '913', - }, - { - label: '本溪', - value: '914', - }, - { - label: '丹东', - value: '915', - }, - { - label: '锦州', - value: '916', - }, - { - label: '营口', - value: '917', - }, - { - label: '阜新', - value: '918', - }, - { - label: '辽阳', - value: '919', - }, - { - label: '铁岭', - value: '911', - }, - { - label: '朝阳', - value: '920', - }, - { - label: '盘锦', - value: '921', - }, - { - label: '葫芦岛', - value: '922', - }, - ], - value: '91', - }, - { - label: '吉林', - children: [ - { - label: '长春', - value: '901', - }, - { - label: '吉林', - value: '902', - }, - { - label: '延边', - value: '909', - }, - { - label: '四平', - value: '903', - }, - { - label: '通化', - value: '905', - }, - { - label: '白城', - value: '907', - }, - { - label: '辽源', - value: '906', - }, - { - label: '松原', - value: '904', - }, - { - label: '白山', - value: '908', - }, - ], - value: '90', - }, - { - label: '黑龙江', - children: [ - { - label: '哈尔滨', - value: '971', - }, - { - label: '齐齐哈尔', - value: '973', - }, - { - label: '牡丹江', - value: '988', - }, - { - label: '佳木斯', - value: '976', - }, - { - label: '绥化', - value: '989', - }, - { - label: '大庆', - value: '981', - }, - { - label: '鸡西', - value: '991', - }, - { - label: '黑河', - value: '990', - }, - { - label: '伊春', - value: '996', - }, - { - label: '双鸭山', - value: '994', - }, - { - label: '鹤岗', - value: '993', - }, - { - label: '七台河', - value: '992', - }, - { - label: '大兴安岭', - value: '995', - }, - ], - value: '97', - }, - { - label: '上海', - children: [ - { - label: '上海', - value: '310', - }, - ], - value: '31', - }, - { - label: '江苏', - children: [ - { - label: '南京', - value: '340', - }, - { - label: '苏州', - value: '450', - }, - { - label: '无锡', - value: '330', - }, - { - label: '常州', - value: '440', - }, - { - label: '扬州', - value: '430', - }, - { - label: '镇江', - value: '343', - }, - { - label: '南通', - value: '358', - }, - { - label: '徐州', - value: '350', - }, - { - label: '泰州', - value: '445', - }, - { - label: '盐城', - value: '348', - }, - { - label: '淮安', - value: '354', - }, - { - label: '连云港', - value: '346', - }, - { - label: '宿迁', - value: '349', - }, - ], - value: '34', - }, - { - label: '浙江', - children: [ - { - label: '杭州', - value: '360', - }, - { - label: '宁波', - value: '370', - }, - { - label: '温州', - value: '470', - }, - { - label: '台州', - value: '476', - }, - { - label: '金华', - value: '367', - }, - { - label: '嘉兴', - value: '363', - }, - { - label: '绍兴', - value: '365', - }, - { - label: '湖州', - value: '362', - }, - { - label: '丽水', - value: '469', - }, - { - label: '衢州', - value: '468', - }, - { - label: '舟山', - value: '364', - }, - ], - value: '36', - }, - { - label: '安徽', - children: [ - { - label: '合肥', - value: '305', - }, - { - label: '安庆', - value: '302', - }, - { - label: '蚌埠', - value: '301', - }, - { - label: '亳州', - value: '318', - }, - { - label: '池州', - value: '317', - }, - { - label: '滁州', - value: '312', - }, - { - label: '阜阳', - value: '306', - }, - { - label: '淮北', - value: '314', - }, - { - label: '淮南', - value: '307', - }, - { - label: '黄山', - value: '316', - }, - { - label: '六安', - value: '304', - }, - { - label: '马鞍山', - value: '300', - }, - { - label: '宿州', - value: '313', - }, - { - label: '铜陵', - value: '308', - }, - { - label: '芜湖', - value: '303', - }, - { - label: '宣城', - value: '311', - }, - ], - value: '30', - }, -]; diff --git a/compiled/wechat/demo/pages/Picker/index.js b/compiled/wechat/demo/pages/Picker/index.js deleted file mode 100644 index 3becbeaec..000000000 --- a/compiled/wechat/demo/pages/Picker/index.js +++ /dev/null @@ -1,139 +0,0 @@ -import cityList from './city'; -Page({ - data: { - pickerVisible: false, - defaultValue: '上海', - value: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - formatTime: (value, column) => { - return column.map((c) => c && c.label).join(''); - }, - weekList: [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - columns: [ - [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - [ - { - label: '上午', - value: 'am', - }, - { - label: '下午', - value: 'pm', - }, - ], - ], - cityList, - cascaderValue: ['34', '330'], - cascaderVisible: false, - }, - handleDismiss(e) { - }, - handleClearControlled() { - this.setData({ - value: '', - }); - }, - handleChangeControlled() { - this.setData({ - value: '深圳', - }); - }, - handleControlledOk(value) { - this.setData({ - value: value.detail[0], - }); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, - handleOnOk(value, column) { - console.log('value', value, 'column', column); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleTriggerControlledPicker(visible, e) { - console.log('handleTriggerControlledPicker', visible); - this.setData({ - pickerVisible: visible.detail, - }); - }, - handleOpenPicker() { - this.setData({ - pickerVisible: true, - }); - }, - // 以下是级联选择的方法 - handleCascaderPickerChange(cascaderValue, selectedOption, e) { - console.log('cityChange', cascaderValue, selectedOption, e); - }, - handleCascaderOnOk(cascaderValue, selectedOption, e) { - console.log('cityOk', cascaderValue, selectedOption, e); - }, - handleCascaderControlledOk(cascaderValue, selectedOption, e) { - this.setData({ cascaderValue: cascaderValue.detail[0] }); - console.log('cityOk', cascaderValue, selectedOption, e); - }, - handleCascaderChangeControlled() { - this.setData({ cascaderValue: ['31', '310'] }); - }, - handleCascaderClearControlled() { - this.setData({ cascaderValue: [] }); - }, - handleCascaderTriggerControlledPicker(visible, e) { - console.log('handleTriggerControlledPicker', visible); - this.setData({ - cascaderVisible: visible.detail, - }); - }, - handleCascaderOpenPicker() { - this.setData({ - cascaderVisible: true, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Picker/index.json b/compiled/wechat/demo/pages/Picker/index.json deleted file mode 100644 index c1bc1ab18..000000000 --- a/compiled/wechat/demo/pages/Picker/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "navigationBarTitleText": "Picker", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "ant-picker": "../../../src/Picker/index", - "ant-cascader-picker": "../../../src/Picker/CascaderPicker/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-list": "../../../src/List/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Picker/index.wxml b/compiled/wechat/demo/pages/Picker/index.wxml deleted file mode 100644 index 2a256cb22..000000000 --- a/compiled/wechat/demo/pages/Picker/index.wxml +++ /dev/null @@ -1,171 +0,0 @@ - - - - 选择城市 - - 选择城市(点击蒙层不关闭) - - - - 选择城市 - 已选择:{{prop.value}} - - - - 选择深圳 - 清空 - - - - 选择日期 - - - - 请选择时间 - - - - - 请选择时间 - - - 打开 Picker - - - - - 请选择省市 - - - - 请选择城市 - - - - 请选择城市 - - - 选择上海 - 清空 - - - - - 请选择省市 - - - 打开 CascaderPicker - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Picker/index.wxss b/compiled/wechat/demo/pages/Picker/index.wxss deleted file mode 100644 index 022d13826..000000000 --- a/compiled/wechat/demo/pages/Picker/index.wxss +++ /dev/null @@ -1,4 +0,0 @@ -.btn-wrapper { - text-align: center; - padding: 24rpx; -} diff --git a/compiled/wechat/demo/pages/Popover/index.js b/compiled/wechat/demo/pages/Popover/index.js deleted file mode 100644 index 3e8ad430d..000000000 --- a/compiled/wechat/demo/pages/Popover/index.js +++ /dev/null @@ -1,31 +0,0 @@ -Page({ - data: { - visible: true, - placements: [ - 'top', - 'bottom', - 'left', - 'right', - 'top-left', - 'top-right', - 'bottom-left', - 'bottom-right', - 'left-top', - 'left-bottom', - 'right-top', - 'right-bottom', - ], - }, - onVisibleChange(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleVisibleChange() { - this.setData({ - visible: !this.data.visible, - }); - }, - onTapAction() { - // @ts-ignore - wx.showToast({ title: '点击了行动点按钮' }); - }, -}); diff --git a/compiled/wechat/demo/pages/Popover/index.json b/compiled/wechat/demo/pages/Popover/index.json deleted file mode 100644 index f5aa24e22..000000000 --- a/compiled/wechat/demo/pages/Popover/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Popover", - "usingComponents": { - "ant-popover": "../../../src/Popover/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Popover/index.wxml b/compiled/wechat/demo/pages/Popover/index.wxml deleted file mode 100644 index 51f8768fd..000000000 --- a/compiled/wechat/demo/pages/Popover/index.wxml +++ /dev/null @@ -1,152 +0,0 @@ - - - - 点我 - - - - - 点我 - - - - - 点我 - - - - - - - 自定义颜色 - - - - 左侧插槽 - - - - - 右侧插槽 - - - - - 白色背景 - - - - -查看说明 - - - - - - - - - 点我{{item}} - {{item}} - - - - - - - 点我 - - - - - - - 点击按钮修改visible - - - change visible - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Popover/index.wxss b/compiled/wechat/demo/pages/Popover/index.wxss deleted file mode 100644 index 67148d573..000000000 --- a/compiled/wechat/demo/pages/Popover/index.wxss +++ /dev/null @@ -1,27 +0,0 @@ -.custom { - display: flex; - flex-wrap: wrap; -} -.content { - display: flex; - align-items: center; - justify-content: center; - min-width: 30px; -} -.custom-child { - margin: 8px; -} -.ant-popover-white .ant-popover-inner { - color: #000000; -} -.ant-popover-white .ant-icon { - color: #000000; -} -.right-icon.ant-icon { - font-size: 48rpx; - margin-left: 24rpx; -} -.left-icon.ant-icon { - font-size: 48rpx; - margin-right: 24rpx; -} diff --git a/compiled/wechat/demo/pages/PopoverList/index.js b/compiled/wechat/demo/pages/PopoverList/index.js deleted file mode 100644 index 1d6a7ebea..000000000 --- a/compiled/wechat/demo/pages/PopoverList/index.js +++ /dev/null @@ -1,52 +0,0 @@ -Page({ - data: { - visible: true, - visible2: false, - list: [ - { - text: '扫一扫', - icon: 'ScanningOutline', - showBadge: true, - id: 'scan', - }, - { - text: '付钱/收钱', - icon: 'ReceivePaymentOutline', - showBadge: false, - id: 'pay', - }, - { - text: '乘车码', - icon: 'TransportQRcodeOutline', - showBadge: false, - id: 'code', - }, - { - text: '图片', - iconImage: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', - showBadge: false, - id: 'image', - }, - ], - }, - handleVisibleChange(visible, e) { - console.log(visible, e); - this.setData({ visible: visible.detail }); - }, - handleVisibleChange2(visible, e) { - console.log(visible, e); - this.setData({ visible2: visible.detail }); - }, - handleTapItem(e, item) { - console.log(e, item); - this.setData({ visible: false }); - // @ts-ignore - wx.showToast({ title: '点击列表' }); - }, - handleTapItem2(e, item) { - console.log(e, item); - this.setData({ visible2: false }); - // @ts-ignore - wx.showToast({ title: '点击列表' }); - }, -}); diff --git a/compiled/wechat/demo/pages/PopoverList/index.json b/compiled/wechat/demo/pages/PopoverList/index.json deleted file mode 100644 index 57899b79f..000000000 --- a/compiled/wechat/demo/pages/PopoverList/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "PopoverList", - "usingComponents": { - "ant-popover-list": "../../../src/PopoverList/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/PopoverList/index.wxml b/compiled/wechat/demo/pages/PopoverList/index.wxml deleted file mode 100644 index 7f4eac591..000000000 --- a/compiled/wechat/demo/pages/PopoverList/index.wxml +++ /dev/null @@ -1,21 +0,0 @@ - - - 点我 - - - 气泡位置自适应 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/PopoverList/index.wxss b/compiled/wechat/demo/pages/PopoverList/index.wxss deleted file mode 100644 index 44a0e6fbb..000000000 --- a/compiled/wechat/demo/pages/PopoverList/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -.popover { - color: #000; -} diff --git a/compiled/wechat/demo/pages/Popup/index.js b/compiled/wechat/demo/pages/Popup/index.js deleted file mode 100644 index 3d1864de9..000000000 --- a/compiled/wechat/demo/pages/Popup/index.js +++ /dev/null @@ -1,44 +0,0 @@ -Page({ - data: { - position: '', - basicVisible: false, - animation: true, - scrollVisible: false, - customizeVisible: false, - topImageVisible: false, - }, - onClickBack() { - this.showToast('点击了返回icon'); - }, - handlePopupClose() { - this.setData({ - basicVisible: false, - scrollVisible: false, - customizeVisible: false, - topImageVisible: false, - }); - }, - handleShowBasic(e) { - const { position } = e.target.dataset; - this.setData({ - position, - basicVisible: true, - }); - }, - handleShowScroll() { - this.setData({ scrollVisible: true }); - }, - handleChangeAnimation(checked) { - this.setData({ animation: checked.detail }); - }, - handleShowCustomize() { - this.setData({ customizeVisible: true }); - }, - handleShowTopImage() { - this.setData({ topImageVisible: true }); - }, - showToast(content) { - // @ts-ignore - wx.showToast({ content, duration: 1000 }); - }, -}); diff --git a/compiled/wechat/demo/pages/Popup/index.json b/compiled/wechat/demo/pages/Popup/index.json deleted file mode 100644 index 532795b63..000000000 --- a/compiled/wechat/demo/pages/Popup/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "navigationBarTitleText": "Popup", - "usingComponents": { - "ant-popup": "../../../src/Popup/index", - "container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index", - "list": "../../../src/List/index", - "list-item": "../../../src/List/ListItem/index", - "switch": "../../../src/Switch/index", - "ant-icon": "../../../src//Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Popup/index.wxml b/compiled/wechat/demo/pages/Popup/index.wxml deleted file mode 100644 index 195789d30..000000000 --- a/compiled/wechat/demo/pages/Popup/index.wxml +++ /dev/null @@ -1,175 +0,0 @@ - - - 从屏幕滑出或弹出一块自定义内容区,用于展示弹窗、信息提示、选择输入、切换等内容。 - - - - - 去开通 - 暂不开通 - - - - - - 去开通 - 暂不开通 - 可在其他地方查看 - - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - exercitation consequat laboris ad. Quis ad enim fugiat. Aliqua reprehenderit - irure non esse consequat laborum ea ut minim ex ea cillum. Dolore dolore - proident laboris occaecat pariatur eu ad. Velit mollit aliqua do. Sunt enim - tempor deserunt nostrud ut et. Sunt ad sit eiusmod ipsum ad non in sit - veniam. Consectetur do id excepteur et aute. Commodo duis ea sit occaecat - nisi dolore aliquip laborum esse minim. Officia veniam deserunt id cupidatat - consectetur nisi cillum pariatur qui dolor veniam sit. Nostrud elit irure - cupidatat esse ad ipsum. Consectetur culpa et et enim mollit officia in elit - ipsum. Dolor et veniam labore excepteur magna magna in. Dolore voluptate - eiusmod et. Esse fugiat irure excepteur duis tempor minim. Officia enim - incididunt magna dolore exercitation occaecat et do et in duis deserunt - excepteur. Cupidatat magna officia commodo reprehenderit anim qui laborum - duis reprehenderit voluptate quis veniam. Consequat pariatur in magna Lorem - eiusmod cupidatat qui est Lorem tempor qui anim aliquip duis. Laborum - occaecat est laborum qui deserunt incididunt laborum cillum eu nostrud in - deserunt culpa mollit. Nisi reprehenderit non duis qui elit eu dolore - pariatur duis laboris exercitation minim nulla adipisicing et. Fugiat ad - commodo enim eiusmod sint aliquip Lorem. Reprehenderit cillum dolor deserunt - adipisicing commodo qui magna consectetur est ut Lorem sint. Cillum dolor - enim incididunt excepteur cupidatat mollit deserunt deserunt ullamco cillum - nostrud duis excepteur non. Excepteur sit consectetur ut laborum consequat - culpa aute id aute et. Eiusmod Lorem esse pariatur culpa officia minim eu - magna irure. Minim adipisicing quis excepteur irure est exercitation dolore - exercitation id tempor fugiat pariatur eu Lorem. Nostrud incididunt laboris - irure et aliqua reprehenderit anim enim occaecat aliqua. Nostrud adipisicing - nisi enim aliqua enim sint sunt ad qui irure amet aute. Quis esse cillum - commodo laboris adipisicing mollit cillum est amet velit cupidatat proident. - Voluptate adipisicing dolore consequat officia culpa in fugiat consectetur - velit. Minim ex aliqua proident irure. Aliquip magna reprehenderit laborum - elit proident culpa sint occaecat sunt sint adipisicing adipisicing anim. Eu - nisi anim in laboris voluptate. Sit ullamco adipisicing fugiat ad - adipisicing excepteur esse exercitation nostrud ipsum nostrud. Deserunt sunt - irure id mollit anim aliquip ullamco amet laborum nisi. Sit consequat - consequat ullamco voluptate do sit nisi quis laboris tempor amet mollit - sint. Incididunt mollit eu anim eiusmod ea cupidatat veniam aliquip. Tempor - ea elit amet ea. Et proident occaecat id. Sunt sunt cillum ut sunt ea - voluptate ea sit amet minim deserunt pariatur ullamco. Commodo nostrud - excepteur non id dolore minim anim anim tempor qui duis. Quis occaecat - pariatur reprehenderit anim reprehenderit cillum mollit aliqua sit anim - cillum ut. Enim eiusmod quis sit consequat consectetur. Reprehenderit ex - elit sit adipisicing dolor eiusmod occaecat duis culpa. Ex laboris - exercitation occaecat exercitation commodo proident esse. Tempor voluptate - mollit amet ex ea occaecat adipisicing. Minim quis voluptate labore - reprehenderit commodo. Pariatur ex sit aliquip minim ea sunt. Lorem et velit - veniam ut sunt deserunt mollit eu in nostrud tempor. Aliqua nisi duis duis - excepteur et quis quis proident do cillum dolor. Labore cupidatat eiusmod - voluptate cupidatat anim ad do pariatur sunt quis. Occaecat cillum eu non - enim dolor nulla aliqua minim amet tempor irure reprehenderit reprehenderit - laboris quis. Laboris ullamco excepteur ut fugiat sunt. Labore ex culpa - incididunt sint minim velit sunt non et laborum consectetur eu. Ullamco - magna dolore reprehenderit amet do. Nisi exercitation esse deserunt - exercitation deserunt ex eu ea cillum magna adipisicing. Incididunt - adipisicing aute voluptate deserunt fugiat nostrud nostrud. Id nostrud do - cupidatat quis ea sint anim duis labore proident minim excepteur dolor - proident elit. - - - 顶部弹出 - 底部弹出 - 左侧弹出 - 右侧弹出 - 自定义弹框内容 并支持背景图 - 顶部图片 - 超长内容滚动 - - - 开启过渡动画 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Popup/index.wxss b/compiled/wechat/demo/pages/Popup/index.wxss deleted file mode 100644 index 202bbfe6c..000000000 --- a/compiled/wechat/demo/pages/Popup/index.wxss +++ /dev/null @@ -1,32 +0,0 @@ -.list button { - margin-bottom: 8px; -} -.customize-top-image-popup .ant-popup-content { - background: none; -} -.customize-top-image-popup .ant-popup-transform-bottom { - padding-bottom: 0; -} -.customize-content { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: center; - padding: 140rpx 24rpx 0rpx 24rpx; - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} -.customize-content-image { - width: 666rpx; -} -.customize-content-image1 { - width: 702rpx; - margin-top: 100rpx; -} -.customize-content-text { - font-weight: 400; - font-size: 24rpx; - color: #999999; - text-align: center; - padding-top: 30rpx; -} diff --git a/compiled/wechat/demo/pages/Postscript/index.js b/compiled/wechat/demo/pages/Postscript/index.js deleted file mode 100644 index 2ccaed5c6..000000000 --- a/compiled/wechat/demo/pages/Postscript/index.js +++ /dev/null @@ -1,45 +0,0 @@ -Page({ - data: { - content: '', - content2: '', - content3: '', - content4: '', - content5: '', - quickInputs: [ - '工资', '班费', '还款', '借款', '代购', '奖金', '生活费' - ], - quickInputs2: [ - '❤️ 钱转你了', '🧽 注意身体', '🍰 生日快乐', '🎁 礼物', '💰 红包', '💐 鲜花', '🎉 恭喜' - ] - }, - handleChange(value) { - this.setData({ - content: value - }); - console.log('handleChange', value); - }, - handleChange2(value) { - this.setData({ - content2: value - }); - console.log('handleChange2', value); - }, - handleChange3(value) { - this.setData({ - content3: value - }); - console.log('handleChange3', value); - }, - handleChange4(value) { - this.setData({ - content4: value - }); - console.log('handleChange4', value); - }, - handleChange5(value) { - this.setData({ - content5: value - }); - console.log('handleChange5', value); - } -}); diff --git a/compiled/wechat/demo/pages/Postscript/index.json b/compiled/wechat/demo/pages/Postscript/index.json deleted file mode 100644 index c91294c73..000000000 --- a/compiled/wechat/demo/pages/Postscript/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Postscript", - "usingComponents": { - "ant-postscript": "../../../src/Postscript/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Postscript/index.wxml b/compiled/wechat/demo/pages/Postscript/index.wxml deleted file mode 100644 index 2ef4eb533..000000000 --- a/compiled/wechat/demo/pages/Postscript/index.wxml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Postscript/index.wxss b/compiled/wechat/demo/pages/Postscript/index.wxss deleted file mode 100644 index 0aca732d6..000000000 --- a/compiled/wechat/demo/pages/Postscript/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -.custom-postscript .ant-postscript-quick-item { - background: rgba(0, 102, 204, 0.1); - color: #0066cc; -} diff --git a/compiled/wechat/demo/pages/Progress/index.js b/compiled/wechat/demo/pages/Progress/index.js deleted file mode 100644 index 849a9a3a2..000000000 --- a/compiled/wechat/demo/pages/Progress/index.js +++ /dev/null @@ -1,21 +0,0 @@ -Page({ - data: { - percent1: 10, - percent2: 60, - percent3: 60, - percent4: 60, - percent5: 60, - }, - handleIncrease() { - const newPercent = this.data.percent1 + 20; - this.setData({ - percent1: Math.max(Math.min(100, newPercent), 0), - }); - }, - handleReduce() { - const newPercent = this.data.percent1 - 20; - this.setData({ - percent1: Math.max(Math.min(100, newPercent), 0), - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Progress/index.json b/compiled/wechat/demo/pages/Progress/index.json deleted file mode 100644 index 3487ba8c6..000000000 --- a/compiled/wechat/demo/pages/Progress/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "ProgressCircle", - "usingComponents": { - "ant-button": "../../../src/Button/index", - "progress": "../../../src/Progress/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Progress/index.wxml b/compiled/wechat/demo/pages/Progress/index.wxml deleted file mode 100644 index 01baea829..000000000 --- a/compiled/wechat/demo/pages/Progress/index.wxml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - Reduce - Increase - - - - - - - - - - - - - - - - - - - - - - - - - - {{percent5}}GB - - - {{percent5}}步 - - - - - - - - - - - - {{percent2 / 100 * 200}}步 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Progress/index.wxss b/compiled/wechat/demo/pages/Progress/index.wxss deleted file mode 100644 index d9076053e..000000000 --- a/compiled/wechat/demo/pages/Progress/index.wxss +++ /dev/null @@ -1,13 +0,0 @@ -.buttonwrapper { - display: flex; - justify-content: center; - padding-top: 20rpx; -} -.line { - margin-top: 40rpx; - display: flex; - flex-direction: row; - width: 100%; - justify-content: space-evenly; - align-items: center; -} diff --git a/compiled/wechat/demo/pages/Radio/index.js b/compiled/wechat/demo/pages/Radio/index.js deleted file mode 100644 index ff813fa49..000000000 --- a/compiled/wechat/demo/pages/Radio/index.js +++ /dev/null @@ -1,33 +0,0 @@ -Page({ - data: { - checked: false, - value: 'banana', - options: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'banana', label: '香蕉' }, - ], - optionsWithDisabled: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'watermelon', label: '西瓜', disabled: true }, - { value: 'banana', label: '香蕉' }, - ], - }, - onChange(value, e) { - console.log(value, e); - }, - handleChange(checked) { - this.setData({ - checked: checked.detail, - }); - }, - onRadioGroupChange(value, e) { - console.log(value, e); - }, - handleRadioGroupChange(value) { - this.setData({ - value: value.detail, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Radio/index.json b/compiled/wechat/demo/pages/Radio/index.json deleted file mode 100644 index 0e69d8c41..000000000 --- a/compiled/wechat/demo/pages/Radio/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Radio", - "usingComponents": { - "ant-radio": "../../../src/Radio/index", - "ant-radio-group": "../../../src/Radio/RadioGroup/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Radio/index.wxml b/compiled/wechat/demo/pages/Radio/index.wxml deleted file mode 100644 index db8968b3d..000000000 --- a/compiled/wechat/demo/pages/Radio/index.wxml +++ /dev/null @@ -1,71 +0,0 @@ - - - - 基础用法 - - - 初始值 - - - 禁用按钮1 - 禁用按钮2 - - - 自定义颜色 - - - 受控模式 - - - - - 基础用法 - - - - 初始值 - - - - 横向布局 - - - - 禁用模式-所有禁用 - - - - 禁用模式-其中有的禁用 - - - - 受控模式 - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Radio/index.wxss b/compiled/wechat/demo/pages/Radio/index.wxss deleted file mode 100644 index 450f398c4..000000000 --- a/compiled/wechat/demo/pages/Radio/index.wxss +++ /dev/null @@ -1,24 +0,0 @@ -.icon { - border: 1px solid #CCCCCC; - border-radius: 50vh; - width: 100%; - height: 100%; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; -} -.checked { - background-color: red; - color: #fff; - font-size: 14px; -} -.disabled { - opacity: 0.4; -} -.line { - margin-top: 40rpx; -} -.title { - color: #999; -} diff --git a/compiled/wechat/demo/pages/RareWordsKeyboard/index.js b/compiled/wechat/demo/pages/RareWordsKeyboard/index.js deleted file mode 100644 index 5150afced..000000000 --- a/compiled/wechat/demo/pages/RareWordsKeyboard/index.js +++ /dev/null @@ -1,43 +0,0 @@ -Page({ - data: { - value: '', - visible: false, - visible2: false, - visible3: false, - }, - onInputChange(value) { - value = value.detail; - this.setData({ value }); - }, - // 默认键盘 - onTap() { - this.setData({ visible: true }); - }, - // 关闭键盘 - onClose() { - this.setData({ visible: false }); - }, - // 不带蒙层 - onTap2() { - this.setData({ visible2: true }); - }, - onClose2() { - this.setData({ visible2: false }); - }, - // 监听各种事件 - onTap3() { - this.setData({ visible3: true }); - }, - onClose3() { - this.setData({ visible3: false }); - }, - onChange(value) { - value = value.detail; - const curValue = this.data.value; - this.setData({ value: curValue + value }); - }, - onKeyBoardError(err) { - err = err.detail; - my.showToast({ content: 'onError ' + err.toString() }); - }, -}); diff --git a/compiled/wechat/demo/pages/RareWordsKeyboard/index.json b/compiled/wechat/demo/pages/RareWordsKeyboard/index.json deleted file mode 100644 index 2cb4eb15d..000000000 --- a/compiled/wechat/demo/pages/RareWordsKeyboard/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "RareWordsKeyboard", - "usingComponents": { - "ant-rare-words-keyboard": "../../../src/RareWordsKeyboard/index", - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-input": "../../../src/Input/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/RareWordsKeyboard/index.wxml b/compiled/wechat/demo/pages/RareWordsKeyboard/index.wxml deleted file mode 100644 index aed18c712..000000000 --- a/compiled/wechat/demo/pages/RareWordsKeyboard/index.wxml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - 生僻字? - - - 默认键盘 - - 不带蒙层 - - 监听输入完成、出错的回调 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/RareWordsKeyboard/index.wxss b/compiled/wechat/demo/pages/RareWordsKeyboard/index.wxss deleted file mode 100644 index 2989acb64..000000000 --- a/compiled/wechat/demo/pages/RareWordsKeyboard/index.wxss +++ /dev/null @@ -1,10 +0,0 @@ -page { - font-family: PingFang SC, Helvetica Neue, rare-words-font; -} -.tips { - color: #1677ff; - font-size: 13px; -} -.tips:active { - color: #3086ff; -} diff --git a/compiled/wechat/demo/pages/Rate/index.js b/compiled/wechat/demo/pages/Rate/index.js deleted file mode 100644 index bf8a4f27f..000000000 --- a/compiled/wechat/demo/pages/Rate/index.js +++ /dev/null @@ -1,14 +0,0 @@ -Page({ - data: { - value: 3, - }, - onChange(value) { - console.log(value); - }, - handleChange(value) { - console.log(value); - this.setData({ - value: value.detail, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Rate/index.json b/compiled/wechat/demo/pages/Rate/index.json deleted file mode 100644 index b5bd3d106..000000000 --- a/compiled/wechat/demo/pages/Rate/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "Rate", - "usingComponents": { - "ant-rate": "../../../src/Rate/index", - "ant-stepper": "../../../src/Stepper/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - }, - "allowsBounceVertical": "NO" -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Rate/index.wxml b/compiled/wechat/demo/pages/Rate/index.wxml deleted file mode 100644 index e5af23df8..000000000 --- a/compiled/wechat/demo/pages/Rate/index.wxml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - allowClear: true - - allowClear: false - - - - - - - - - - - - - - - - - - 无 onChange 函数 - - - - - - 8px - - 16px - - - - 30px - - 40px - - - - 基础 - - 渐变 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Rate/index.wxss b/compiled/wechat/demo/pages/Rate/index.wxss deleted file mode 100644 index e17a469f2..000000000 --- a/compiled/wechat/demo/pages/Rate/index.wxss +++ /dev/null @@ -1,23 +0,0 @@ -.description { - margin: 4px 0 8px 0; - color: var(--color-text-primary); -} -.star { - color: #767676; -} -.star-active { - color: red !important; -} -.star-gradient { - background-image: linear-gradient(to right, #979797, #ffffff); - -webkit-background-clip: text; - color: transparent !important; -} -.star-active-gradient { - background-image: linear-gradient(to right, orange, yellow); - -webkit-background-clip: text; - color: transparent !important; -} -.character { - font-size: 40px; -} diff --git a/compiled/wechat/demo/pages/Result/index.js b/compiled/wechat/demo/pages/Result/index.js deleted file mode 100644 index 8687ed457..000000000 --- a/compiled/wechat/demo/pages/Result/index.js +++ /dev/null @@ -1,19 +0,0 @@ -Page({ - data: { - buttons: [ - { - text: '主要操作', - type: 'primary', - }, - { - text: '辅助操作', - type: 'default', - }, - ], - }, - handleTabBtn(e) { - my.alert({ - content: `当前点击的是第 ${e + 1} 个按钮:${this.data.buttons[e].text}`, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Result/index.json b/compiled/wechat/demo/pages/Result/index.json deleted file mode 100644 index 0f9419779..000000000 --- a/compiled/wechat/demo/pages/Result/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Result", - "usingComponents": { - "result": "../../../src/Result/index", - "button": "../../../src/Button/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Result/index.wxml b/compiled/wechat/demo/pages/Result/index.wxml deleted file mode 100644 index 9daee1c74..000000000 --- a/compiled/wechat/demo/pages/Result/index.wxml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Result/index.wxss b/compiled/wechat/demo/pages/Result/index.wxss deleted file mode 100644 index d68297785..000000000 --- a/compiled/wechat/demo/pages/Result/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -button { - margin-bottom: 12px; -} -.extra { - background: #F0F3F7; - border-radius: 24rpx; - padding-top: 24rpx; - display: flex; - justify-content: center; - align-items: center; - height: 375rpx; -} diff --git a/compiled/wechat/demo/pages/SafeArea/index.js b/compiled/wechat/demo/pages/SafeArea/index.js deleted file mode 100644 index 47600922f..000000000 --- a/compiled/wechat/demo/pages/SafeArea/index.js +++ /dev/null @@ -1,5 +0,0 @@ -Page({ - data: { - arr: Array.from({ length: 100 }), - }, -}); diff --git a/compiled/wechat/demo/pages/SafeArea/index.json b/compiled/wechat/demo/pages/SafeArea/index.json deleted file mode 100644 index edf0125b8..000000000 --- a/compiled/wechat/demo/pages/SafeArea/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "SafeArea", - "usingComponents": { - "safe-area": "../../../src/SafeArea/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SafeArea/index.wxml b/compiled/wechat/demo/pages/SafeArea/index.wxml deleted file mode 100644 index 29946315d..000000000 --- a/compiled/wechat/demo/pages/SafeArea/index.wxml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - 内容_{{index}} - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SafeArea/index.wxss b/compiled/wechat/demo/pages/SafeArea/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Selector/index.js b/compiled/wechat/demo/pages/Selector/index.js deleted file mode 100644 index 42d43432c..000000000 --- a/compiled/wechat/demo/pages/Selector/index.js +++ /dev/null @@ -1,107 +0,0 @@ -Page({ - data: { - items1: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - { text: '选项四', value: '4' }, - { text: '选项五', value: '5' }, - { text: '选项六', value: '6' }, - ], - items2: [ - { text: '选项一', subText: '描述文案一', value: '1' }, - { text: '选项二', subText: '描述文案二', value: '2' }, - { text: '选项三', subText: '描述文案三', value: '3' }, - ], - items3: [ - { text: '选项一', subText: '描述文案一', value: '1' }, - { text: '选项二', subText: '描述文案二', value: '2', disabled: true }, - { text: '选项三', subText: '描述文案三', value: '3' }, - ], - value: '1', - currentOpen: -1, - items: [ - { - title: '筛选项一', - options: [ - { - text: '选项一', - value: '1', - }, - { - text: '选项二', - value: '2', - }, - { - text: '选项三', - value: '3', - }, - { - text: '选项四', - value: '4', - }, - { - text: '选项五', - value: '5', - }, - ], - }, - { - title: '筛选项二', - options: [ - { - text: '选项一', - value: '1', - }, - { - text: '选项二', - value: '2', - }, - { - text: '选项三', - value: '3', - }, - ], - }, - ], - }, - handleChangeValue() { - this.setData({ - value: '3', - }); - }, - handleChange(value, items, e) { - this.setData({ - value: value.detail[0], - }); - console.log(value, items, e); - }, - onSelectMin(value, item) { - console.log(value, item); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showModal({ - content: '不允许清空', - }); - }, - onSelectMax() { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showModal({ - content: '选择已达上限', - }); - }, - handleSelectorFilterChange(value, items, e) { - console.log(value, items, e); - }, - onTapItem(e) { - console.log(e); - const { index } = e.currentTarget.dataset; - const { currentOpen } = this.data; - let value = index; - if (currentOpen === index) { - value = -1; - } - this.setData({ currentOpen: value }); - }, -}); diff --git a/compiled/wechat/demo/pages/Selector/index.json b/compiled/wechat/demo/pages/Selector/index.json deleted file mode 100644 index faaa7bfb0..000000000 --- a/compiled/wechat/demo/pages/Selector/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Selector", - "usingComponents": { - "ant-selector": "../../../src/Selector/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Selector/index.wxml b/compiled/wechat/demo/pages/Selector/index.wxml deleted file mode 100644 index e3b4f58c7..000000000 --- a/compiled/wechat/demo/pages/Selector/index.wxml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 改变选中值为选项三 - - - - - - - - - {{item.title}} - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Selector/index.wxss b/compiled/wechat/demo/pages/Selector/index.wxss deleted file mode 100644 index 84cbe5d26..000000000 --- a/compiled/wechat/demo/pages/Selector/index.wxss +++ /dev/null @@ -1,52 +0,0 @@ -page { - height: 250vh; -} -.filterDemo { - position: relative; -} -.filterDemo-bar { - height: 88rpx; - position: relative; - display: flex; - justify-content: space-between; - background-color: var(--color-card); - box-sizing: border-box; -} -.filterDemo-bar-item { - flex: 1; - display: flex; - align-items: center; - justify-content: center; - color: var(--color-text-primary); - font-size: 26rpx; -} -.filterDemo-bar-item-active { - color: var(--color-brand1); -} -.filterDemo-bar-item-icon { - margin-left: 8rpx; - font-size: 18rpx; - transition: transform 200ms linear; - color: var(--color-text-weak); -} -.filterDemo-bar-item-icon-up { - transform: rotate(180deg); -} -.filterDemo-items { - position: relative; - overflow: visible; - z-index: 9999; -} -.filterDemo-items-content { - background: var(--color-card); - position: absolute; - left: 0; - top: 0; - width: 100%; - transform-origin: top center; - transition: transform 100ms linear; - transform: scaleY(0); -} -.filterDemo-items-content-active { - transform: scaleY(1); -} diff --git a/compiled/wechat/demo/pages/Skeleton/index.js b/compiled/wechat/demo/pages/Skeleton/index.js deleted file mode 100644 index 05c9b92bd..000000000 --- a/compiled/wechat/demo/pages/Skeleton/index.js +++ /dev/null @@ -1,11 +0,0 @@ -Page({ - data: { - showLoading: true, - paragraph: { - rows: 4, - }, - }, - handleToggleShowLoading() { - this.setData({ showLoading: !this.data.showLoading }); - }, -}); diff --git a/compiled/wechat/demo/pages/Skeleton/index.json b/compiled/wechat/demo/pages/Skeleton/index.json deleted file mode 100644 index 65a577a15..000000000 --- a/compiled/wechat/demo/pages/Skeleton/index.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "navigationBarTitleText": "Skeleton", - "usingComponents": { - "avatar": "../../../src/Avatar/index", - "skeleton": "../../../src/Skeleton/index", - "switch": "../../../src/Switch/index", - "skeleton-avatar": "../../../src/Skeleton/Avatar/index", - "skeleton-title": "../../../src/Skeleton/Title/index", - "skeleton-button": "../../../src/Skeleton/Button/index", - "skeleton-paragraph": "../../../src/Skeleton/Paragraph/index", - "skeleton-input": "../../../src/Skeleton/Input/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Skeleton/index.wxml b/compiled/wechat/demo/pages/Skeleton/index.wxml deleted file mode 100644 index 459692248..000000000 --- a/compiled/wechat/demo/pages/Skeleton/index.wxml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - We supply a series of design principles, practical patterns and high - quality design resources, to help people create their product prototypes - beautifully and efficiently. - - - 显示骨架 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Skeleton/index.wxss b/compiled/wechat/demo/pages/Skeleton/index.wxss deleted file mode 100644 index 5e10c27a4..000000000 --- a/compiled/wechat/demo/pages/Skeleton/index.wxss +++ /dev/null @@ -1,20 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -page { - padding: 24px; - box-sizing: border-box; -} -.list { - display: flex; - flex-direction: column; -} -.custom { - margin-bottom: 16px; -} -.container { - display: flex; - color: #333333; - align-items: flex-start; -} -.content { - padding: 12px 16px 0 16px; -} diff --git a/compiled/wechat/demo/pages/Slider/index.js b/compiled/wechat/demo/pages/Slider/index.js deleted file mode 100644 index 71cc3dbc8..000000000 --- a/compiled/wechat/demo/pages/Slider/index.js +++ /dev/null @@ -1,22 +0,0 @@ -Page({ - data: { - value: 80, - }, - onChange(value, e) { - console.log('slider changed:', value, e); - }, - onAfterChange(value, e) { - console.log('当前值:', value, e); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - wx.showToast({ - title: `value: ${value.detail}`, - }); - }, - handleChange(value, e) { - console.log('slider changed:', value, e); - this.setData({ - value: value.detail, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Slider/index.json b/compiled/wechat/demo/pages/Slider/index.json deleted file mode 100644 index 7598e9ce1..000000000 --- a/compiled/wechat/demo/pages/Slider/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Slider", - "usingComponents": { - "ant-slider": "../../../src/Slider/index", - "ant-icon": "../../../src/Icon/index", - "ant-stepper": "../../../src/Stepper/index", - "container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Slider/index.wxml b/compiled/wechat/demo/pages/Slider/index.wxml deleted file mode 100644 index 2555f42a5..000000000 --- a/compiled/wechat/demo/pages/Slider/index.wxml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Slider/index.wxss b/compiled/wechat/demo/pages/Slider/index.wxss deleted file mode 100644 index 825129597..000000000 --- a/compiled/wechat/demo/pages/Slider/index.wxss +++ /dev/null @@ -1,9 +0,0 @@ -.custom-slider-handler { - width: 56rpx; - height: 56rpx; - background: #FFFFFF; - box-shadow: 0 4rpx 10rpx 0 rgba(0, 0, 0, 0.12); - border-radius: 56rpx; - text-align: center; - line-height: 56rpx; -} diff --git a/compiled/wechat/demo/pages/Stepper/index.js b/compiled/wechat/demo/pages/Stepper/index.js deleted file mode 100644 index 6faf4add2..000000000 --- a/compiled/wechat/demo/pages/Stepper/index.js +++ /dev/null @@ -1,46 +0,0 @@ -Page({ - data: {}, - onChange(value) { - console.log('onChange', value); - }, - onFocus(value) { - console.log('onFocus', value); - }, - onConfirm(value) { - console.log('onConfirm', value); - }, - onBlur(value) { - console.log('onBlur', value); - }, - handleChange(value) { - console.log('onChange', value); - this.setData({ - value: value.detail, - }); - }, - add() { - this.setData({ - value: (this.data.value || 0) + 1, - }); - }, - minus() { - this.setData({ - value: (this.data.value || 0) - 1, - }); - }, - clear() { - this.setData({ - value: null, - }); - }, - handleAddValue() { - this.setData({ value: this.data.value + 1 }); - }, - handleMinusValue() { - this.setData({ value: this.data.value - 1 }); - }, - handleDisabledTap(e) { - console.log('禁用点击:', e.target.dataset); - my.showToast({ content: '禁用点击' }); - }, -}); diff --git a/compiled/wechat/demo/pages/Stepper/index.json b/compiled/wechat/demo/pages/Stepper/index.json deleted file mode 100644 index 6be85c19b..000000000 --- a/compiled/wechat/demo/pages/Stepper/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Stepper", - "usingComponents": { - "stepper": "../../../src/Stepper/index", - "container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Stepper/index.wxml b/compiled/wechat/demo/pages/Stepper/index.wxml deleted file mode 100644 index ecd5d137c..000000000 --- a/compiled/wechat/demo/pages/Stepper/index.wxml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - value:{{value}} - add - minus - clear - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Stepper/index.wxss b/compiled/wechat/demo/pages/Stepper/index.wxss deleted file mode 100644 index 337f144c5..000000000 --- a/compiled/wechat/demo/pages/Stepper/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -.list button { - margin-right: 8px; -} diff --git a/compiled/wechat/demo/pages/Steps/index.js b/compiled/wechat/demo/pages/Steps/index.js deleted file mode 100644 index 9b3ef2a1a..000000000 --- a/compiled/wechat/demo/pages/Steps/index.js +++ /dev/null @@ -1,56 +0,0 @@ -Page({ - data: { - current: 0, - items: [ - { - title: '步骤一', - description: '描述信息', - }, - { - title: '步骤二', - description: '描述信息', - }, - { - title: '步骤三', - description: '描述信息', - }, - ], - iconList: ['SmileFill', '', 'StarFill'], - items2: [ - { - title: '步骤一', - description: '内容详情,根据实际文案安排根据实际文案安排', - }, - { - title: '步骤二', - description: '描述信息', - }, - { - title: '步骤三', - description: '', - }, - { - title: '步骤四', - description: '内容详情,根据实际文案安排', - }, - ], - }, - onNextTap() { - if (this.data.current === this.data.items.length - 1) { - // @ts-ignore - wx.showToast({ title: '完成' }); - return; - } - this.setData({ - current: this.data.current + 1, - }); - }, - onPrevTap() { - if (this.data.current === 0) { - return; - } - this.setData({ - current: this.data.current - 1, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Steps/index.json b/compiled/wechat/demo/pages/Steps/index.json deleted file mode 100644 index 84c49ac73..000000000 --- a/compiled/wechat/demo/pages/Steps/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Steps", - "usingComponents": { - "ant-steps": "../../../src/Steps/index", - "ant-icon": "../../../src/Icon/index", - "ant-container": "../../../src/Container/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Steps/index.wxml b/compiled/wechat/demo/pages/Steps/index.wxml deleted file mode 100644 index 3f2575fc0..000000000 --- a/compiled/wechat/demo/pages/Steps/index.wxml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - 下一步 - 完成 - - 上一步 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Steps/index.wxss b/compiled/wechat/demo/pages/Steps/index.wxss deleted file mode 100644 index 56d5205c0..000000000 --- a/compiled/wechat/demo/pages/Steps/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -button { - margin: 8px; -} diff --git a/compiled/wechat/demo/pages/Sticky/index.js b/compiled/wechat/demo/pages/Sticky/index.js deleted file mode 100644 index a79da297d..000000000 --- a/compiled/wechat/demo/pages/Sticky/index.js +++ /dev/null @@ -1,12 +0,0 @@ -Page({ - data: { - stickyStatus: false, - stickyStatus1: false, - }, - handleStickyChange(status) { - this.setData({ stickyStatus: status.detail }); - }, - handleStickyChange1(status) { - this.setData({ stickyStatus1: status.detail }); - }, -}); diff --git a/compiled/wechat/demo/pages/Sticky/index.json b/compiled/wechat/demo/pages/Sticky/index.json deleted file mode 100644 index dc01ce7b4..000000000 --- a/compiled/wechat/demo/pages/Sticky/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Sticky", - "usingComponents": { - "ant-sticky": "../../../src/Sticky/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Sticky/index.wxml b/compiled/wechat/demo/pages/Sticky/index.wxml deleted file mode 100644 index 9069f2d6b..000000000 --- a/compiled/wechat/demo/pages/Sticky/index.wxml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 我会吸顶 - - - - - 我会吸顶在距离顶部 200px 的地方 - - - - - - - 我会吸顶在距离顶部 300px 的地方 - 是否吸上了{{stickyStatus}} - - - - - - - 我会吸顶 - 是否吸上了{{stickyStatus1}} - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Sticky/index.wxss b/compiled/wechat/demo/pages/Sticky/index.wxss deleted file mode 100644 index 51218d13d..000000000 --- a/compiled/wechat/demo/pages/Sticky/index.wxss +++ /dev/null @@ -1,6 +0,0 @@ -#__react-content { - overflow: unset !important; -} -.ant-container-content { - min-height: 200px; -} diff --git a/compiled/wechat/demo/pages/SwipeAction/index.js b/compiled/wechat/demo/pages/SwipeAction/index.js deleted file mode 100644 index 37ae4d91a..000000000 --- a/compiled/wechat/demo/pages/SwipeAction/index.js +++ /dev/null @@ -1,93 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '取消关注', - bgColor: '#CCCCCC', - color: '#fff', - width: 200, - }, - { - text: '免打扰', - bgColor: '#1677FF', - color: '#fff', - width: 170, - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - width: 140, - }, - ], - leftBtns: [ - { - text: '往来记录', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '设为常用', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - rightBtnsWithConfirm: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'tap', - confirmText: '确认删除吗?', - }, - ], - rightBtnsWithMove: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'move', - confirmText: '确认删除吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeAction/index.json b/compiled/wechat/demo/pages/SwipeAction/index.json deleted file mode 100644 index 894620bf8..000000000 --- a/compiled/wechat/demo/pages/SwipeAction/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeAction/index.wxml b/compiled/wechat/demo/pages/SwipeAction/index.wxml deleted file mode 100644 index 096f94b30..000000000 --- a/compiled/wechat/demo/pages/SwipeAction/index.wxml +++ /dev/null @@ -1,285 +0,0 @@ - - - - - 基础用法 - - - - 右侧-三个按钮 - - - - - - - - 按钮在左侧 - - - - 左侧-三个按钮 - - - - - - - - 调整按钮数量,最多为3个 - - - - 右侧-{{index + 1 > 3 ? 3 : index + 1}}个按钮 - - - - - - - - 去除松开手之后的滑动回弹效果 - - - - 右侧-三个按钮 - - - - - - - - 滑动速度变慢 - - - - 右侧-三个按钮 - - - - - - - - 删除按钮点击二次确认 - - - - 右侧-三个按钮 - - - - - - - - 删除按钮滑动到最大距离触发二次确认 - - - - 右侧-三个按钮 - - - - - - - - 左右两侧都有按钮 - - - - 三个按钮 - - - - - - - - 自定义按钮 - - - - 左右自定义按钮 - - - - 删除 - - - - 确认删除吗? - - - - 重命名 - - - - 确认修改吗? - - - - 重命名 - - - - 确认修改吗? - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeAction/index.wxss b/compiled/wechat/demo/pages/SwipeAction/index.wxss deleted file mode 100644 index a556f2bfe..000000000 --- a/compiled/wechat/demo/pages/SwipeAction/index.wxss +++ /dev/null @@ -1,56 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: var(--color-background); -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: var(--color-text-assist); - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: var(--color-card); - text-indent: 1em; - position: relative; - height: 100%; - color: var(--color-text-primary); -} -.t-swipe-item-con-view::after { - content: ''; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: var(--color-border); -} -.t-swipe-item-con-btn { - display: flex; - justify-content: center; - align-items: center; -} -.t-swipe-item-con-btn-icon { - font-size: 32px; -} -.left-slot { - display: flex; - align-items: center; - justify-content: center; - width: 100%; -} diff --git a/compiled/wechat/demo/pages/SwipeAction/slice.wxs b/compiled/wechat/demo/pages/SwipeAction/slice.wxs deleted file mode 100644 index 168ea900d..000000000 --- a/compiled/wechat/demo/pages/SwipeAction/slice.wxs +++ /dev/null @@ -1,6 +0,0 @@ -function sliceButton(rightBtns, index) { - return rightBtns.slice(0, index + 1); -} -module.exports = { - sliceButton: sliceButton -}; \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionAnimation/index.js b/compiled/wechat/demo/pages/SwipeActionAnimation/index.js deleted file mode 100644 index 245d75eda..000000000 --- a/compiled/wechat/demo/pages/SwipeActionAnimation/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionAnimation/index.json b/compiled/wechat/demo/pages/SwipeActionAnimation/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionAnimation/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionAnimation/index.wxml b/compiled/wechat/demo/pages/SwipeActionAnimation/index.wxml deleted file mode 100644 index 22fed83e9..000000000 --- a/compiled/wechat/demo/pages/SwipeActionAnimation/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 去除松开手之后的滑动回弹效果 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionAnimation/index.wxss b/compiled/wechat/demo/pages/SwipeActionAnimation/index.wxss deleted file mode 100644 index 83a3f0eb5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionAnimation/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionLeft/index.js b/compiled/wechat/demo/pages/SwipeActionLeft/index.js deleted file mode 100644 index f319f5213..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeft/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - leftBtns: [ - { - text: '往来记录', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '设为常用', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionLeft/index.json b/compiled/wechat/demo/pages/SwipeActionLeft/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeft/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionLeft/index.wxml b/compiled/wechat/demo/pages/SwipeActionLeft/index.wxml deleted file mode 100644 index 402b74dcb..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeft/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 按钮在左侧 - - - - 左侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionLeft/index.wxss b/compiled/wechat/demo/pages/SwipeActionLeft/index.wxss deleted file mode 100644 index 83a3f0eb5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeft/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.js b/compiled/wechat/demo/pages/SwipeActionLeftRight/index.js deleted file mode 100644 index 98d21f6b8..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '往来记录', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '设为常用', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.json b/compiled/wechat/demo/pages/SwipeActionLeftRight/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.wxml b/compiled/wechat/demo/pages/SwipeActionLeftRight/index.wxml deleted file mode 100644 index 3f3626eb6..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.wxml +++ /dev/null @@ -1,26 +0,0 @@ - - - - 左右两侧都有按钮 - - - - 三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.wxss b/compiled/wechat/demo/pages/SwipeActionLeftRight/index.wxss deleted file mode 100644 index 83a3f0eb5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionLeftRight/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionMove/index.js b/compiled/wechat/demo/pages/SwipeActionMove/index.js deleted file mode 100644 index 9e245697f..000000000 --- a/compiled/wechat/demo/pages/SwipeActionMove/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'move', - confirmText: '确认删除吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionMove/index.json b/compiled/wechat/demo/pages/SwipeActionMove/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionMove/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionMove/index.wxml b/compiled/wechat/demo/pages/SwipeActionMove/index.wxml deleted file mode 100644 index 26d26bd2d..000000000 --- a/compiled/wechat/demo/pages/SwipeActionMove/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 删除按钮滑动到最大距离触发二次确认 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionMove/index.wxss b/compiled/wechat/demo/pages/SwipeActionMove/index.wxss deleted file mode 100644 index 83a3f0eb5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionMove/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionNumber/index.js b/compiled/wechat/demo/pages/SwipeActionNumber/index.js deleted file mode 100644 index 245d75eda..000000000 --- a/compiled/wechat/demo/pages/SwipeActionNumber/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionNumber/index.json b/compiled/wechat/demo/pages/SwipeActionNumber/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionNumber/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionNumber/index.wxml b/compiled/wechat/demo/pages/SwipeActionNumber/index.wxml deleted file mode 100644 index 0e8b5b3a5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionNumber/index.wxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - 调整按钮数量,最多为3个 - - - - 右侧-{{index + 1 > 3 ? 3 : index + 1}}个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionNumber/index.wxss b/compiled/wechat/demo/pages/SwipeActionNumber/index.wxss deleted file mode 100644 index 83a3f0eb5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionNumber/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionNumber/slice.wxs b/compiled/wechat/demo/pages/SwipeActionNumber/slice.wxs deleted file mode 100644 index 168ea900d..000000000 --- a/compiled/wechat/demo/pages/SwipeActionNumber/slice.wxs +++ /dev/null @@ -1,6 +0,0 @@ -function sliceButton(rightBtns, index) { - return rightBtns.slice(0, index + 1); -} -module.exports = { - sliceButton: sliceButton -}; \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionSlot/index.js b/compiled/wechat/demo/pages/SwipeActionSlot/index.js deleted file mode 100644 index 300077266..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSlot/index.js +++ /dev/null @@ -1,57 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: 'No Slot', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '重命名', - bgColor: '#FFA91B', - color: '#fff', - slotName: 'reName', - confirmType: 'tap', - confirmText: '确认修改吗?', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - slotName: 'delete', - confirmType: 'tap', - confirmText: '确认删除吗?', - }, - ], - leftBtns: [ - { - text: 'No Slot', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '重命名', - bgColor: '#FFA91B', - color: '#fff', - width: 300, - slotName: 'reName-left', - confirmType: 'tap', - confirmText: '确认修改吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionSlot/index.json b/compiled/wechat/demo/pages/SwipeActionSlot/index.json deleted file mode 100644 index f555abe67..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSlot/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action-Slot", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index", - "ant-icon": "../../../src/Icon/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionSlot/index.wxml b/compiled/wechat/demo/pages/SwipeActionSlot/index.wxml deleted file mode 100644 index 20db63bc8..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSlot/index.wxml +++ /dev/null @@ -1,87 +0,0 @@ - - - - 自定义按钮 - - - - 左右自定义按钮 - - - - 删除 - - - - 确认删除吗? - - - - 重命名 - - - - 确认修改吗? - - - - 重命名 - - - - 确认修改吗? - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionSlot/index.wxss b/compiled/wechat/demo/pages/SwipeActionSlot/index.wxss deleted file mode 100644 index 812415ae5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSlot/index.wxss +++ /dev/null @@ -1,55 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ''; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} -.t-swipe-item-con-btn { - display: flex; - justify-content: center; - align-items: center; -} -.t-swipe-item-con-btn-icon { - font-size: 32px; -} -.left-slot { - display: flex; - align-items: center; - justify-content: center; - width: 100%; -} diff --git a/compiled/wechat/demo/pages/SwipeActionSpeed/index.js b/compiled/wechat/demo/pages/SwipeActionSpeed/index.js deleted file mode 100644 index 245d75eda..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSpeed/index.js +++ /dev/null @@ -1,35 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionSpeed/index.json b/compiled/wechat/demo/pages/SwipeActionSpeed/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSpeed/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionSpeed/index.wxml b/compiled/wechat/demo/pages/SwipeActionSpeed/index.wxml deleted file mode 100644 index dd0d8441c..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSpeed/index.wxml +++ /dev/null @@ -1,26 +0,0 @@ - - - - 滑动速度变慢 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionSpeed/index.wxss b/compiled/wechat/demo/pages/SwipeActionSpeed/index.wxss deleted file mode 100644 index 83a3f0eb5..000000000 --- a/compiled/wechat/demo/pages/SwipeActionSpeed/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionTap/index.js b/compiled/wechat/demo/pages/SwipeActionTap/index.js deleted file mode 100644 index 1dfa710e8..000000000 --- a/compiled/wechat/demo/pages/SwipeActionTap/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - confirmType: 'tap', - confirmText: '确认删除吗?', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionTap/index.json b/compiled/wechat/demo/pages/SwipeActionTap/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionTap/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionTap/index.wxml b/compiled/wechat/demo/pages/SwipeActionTap/index.wxml deleted file mode 100644 index d84b3e00a..000000000 --- a/compiled/wechat/demo/pages/SwipeActionTap/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 删除按钮点击二次确认 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionTap/index.wxss b/compiled/wechat/demo/pages/SwipeActionTap/index.wxss deleted file mode 100644 index d77081091..000000000 --- a/compiled/wechat/demo/pages/SwipeActionTap/index.wxss +++ /dev/null @@ -1,43 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - height: 130rpx; - line-height: 130rpx; - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/SwipeActionWidth/index.js b/compiled/wechat/demo/pages/SwipeActionWidth/index.js deleted file mode 100644 index 30c65f898..000000000 --- a/compiled/wechat/demo/pages/SwipeActionWidth/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - rightBtns: [ - { - text: '设为常用', - bgColor: '#1677FF', - color: '#fff', - width: 170, - }, - { - text: '往来记录', - bgColor: '#FFA91B', - color: '#fff', - width: 170, - }, - { - text: '删除', - bgColor: '#FF2B00', - color: '#fff', - }, - ], - swipeIndex: -1, - }, - onSwipeStart() { - this.setData({ swipeIndex: '' }); - }, - onSwipeEnd(args1, args2) { - let e, data; - e = args1; - data = args1.detail; - const { index } = e.target.dataset.item; - data.swiped && this.setData({ swipeIndex: index }); - }, - onButtonTap(data, e) { - console.log(data, e); - }, -}); diff --git a/compiled/wechat/demo/pages/SwipeActionWidth/index.json b/compiled/wechat/demo/pages/SwipeActionWidth/index.json deleted file mode 100644 index 21fc7fb9b..000000000 --- a/compiled/wechat/demo/pages/SwipeActionWidth/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Swipe-Action", - "pullRefresh": "NO", - "showProgress": "NO", - "allowsBounceVertical": "NO", - "usingComponents": { - "ant-swipe-action": "../../../src/SwipeAction/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionWidth/index.wxml b/compiled/wechat/demo/pages/SwipeActionWidth/index.wxml deleted file mode 100644 index 9e39de557..000000000 --- a/compiled/wechat/demo/pages/SwipeActionWidth/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 自定义按钮宽度 - - - - 右侧-三个按钮 - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/SwipeActionWidth/index.wxss b/compiled/wechat/demo/pages/SwipeActionWidth/index.wxss deleted file mode 100644 index d77081091..000000000 --- a/compiled/wechat/demo/pages/SwipeActionWidth/index.wxss +++ /dev/null @@ -1,43 +0,0 @@ -.t-swipe { - width: 100%; - margin: 0 auto; - background-color: #f5f5f5; -} -.t-swipe-item { - height: 130rpx; - line-height: 130rpx; - font-size: 32rpx; - color: #333333; -} -.t-swipe-item-title { - width: 100%; - height: 90rpx; - line-height: 100rpx; - font-size: 28rpx; - color: #999999; - text-indent: 1em; -} -.t-swipe-item-con { - height: 130rpx; - line-height: 130rpx; - width: 100%; -} -.t-swipe-item-con-view { - background-color: #ffffff; - text-indent: 1em; - position: relative; - height: 100%; - color: #333333; -} -.t-swipe-item-con-view::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 1px; - max-height: 1px; - min-height: 1px; - transform: scaleY(0.5); - background-color: #e5e5e5; -} diff --git a/compiled/wechat/demo/pages/Switch/index.js b/compiled/wechat/demo/pages/Switch/index.js deleted file mode 100644 index 4c72baeb5..000000000 --- a/compiled/wechat/demo/pages/Switch/index.js +++ /dev/null @@ -1,19 +0,0 @@ -Page({ - data: { - checked: true, - }, - onChange(checked, e) { - console.log(checked); - }, - handleChange(checked, e) { - this.setData({ - checked: checked.detail, - }); - }, - handleChangeByButton() { - console.log(this.data.checked); - this.setData({ - checked: !this.data.checked, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Switch/index.json b/compiled/wechat/demo/pages/Switch/index.json deleted file mode 100644 index 61e517410..000000000 --- a/compiled/wechat/demo/pages/Switch/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "navigationBarTitleText": "Switch", - "usingComponents": { - "ant-switch": "../../../src/Switch/index", - "ant-container": "../../../src/Container/index", - "ant-icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Switch/index.wxml b/compiled/wechat/demo/pages/Switch/index.wxml deleted file mode 100644 index 8f40daa9f..000000000 --- a/compiled/wechat/demo/pages/Switch/index.wxml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - medium: - - - - small: - - - - x-small: - - - - - - 切换 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Switch/index.wxss b/compiled/wechat/demo/pages/Switch/index.wxss deleted file mode 100644 index 4bfa6cc3e..000000000 --- a/compiled/wechat/demo/pages/Switch/index.wxss +++ /dev/null @@ -1,10 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ -.line { - display: flex; - align-items: center; - padding: 12rpx 0; -} -.line > view:nth-of-type(1) { - flex-basis: 80px; - color: #333333; -} diff --git a/compiled/wechat/demo/pages/TabBar/index.js b/compiled/wechat/demo/pages/TabBar/index.js deleted file mode 100644 index 9ef5eab32..000000000 --- a/compiled/wechat/demo/pages/TabBar/index.js +++ /dev/null @@ -1,76 +0,0 @@ -Page({ - data: { - tabs: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - ], - tabsBadge: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - badge: {}, - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - badge: { type: 'number', text: 9999 }, - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - ], - tabsCount6: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: '首页', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: '收藏', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: '喜欢', - }, - ], - current: 0, - }, - handleChange(index) { - this.setData({ current: index.detail }); - }, -}); diff --git a/compiled/wechat/demo/pages/TabBar/index.json b/compiled/wechat/demo/pages/TabBar/index.json deleted file mode 100644 index b27e9341f..000000000 --- a/compiled/wechat/demo/pages/TabBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "TabBar", - "usingComponents": { - "container": "../../../src/Container/index", - "tab-bar": "../../../src/TabBar/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/TabBar/index.wxml b/compiled/wechat/demo/pages/TabBar/index.wxml deleted file mode 100644 index 77320e4d5..000000000 --- a/compiled/wechat/demo/pages/TabBar/index.wxml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/TabBar/index.wxss b/compiled/wechat/demo/pages/TabBar/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.js b/compiled/wechat/demo/pages/Tabs/TabsElevator/index.js deleted file mode 100644 index a5fac38f0..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.js +++ /dev/null @@ -1,96 +0,0 @@ -Page({ - data: { - current: 0, - items: [ - { - title: '第一项', - content: 'Est voluptate sunt consequat laboris proident eu ut qui incididunt sint sint pariatur qui. Ut labore in duis labore cupidatat in ad quis duis aliquip irure occaecat officia reprehenderit consectetur. Enim consequat veniam nulla. Enim do nisi cillum aute pariatur ex dolor mollit ut nisi. Irure non pariatur anim Lorem ad do in elit irure minim exercitation. Dolor aliquip nisi adipisicing sunt adipisicing sunt nisi ad in non laboris in magna dolore. Fugiat aliqua labore elit occaecat consequat. Ipsum officia excepteur anim sint ipsum exercitation laborum. Excepteur exercitation ea occaecat cupidatat et consectetur exercitation non. Incididunt aliqua esse velit nisi ullamco. Do dolore ad ut. Esse ad tempor aliqua cillum consequat occaecat enim dolore enim aliquip aliquip irure. Id aliquip qui nulla dolor dolore et est. Non adipisicing mollit consequat magna sit laborum mollit nulla est consequat. Veniam in eu nisi ex sint deserunt ad sit consequat excepteur qui. Ea est sint adipisicing ea aliqua eiusmod amet pariatur officia ex voluptate. Consectetur in ipsum cillum nulla minim quis aute consequat. Et adipisicing officia nostrud id reprehenderit tempor. Laborum anim aliqua ut enim et pariatur elit tempor tempor incididunt deserunt nulla deserunt enim. Esse deserunt pariatur veniam sunt fugiat irure ullamco excepteur et Lorem. Sit adipisicing nisi consectetur nulla qui sint culpa. In aute cupidatat ad consequat proident est non sint ullamco dolor nisi irure fugiat amet deserunt. Laboris nostrud tempor aute non cillum magna labore ipsum duis ut dolor velit. Qui proident dolor occaecat consequat qui laboris sit est culpa excepteur aliqua pariatur veniam irure voluptate. Cillum adipisicing deserunt nisi quis anim fugiat ipsum incididunt veniam laboris et eiusmod minim. Tempor esse ex reprehenderit occaecat velit non do magna consequat consequat exercitation tempor elit. Ea pariatur irure laborum ipsum reprehenderit sunt sit minim excepteur pariatur magna deserunt aliqua velit non. Culpa irure dolore commodo quis do. Nulla ea consectetur ullamco deserunt laborum consectetur. Amet sunt in esse cupidatat excepteur veniam do. Est quis commodo consequat reprehenderit reprehenderit. Magna laboris dolor dolor laborum. Culpa officia dolor labore aute commodo ex nisi incididunt officia in aute incididunt voluptate. Do nisi dolore ea veniam adipisicing voluptate reprehenderit ea proident aliquip. Labore enim in minim. Aliquip cillum do consequat labore Lorem exercitation. Laborum anim aute in nisi aliqua nulla commodo nostrud laborum. Lorem cillum ut cillum laborum occaecat consequat elit duis. Dolore dolor deserunt nisi dolore laborum sit ea deserunt ipsum dolor ut sit minim. Reprehenderit esse consectetur dolore esse nostrud. Commodo laborum tempor magna cillum Lorem ad qui nisi consequat sit in amet veniam. Ex pariatur eiusmod labore aute id dolor et sunt cupidatat id et non proident enim sint. Duis duis id in et in incididunt Lorem veniam aliquip. Culpa duis deserunt eiusmod laborum labore ea non sit eu ipsum eu.', - }, - { - title: '第二项', - content: 'Excepteur esse nisi excepteur exercitation. Aliquip elit ut officia cillum nisi id. Aute in esse cillum. Enim occaecat cupidatat consequat dolor ex nulla esse non. Non ipsum ullamco veniam proident labore et exercitation dolore esse tempor culpa amet in anim mollit. Do officia proident ullamco ea ipsum reprehenderit irure occaecat proident id culpa dolore Lorem deserunt. Aliquip ut ex dolor ut eiusmod elit et velit sunt ipsum aliquip dolore. Ullamco sit excepteur dolore anim irure duis aute labore ex elit. Lorem pariatur esse in cupidatat nostrud reprehenderit tempor aute quis. Minim eiusmod aute do. Lorem aliquip ea consequat occaecat aliqua duis dolore Lorem elit in anim dolore magna veniam adipisicing. Proident consequat Lorem et. Occaecat nisi id mollit do labore eu consequat aliquip aute nulla fugiat. Irure nisi reprehenderit sint proident commodo dolore. Cillum laboris aliquip labore quis ad. Excepteur labore commodo consectetur quis sunt. Dolor voluptate laboris id et do irure exercitation ex elit consequat dolore exercitation. Id nulla ad sint excepteur occaecat sunt nostrud anim consectetur labore consequat dolor ex in sunt. Laborum elit ad enim do aute ullamco minim culpa mollit fugiat laborum adipisicing. Nostrud velit esse consequat et ea. Et deserunt minim ipsum. Anim dolore velit ex cillum occaecat magna irure culpa aliquip ex laboris duis consequat ipsum incididunt. Anim laborum aliqua tempor excepteur mollit in consequat voluptate veniam dolore. Magna commodo officia officia in anim officia ex. Adipisicing mollit eu aliqua ex elit ipsum dolor incididunt adipisicing minim proident excepteur. Veniam veniam ex occaecat culpa eu consequat quis pariatur quis duis duis. Consectetur commodo eu voluptate pariatur sit sit reprehenderit duis esse veniam ullamco ullamco est. Laboris laborum exercitation anim tempor commodo fugiat. Sit ipsum consectetur pariatur in. Officia irure ipsum culpa irure veniam commodo laborum consequat sit laboris incididunt esse. Est in eiusmod ad ad deserunt consequat adipisicing commodo sit non culpa. Officia ut ex laborum fugiat. Magna sit do ullamco ex aute elit reprehenderit. Voluptate commodo Lorem est incididunt ullamco tempor cupidatat sint magna amet occaecat qui magna. Aliquip consequat pariatur tempor voluptate est pariatur excepteur. Nulla mollit adipisicing do magna proident velit consectetur magna nisi aliquip adipisicing et velit quis ad. Mollit minim elit fugiat tempor non in exercitation cillum quis qui pariatur laborum excepteur in cillum. Enim nostrud nisi consequat deserunt deserunt consequat velit laboris amet magna et eu ipsum. Aliqua cillum elit minim do id exercitation magna. Cupidatat incididunt reprehenderit culpa occaecat ullamco anim dolore. Anim occaecat occaecat esse non occaecat duis et fugiat. Pariatur velit dolor Lorem ullamco laborum deserunt deserunt consectetur consequat deserunt mollit esse. Irure nostrud velit nostrud aliqua ad ea voluptate. Culpa ex officia consectetur eiusmod cupidatat. Nulla Lorem ut ea eu deserunt eiusmod aliqua Lorem quis aute elit. Eiusmod cillum nisi veniam veniam fugiat deserunt adipisicing exercitation amet Lorem. Mollit sit dolore tempor et magna non proident cupidatat anim veniam. Nisi velit est occaecat amet dolor ut reprehenderit mollit culpa dolore ad pariatur. Pariatur qui ex qui excepteur reprehenderit. Mollit consectetur esse incididunt adipisicing dolore.', - }, - { - title: '第三项', - content: 'Aute cillum et eu. Est ut magna sint ex ex adipisicing qui occaecat sint excepteur eiusmod adipisicing id eiusmod. Proident culpa tempor ullamco ad non ex incididunt ullamco tempor quis fugiat commodo consectetur. Id aliquip in labore occaecat ut exercitation mollit ipsum nisi pariatur occaecat ut minim duis enim. Magna cupidatat id do. Voluptate id tempor cillum aliqua mollit quis veniam sit fugiat culpa qui veniam deserunt reprehenderit. Reprehenderit qui est est consequat commodo occaecat id. Do consequat ut incididunt ea ipsum fugiat aliqua dolore velit incididunt. Dolor quis amet mollit fugiat quis ullamco culpa occaecat. Voluptate do ullamco excepteur duis dolor sit enim officia. Nostrud id aute nisi voluptate cupidatat pariatur duis et cillum. Excepteur nisi exercitation labore elit consequat officia non fugiat. Tempor deserunt eu do culpa quis fugiat proident amet qui deserunt eiusmod velit culpa. Nisi officia aliquip culpa pariatur sunt non quis eiusmod aliqua commodo et Lorem duis minim amet. Voluptate enim laborum ex dolore in anim cillum dolore ut officia Lorem ipsum exercitation irure anim. Pariatur quis consequat tempor eu quis tempor aute esse commodo ipsum non enim sunt. Sit laboris amet consequat. Aute sunt qui eiusmod enim amet ut in elit ea pariatur est et consequat. Occaecat adipisicing id ex nostrud labore anim. Ullamco eiusmod dolor et minim fugiat culpa nulla tempor cupidatat reprehenderit sit fugiat duis quis. Sunt est ipsum adipisicing. Do enim ullamco minim tempor dolore consequat. Consequat non nulla proident aute nulla magna et. Labore quis veniam adipisicing irure reprehenderit ipsum ex eu. Labore sint dolore voluptate laborum id ad eu minim aute consectetur adipisicing aliquip exercitation culpa. Ullamco exercitation dolore elit cupidatat elit ex aliqua pariatur duis cillum. Cillum consectetur ipsum cillum dolore. Et commodo id aliquip do sunt ea pariatur ut aliqua proident occaecat aute esse. Deserunt incididunt sit tempor culpa laboris ea minim laboris magna et consequat. Labore do duis cillum. Eiusmod nostrud enim sunt eiusmod consectetur. Irure ex consectetur officia nisi enim consectetur Lorem exercitation adipisicing sit consequat excepteur. Minim velit in ea nulla tempor ad irure laborum est tempor laboris enim ea non laboris. Velit magna fugiat aute laboris. Commodo sunt voluptate laborum labore tempor ullamco voluptate nostrud ea. Reprehenderit fugiat minim nulla fugiat enim sit Lorem. Est aute magna sunt magna labore do Lorem proident. Laboris et anim non aliqua eu laboris fugiat nostrud tempor deserunt ex officia quis dolore ipsum. Aliquip ea sint qui duis culpa non aliquip voluptate consectetur labore velit. Anim do est enim cupidatat ex et ad reprehenderit officia ullamco exercitation dolore. Non esse sint fugiat laborum eu enim aliqua enim nostrud. Lorem occaecat labore amet voluptate Lorem tempor do fugiat fugiat eu pariatur ea excepteur duis. Officia amet ipsum esse sunt anim deserunt. Esse eu officia mollit. Officia ut labore dolore et duis excepteur sunt cillum qui qui enim magna adipisicing. Dolor ipsum est nisi duis minim laboris magna anim ea labore eiusmod anim sunt deserunt. Est Lorem cupidatat officia laborum Lorem incididunt ex et est culpa occaecat et eiusmod exercitation. Qui do nostrud adipisicing dolore incididunt. Ex nostrud velit deserunt dolore cillum anim et exercitation magna qui pariatur consectetur laboris deserunt.', - }, - { - title: '第四项', - content: 'Nisi aliquip nulla et aliquip anim elit reprehenderit veniam. Aute incididunt cupidatat sint enim fugiat est labore. Minim ea do occaecat anim ipsum in deserunt proident magna voluptate mollit. Nisi et fugiat cillum consequat deserunt do magna. Sunt irure laboris ea cupidatat esse tempor irure occaecat cupidatat. Officia adipisicing commodo non minim culpa magna est ullamco eu consequat quis magna nisi tempor. Aute ad anim et et sint nulla proident et magna. Veniam veniam velit culpa non. Enim minim adipisicing amet velit do ea voluptate do cillum ex et excepteur. Reprehenderit dolore nulla nisi aute consectetur qui ut fugiat laboris aliquip velit nisi. Eiusmod nulla exercitation irure esse voluptate est. Consectetur est minim occaecat anim amet. Laboris exercitation id laborum ullamco ut aute irure laboris. Culpa ad irure in mollit deserunt et officia amet pariatur esse ad mollit minim sint officia. Reprehenderit commodo dolore occaecat sint reprehenderit irure esse. Cupidatat ex quis est. Fugiat quis sint deserunt quis culpa reprehenderit reprehenderit dolor ipsum tempor exercitation. Culpa occaecat minim elit incididunt do incididunt fugiat commodo excepteur anim mollit. Ad cillum et tempor do Lorem ut et aliquip ea ut do laborum ex ullamco. Sint dolor Lorem enim incididunt velit ullamco. Eiusmod et nostrud laboris culpa enim laboris. Nulla sunt veniam exercitation ea ut consectetur velit. Enim irure magna et laborum occaecat irure quis labore deserunt. Consectetur amet mollit pariatur ad nisi. Sint excepteur sunt adipisicing eiusmod duis ut. Cillum esse eu ut anim tempor Lorem dolor cillum. Veniam occaecat duis ex commodo excepteur ut consequat nulla ullamco sint fugiat ullamco. Excepteur excepteur nostrud elit. Consectetur dolor dolore reprehenderit ex sint sunt aliqua amet et. Consequat sunt cillum labore irure adipisicing nulla velit. Aliquip deserunt in id amet quis. Ut duis Lorem exercitation ad adipisicing consectetur nostrud sint dolor consequat enim aliquip id. Amet et ullamco exercitation duis eiusmod nisi Lorem. Veniam consectetur incididunt quis aliqua deserunt. Sint in deserunt in laboris labore pariatur laborum minim magna adipisicing mollit non. Dolor dolore in labore labore exercitation laboris laborum elit ex ea nostrud veniam. Est anim duis velit nostrud reprehenderit laborum nisi. Sit consequat aute aliqua consequat anim. Enim et ex reprehenderit et. Quis minim pariatur fugiat voluptate est occaecat commodo cupidatat do nostrud ad dolore pariatur cillum. Dolor eiusmod quis fugiat ullamco et reprehenderit in qui officia aliquip fugiat qui adipisicing. Anim ex proident consequat labore incididunt cillum enim eu exercitation cupidatat dolor commodo sit duis. Deserunt et fugiat dolor laboris. Anim esse voluptate esse excepteur non et culpa labore do quis ad consectetur do cupidatat sint. Ex ea amet id duis adipisicing dolore esse fugiat quis labore commodo minim nisi anim elit. Excepteur reprehenderit labore cillum commodo nisi culpa consectetur ut elit id ex excepteur eu ex. Quis aute et excepteur sit irure duis laborum velit do aliquip sit aliqua consequat duis adipisicing. Occaecat consectetur sint mollit ipsum esse laborum elit ad. Dolore Lorem do excepteur labore laboris duis esse fugiat amet. Voluptate est magna proident proident nisi est duis pariatur ut anim irure nulla anim. Labore adipisicing officia est sunt laborum Lorem occaecat anim. Do voluptate anim cillum ipsum tempor minim nostrud esse. Aliquip aliqua magna ipsum dolore non laborum mollit sint labore. Aliquip est laborum tempor sint laborum incididunt consequat dolor do occaecat commodo in mollit amet.', - }, - { - title: '第五项', - content: 'Sit occaecat reprehenderit quis incididunt elit. Voluptate amet exercitation minim mollit excepteur aliqua ut. Duis duis mollit eiusmod consectetur irure est mollit amet dolor nostrud dolore duis laborum magna. Est anim ipsum velit cillum veniam velit. Commodo eiusmod Lorem quis nisi nostrud deserunt eiusmod sit occaecat eiusmod.', - }, - { - title: '第六项', - content: 'Do nisi tempor incididunt cupidatat magna id. Ullamco consectetur consequat laboris officia occaecat laboris consequat velit irure laboris exercitation aliqua. Laborum elit sit irure eiusmod anim fugiat magna ipsum aliqua esse tempor in. Commodo occaecat Lorem voluptate pariatur commodo proident et et exercitation ex exercitation culpa tempor id. Fugiat dolore aliquip voluptate in. Velit voluptate excepteur incididunt sint sit aliqua et aliquip. Aliqua nisi consequat excepteur eiusmod dolore culpa Lorem.', - }, - ], - scrollTop: 0, - }, - async updateRect() { - this.itemRectList = await Promise.all(this.data.items.map((item, index) => this.getBoundingClientRect(`#tab-item-${index}`))); - this.scrollViewRect = await this.getBoundingClientRect('#scroll-view'); - }, - async onReady() { - await this.updateRect(); - }, - onTap() { - this.tap = true; - const scrollTop = this.itemRectList[this.data.current].top - this.scrollViewRect.top; - this.setData({ - scrollTop: scrollTop + Math.random(), - }); - }, - onChange(current) { - current = current.detail; - this.tap = true; - this.setData({ - scrollTop: this.itemRectList[current].top - - this.scrollViewRect.top + - Math.random(), - current, - }); - }, - onTouchStart() { - this.tap = false; - }, - onScroll(e) { - if (this.tap) { - return; - } - this.scrollTop = e.detail.scrollTop; - const scrollTop = this.scrollTop + this.itemRectList[0].top; - for (let i = 0; i < this.itemRectList.length - 1; i++) { - const item = this.itemRectList[i]; - if (scrollTop > item.top && - scrollTop < this.itemRectList[i + 1].top && - i !== this.data.current) { - this.setData({ - current: i, - }); - return; - } - } - }, - getBoundingClientRect(id) { - if (typeof my === 'undefined') { - return this.getInstanceBoundingClientRect(this, id); - } - return this.getInstanceBoundingClientRect(my, id); - }, - getInstanceBoundingClientRect(instance, selector) { - return new Promise((resolve) => { - instance - .createSelectorQuery() - .select(selector) - .boundingClientRect() - .exec((ret) => { - if (ret && ret[0]) { - resolve(ret[0]); - } - }); - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.json b/compiled/wechat/demo/pages/Tabs/TabsElevator/index.json deleted file mode 100644 index f22878ad4..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Tabs", - "usingComponents": { - "tabs": "../../../../src/Tabs/index", - "container": "../../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.wxml b/compiled/wechat/demo/pages/Tabs/TabsElevator/index.wxml deleted file mode 100644 index fb7cb2c2b..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.wxml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - {{item.title}}{{item.content}} - - - {{item.value.title}} - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.wxss b/compiled/wechat/demo/pages/Tabs/TabsElevator/index.wxss deleted file mode 100644 index dadd2306f..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsElevator/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -.content { - padding: 12px; - height: 400px; - background-color: #ffffff; -} -.item { - margin-bottom: 40px; -} -.title { - font-weight: bold; - margin-bottom: 8px; -} diff --git a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.js b/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.js deleted file mode 100644 index ce7424a99..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.js +++ /dev/null @@ -1,70 +0,0 @@ -Page({ - data: { - current: 0, - items: new Array(20).fill(0).map((_, i) => { - return { - title: `第${i + 1}项`, - content: 'Est voluptate sunt consequat laboris proident eu ut qui incididunt sint sint pariatur qui. Ut labore in duis labore cupidatat in ad quis duis aliquip irure occaecat officia reprehenderit consectetur. Enim consequat veniam nulla. Enim do nisi cillum aute pariatur ex dolor mollit ut nisi. Irure non pariatur anim Lorem ad do in elit irure minim exercitation. Dolor aliquip nisi adipisicing sunt adipisicing sunt nisi ad in non laboris in magna dolore. Fugiat aliqua labore elit occaecat consequat. Ipsum officia excepteur anim sint ipsum exercitation laborum. Excepteur exercitation ea occaecat cupidatat et consectetur exercitation non. Incididunt aliqua esse velit nisi ullamco. Do dolore ad ut. Esse ad tempor aliqua cillum consequat occaecat enim dolore enim aliquip aliquip irure. Id aliquip qui nulla dolor dolore et est. Non adipisicing mollit consequat magna sit laborum mollit nulla est consequat. Veniam in eu nisi ex sint deserunt ad sit consequat excepteur qui. Ea est sint adipisicing ea aliqua eiusmod amet pariatur officia ex voluptate. Consectetur in ipsum cillum nulla minim quis aute consequat. Et adipisicing officia nostrud id reprehenderit tempor. Laborum anim aliqua ut enim et pariatur elit tempor tempor incididunt deserunt nulla deserunt enim. Esse deserunt pariatur veniam sunt fugiat irure ullamco excepteur et Lorem. Sit adipisicing nisi consectetur nulla qui sint culpa. In aute cupidatat ad consequat proident est non sint ullamco dolor nisi irure fugiat amet deserunt. Laboris nostrud tempor aute non cillum magna labore ipsum duis ut dolor velit. Qui proident dolor occaecat consequat qui laboris sit est culpa excepteur aliqua pariatur veniam irure voluptate. Cillum adipisicing deserunt nisi quis anim fugiat ipsum incididunt veniam laboris et eiusmod minim. Tempor esse ex reprehenderit occaecat velit non do magna consequat consequat exercitation tempor elit. Ea pariatur irure laborum ipsum reprehenderit sunt sit minim excepteur pariatur magna deserunt aliqua velit non. Culpa irure dolore commodo quis do. Nulla ea consectetur ullamco deserunt laborum consectetur. Amet sunt in esse cupidatat excepteur veniam do. Est quis commodo consequat reprehenderit reprehenderit. Magna laboris dolor dolor laborum. Culpa officia dolor labore aute commodo ex nisi incididunt officia in aute incididunt voluptate. Do nisi dolore ea veniam adipisicing voluptate reprehenderit ea proident aliquip. Labore enim in minim. Aliquip cillum do consequat labore Lorem exercitation. Laborum anim aute in nisi aliqua nulla commodo nostrud laborum. Lorem cillum ut cillum laborum occaecat consequat elit duis. Dolore dolor deserunt nisi dolore laborum sit ea deserunt ipsum dolor ut sit minim. Reprehenderit esse consectetur dolore esse nostrud. Commodo laborum tempor magna cillum Lorem ad qui nisi consequat sit in amet veniam. Ex pariatur eiusmod labore aute id dolor et sunt cupidatat id et non proident enim sint. Duis duis id in et in incididunt Lorem veniam aliquip. Culpa duis deserunt eiusmod laborum labore ea non sit eu ipsum eu.', - }; - }), - scrollTop: 0, - }, - async updateRect() { - this.itemRectList = await Promise.all(this.data.items.map((item, index) => this.getBoundingClientRect(`#tab-item-${index}`))); - this.scrollViewRect = await this.getBoundingClientRect('#scroll-view'); - }, - async onReady() { - await this.updateRect(); - }, - onChange(current) { - current = current.detail; - this.tap = true; - this.setData({ - scrollTop: this.itemRectList[current].top - - this.scrollViewRect.top + - Math.random(), - current, - }); - }, - onTouchStart() { - this.tap = false; - }, - onScroll(e) { - if (this.tap) { - return; - } - this.scrollTop = e.detail.scrollTop; - const scrollTop = this.scrollTop + this.itemRectList[0].top; - for (let i = 0; i < this.itemRectList.length; i++) { - const item = this.itemRectList[i]; - if (scrollTop > item.top && - (!this.itemRectList[i + 1] || - scrollTop < this.itemRectList[i + 1].top) && - i !== this.data.current) { - this.setData({ - current: i, - }); - return; - } - } - }, - getBoundingClientRect(id) { - if (typeof my === 'undefined') { - return this.getInstanceBoundingClientRect(this, id); - } - return this.getInstanceBoundingClientRect(my, id); - }, - getInstanceBoundingClientRect(instance, selector) { - return new Promise((resolve) => { - instance - .createSelectorQuery() - .select(selector) - .boundingClientRect() - .exec((ret) => { - if (ret && ret[0]) { - resolve(ret[0]); - } - }); - }); - }, -}); diff --git a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.json b/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.json deleted file mode 100644 index 384ff7c50..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "navigationBarTitleText": "Tabs", - "usingComponents": { - "ant-tabs": "../../../../src/Tabs/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.wxml b/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.wxml deleted file mode 100644 index de8b9e699..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.wxml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - {{item.title}} - {{item.content}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.wxss b/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.wxss deleted file mode 100644 index f5caefd5f..000000000 --- a/compiled/wechat/demo/pages/Tabs/TabsVerticalElevator/index.wxss +++ /dev/null @@ -1,21 +0,0 @@ -.tabs { - height: 80vh; -} -.content { - padding: 12px; - height: 100%; -} -.item { - margin-bottom: 40px; -} -.title { - font-weight: bold; - margin-bottom: 8px; -} -.tabs-bar { - width: 80px; -} -.footer { - background-color: #fff; - height: 20vh; -} diff --git a/compiled/wechat/demo/pages/Tabs/index.js b/compiled/wechat/demo/pages/Tabs/index.js deleted file mode 100644 index ce4e1b792..000000000 --- a/compiled/wechat/demo/pages/Tabs/index.js +++ /dev/null @@ -1,150 +0,0 @@ -Page({ - data: { - current: 0, - items: [ - { - title: '水果', - subTitle: '描述文案', - content: '西瓜', - longContent: 'Est voluptate sunt consequat laboris proident eu ut qui incididunt sint sint pariatur qui. Ut labore in duis labore cupidatat in ad quis duis aliquip irure occaecat officia reprehenderit consectetur. Enim consequat veniam nulla. Enim do nisi cillum aute pariatur ex dolor mollit ut nisi. Irure non pariatur anim Lorem ad do in elit irure minim exercitation. Dolor aliquip nisi adipisicing sunt adipisicing sunt nisi ad in non laboris in magna dolore. Fugiat aliqua labore elit occaecat consequat. Ipsum officia excepteur anim sint ipsum exercitation laborum. Excepteur exercitation ea occaecat cupidatat et consectetur exercitation non. Incididunt aliqua esse velit nisi ullamco. Do dolore ad ut. Esse ad tempor aliqua cillum consequat occaecat enim dolore enim aliquip aliquip irure. Id aliquip qui nulla dolor dolore et est. Non adipisicing mollit consequat magna sit laborum mollit nulla est consequat. Veniam in eu nisi ex sint deserunt ad sit consequat excepteur qui. Ea est sint adipisicing ea aliqua eiusmod amet pariatur officia ex voluptate. Consectetur in ipsum cillum nulla minim quis aute consequat. Et adipisicing officia nostrud id reprehenderit tempor. Laborum anim aliqua ut enim et pariatur elit tempor tempor incididunt deserunt nulla deserunt enim. Esse deserunt pariatur veniam sunt fugiat irure ullamco excepteur et Lorem. Sit adipisicing nisi consectetur nulla qui sint culpa. In aute cupidatat ad consequat proident est non sint ullamco dolor nisi irure fugiat amet deserunt. Laboris nostrud tempor aute non cillum magna labore ipsum duis ut dolor velit. Qui proident dolor occaecat consequat qui laboris sit est culpa excepteur aliqua pariatur veniam irure voluptate. Cillum adipisicing deserunt nisi quis anim fugiat ipsum incididunt veniam laboris et eiusmod minim. Tempor esse ex reprehenderit occaecat velit non do magna consequat consequat exercitation tempor elit. Ea pariatur irure laborum ipsum reprehenderit sunt sit minim excepteur pariatur magna deserunt aliqua velit non. Culpa irure dolore commodo quis do. Nulla ea consectetur ullamco deserunt laborum consectetur. Amet sunt in esse cupidatat excepteur veniam do. Est quis commodo consequat reprehenderit reprehenderit. Magna laboris dolor dolor laborum. Culpa officia dolor labore aute commodo ex nisi incididunt officia in aute incididunt voluptate. Do nisi dolore ea veniam adipisicing voluptate reprehenderit ea proident aliquip. Labore enim in minim. Aliquip cillum do consequat labore Lorem exercitation. Laborum anim aute in nisi aliqua nulla commodo nostrud laborum. Lorem cillum ut cillum laborum occaecat consequat elit duis. Dolore dolor deserunt nisi dolore laborum sit ea deserunt ipsum dolor ut sit minim. Reprehenderit esse consectetur dolore esse nostrud. Commodo laborum tempor magna cillum Lorem ad qui nisi consequat sit in amet veniam. Ex pariatur eiusmod labore aute id dolor et sunt cupidatat id et non proident enim sint. Duis duis id in et in incididunt Lorem veniam aliquip. Culpa duis deserunt eiusmod laborum labore ea non sit eu ipsum eu.', - }, - { - title: '蔬菜', - subTitle: '描述文案', - badge: true, - content: '西红柿', - longContent: 'Excepteur esse nisi excepteur exercitation. Aliquip elit ut officia cillum nisi id. Aute in esse cillum. Enim occaecat cupidatat consequat dolor ex nulla esse non. Non ipsum ullamco veniam proident labore et exercitation dolore esse tempor culpa amet in anim mollit. Do officia proident ullamco ea ipsum reprehenderit irure occaecat proident id culpa dolore Lorem deserunt. Aliquip ut ex dolor ut eiusmod elit et velit sunt ipsum aliquip dolore. Ullamco sit excepteur dolore anim irure duis aute labore ex elit. Lorem pariatur esse in cupidatat nostrud reprehenderit tempor aute quis. Minim eiusmod aute do. Lorem aliquip ea consequat occaecat aliqua duis dolore Lorem elit in anim dolore magna veniam adipisicing. Proident consequat Lorem et. Occaecat nisi id mollit do labore eu consequat aliquip aute nulla fugiat. Irure nisi reprehenderit sint proident commodo dolore. Cillum laboris aliquip labore quis ad. Excepteur labore commodo consectetur quis sunt. Dolor voluptate laboris id et do irure exercitation ex elit consequat dolore exercitation. Id nulla ad sint excepteur occaecat sunt nostrud anim consectetur labore consequat dolor ex in sunt. Laborum elit ad enim do aute ullamco minim culpa mollit fugiat laborum adipisicing. Nostrud velit esse consequat et ea. Et deserunt minim ipsum. Anim dolore velit ex cillum occaecat magna irure culpa aliquip ex laboris duis consequat ipsum incididunt. Anim laborum aliqua tempor excepteur mollit in consequat voluptate veniam dolore. Magna commodo officia officia in anim officia ex. Adipisicing mollit eu aliqua ex elit ipsum dolor incididunt adipisicing minim proident excepteur. Veniam veniam ex occaecat culpa eu consequat quis pariatur quis duis duis. Consectetur commodo eu voluptate pariatur sit sit reprehenderit duis esse veniam ullamco ullamco est. Laboris laborum exercitation anim tempor commodo fugiat. Sit ipsum consectetur pariatur in. Officia irure ipsum culpa irure veniam commodo laborum consequat sit laboris incididunt esse. Est in eiusmod ad ad deserunt consequat adipisicing commodo sit non culpa. Officia ut ex laborum fugiat. Magna sit do ullamco ex aute elit reprehenderit. Voluptate commodo Lorem est incididunt ullamco tempor cupidatat sint magna amet occaecat qui magna. Aliquip consequat pariatur tempor voluptate est pariatur excepteur. Nulla mollit adipisicing do magna proident velit consectetur magna nisi aliquip adipisicing et velit quis ad. Mollit minim elit fugiat tempor non in exercitation cillum quis qui pariatur laborum excepteur in cillum. Enim nostrud nisi consequat deserunt deserunt consequat velit laboris amet magna et eu ipsum. Aliqua cillum elit minim do id exercitation magna. Cupidatat incididunt reprehenderit culpa occaecat ullamco anim dolore. Anim occaecat occaecat esse non occaecat duis et fugiat. Pariatur velit dolor Lorem ullamco laborum deserunt deserunt consectetur consequat deserunt mollit esse. Irure nostrud velit nostrud aliqua ad ea voluptate. Culpa ex officia consectetur eiusmod cupidatat. Nulla Lorem ut ea eu deserunt eiusmod aliqua Lorem quis aute elit. Eiusmod cillum nisi veniam veniam fugiat deserunt adipisicing exercitation amet Lorem. Mollit sit dolore tempor et magna non proident cupidatat anim veniam. Nisi velit est occaecat amet dolor ut reprehenderit mollit culpa dolore ad pariatur. Pariatur qui ex qui excepteur reprehenderit. Mollit consectetur esse incididunt adipisicing dolore.', - }, - { - title: '动物', - subTitle: '描述文案', - content: '蚂蚁', - longContent: 'Aute cillum et eu. Est ut magna sint ex ex adipisicing qui occaecat sint excepteur eiusmod adipisicing id eiusmod. Proident culpa tempor ullamco ad non ex incididunt ullamco tempor quis fugiat commodo consectetur. Id aliquip in labore occaecat ut exercitation mollit ipsum nisi pariatur occaecat ut minim duis enim. Magna cupidatat id do. Voluptate id tempor cillum aliqua mollit quis veniam sit fugiat culpa qui veniam deserunt reprehenderit. Reprehenderit qui est est consequat commodo occaecat id. Do consequat ut incididunt ea ipsum fugiat aliqua dolore velit incididunt. Dolor quis amet mollit fugiat quis ullamco culpa occaecat. Voluptate do ullamco excepteur duis dolor sit enim officia. Nostrud id aute nisi voluptate cupidatat pariatur duis et cillum. Excepteur nisi exercitation labore elit consequat officia non fugiat. Tempor deserunt eu do culpa quis fugiat proident amet qui deserunt eiusmod velit culpa. Nisi officia aliquip culpa pariatur sunt non quis eiusmod aliqua commodo et Lorem duis minim amet. Voluptate enim laborum ex dolore in anim cillum dolore ut officia Lorem ipsum exercitation irure anim. Pariatur quis consequat tempor eu quis tempor aute esse commodo ipsum non enim sunt. Sit laboris amet consequat. Aute sunt qui eiusmod enim amet ut in elit ea pariatur est et consequat. Occaecat adipisicing id ex nostrud labore anim. Ullamco eiusmod dolor et minim fugiat culpa nulla tempor cupidatat reprehenderit sit fugiat duis quis. Sunt est ipsum adipisicing. Do enim ullamco minim tempor dolore consequat. Consequat non nulla proident aute nulla magna et. Labore quis veniam adipisicing irure reprehenderit ipsum ex eu. Labore sint dolore voluptate laborum id ad eu minim aute consectetur adipisicing aliquip exercitation culpa. Ullamco exercitation dolore elit cupidatat elit ex aliqua pariatur duis cillum. Cillum consectetur ipsum cillum dolore. Et commodo id aliquip do sunt ea pariatur ut aliqua proident occaecat aute esse. Deserunt incididunt sit tempor culpa laboris ea minim laboris magna et consequat. Labore do duis cillum. Eiusmod nostrud enim sunt eiusmod consectetur. Irure ex consectetur officia nisi enim consectetur Lorem exercitation adipisicing sit consequat excepteur. Minim velit in ea nulla tempor ad irure laborum est tempor laboris enim ea non laboris. Velit magna fugiat aute laboris. Commodo sunt voluptate laborum labore tempor ullamco voluptate nostrud ea. Reprehenderit fugiat minim nulla fugiat enim sit Lorem. Est aute magna sunt magna labore do Lorem proident. Laboris et anim non aliqua eu laboris fugiat nostrud tempor deserunt ex officia quis dolore ipsum. Aliquip ea sint qui duis culpa non aliquip voluptate consectetur labore velit. Anim do est enim cupidatat ex et ad reprehenderit officia ullamco exercitation dolore. Non esse sint fugiat laborum eu enim aliqua enim nostrud. Lorem occaecat labore amet voluptate Lorem tempor do fugiat fugiat eu pariatur ea excepteur duis. Officia amet ipsum esse sunt anim deserunt. Esse eu officia mollit. Officia ut labore dolore et duis excepteur sunt cillum qui qui enim magna adipisicing. Dolor ipsum est nisi duis minim laboris magna anim ea labore eiusmod anim sunt deserunt. Est Lorem cupidatat officia laborum Lorem incididunt ex et est culpa occaecat et eiusmod exercitation. Qui do nostrud adipisicing dolore incididunt. Ex nostrud velit deserunt dolore cillum anim et exercitation magna qui pariatur consectetur laboris deserunt.', - }, - ], - items2: [ - { - title: '水果', - subTitle: '描述文案', - content: '西瓜', - }, - { - title: '蔬菜', - subTitle: '描述文案', - content: '西红柿', - disabled: true, - }, - { - title: '动物', - subTitle: '描述文案', - content: '蚂蚁', - }, - ], - items3: [], - }, - onLoad() { - const items3 = new Array(6).fill(null).map((_, index) => { - return { - title: `Tab ${index}`, - content: `Content of tab ${index}`, - }; - }); - this.setData({ - items3, - }); - }, - onChange(current) { - current = current.detail; - this.setData({ - current, - }); - }, - handleChange(current) { - current = current.detail; - this.setData({ - current, - }); - }, - onPlus() { - this.alert('plus'); - }, - alert(content) { - //@ts-ignore - wx.showToast({ - title: content, - }); - }, - onPrevTap() { - if (this.data.items.length === 0) { - return; - } - const current = this.data.current === 0 - ? this.data.items.length - 1 - : this.data.current - 1; - this.setData({ - current, - }); - }, - onNextTap() { - if (this.data.items3.length === 0) { - return; - } - const current = this.data.current >= this.data.items3.length - 1 - ? 0 - : this.data.current + 1; - this.setData({ - current, - }); - }, - onAddTap() { - const items3 = [...this.data.items3]; - items3.push({ - title: `Tab ${items3.length}`, - content: `Content of tab ${items3.length}`, - }); - this.setData({ - items3, - current: items3.length - 1, - }); - }, - onMinusTap() { - if (this.data.items3.length === 1) { - return; - } - const items3 = [...this.data.items3]; - items3.splice(items3.length - 1, 1); - this.setData({ - items3, - current: Math.min(this.data.current, items3.length - 1), - }); - }, - async updateRect() { - this.itemRectList = await Promise.all(this.data.items.map((item, index) => this.getBoundingClientRect(`#tab-item-${index}`))); - this.scrollViewRect = await this.getBoundingClientRect('#scroll-view'); - }, - async onReady() { - await this.updateRect(); - }, - onTouchStart() { - this.tap = false; - }, - onScroll(e) { - if (this.tap) { - return; - } - this.scrollTop = e.detail.scrollTop; - const scrollTop = this.scrollTop + this.itemRectList[0].top; - for (let i = 0; i < this.itemRectList.length; i++) { - const item = this.itemRectList[i]; - if (scrollTop > item.top && - (!this.itemRectList[i + 1] || - scrollTop < this.itemRectList[i + 1].top) && - i !== this.data.current) { - this.setData({ - current: i, - }); - return; - } - } - }, -}); diff --git a/compiled/wechat/demo/pages/Tabs/index.json b/compiled/wechat/demo/pages/Tabs/index.json deleted file mode 100644 index 34cb0089c..000000000 --- a/compiled/wechat/demo/pages/Tabs/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "navigationBarTitleText": "Tabs", - "usingComponents": { - "container": "../../../src/Container/index", - "tabs": "../../../src/Tabs/index", - "badge": "../../../src/Badge/index", - "icon": "../../../src/Icon/index", - "ant-button": "../../../src/Button/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tabs/index.wxml b/compiled/wechat/demo/pages/Tabs/index.wxml deleted file mode 100644 index cd99dd50c..000000000 --- a/compiled/wechat/demo/pages/Tabs/index.wxml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{items[current].content}} - - - - {{items3[current].content}} - - current:{{current}}length:{{items3.length}} - - 上一个 - 下一个 - 添加 - 减少 - - - - - - - - - - - {{item.content}} - - - - - - - - {{items[current].longContent}} - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tabs/index.wxss b/compiled/wechat/demo/pages/Tabs/index.wxss deleted file mode 100644 index 2d0d33e0f..000000000 --- a/compiled/wechat/demo/pages/Tabs/index.wxss +++ /dev/null @@ -1,14 +0,0 @@ -page { - padding-bottom: 40rpx; -} -.buttons { - margin-top: 20px; - display: flex; - justify-content: center; - gap: 8px; -} -.sticky-tabs { - position: sticky; - top: -1px; - z-index: 999; -} diff --git a/compiled/wechat/demo/pages/Tag/index.js b/compiled/wechat/demo/pages/Tag/index.js deleted file mode 100644 index 718c2c8dc..000000000 --- a/compiled/wechat/demo/pages/Tag/index.js +++ /dev/null @@ -1,5 +0,0 @@ -Page({ - data: { - image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', - }, -}); diff --git a/compiled/wechat/demo/pages/Tag/index.json b/compiled/wechat/demo/pages/Tag/index.json deleted file mode 100644 index 327a43797..000000000 --- a/compiled/wechat/demo/pages/Tag/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Tag", - "usingComponents": { - "ant-tag": "../../../src/Tag/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tag/index.wxml b/compiled/wechat/demo/pages/Tag/index.wxml deleted file mode 100644 index 40d944ed6..000000000 --- a/compiled/wechat/demo/pages/Tag/index.wxml +++ /dev/null @@ -1,60 +0,0 @@ - - - 标签 - - - - default - success - warning - danger - - - - - fill - outline - fill-light - - - - - 标签 - 标签 - 标签 - 标签 - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Tag/index.wxss b/compiled/wechat/demo/pages/Tag/index.wxss deleted file mode 100644 index a306def7f..000000000 --- a/compiled/wechat/demo/pages/Tag/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -.myTag { - margin-right: 16rpx; -} diff --git a/compiled/wechat/demo/pages/Toast/index.js b/compiled/wechat/demo/pages/Toast/index.js deleted file mode 100644 index 20b6f0ba1..000000000 --- a/compiled/wechat/demo/pages/Toast/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Page({ - data: { - toast1Show: false, - toast2Show: false, - toast3Show: false, - toast4Show: false, - toast5Show: false, - toast6Show: false, - toast7Show: false, - toast8Show: false, - toast9Show: false, - toast10Show: false, - }, - handleShowToast(e) { - const { index } = e.target.dataset; - this.setData({ - toast1Show: false, - toast2Show: false, - toast3Show: false, - toast4Show: false, - toast5Show: false, - toast6Show: false, - toast7Show: false, - toast10Show: false, - }); - this.setData({ - [`toast${index}Show`]: true - }); - console.log(this.data); - }, - handleCloseToast(e) { - const { index } = e.target.dataset; - this.setData({ - [`toast${index}Show`]: false - }); - } -}); diff --git a/compiled/wechat/demo/pages/Toast/index.json b/compiled/wechat/demo/pages/Toast/index.json deleted file mode 100644 index bde455887..000000000 --- a/compiled/wechat/demo/pages/Toast/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "Toast", - "usingComponents": { - "ant-toast": "../../../src/Toast/index", - "ant-button": "../../../src/Button/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Toast/index.wxml b/compiled/wechat/demo/pages/Toast/index.wxml deleted file mode 100644 index 78be641db..000000000 --- a/compiled/wechat/demo/pages/Toast/index.wxml +++ /dev/null @@ -1,170 +0,0 @@ - - - 简短文字 - 过长文字 - - - 成功提示 - 失败提示 - 警告提示 - 自定义图标 - 自定义图片 - 加载态 - 支付宝 - - - 提示持续3s - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Toast/index.wxss b/compiled/wechat/demo/pages/Toast/index.wxss deleted file mode 100644 index cab31720f..000000000 --- a/compiled/wechat/demo/pages/Toast/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.image { - width: 80rpx; - height: 80rpx; -} -.button { - margin-left: 12px; -} diff --git a/compiled/wechat/demo/pages/Typography/index.js b/compiled/wechat/demo/pages/Typography/index.js deleted file mode 100644 index 2757360a6..000000000 --- a/compiled/wechat/demo/pages/Typography/index.js +++ /dev/null @@ -1,24 +0,0 @@ -Page({ - data: {}, - handleTap(e) { - const { type, text } = e.currentTarget.dataset; - if (type === 'copy') { - // @ts-ignore - wx.setClipboardData({ - data: text, - success() { - // @ts-ignore - wx.showToast({ title: `复制成功` }); - }, - }); - return; - } - // @ts-ignore - wx.showToast({ title: `点击${type}` }); - }, - handleDisabledTap(e) { - const { type } = e.currentTarget.dataset; - // @ts-ignore - wx.showToast({ title: `禁用状态下点击${type}` }); - }, -}); diff --git a/compiled/wechat/demo/pages/Typography/index.json b/compiled/wechat/demo/pages/Typography/index.json deleted file mode 100644 index 4b5b42995..000000000 --- a/compiled/wechat/demo/pages/Typography/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "navigationBarTitleText": "Typography", - "usingComponents": { - "ant-typography": "../../../src/Typography/index", - "ant-container": "../../../src/Container/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Typography/index.wxml b/compiled/wechat/demo/pages/Typography/index.wxml deleted file mode 100644 index 7c2aa09bc..000000000 --- a/compiled/wechat/demo/pages/Typography/index.wxml +++ /dev/null @@ -1,90 +0,0 @@ - - - 简短文字 - 简短文字中等加粗 - 简短文字重度加粗 - 简短文字 - 简短文字 - 完整展示:Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. - 超出 3 行的内容省略展示:Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. - - - 链接禁用 - 链接 - 复制 - 删除 - 编辑 - 定位 - 分享 - 分享试试 - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/Typography/index.wxss b/compiled/wechat/demo/pages/Typography/index.wxss deleted file mode 100644 index 4e1c25d2a..000000000 --- a/compiled/wechat/demo/pages/Typography/index.wxss +++ /dev/null @@ -1,3 +0,0 @@ -.typography { - margin-bottom: 16px; -} diff --git a/compiled/wechat/demo/pages/index/index.js b/compiled/wechat/demo/pages/index/index.js deleted file mode 100644 index 836bf53e0..000000000 --- a/compiled/wechat/demo/pages/index/index.js +++ /dev/null @@ -1,56 +0,0 @@ -//@ts-ignore -import { componentList, allComponents } from '../../utils/constants'; -Page({ - data: { - componentList, - finding: false, - searchResult: [], - }, - onShow() { - this.setData({ - finding: false, - searchResult: [], - }); - }, - onClearSearch() { - this.setData({ - finding: false, - searchResult: [], - }); - }, - onSearch(e) { - e = e.detail; - if (e.length > 0) { - const result = []; - allComponents.forEach((searchKey) => { - if (searchKey.name.toLowerCase().match(e)) { - result.push(searchKey); - } - }); - this.setData({ - finding: true, - searchResult: result, - }); - } - else { - this.setData({ - finding: false, - searchResult: [], - }); - } - }, - listPress(e) { - console.log('11'); - if (typeof my === 'undefined') { - console.log('navigateTo', e.currentTarget.dataset.url); - //@ts-ignore - wx.navigateTo({ - url: '/demo' + e.currentTarget.dataset.url, - }); - return; - } - my.navigateTo({ - url: e.currentTarget.dataset.url, - }); - }, -}); diff --git a/compiled/wechat/demo/pages/index/index.json b/compiled/wechat/demo/pages/index/index.json deleted file mode 100644 index 8c7f910f0..000000000 --- a/compiled/wechat/demo/pages/index/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "navigationBarTitleText": "", - "usingComponents": { - "ant-list": "../../../src/List/index", - "ant-list-item": "../../../src/List/ListItem/index", - "ant-tag": "../../../src/Tag/index", - "ant-icon": "../../../src/Icon/index", - "ant-input": "../../../src/Input/index" - }, - "transparentTitle": "always" -} \ No newline at end of file diff --git a/compiled/wechat/demo/pages/index/index.wxml b/compiled/wechat/demo/pages/index/index.wxml deleted file mode 100644 index 218740aa7..000000000 --- a/compiled/wechat/demo/pages/index/index.wxml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - Ant Design Mini - - - - 探索移动端小程序的极致体验 - - - - - - - - - - - - - {{item.name}}{{item.nameZN}} - - - - - - - - - {{item.type}} - - - {{itemList.name}} - Update - - - {{itemList.nameZN}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/demo/pages/index/index.wxss b/compiled/wechat/demo/pages/index/index.wxss deleted file mode 100644 index 4fffbc0ac..000000000 --- a/compiled/wechat/demo/pages/index/index.wxss +++ /dev/null @@ -1,46 +0,0 @@ -page { - width: 100vw; - height: 100vh; - overflow-y: scroll; -} -.list { - margin-bottom: 24rpx; -} -.demo-header { - padding-top: 100rpx; - display: flex; - flex-direction: column; - position: relative; - height: 460rpx; - margin-bottom: 66rpx; - align-items: center; - justify-content: center; - color: white; - width: 100vw; - text-align: center; - background: #0170fe; -} -.side-image { - position: absolute; - right: 0; - bottom: 0; - height: 180rpx; - opacity: 0.3; -} -.demo-header-title { - font-size: 32px; - font-weight: bold; - color: white; - margin-bottom: 16rpx; -} -.input-container { - position: absolute; - width: 100%; - top: 560rpx; - padding: 0 24rpx; - box-sizing: border-box; - transform: translateY(-50%); -} -.input { - padding: 16rpx; -} diff --git a/compiled/wechat/demo/utils/constants.js b/compiled/wechat/demo/utils/constants.js deleted file mode 100644 index 55e70cce6..000000000 --- a/compiled/wechat/demo/utils/constants.js +++ /dev/null @@ -1,363 +0,0 @@ -export const componentList = [ - { - type: '通用', - list: [ - { - name: 'Button', - nameZN: '按钮', - path: '/pages/Button/index', - }, - { - name: 'Icon', - nameZN: '图标', - path: '/pages/Icon/index', - }, - { - name: 'Sticky', - nameZN: '黏性吸附', - path: '/pages/Sticky/index', - }, - ], - }, - { - type: '导航', - list: [ - { - name: 'TabBar', - nameZN: 'TabBar底部标签栏', - path: '/pages/TabBar/index', - }, - { - name: 'Tabs', - nameZN: '标签页', - path: '/pages/Tabs/index', - }, - { - name: 'TabsElevator', - nameZN: '标签页-电梯模式', - path: '/pages/Tabs/TabsElevator/index', - }, - { - name: 'TabsVerticalElevator', - nameZN: '标签页-纵向电梯模式', - path: '/pages/Tabs/TabsVerticalElevator/index', - }, - ], - }, - { - type: '信息展示', - list: [ - { - name: 'Card', - nameZN: '基础卡片', - path: '/pages/Card/index', - }, - { - name: 'Avatar', - nameZN: '头像', - path: '/pages/Avatar/index', - }, - { - name: 'Collapse', - nameZN: '折叠面板', - path: '/pages/Collapse/index', - }, - { - name: 'Grid', - nameZN: '宫格', - path: '/pages/Grid/index', - }, - { - name: 'List', - nameZN: '列表', - path: '/pages/List/index', - }, - { - name: 'SwipeAction', - nameZN: '滑动操作', - path: '/pages/SwipeAction/index', - }, - { - name: 'Steps', - nameZN: '步骤条', - path: '/pages/Steps/index', - }, - { - name: 'GuideTour', - nameZN: '新手引导', - path: '/pages/GuideTour/index', - }, - { - name: 'Tag', - nameZN: ' 标签', - path: '/pages/Tag/index', - }, - { - name: 'Progress', - nameZN: '进度条', - path: '/pages/Progress/index', - }, - { - name: 'Divider', - nameZN: '分割线', - path: '/pages/Divider/index', - }, - ], - }, - { - type: '信息录入', - list: [ - { - name: 'Checkbox', - nameZN: '复选框', - path: '/pages/Checkbox/index', - }, - { - name: 'Checklist', - nameZN: '可勾选列表', - path: '/pages/Checklist/index', - }, - { - name: 'Form', - nameZN: '表单', - path: '/pages/Form/index', - }, - { - name: 'Input', - nameZN: '输入框', - path: '/pages/Input/index', - }, - { - name: 'InputCustom', - nameZN: '输入框-自定义', - path: '/pages/InputCustom/index', - }, - { - name: 'InputTextarea', - nameZN: '输入框-textarea', - path: '/pages/InputTextarea/index', - }, - { - name: 'InputSearchBar', - nameZN: '输入框-搜索框', - path: '/pages/InputSearchBar/index', - }, - { - name: 'Picker', - nameZN: '选择器', - path: '/pages/Picker/index', - }, - { - name: 'DatePicker', - nameZN: '时间选择器', - path: '/pages/DatePicker/index', - }, - { - name: 'Radio', - nameZN: '单选框', - path: '/pages/Radio/index', - }, - { - name: 'Selector', - nameZN: '选择组', - path: '/pages/Selector/index', - }, - { - name: 'Slider', - nameZN: '滑动输入条', - path: '/pages/Slider/index', - }, - { - name: 'Stepper', - nameZN: '步进器', - path: '/pages/Stepper/index', - }, - { - name: 'Switch', - nameZN: '开关', - path: '/pages/Switch/index', - }, - { - name: 'ImageUpload', - nameZN: '图片上传', - path: '/pages/ImageUpload/index', - }, - { - name: 'Rate', - nameZN: '星级', - path: '/pages/Rate/index', - }, - { - name: 'RareWordsKeyboard', - nameZN: '生僻字输入键盘', - path: '/pages/RareWordsKeyboard/index', - }, - { - name: 'Calendar', - nameZN: '日历', - path: '/pages/Calendar/index', - }, - { - name: 'NumberKeyboard', - nameZN: '数字键盘-基本使用', - path: '/pages/NumberKeyboard/index', - }, - { - name: 'NumberKeyboardAmount', - nameZN: '数字键盘-金额输入框', - path: '/pages/NumberKeyboardAmount/index', - }, - { - name: 'NumberKeyboardCode', - nameZN: '数字键盘-验证码输入框', - path: '/pages/NumberKeyboardCode/index', - }, - { - name: 'NumberKeyboardNumber', - nameZN: '数字键盘-数字输入框', - path: '/pages/NumberKeyboardNumber/index', - }, - { - name: 'Postscript', - nameZN: '资金附言', - path: '/pages/Postscript/index', - }, - { - name: 'NumberInput', - nameZN: '金额输入框', - path: '/pages/NumberInput/index', - }, - ], - }, - { - type: '反馈', - list: [ - { - name: 'ActionSheet', - nameZN: '动作面板', - path: '/pages/ActionSheet/index', - }, - { - name: 'Loading', - nameZN: '加载中', - path: '/pages/Loading/index', - }, - { - name: 'Skeleton', - nameZN: '骨架屏', - path: '/pages/Skeleton/index', - }, - { - name: 'Dialog', - nameZN: '弹窗', - path: '/pages/Dialog/index', - }, - { - name: 'Popover', - nameZN: '气泡卡片', - path: '/pages/Popover/index', - }, - { - name: 'PopoverList', - nameZN: '气泡菜单', - path: '/pages/PopoverList/index', - }, - { - name: 'Popup', - nameZN: '弹出层', - path: '/pages/Popup/index', - }, - { - name: 'Result', - nameZN: '操作结果', - path: '/pages/Result/index', - }, - { - name: 'Empty', - nameZN: '空状态', - path: '/pages/Empty/index', - }, - { - name: 'Toast', - nameZN: '轻提示', - path: '/pages/Toast/index', - }, - { - name: 'Feedback', - nameZN: '信息反馈', - path: '/pages/Feedback/index', - }, - ], - }, - { - type: '引导提示', - list: [ - { - name: 'Badge', - nameZN: '徽标', - path: '/pages/Badge/index', - }, - { - name: 'NoticeBar', - nameZN: '通告栏', - path: '/pages/NoticeBar/index', - }, - ], - }, - { - type: '业务组件', - list: [ - { - name: 'Countdown', - nameZN: '倒计时', - path: '/pages/Countdown/index', - }, - ], - }, - { - type: '实验性', - list: [ - { - name: 'AutoResize', - nameZN: '文本自适应', - path: '/pages/AutoResize/index', - }, - { - name: 'ConfigProvider', - nameZN: '全局容器', - path: '/pages/ConfigProvider/index', - }, - { - name: 'PageContainer', - nameZN: '页面容器', - path: '/pages/PageContainer/index', - }, - { - name: 'Typography', - nameZN: '排版', - path: '/pages/Typography/index', - }, - { - name: 'SafeArea', - nameZN: '安全区', - path: '/pages/SafeArea/index', - }, - ], - }, - { - type: '待废弃', - list: [ - { - name: 'Container', - nameZN: '容器', - path: '/pages/Container/index', - }, - { - name: 'Modal', - nameZN: '对话框', - path: '/pages/Modal/index', - }, - ], - }, -]; -export const allComponents = componentList.reduce((re, v) => [...re, ...v.list], []); diff --git a/compiled/wechat/src/ActionSheet/index.en.md b/compiled/wechat/src/ActionSheet/index.en.md deleted file mode 100644 index e36167045..000000000 --- a/compiled/wechat/src/ActionSheet/index.en.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# ActionSheet - -Actions menu panel that pops up from the bottom. Triggered by a user action, providing a set of two or more options related to the action, allowing the user to complete the action without leaving the field. Compared with the dialog box, the position of the action panel is more suitable for the scene of one-handed operation in the era of large screen. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-action-sheet": "antd-mini/es/ActionSheet/index" -#endif -#if WECHAT - "ant-action-sheet": "antd-mini/ActionSheet/index" -#endif -} -``` - -## Code example - -### Basic use - -> `ant-action-sheet` Components must pass `visible` Property controls the show/hide state.`actions` property passes in the data to drive the options rendering. - -```xml - - - - Open Panel - -``` - -```js -Page({ - data: { - visible: true, - actions: [ - { - text: 'copy', - key: 'copy', - }, - { - text: 'modify', - key: 'modify', - }, - ], - }, - handleOpen() { - this.setData({ - visible: true, - }); - }, - handleClose(e) { - this.setData({ - visible: false, - }); - }, - handleAction(item, index, e) { -#if ALIPAY - if (item.key === 'delete') { - my.confirm({ - content: 'are you sure?', - }); - return; - } - my.alert({ content: `you clicked ${item.key}` }); -#endif -#if WECHAT - const [clickItem, clickIndex] = item.detail; - wx.showToast({ title: `you clicked ${clickItem.key}(${clickIndex})` }); -#endif - }, -}); -``` - -### Option Status - -> [actions](#actionsheetitem) Each of the provided `icon` `danger` `description` `disabled` Used to set the option state. - -```xml - -``` - -```js -Page({ - data: { - actions: [ - { - text: 'copy', - key: 'copy', - description: 'select copy content', - }, - { - text: 'modify', - key: 'modify', - disabled: true, - }, - { - text: 'delete', - key: 'delete', - danger: true, - }, - { - text: 'backup', - key: 'backup', - description: 'select backup content', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*I0oNS4RCQzUAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'save', - key: 'save', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*BNczQ7hmp2gAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'sync', - key: 'sync', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*eRaVSrV56dIAAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| actions | Panel Options List | [ActionSheetItem](#actionsheetitem)[] | [] | -| cancelText | Cancel Button Text | string | Cancel | -| className | Class Name | string | - | -| style | Style | string | - | -| title | Title | string | - | -| visible | Whether to expand | boolean | false | -| zIndex | Pop-up Level | number | 998 | -| #if ALIPAY onClose | Trigger on shutdown | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onAction | Triggered when option is clicked, not triggered when disabled | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:close | Trigger on shutdown | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:action | Triggered when option is clicked, not triggered when disabled | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### ActionSheetItem - -| Property | Description | Type | Default Value | -| ----------- | ------------ | ------- | ------ | -| text | Text | string | - | -| icon | Icons | - | - | -| danger | Whether dangerous mode | boolean | false | -| description | Description | string | - | -| disabled | Disable | boolean | false | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --actionsheet-danger-color |
#ff3141
|
#ff4a58
| Hazardous color | -| --actionsheet-title-color |
#999999
|
#616161
| Title Color | -| --actionsheet-item-color |
#333333
|
#c5cad1
| Item Color | -| --actionsheet-item-active-bg |
#eeeeee
|
#2b2b2b
| Entries Activate Background Color | -| --activesheet-item-cancel-bg |
#f5f5f5
|
#121212
| Entries cancel background color | diff --git a/compiled/wechat/src/ActionSheet/index.js b/compiled/wechat/src/ActionSheet/index.js deleted file mode 100644 index a5f13c328..000000000 --- a/compiled/wechat/src/ActionSheet/index.js +++ /dev/null @@ -1,14 +0,0 @@ -import { Component, triggerEventOnly, triggerEventValues, } from '../_util/simply'; -import { ActionSheetDefaultProps } from './props'; -Component(ActionSheetDefaultProps, { - onAction: function (e) { - var _a = e.currentTarget.dataset, item = _a.item, index = _a.index; - if (item === null || item === void 0 ? void 0 : item.disabled) - return; - triggerEventOnly(this, 'close', e); - triggerEventValues(this, 'action', [item, index], e); - }, - onClose: function (e) { - triggerEventOnly(this, 'close', e); - }, -}); diff --git a/compiled/wechat/src/ActionSheet/index.json b/compiled/wechat/src/ActionSheet/index.json deleted file mode 100644 index e1a7501d8..000000000 --- a/compiled/wechat/src/ActionSheet/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/wechat/src/ActionSheet/index.md b/compiled/wechat/src/ActionSheet/index.md deleted file mode 100644 index 76eeb9643..000000000 --- a/compiled/wechat/src/ActionSheet/index.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# ActionSheet 动作面板 - -从底部弹出的动作菜单面板。由用户操作触发,提供一组与操作相关的两个或多个选项,让用户在不离场的情况下完成操作。相比于对话框,动作面板的位置更适合于在大屏幕时代单手操作的场景。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-action-sheet": "antd-mini/es/ActionSheet/index" -#endif -#if WECHAT - "ant-action-sheet": "antd-mini/ActionSheet/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `ant-action-sheet` 组件必须通过 `visible` 属性控制显示/隐藏状态。`actions` 属性传入数据驱动选项渲染。 - -```xml - - - - 打开面板 - -``` - -```js -Page({ - data: { - visible: true, - actions: [ - { - text: 'copy', - key: 'copy', - }, - { - text: 'modify', - key: 'modify', - }, - ], - }, - handleOpen() { - this.setData({ - visible: true, - }); - }, - handleClose(e) { - this.setData({ - visible: false, - }); - }, - handleAction(item, index, e) { -#if ALIPAY - if (item.key === 'delete') { - my.confirm({ - content: 'are you sure?', - }); - return; - } - my.alert({ content: `you clicked ${item.key}` }); -#endif -#if WECHAT - const [clickItem, clickIndex] = item.detail; - wx.showToast({ title: `you clicked ${clickItem.key}(${clickIndex})` }); -#endif - }, -}); -``` - -### 选项状态 - -> [actions](#actionsheetitem) 的每一项提供 `icon` `danger` `description` `disabled` 用来设置选项状态。 - -```xml - -``` - -```js -Page({ - data: { - actions: [ - { - text: 'copy', - key: 'copy', - description: 'select copy content', - }, - { - text: 'modify', - key: 'modify', - disabled: true, - }, - { - text: 'delete', - key: 'delete', - danger: true, - }, - { - text: 'backup', - key: 'backup', - description: 'select backup content', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*I0oNS4RCQzUAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'save', - key: 'save', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*BNczQ7hmp2gAAAAAAAAAAAAAARQnAQ', - }, - { - text: 'sync', - key: 'sync', - icon: 'https://gw.alipayobjects.com/mdn/rms_e7937b/afts/img/A*eRaVSrV56dIAAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| actions | 面板选项列表 | [ActionSheetItem](#actionsheetitem)[] | [] | -| cancelText | 取消按钮文字 | string | 取消 | -| className | 类名 | string | - | -| style | 样式 | string | - | -| title | 标题 | string | - | -| visible | 是否展开 | boolean | false | -| zIndex | 弹窗层级 | number | 998 | -| #if ALIPAY onClose | 关闭时触发 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onAction | 点击选项时触发,禁用状态下不会触发 | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:close | 关闭时触发 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:action | 点击选项时触发,禁用状态下不会触发 | (item: [ActionSheetItem](#actionsheetitem), index: number, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### ActionSheetItem - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ------------ | ------- | ------ | -| text | 文本 | string | - | -| icon | 图标 | - | - | -| danger | 是否危险模式 | boolean | false | -| description | 描述 | string | - | -| disabled | 是否禁用 | boolean | false | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --actionsheet-danger-color |
#ff3141
|
#ff4a58
| 危险颜色 | -| --actionsheet-title-color |
#999999
|
#616161
| 标题颜色 | -| --actionsheet-item-color |
#333333
|
#c5cad1
| 条目颜色 | -| --actionsheet-item-active-bg |
#eeeeee
|
#2b2b2b
| 条目激活背景色 | -| --activesheet-item-cancel-bg |
#f5f5f5
|
#121212
| 条目取消背景色 | diff --git a/compiled/wechat/src/ActionSheet/index.wxml b/compiled/wechat/src/ActionSheet/index.wxml deleted file mode 100644 index d79ea2ec1..000000000 --- a/compiled/wechat/src/ActionSheet/index.wxml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - {{title}} - - - - - - - {{item.text}} - {{item.description}} - - - - - - {{cancelText}} - - \ No newline at end of file diff --git a/compiled/wechat/src/ActionSheet/index.wxs b/compiled/wechat/src/ActionSheet/index.wxs deleted file mode 100644 index b4b13e2b1..000000000 --- a/compiled/wechat/src/ActionSheet/index.wxs +++ /dev/null @@ -1,8 +0,0 @@ -function isIconMode(actions) { - return actions.some(function (action) { - return !!action.icon; - }); -} -module.exports = { - isIconMode: isIconMode -}; \ No newline at end of file diff --git a/compiled/wechat/src/ActionSheet/index.wxss b/compiled/wechat/src/ActionSheet/index.wxss deleted file mode 100644 index b80666847..000000000 --- a/compiled/wechat/src/ActionSheet/index.wxss +++ /dev/null @@ -1,105 +0,0 @@ -.ant-actionsheet { - padding-left: 24rpx; - padding-right: 24rpx; - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} -.ant-actionsheet-title-wrap { - text-align: center; - position: relative; - margin: 0 -24rpx; -} -.ant-actionsheet-title-content { - display: inline-block; - text-align: left; - padding: 36rpx 30rpx; - font-size: 30rpx; - color: var(--actionsheet-title-color, #999999); -} -.ant-actionsheet-title-content::after { - content: ''; - position: absolute; - background-color: var(--actionsheet-item-active-bg, #e5e5e5); - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-actionsheet-list { - margin: 0 -24rpx; -} -.ant-actionsheet-list-item { - color: var(--actionsheet-item-color, #333333); - padding: 32rpx 30rpx; - text-align: center; - position: relative; - font-size: 36rpx; -} -.ant-actionsheet-list-item::after { - content: ''; - position: absolute; - background-color: var(--actionsheet-item-active-bg, #e5e5e5); - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-actionsheet-list-item-title-danger { - color: var(--actionsheet-danger-color, #ff3141); - font-weight: bold; -} -.ant-actionsheet-list-item-description { - color: var(--actionsheet-title-color, #999999); - font-size: 28rpx; - line-height: 40rpx; - margin-top: 8rpx; -} -.ant-actionsheet-list-item-active { - background-color: var(--actionsheet-item-active-bg, #e5e5e5); -} -.ant-actionsheet-list-item:last-child.ant-actionsheet-list-item:last-child:after { - display: none; -} -.ant-actionsheet-list-item-disabled .ant-actionsheet-list-item-icon, -.ant-actionsheet-list-item-disabled .ant-actionsheet-list-item-content { - opacity: 0.4; -} -.ant-actionsheet-cancel-gap { - height: 16rpx; - background: var(--activesheet-item-cancel-bg, #f5f5f5); - margin: 0 -24rpx; -} -.ant-actionsheet-cancel { - color: var(--actionsheet-item-color, #333333); - padding: 32rpx 30rpx; - font-size: 36rpx; - text-align: center; - margin: 0 -24rpx; -} -.ant-actionsheet-cancel:active { - background-color: var(--actionsheet-item-active-bg, #e5e5e5); -} -.ant-actionsheet-icon .ant-actionsheet-title-wrap { - text-align: left; -} -.ant-actionsheet-icon .ant-actionsheet-list-item { - display: flex; - align-items: center; -} -.ant-actionsheet-icon .ant-actionsheet-list-item-icon { - height: 48rpx; - flex: 0 0 48rpx; - margin-right: 24rpx; - background-size: contain; - background-position: center center; - background-repeat: no-repeat; -} -.ant-actionsheet-icon .ant-actionsheet-list-item-content { - text-align: left; -} diff --git a/compiled/wechat/src/ActionSheet/props.js b/compiled/wechat/src/ActionSheet/props.js deleted file mode 100644 index 62c567848..000000000 --- a/compiled/wechat/src/ActionSheet/props.js +++ /dev/null @@ -1,8 +0,0 @@ -export var ActionSheetDefaultProps = { - title: '', - actions: [], - cancelText: '取消', - visible: false, - // 弹窗层级 - zIndex: 998, -}; diff --git a/compiled/wechat/src/ActionSheet/variable.wxss b/compiled/wechat/src/ActionSheet/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/AutoResize/index.en.md b/compiled/wechat/src/AutoResize/index.en.md deleted file mode 100644 index 4cd697e80..000000000 --- a/compiled/wechat/src/AutoResize/index.en.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -nav: - path: /components -group: - title: Other - order: 16 -toc: 'content' ---- - -# AutoResize - -When multi-language adaptation of existing components is required, this component can be used in the original layout to complete the adaptation of different lengths of text in the component; - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-auto-resize": "antd-mini/es/AutoResize/index" -#endif -#if WECHAT - "ant-auto-resize": "antd-mini/AutoResize/index" -#endif -} -``` - -## Code example - - - -## API - -| Property | Description | Type | Default Value | -| ----------- | ----------------------------------------------------------------------------------------------------------------------- | ------- | ------ | -| text | Text to be passed in, used to calculate the width | string | - | -| minFontSize | The minimum font size limit can be set according to the business. | number | 30 | -| maxFontSize | The original design font size of the area, the maximum size cannot exceed this font size. | number | 36 | -| wrap | Whether to support line feed | boolean | false | -| ratio | Copy width ratio, calculated `maxFontSize / ratio * length of copy`, there are scenes where the English characters are long but the container width is enough to display, but the font is reduced, which can be increased at this time. | diff --git a/compiled/wechat/src/AutoResize/index.js b/compiled/wechat/src/AutoResize/index.js deleted file mode 100644 index acd235ebd..000000000 --- a/compiled/wechat/src/AutoResize/index.js +++ /dev/null @@ -1,117 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { Component, getValueFromProps } from '../_util/simply'; -import { AutoResizeDefaultProps } from './props'; -Component(AutoResizeDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - getBoundingClientRect: function (query) { - return __awaiter(this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), query)]; - case 1: return [2 /*return*/, _a.sent()]; - } - }); - }); - }, - adjustFontSize: function () { - var _this = this; - // 用createSelectorQuery来获取容器尺寸信息 - this.getBoundingClientRect('.ant-autoresize-fontsize-container').then(function (rect) { - if (!rect) - return; - var _a = getValueFromProps(_this, [ - 'text', - 'maxFontSize', - 'ratio', - ]), text = _a[0], maxFontSize = _a[1], ratio = _a[2]; - // 假设自适应逻辑是基于容器宽度来设置字号 - var containerWidth = rect.width; - var textLength = text.length; - /** 判断是否还有空隙 总宽度 - 字体宽度 > 0 */ - var hasSpace = containerWidth - (maxFontSize / ratio) * textLength > 0; - if (!hasSpace) { - _this.checkTextOverflow(); - } - }); - }, - // 检查是否超长 - checkTextOverflow: function () { - var _this = this; - // 子组件插槽的类名是default-slot - Promise.all([ - this.getBoundingClientRect('.ant-autoresize-slot'), - this.getBoundingClientRect('.ant-autoresize-fontsize-container'), - ]).then(function (rects) { - var textRect = rects[0]; - var containerRect = rects[1]; - if (textRect && containerRect) { - var _a = getValueFromProps(_this, [ - 'wrap', - 'minFontSize', - ]), wrap = _a[0], minFontSize = _a[1]; - var newStyle = ''; - // 如果容器宽度小于文本宽度,且容器高度支持换行,则换行; - // wrap为true时,文案超长会换行,注意样式如margin-top重叠 - if (containerRect.height / 2 > textRect.height || wrap) { - newStyle = "font-size: ".concat(minFontSize, "rpx; overflow: visible; white-space: pre-wrap; word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;"); - } - else { - // 如果不支持换行,则直接出现省略号; - newStyle = "font-size: ".concat(minFontSize, "rpx; max-width: ").concat(textRect.width, "px; width: ").concat(textRect.width, "px; overflow: hidden; display: inline-block; text-overflow: ellipsis; white-space: nowrap; -webkit-box-orient: vertical;"); - } - // 设置样式... - _this.setData({ - wrapAndEllipsisStyle: newStyle, - }); - } - }); - }, -}, { - /** 换行或省略号样式 */ - wrapAndEllipsisStyle: '', -}, undefined, { - attached: function () { - this.adjustFontSize(); - }, -}); diff --git a/compiled/wechat/src/AutoResize/index.json b/compiled/wechat/src/AutoResize/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/AutoResize/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/AutoResize/index.md b/compiled/wechat/src/AutoResize/index.md deleted file mode 100644 index e6b0dd7c8..000000000 --- a/compiled/wechat/src/AutoResize/index.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -nav: - path: /components -group: - title: 实验性 - order: 16 -toc: 'content' ---- - -# AutoResize 文本自适应 - -当需要对现有组件做多语言适配时,可以在原布局中使用本组件,以完成不同长度的文本在组件中的适配;通过计算当前文字的长宽和当前文案所处的容器长宽自动进行适配,且支持通过ratio来计算放大比例; - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-auto-resize": "antd-mini/es/AutoResize/index" -#endif -#if WECHAT - "ant-auto-resize": "antd-mini/AutoResize/index" -#endif -} -``` - -## 代码示例 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ----------------------------------------------------------------------------------------------------------------------- | ------- | ------ | -| text | 要传入的文本,用来计算宽度 | string | - | -| minFontSize | 最小字号限制,可以根据业务自行设置 | number | 30 | -| maxFontSize | 该区域的原设计字号,最大不能超过该字号 | number | 36 | -| wrap | 是否支持换行 | boolean | false | -| ratio | 文案宽度比,计算方式为 `maxFontSize / ratio * 文案长度`,有场景英文字符长但容器宽度足够显示,却缩小了字体,此时可以增大 | diff --git a/compiled/wechat/src/AutoResize/index.wxml b/compiled/wechat/src/AutoResize/index.wxml deleted file mode 100644 index ab4012e39..000000000 --- a/compiled/wechat/src/AutoResize/index.wxml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/AutoResize/index.wxss b/compiled/wechat/src/AutoResize/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/AutoResize/props.js b/compiled/wechat/src/AutoResize/props.js deleted file mode 100644 index dd7ddf773..000000000 --- a/compiled/wechat/src/AutoResize/props.js +++ /dev/null @@ -1,7 +0,0 @@ -export var AutoResizeDefaultProps = { - text: '', - minFontSize: 30, - maxFontSize: 36, - wrap: false, - ratio: 2, -}; diff --git a/compiled/wechat/src/AutoResize/variable.wxss b/compiled/wechat/src/AutoResize/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Avatar/index.en.md b/compiled/wechat/src/Avatar/index.en.md deleted file mode 100644 index 51c660374..000000000 --- a/compiled/wechat/src/Avatar/index.en.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: content ---- - -# Avatar - -When you need to show the characteristics of people or things more intuitively. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-avatar": "antd-mini/es/Avatar/index" -#endif -#if WECHAT - "ant-avatar": "antd-mini/Avatar/index" -#endif -} -``` - -## Code example - -### Basic use -```xml - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -|---------|----------|------|-----------| -| className | Class Name | string | - | -| size | size, optional `x-small`、`small`、`medium`、`large` | string | `medium` | -| src | avatar address | string | Gray built-in picture | -| style | Style | string | - | diff --git a/compiled/wechat/src/Avatar/index.js b/compiled/wechat/src/Avatar/index.js deleted file mode 100644 index b935281d9..000000000 --- a/compiled/wechat/src/Avatar/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../_util/simply'; -import { AvatarDefaultProps } from './props'; -Component(AvatarDefaultProps); diff --git a/compiled/wechat/src/Avatar/index.json b/compiled/wechat/src/Avatar/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Avatar/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Avatar/index.md b/compiled/wechat/src/Avatar/index.md deleted file mode 100644 index ff7995fde..000000000 --- a/compiled/wechat/src/Avatar/index.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: content ---- - -# Avatar 头像 - -需要更加直观地展现人物或事物特征时。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-avatar": "antd-mini/es/Avatar/index" -#endif -#if WECHAT - "ant-avatar": "antd-mini/Avatar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 -```xml - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -|---------|----------|------|-----------| -| className | 类名 | string | - | -| size | 大小,可选 `x-small`、`small`、`medium`、`large` | string | `medium` | -| src | 头像地址 | string | 灰色内置图片 | -| style | 样式 | string | - | diff --git a/compiled/wechat/src/Avatar/index.wxml b/compiled/wechat/src/Avatar/index.wxml deleted file mode 100644 index 534618bea..000000000 --- a/compiled/wechat/src/Avatar/index.wxml +++ /dev/null @@ -1,13 +0,0 @@ - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Avatar/index.wxs b/compiled/wechat/src/Avatar/index.wxs deleted file mode 100644 index 86788de81..000000000 --- a/compiled/wechat/src/Avatar/index.wxs +++ /dev/null @@ -1,12 +0,0 @@ -function getClass(size) { - var list = ['x-small', 'small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-avatar-image-".concat(size); - } - return 'ant-avatar-image-medium'; -} -var defaultSrc = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTIwcHgiIGhlaWdodD0iMTIwcHgiIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPuS/oeaBr+Wxleekujo0MC/lpLTlg49BdmF0YXIv5Y2V5Zu+OjEv5bC65a+4OuWkpzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNOCwwIEwxMTIsMCBDMTE2LjQxODI3OCwtOC4xMTYyNDUwMWUtMTYgMTIwLDMuNTgxNzIyIDEyMCw4IEwxMjAsMTEyIEMxMjAsMTE2LjQxODI3OCAxMTYuNDE4Mjc4LDEyMCAxMTIsMTIwIEw4LDEyMCBDMy41ODE3MjIsMTIwIDUuNDEwODMwMDFlLTE2LDExNi40MTgyNzggMCwxMTIgTDAsOCBDLTUuNDEwODMwMDFlLTE2LDMuNTgxNzIyIDMuNTgxNzIyLDguMTE2MjQ1MDFlLTE2IDgsMCBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i5aS05YOPIj4KICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICA8dXNlIGlkPSJNYXNrIiBmaWxsPSIjRUVFRUVFIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8cGF0aCBkPSJNNjAuNzc4Mjk5MywyMS44MTgxODE4IEw1OS4yMjE2NTIzLDIxLjgxODE4MTggTDU4LjU3ODQzNTksMjEuODI5OTY0MSBMNTguNTc4NDM1NywyMS44Mjk5NjQxIEM0OS44MDIxNTI3LDIyLjE3NDgzNiA0Mi44NjQ3OTEzLDI5LjQxMDY0NyA0Mi44NjUyMDQzLDM4LjIxOTE2MzMgTDQyLjg2NTIwNDMsNDcuNDI0MDc1MSBMNDIuODg1NzYzNyw0OC4yMzQxMDc0IEw0Mi44ODU3NjI3LDQ4LjIzNDA4NTYgQzQzLjA5MDQ4MjMsNTIuNTUwMjgwNCA0NC45MjExODc0LDU2LjYyNzYzNTUgNDguMDA3OTc5LDU5LjY0MjI3OTQgTDUyLjExMTA1ODEsNjMuNjUxMjA1MiBMNTIuMzc1MzkzNiw2My45NDI4MTY3IEM1Mi44NzQ2OTQ0LDY0LjU1MjU0OTcgNTMuMTQ3ODQxMSw2NS4zMTgzOTg0IDUzLjE0Nzg0MTEsNjYuMTEzNzA2NiBMNTMuMTQ3ODQxMSw2Ni42NzMzNjQ1IEw1My4xMjE0MDc2LDY3LjA3NjkwODEgTDUzLjEyMTQwNzYsNjcuMDc2OTA3OSBDNTIuOTg3ODc0NSw2OC4xNTYyNzIxIDUyLjMzMDE4ODEsNjkuMDk5MzI3MyA1MS4zNjUwNDk2LDY5LjU5NTM3MDUgTDI1LjU1MTE3Myw4Mi44MzI3NjM1IEwyNS4xMDQ3MzkzLDgzLjA4MzEzNjUgTDI1LjEwNDczOTUsODMuMDgzMTM2NCBDMjMuMDY0NzcxNSw4NC4zMjk4MTQgMjEuODE5NDYyMiw4Ni41NTIwMDEgMjEuODE4MTgxOCw4OC45NDc3ODUyIEwyMS44MTgxODE4LDkwLjA5NjU1NzcgTDIxLjgzNTgwNDIsOTAuNTM4MzkzMiBDMjIuMDU5MDIwNCw5My4yODk1NTEzIDI0LjM1NTgwMjcsOTUuNDU0NTQ1NSAyNy4xNTc3NTksOTUuNDU0NTQ1NSBMOTIuODQyMjQxLDk1LjQ1NDU0NTUgTDkyLjg0MjI0MSw5NS40NTQ1NDU1IEM5NS43OTAwNjM3LDk1LjQ1NDU0NTUgOTguMTgwMTkzNiw5My4wNTg4MDI3IDk4LjE4MTgxODIsOTAuMTAyNDM5NiBMOTguMTgxODE4Miw4OC45NTM2NjcyIEM5OC4xODE4MTgyLDg2LjM3MDQwNjYgOTYuNzQyNjYyOCw4NC4wMDUxMDkxIDk0LjQ0ODgwODgsODIuODMyNzY3NSBMNjguNjM0OTMyMyw2OS41OTUzNzQ1IEw2OC42MzQ5MzIsNjkuNTk1Mzc0NCBDNjcuNTM5NzExNSw2OS4wMzM5NjU3IDY2Ljg1MDk3MDIsNjcuOTAzOTcyNyA2Ni44NTIxNDA0LDY2LjY3MDQyMyBMNjYuODUyMTQwNCw2Ni4xMTA3NjUxIEM2Ni44NTIxNDA0LDY1LjE4NTg1NTYgNjcuMjI4MDg0Nyw2NC4yOTkyMzk0IDY3Ljg4ODkyMzUsNjMuNjUxMjE4NSBMNzEuOTkyMDAyNSw1OS42NDIyOTI3IEw3MS45OTIwMDI5LDU5LjY0MjI5MjQgQzc1LjI3ODYwMTksNTYuNDMxNjgwNiA3Ny4xMzIxODU3LDUyLjAyNTQyMDQgNzcuMTMxODU1Myw0Ny40MjQwNjIyIEw3Ny4xMzE4NTUzLDM4LjIxOTE1MDQgTDc3LjEzMTg1NTMsMzguMjE5MTUxIEM3Ny4xMzE4NTUzLDI5LjE2MTE2MzMgNjkuODEwMTE5OCwyMS44MTgxODE4IDYwLjc3ODI5ODcsMjEuODE4MTgxOCBMNjAuNzc4Mjk5MywyMS44MTgxODE4IFoiIGlkPSLlvaLnirYiIGZpbGw9IiNDQ0NDQ0MiIGZpbGwtcnVsZT0ibm9uemVybyIgbWFzaz0idXJsKCNtYXNrLTIpIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4='; -module.exports = { - getClass: getClass, - defaultSrc: defaultSrc -}; \ No newline at end of file diff --git a/compiled/wechat/src/Avatar/index.wxss b/compiled/wechat/src/Avatar/index.wxss deleted file mode 100644 index cf787c97d..000000000 --- a/compiled/wechat/src/Avatar/index.wxss +++ /dev/null @@ -1,28 +0,0 @@ -.ant-avatar { - display: inline-flex; - align-items: center; -} -.ant-avatar-image { - width: 92rpx; - height: 92rpx; - border-radius: 50vh; -} -.ant-avatar-image-x-small { - width: 36rpx; - height: 36rpx; -} -.ant-avatar-image-small { - width: 60rpx; - height: 60rpx; -} -.ant-avatar-image-medium { - width: 92rpx; - height: 92rpx; -} -.ant-avatar-image-large { - width: 140rpx; - height: 140rpx; -} -.ant-avatar-circle { - border-radius: 100vh; -} diff --git a/compiled/wechat/src/Avatar/props.js b/compiled/wechat/src/Avatar/props.js deleted file mode 100644 index 2c5d41f6e..000000000 --- a/compiled/wechat/src/Avatar/props.js +++ /dev/null @@ -1,4 +0,0 @@ -export var AvatarDefaultProps = { - size: 'medium', - src: '', -}; diff --git a/compiled/wechat/src/Avatar/variable.wxss b/compiled/wechat/src/Avatar/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Badge/index.en.md b/compiled/wechat/src/Badge/index.en.md deleted file mode 100644 index 3dbba74c4..000000000 --- a/compiled/wechat/src/Badge/index.en.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Badge - -A logo that displays a red dot, number, or text. Used to remind the user of pending matters or new updated quantities. Use when you need to display numbers, text, or little red dots in the upper right corner. It is suitable for prompting new messages, functions or services for productization, attracting users' attention through conspicuous visual forms and prompting them to perform related operations. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-badge": "antd-mini/es/Badge/index" -#endif -#if WECHAT - "ant-badge": "antd-mini/Badge/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - -``` - -### with border - -```xml - -``` - -### Custom background and location - -```xml - - -``` - -### Set Offset - -```xml - - - -``` - -### Custom Content - -```xml - - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------- | -| bgColor | Custom background color, CSS color value | string | - | -| className | Class name of the component root node | string | - | -| offsetX | Horizontal offset | string | '-50%' | -| offsetY | Offset in vertical direction | string | '-50%' | -| position | Position of the logo relative to the container, options include:`top-left`、`top-right`、`top-center`、`left`、`right`、`bottom-left`、`bottom-center` and `bottom-right` | string | `top-right` | -| stroke | Does the logo have a stroke | boolean | false | -| style | Custom Style | object | - | -| text | Logo content. Empty means that only red dots are displayed. It can be numbers or text. If the number exceeds 99, it will be displayed `...` | string \| number \| slot | - | -| type | Logo type, options include:`dot`(red dot),`number`(Number type, more than 99 will be automatically converted),`text`(text bubbles) and `bubble`(Bubble form, with arrow) | string | `dot` | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --badge-text-color |
#ffffff
|
#ffffff
| Badge Text Color | -| --badge-background-color |
#ff3141
|
#ff4a58
| Badge background color | diff --git a/compiled/wechat/src/Badge/index.js b/compiled/wechat/src/Badge/index.js deleted file mode 100644 index 00ed70c2d..000000000 --- a/compiled/wechat/src/Badge/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../_util/simply'; -import { BadgeFunctionalProps } from './props'; -Component(BadgeFunctionalProps); diff --git a/compiled/wechat/src/Badge/index.json b/compiled/wechat/src/Badge/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Badge/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Badge/index.md b/compiled/wechat/src/Badge/index.md deleted file mode 100644 index daea642f3..000000000 --- a/compiled/wechat/src/Badge/index.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Badge 徽标 - -徽标,显示红点、数字或文字。用于提醒用户,有待处理的事项或者新的更新数量。当需要在右上角展示数字、文字或小红点时使用。适合于提示产品化的新消息、功能或服务等内容,通过显眼的视觉形式吸引用户注意,并促使其进行相关操作。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-badge": "antd-mini/es/Badge/index" -#endif -#if WECHAT - "ant-badge": "antd-mini/Badge/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - -``` - -### 带边框 - -```xml - -``` - -### 自定义背景和位置 - -```xml - - -``` - -### 设置偏移 - -```xml - - - -``` - -### 自定义内容 - -```xml - - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------- | -| bgColor | 自定义背景色,CSS 色值 | string | - | -| className | 组件根节点的类名 | string | - | -| offsetX | 水平方向偏移量 | string | '-50%' | -| offsetY | 垂直方向的偏移量 | string | '-50%' | -| position | 徽标相对于容器的位置,选项包括:`top-left`、`top-right`、`top-center`、`left`、`right`、`bottom-left`、`bottom-center` 和 `bottom-right` | string | `top-right` | -| stroke | 徽标是否带有描边 | boolean | false | -| style | 自定义样式 | object | - | -| text | 徽标内容,为空代表仅展示红点;可以是数字或文字;若是数字且超过 99,则显示为 `...` | string \| number \| slot | - | -| type | 徽标类型,选项包括:`dot`(红点)、`number`(数字类型,超过 99 会自动转换)、`text`(文字气泡)和 `bubble`(气泡形态,带有箭头) | string | `dot` | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --badge-text-color |
#ffffff
|
#ffffff
| Badge 文字颜色 | -| --badge-background-color |
#ff3141
|
#ff4a58
| Badge 背景颜色 | diff --git a/compiled/wechat/src/Badge/index.wxml b/compiled/wechat/src/Badge/index.wxml deleted file mode 100644 index b30e290c0..000000000 --- a/compiled/wechat/src/Badge/index.wxml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - 99+ - - {{text}} - - {{text}} - {{text}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Badge/index.wxs b/compiled/wechat/src/Badge/index.wxs deleted file mode 100644 index 59a3ca86d..000000000 --- a/compiled/wechat/src/Badge/index.wxs +++ /dev/null @@ -1,54 +0,0 @@ -function setPositionStyle(position) { - var offsetX = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-50%'; - var offsetY = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-50%'; - var transformStyle = "transform: translate(calc(".concat(offsetX, "), calc(").concat(offsetY, "));"); - switch (position) { - case 'top-left': - return "top: 0; left: 0; ".concat(transformStyle); - case 'top-center': - return "top: 0; left: 50%; ".concat(transformStyle); - case 'top-right': - return "top: 0; left: 100%; ".concat(transformStyle); - case 'left': - return "top: 50%; left: 0; ".concat(transformStyle); - case 'right': - return "top: 50%; left: 100%; ".concat(transformStyle); - case 'bottom-left': - return "top: 100%; left: 0; ".concat(transformStyle); - case 'bottom-center': - return "top: 100%; left: 50%; ".concat(transformStyle); - case 'bottom-right': - return "top: 100%; left: 100%; ".concat(transformStyle); - default: - return "top: 0; left: 0; ".concat(transformStyle); - } -} -function setBubbleStyle(type, position) { - if (type !== 'bubble') return ''; - switch (position) { - case 'top-left': - return 'border-bottom-right-radius: 0;'; - case 'top-right': - return 'border-bottom-left-radius: 0;'; - case 'bottom-left': - return 'border-top-right-radius: 0;'; - case 'bottom-right': - return 'border-top-left-radius: 0;'; - default: - return ''; - } -} -function getOverCount(text) { - var overCount = false; - if (typeof text === 'number') { - if (text >= 100) { - overCount = true; - } - } - return overCount; -} -module.exports = { - setPositionStyle: setPositionStyle, - setBubbleStyle: setBubbleStyle, - getOverCount: getOverCount -}; \ No newline at end of file diff --git a/compiled/wechat/src/Badge/index.wxss b/compiled/wechat/src/Badge/index.wxss deleted file mode 100644 index 78b80412e..000000000 --- a/compiled/wechat/src/Badge/index.wxss +++ /dev/null @@ -1,53 +0,0 @@ -.ant-badge { - display: inline-block; - position: relative; -} -.ant-badge-content { - position: absolute; - display: flex; - height: 28rpx; - align-self: center; - align-items: center; - font-size: 18rpx; - padding: 4rpx 8rpx; - box-sizing: border-box; - word-break: keep-all; - justify-content: center; - top: 0; - left: 100%; - transform: translate(-50%, -50%); -} -.ant-badge-content-stroke { - border: 2rpx solid var(--badge-text-color, #ffffff); -} -.ant-badge-content-text { - padding-left: 4rpx; -} -.ant-badge-content-text:empty { - display: none; -} -.ant-badge-content .ant-icon { - font-size: 18rpx; - color: var(--badge-text-color, #ffffff); -} -.ant-badge-content-not-dot { - min-width: 28rpx; - height: 28rpx; - border-radius: 28rpx; - display: flex; - background-color: var(--badge-background-color, #ff3141); -} -.ant-badge-dot { - width: 20rpx; - height: 20rpx; - border-radius: 50%; - background-color: var(--badge-background-color, #ff3141); -} -.ant-badge-dot-stroke { - border: 2rpx solid var(--badge-text-color, #ffffff); -} -.ant-badge-number, -.ant-badge-text, -.ant-badge-bubble { - color: var(--badge-text-color, #ffffff); -} diff --git a/compiled/wechat/src/Badge/props.js b/compiled/wechat/src/Badge/props.js deleted file mode 100644 index 4249d49e9..000000000 --- a/compiled/wechat/src/Badge/props.js +++ /dev/null @@ -1,15 +0,0 @@ -export var BadgeDefaultProps = { - position: 'top-right', - stroke: false, - type: 'dot', - bgColor: '', -}; -export var BadgeFunctionalProps = { - type: 'dot', - text: null, - position: 'top-right', - offsetX: null, - offsetY: null, - stroke: false, - bgColor: '', -}; diff --git a/compiled/wechat/src/Badge/variable.wxss b/compiled/wechat/src/Badge/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Button/index.en.md b/compiled/wechat/src/Button/index.en.md deleted file mode 100644 index 015ef6c68..000000000 --- a/compiled/wechat/src/Button/index.en.md +++ /dev/null @@ -1,161 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# Button - -Used to start an immediate operation. Marks a (or encapsulates a set of) operation commands that trigger the corresponding business logic in response to user click behavior. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-button": "antd-mini/es/Button/index" -#endif -#if WECHAT - "ant-button": "antd-mini/Button/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml -#if ALIPAY -Alipay -#endif -#if WECHAT -WeChat -#endif -Main button -Secondary button -Text Button -With auxiliary copy button - Disable -Loading Status -Danger -``` - -### Inline Button - -```xml -Inline Button -Button Size-Large -Button Size-Medium -Button Size-Small -Danger -``` - -### Button with icon - -```xml -Button with icon -Button with icon -Button with icon -Button with icon -Button with icon -``` - -### More Customizations - -```xml -Custom Size -Custom Fillet -``` - -```css -.custom-size { - font-size: 22rpx; -} -.round { - border-radius: 50rpx; -} -``` - -### Demo Code - - - -## API - -### Button - -The following table describes the API properties for the Button component: - -| Property | Description | Type | Default Value | -| --------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------- | --------- | -| type | Button type, optional `primary`、`default`、`text` | string | `default` | -| danger | Whether it is a danger button | boolean | false | -| disabled | Whether it is an invalid button | boolean | false | -| activeClassName | Class name when pressed | string | - | -| className | Class Name | string | - | -| style | Style | string | - | -| inline | Inline button | boolean | false | -| icon | Icon on the left side of the button | string | - | -| loading | Whether it is loading or not, it cannot be clicked during loading. | boolean | - | -| size | Button size. Only in `inline` Effective under, optional `small`、`medium`、`large` | string | `medium` | -| subText | Secondary text, displayed on the second line.`inline` DOWN NOT EFFECTIVE | string | - | -| #if ALIPAY catchTap | Click the button to trigger this callback, non-bubbling | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTap | Click the button to trigger this callback | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onDisabledTap | Click Departure Callback when disabled (not supported by WeChat) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT catch:tap | Click the button to trigger this callback, non-bubbling | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tap | Click the button to trigger this callback | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:disabledtap | Click Departure Callback when disabled (not supported by WeChat) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --button-disabled-opacity | 0.4 | 0.4 | Button Disable Transparency | -| --button-color |
#1677FF
|
#3086FF
| Button Color | -| --button-background-color |
#FFFFFF
|
#1a1a1a
| Button background color | -| --button-border-color |
#1677FF
|
#3086ff
| Button border color | -| --button-primary-border-color |
#1677FF
|
#3086FF
| Main button border color | -| --button-primary-background-color |
#1677FF
|
#3086FF
| Main button background color | -| --button-primary-color |
#FFFFFF
|
#FFFFFF
| Main button color | -| --button-primary-aide-border-color |
#E7F1FF
|
#0D2543
| Primary Secondary Button Border Color | -| --button-primary-aide-color |
#1677FF
|
#3086FF
| Primary Auxiliary Button Color | -| --button-default-aide-border-color |
#F5F5F5
|
#121212
| Default Secondary Button Border Color | -| --button-default-aide-background-color |
#FFFFFF
|
#1a1a1a
| Default Auxiliary Button Background Color | -| --button-default-aide-color |
#333333
|
#C5CAD1
| Default Auxiliary Button Color | -| --button-primary-danger-background-color |
#FF3141
|
#FF4A58
| Primary Danger Button Background Color | -| --button-primary-danger-border-color |
#FF3141
|
#FF4A58
| Primary Hazard Button Border Color | -| --button-primary-danger-color |
#FFFFFF
|
#FFFFFF
| Primary Hazard Button Color | -| --button-default-danger-background-color |
#FFFFFF
|
#1a1a1a
| Default Hazard Button Background Color | -| --button-default-danger-border-color |
#FF3141
|
#FF4A58
| Default Hazard Button Border Color | -| --button-default-danger-color |
#FF3141
|
#FF4A58
| Default Hazard Button Color | -| --button-text-danger-color |
#FF3141
|
#FF4A58
| Hazard button text color | -| --button-danger-default-color |
#FF3141
|
#FF4A58
| Hazard Button Default Color | -| --button-active-bg |
rgba(255, 255, 255, 0.08)
|
rgba(255, 255, 255, 0.08)
| Button to activate background color | - -### More Properties - -The following are additional properties that the Button component supports: - -- `public-id` -- `open-type` -- `scope` -- `form-type` -- `onGetAuthorize` -- `onFollowLifestyle` -- `onError` -- `onGetUserInfo` -- `onGetPhoneNumber` - -For specific attribute descriptions, please refer to the official documents of Alipay applet. - -[Button Component Property Description](https://opendocs.alipay.com/mini/component/button#%E5%B1%9E%E6%80%A7%E8%AF%B4%E6%98%8E) diff --git a/compiled/wechat/src/Button/index.js b/compiled/wechat/src/Button/index.js deleted file mode 100644 index c16b2bf38..000000000 --- a/compiled/wechat/src/Button/index.js +++ /dev/null @@ -1,73 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { ButtonDefaultProps } from './props'; -Component({ - properties: { - className: String, - style: String, - disabled: Boolean, - activeClassName: String, - subText: String, - inline: Boolean, - size: { - type: String, - value: 'medium', - }, - icon: String, - loading: Boolean, - danger: Boolean, - formType: { - type: String, - value: 'button', - }, - publicId: String, - openType: String, - scope: String, - type: { - type: String, - value: 'default', - }, - }, - options: { - styleIsolation: 'shared', - }, - props: ButtonDefaultProps, - methods: __assign({ - onGetUserInfo: function (event) { - this.triggerEvent('getuserinfo', event.detail); - }, - onContact: function (event) { - this.triggerEvent('contact', event.detail); - }, - onGetPhoneNumber: function (event) { - this.triggerEvent('getphonenumber', event.detail); - }, - onGetRealTimePhoneNumber: function (event) { - this.triggerEvent('getrealtimephonenumber', event.detail); - }, - onError: function (event) { - this.triggerEvent('error', event.detail); - }, - onLaunchApp: function (event) { - this.triggerEvent('launchapp', event.detail); - }, - onOpenSetting: function (event) { - this.triggerEvent('opensetting', event.detail); - }, - onAgreePrivacyAuthorization: function (event) { - this.triggerEvent('agreeprivacyauthorization', event.detail); - }, - onChooseAvatar: function (event) { - this.triggerEvent('chooseavatar', event.detail); - }, - }), -}); diff --git a/compiled/wechat/src/Button/index.json b/compiled/wechat/src/Button/index.json deleted file mode 100644 index f6bbf1425..000000000 --- a/compiled/wechat/src/Button/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "loading": "../Loading/index", - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Button/index.md b/compiled/wechat/src/Button/index.md deleted file mode 100644 index 1d09a7275..000000000 --- a/compiled/wechat/src/Button/index.md +++ /dev/null @@ -1,161 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# Button 按钮 - -用于开始一个即时操作。标记了一个(或封装一组)操作命令,响应用户点击行为,触发相应的业务逻辑。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-button": "antd-mini/es/Button/index" -#endif -#if WECHAT - "ant-button": "antd-mini/Button/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml -#if ALIPAY -支付宝 -#endif -#if WECHAT -微信 -#endif -主要按钮 -次要按钮 -文本按钮 -带辅助文案按钮 - 禁用 -加载状态 -危险 -``` - -### 行内按钮 - -```xml -行内按钮 -按钮尺寸-大 -按钮尺寸-中 -按钮尺寸-小 -危险 -``` - -### 带图标按钮 - -```xml -带图标按钮 -带图标按钮 -带图标按钮 -带图标按钮 -带图标按钮 -``` - -### 更多自定义 - -```xml -自定义大小 -自定义圆角 -``` - -```css -.custom-size { - font-size: 22rpx; -} -.round { - border-radius: 50rpx; -} -``` - -### Demo 代码 - - - -## API - -### Button - -以下表格介绍了 Button 组件的 API 属性: - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------- | --------- | -| type | 按钮类型,可选 `primary`、`default`、`text` | string | `default` | -| danger | 是否为危险按钮 | boolean | false | -| disabled | 是否为失效按钮 | boolean | false | -| activeClassName | 按下时的类名 | string | - | -| className | 类名 | string | - | -| style | 样式 | string | - | -| inline | 是否为内联按钮 | boolean | false | -| icon | 按钮左侧图标 | string | - | -| loading | 是否加载中,加载中时不可点击 | boolean | - | -| size | 按钮大小。仅在 `inline` 下生效,可选 `small`、`medium`、`large` | string | `medium` | -| subText | 辅助文字,显示在第二行。`inline` 下不生效 | string | - | -| #if ALIPAY catchTap | 点击按钮,触发此回调,非冒泡 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTap | 点击按钮,触发此回调 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onDisabledTap | 禁用时点击出发回调(微信不支持) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT catch:tap | 点击按钮,触发此回调,非冒泡 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tap | 点击按钮,触发此回调 | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:disabledtap | 禁用时点击出发回调(微信不支持) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --button-disabled-opacity | 0.4 | 0.4 | 按钮禁用透明度 | -| --button-color |
#1677FF
|
#3086FF
| 按钮颜色 | -| --button-background-color |
#FFFFFF
|
#1a1a1a
| 按钮背景颜色 | -| --button-border-color |
#1677FF
|
#3086ff
| 按钮边框颜色 | -| --button-primary-border-color |
#1677FF
|
#3086FF
| 主要按钮边框颜色 | -| --button-primary-background-color |
#1677FF
|
#3086FF
| 主要按钮背景颜色 | -| --button-primary-color |
#FFFFFF
|
#FFFFFF
| 主要按钮颜色 | -| --button-primary-aide-border-color |
#E7F1FF
|
#0D2543
| 主要辅助按钮边框颜色 | -| --button-primary-aide-color |
#1677FF
|
#3086FF
| 主要辅助按钮颜色 | -| --button-default-aide-border-color |
#F5F5F5
|
#121212
| 默认辅助按钮边框颜色 | -| --button-default-aide-background-color |
#FFFFFF
|
#1a1a1a
| 默认辅助按钮背景颜色 | -| --button-default-aide-color |
#333333
|
#C5CAD1
| 默认辅助按钮颜色 | -| --button-primary-danger-background-color |
#FF3141
|
#FF4A58
| 主要危险按钮背景颜色 | -| --button-primary-danger-border-color |
#FF3141
|
#FF4A58
| 主要危险按钮边框颜色 | -| --button-primary-danger-color |
#FFFFFF
|
#FFFFFF
| 主要危险按钮颜色 | -| --button-default-danger-background-color |
#FFFFFF
|
#1a1a1a
| 默认危险按钮背景颜色 | -| --button-default-danger-border-color |
#FF3141
|
#FF4A58
| 默认危险按钮边框颜色 | -| --button-default-danger-color |
#FF3141
|
#FF4A58
| 默认危险按钮颜色 | -| --button-text-danger-color |
#FF3141
|
#FF4A58
| 危险按钮文字颜色 | -| --button-danger-default-color |
#FF3141
|
#FF4A58
| 危险按钮默认颜色 | -| --button-active-bg |
rgba(255, 255, 255, 0.08)
|
rgba(255, 255, 255, 0.08)
| 按钮激活背景颜色 | - -### 更多属性 - -以下是 Button 组件支持的其他属性: - -- `public-id` -- `open-type` -- `scope` -- `form-type` -- `onGetAuthorize` -- `onFollowLifestyle` -- `onError` -- `onGetUserInfo` -- `onGetPhoneNumber` - -具体的属性说明,请参考支付宝小程序的官方文档。 - -[Button 组件属性说明](https://opendocs.alipay.com/mini/component/button#%E5%B1%9E%E6%80%A7%E8%AF%B4%E6%98%8E) diff --git a/compiled/wechat/src/Button/index.wxml b/compiled/wechat/src/Button/index.wxml deleted file mode 100644 index 8fdaec629..000000000 --- a/compiled/wechat/src/Button/index.wxml +++ /dev/null @@ -1,36 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/wechat/src/Button/index.wxs b/compiled/wechat/src/Button/index.wxs deleted file mode 100644 index ec23c6505..000000000 --- a/compiled/wechat/src/Button/index.wxs +++ /dev/null @@ -1,24 +0,0 @@ -function getClass(size) { - var list = ['small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-button-".concat(size); - } - return 'ant-button-medium'; -} -function getHoverClass(loading, type, activeClassName) { - if (loading) { - return ''; - } - var className = 'ant-button-active'; - if (type === 'text') { - className += ' ant-button-text-active'; - } - if (activeClassName) { - className += ' ' + activeClassName; - } - return className; -} -module.exports = { - getClass: getClass, - getHoverClass: getHoverClass -}; \ No newline at end of file diff --git a/compiled/wechat/src/Button/index.wxss b/compiled/wechat/src/Button/index.wxss deleted file mode 100644 index f874ebdea..000000000 --- a/compiled/wechat/src/Button/index.wxss +++ /dev/null @@ -1,127 +0,0 @@ -.ant-button { - position: relative; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - height: auto; - line-height: normal; - padding: var(--button-padding, 24rpx); - border-radius: 50vh; - border: 0 none; - box-sizing: border-box; - font-size: var(--button-font-size, 36rpx); - z-index: 2; -} -.ant-button-large { - font-size: var(--button-large-font-size, 36rpx); - padding: var(--button-padding, 24rpx); -} -.ant-button-medium { - font-size: var(--button-medium-font-size, 34rpx); - padding: var(--button-medium-padding-top, 16rpx) var(--button-medium-padding-left, 24rpx); -} -.ant-button-small { - font-size: var(--button-small-font-size, 30rpx); - padding: var(--button-small-padding-top, 8rpx) var(--button-small-padding-left, 24rpx); -} -.ant-button-primary { - color: var(--button-primary-color, #ffffff); - background-color: var(--button-primary-background-color, #1677ff); - box-shadow: inset 0 0 0 var(--button-border-size, 2rpx) var(--button-primary-background-color, #1677ff); -} -.ant-button-default { - color: var(--button-color, #1677ff); - background-color: var(--button-background-color, #ffffff); - box-shadow: inset 0 0 0 var(--button-border-size, 2rpx) var(--button-border-color, #1677ff); -} -.ant-button-capsule { - color: var(--button-primary-color, #ffffff); - background-color: var(--button-default-aide-border-color, #e5e5e5); - box-shadow: none; -} -.ant-button-primary-aide { - background-color: var(--color-wathet, #e7f1ff); - box-shadow: inset 0 0 0 var(--button-border-size, 2rpx) var(--button-primary-aide-border-color, #e7f1ff); - color: var(--button-color, #1677ff); -} -.ant-button-default-aide { - color: var(--button-default-aide-color, #333333); - background-color: var(--button-default-aide-background-color, #ffffff); - box-shadow: inset 0 0 0 var(--button-border-size, 2rpx) var(--button-default-aide-border-color, #e5e5e5); -} -.ant-button-text { - color: var(--button-color, #1677ff); - background-color: transparent; - box-shadow: none; -} -.ant-button-primary-danger { - color: var(--button-primary-danger-color, #ffffff); - background-color: var(--button-primary-danger-background-color, #ff3141); - box-shadow: inset 0 0 0 var(--button-border-size, 2rpx) var(--button-primary-danger-border-color, #ff3141); -} -.ant-button-default-danger { - color: var(--button-default-danger-color, #ff3141); - background-color: var(--button-default-danger-background-color, #ffffff); - box-shadow: inset 0 0 0 var(--button-border-size, 2rpx) var(--button-default-danger-border-color, #ff3141); -} -.ant-button-text-danger { - color: var(--button-text-danger-color, #ff3141); - background-color: transparent; - box-shadow: none; -} -.ant-button-text-active { - background-color: var(--button-active-bg, rgba(255, 255, 255, 0.92)); -} -.ant-button-active { - filter: brightness(0.92); -} -.ant-button-disabled { - opacity: var(--button-disabled-opacity, 0.4); -} -.ant-button-wrap { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; -} -.ant-button-content-text-margin { - margin-left: 16rpx; -} -.ant-button-content-text:empty { - margin-left: 0; - width: 0; - opacity: 0; -} -.ant-button-content-text:empty::after { - content: '\00a0'; -} -.ant-button-content-subtext { - font-size: var(--button-subtext-size, 24rpx); - opacity: 0.6; -} -.ant-button-content-loading-container { - display: flex; - justify-content: center; - align-items: center; - width: 33px; - height: 16px; - margin-left: 8px; -} -.ant-button-content-loading { - position: relative; -} -.ant-button-inline { - display: inline-block; - border-radius: 50vh; -} -.ant-button-inline .ant-button-content-loading-container { - width: var(--button-icon-size, 44rpx); - height: var(--button-icon-size, 44rpx); -} -.ant-button-inline .ant-button-content-loading { - transform: scale(0.5); -} -.ant-button::after { - border-width: 0; -} diff --git a/compiled/wechat/src/Button/props.js b/compiled/wechat/src/Button/props.js deleted file mode 100644 index 8fe52cd38..000000000 --- a/compiled/wechat/src/Button/props.js +++ /dev/null @@ -1,6 +0,0 @@ -export var ButtonDefaultProps = { - type: 'default', - formType: 'button', - size: 'medium', - aide: false, -}; diff --git a/compiled/wechat/src/Button/variable.wxss b/compiled/wechat/src/Button/variable.wxss deleted file mode 100644 index eb221a676..000000000 --- a/compiled/wechat/src/Button/variable.wxss +++ /dev/null @@ -1,34 +0,0 @@ -/* size | 按钮内间距 */ -/* size | 大按钮内间距 */ -/* size | 中按钮内间距 */ -/* size | 小按钮内间距 */ -/* corner-radius| 按钮圆角 */ -/* font-size | 副标题字号 */ -/* color | 按钮边框宽度 */ -/* opacity | disable状态不透明度 */ -/* color | 默认按钮文字色 */ -/* color | 默认按钮背景色 */ -/* color | 默认按钮边框色 */ -/* color |primary按钮背景色 */ -/* color |primary按钮边框色 */ -/* color |primary按钮文字色 */ -/* color |primary辅助按钮边框色 */ -/* color |primary辅助按钮边框色 */ -/* color |primary辅助按钮文字色 */ -/* color |default辅助按钮边框色 */ -/* color |default辅助按钮边框色 */ -/* color |default辅助按钮文字色 */ -/* color |primary danger按钮背景色 */ -/* color |primary danger按钮边框色 */ -/* color |primary danger按钮文字色 */ -/* color |default danger 按钮背景色 */ -/* color |default danger按钮边框色 */ -/* color |default danger按钮文字色 */ -/* color |text danger按钮文字色 */ -/* color |danger-ghost按钮文字色 */ -/* color |active按钮文字色 */ -/* 图标尺寸 */ -/* font-size | 默认按钮字号 */ -/* font-size | 大按钮字号 */ -/* font-size | 中按钮字号 */ -/* font-size | 小按钮字号 */ diff --git a/compiled/wechat/src/Calendar/helper.wxs b/compiled/wechat/src/Calendar/helper.wxs deleted file mode 100644 index 363da8552..000000000 --- a/compiled/wechat/src/Calendar/helper.wxs +++ /dev/null @@ -1,84 +0,0 @@ -function keys(obj) { - return JSON.stringify(obj).replace(getRegExp('{|}|"', 'g'), '').split(',').map(function (item) { - return item.split(':')[0]; - }); -} -function getClassName(value, index, showSelectableDatesOnly) { - var isSelected = value.isSelected, - isSelectedBegin = value.isSelectedBegin, - isSelectedEnd = value.isSelectedEnd, - isRowBegin = value.isRowBegin, - isRowEnd = value.isRowEnd, - inThisMonth = value.inThisMonth, - isToday = value.isToday, - disabled = value.disabled, - className = value.className, - isRange = value.isRange; - var classNames = { - disabled: disabled, - today: inThisMonth && isToday, - selected: inThisMonth && isSelected, - 'selected-begin': inThisMonth && isSelectedBegin, - 'selected-end': inThisMonth && isSelectedEnd, - 'selected-row-begin': inThisMonth && isRowBegin && isSelected, - 'selected-row-end': inThisMonth && isRowEnd && isSelected, - hidden: !inThisMonth || showSelectableDatesOnly && !isRange, - 'row-end': index % 7 === 6 - }; - var result = "ant-calendar-cell ".concat(className || ''); - keys(classNames).forEach(function (key) { - if (classNames[key]) { - result += " ant-calendar-cell-".concat(key); - } - }); - return result; -} -function getSpaceClassName(index, items) { - var isNotEnd = index % 7 !== 6; - var nextItem = items[index + 1]; - var nextSelected = nextItem && nextItem.isSelected && nextItem.inThisMonth; - var isSelected = items[index].isSelected; - var classNames = { - active: isNotEnd && isSelected && nextSelected - }; - var result = 'ant-calendar-cell-space'; - keys(classNames).forEach(function (key) { - if (classNames[key]) { - result += " ant-calendar-cell-space-".concat(key); - } - }); - return result; -} -function getMarkCellClassName(index, items) { - if (items[index].length - 1 === index) { - return "ant-calendar-mark-cell ant-calendar-mark-cell-last"; - } - return 'ant-calendar-mark-cell'; -} -function isDisplay(index, items) { - // 找到需要当前月需要展示的日期最大最小索引 - var _items_reduce = items.reduce(function (res, item) { - // !item.inThisMonth 被隐藏掉的日期 - // !item.isRange 不在传入范围内的日期 - if (!(!item.inThisMonth || !item.isRange)) { - if (res.minIndex === null || res.maxIndex === null) { - res.minIndex = item.index; - res.maxIndex = item.index; - } - res.minIndex = Math.min(res.minIndex, item.index); - res.maxIndex = Math.max(res.maxIndex, item.index); - } - return res; - }, { - minIndex: null, - maxIndex: null - }); - if (_items_reduce.maxIndex === null || _items_reduce.maxIndex === null) return true; - return index >= Math.floor(_items_reduce.minIndex / 7) * 7 && index < Math.ceil(_items_reduce.maxIndex / 7) * 7; -} -module.exports = { - getSpaceClassName: getSpaceClassName, - getClassName: getClassName, - getMarkCellClassName: getMarkCellClassName, - isDisplay: isDisplay -}; \ No newline at end of file diff --git a/compiled/wechat/src/Calendar/index.en.md b/compiled/wechat/src/Calendar/index.en.md deleted file mode 100644 index 9a6b1243e..000000000 --- a/compiled/wechat/src/Calendar/index.en.md +++ /dev/null @@ -1,337 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Calendar - -Calendar Component - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-calendar": "antd-mini/es/Calendar/index" -#endif -#if WECHAT - "ant-calendar": "antd-mini/Calendar/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - -``` - -### Custom Top - -```xml - - Custom Top - -``` - -### Custom Date Cell - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell) { - const isOdd = dayjs(cell.time).date() % 2 === 1; - const isNotBeginEnd = !cell.isSelectedBegin && !cell.isSelectedEnd; - const isWeekend = dayjs(cell.time).day() > 4; - let topClassName; - if (isNotBeginEnd) { - topClassName = isOdd ? 'odd' : 'even'; - } - return { - top: { - className: topClassName, - label: isOdd ? '奇数' : '偶数', - }, - bottom: { - label: isWeekend ? '周末' : '', - }, - }; -} -function demoMonthFormatter(month) { - return { - ...month, - }; -} -``` - -### Dynamic control, only three days before and after the selection are allowed - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell, value) { - if (Array.isArray(value) && value.length == 1) { - const current = value[0]; - return { - disabled: dayjs(cell.time).diff(dayjs(current), 'days') > 3, - bottom: - dayjs(cell.time).diff(dayjs(current), 'days') > 3 - ? { - label: '不可选', - } - : undefined, - }; - } - return {}; -} -``` - -### Controlled Mode - -```xml - - - Last day - - - Next day - - - Scroll to specified date - -``` - -```js -Page({ - data: { - demo9: { - visible: true, - value: nowDate, - }, - demo9HandleChange(value) { - this.setData({ - 'demo9.value': value, - }); - }, - demo9HandlePreviousDay() { - this.setData({ - 'demo9.value': this.data.demo9.value - 1000 * 24 * 3600, - }); - }, - demo9HandleNextDay() { - this.setData({ - 'demo9.value': this.data.demo9.value + 1000 * 24 * 3600, - }); - }, - demo9HandleScrollIntoView() { - this.ref.scrollIntoView(nowDate); - }, - }, -}); -``` - -### Demo Code - - - -## API - -The following are the properties and descriptions of the Calendar component: - -| Property | Description | Type | Default Value | -| ----------------------- | ---------------------------------------------- | ----------------------------------------------------------- | ----------- | -| defaultValue | Initial value | CalendarValue | None | -| value | The date selected by the calendar, which is the controlled mode when passed in. | CalendarValue | None | -| selectionMode | Set the selection mode, single selection or continuous interval, the default is `range` | `single` \| `range` | `range` | -| monthRange | Month range, default to the last 3 months | `[number, number]` | Last 3 Months | -| weekStartsOn | The week column displays the day of the week as the first day. The default is `Sunday` | `Sunday` \| `Monday` | `Sunday` | -| onFormatter | Use to set custom data for cells | (cell: CellState, currentValue: CalendarValue) => CellState | None | -| onMonthFormatter | Custom data for setting the month | (month: any) => CellState | None | -| localeText | International copywriting | Partial`` | None | -| changedScrollIntoView | Whether to scroll the view after the selected value is changed | boolean | None | -| showSelectableDatesOnly | Show only dates in the selectable range | boolean | false | -| #if ALIPAY onChange | Date Change Callback | (date: CalendarValue) => void | None | -| #if WECHAT bind:change | Date Change Callback | (date: CalendarValue) => void | None | - -### Type - -**CalendarValue** The value type of the calendar, which is a number or a tuple of numbers `number | [number,number]`, which represents a single selection or continuous date interval. The timestamp in milliseconds. - -**CellState** Defines the various states of the calendar cell. - -```typescript -interface CellState { - /** - * 是否禁用 - */ - disabled: boolean; - /** - * 日历单元格的顶部内容 - */ - top?: { label: string; className?: string }; - /** - * 日历单元格的底部内容 - */ - bottom?: { label: string; className?: string }; - /** - * 时间戳 - */ - time: number; - /** - * 日期 - */ - date: number; - /** - * 是否选中 - */ - isSelected: boolean; -} -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --calendar-cell-disabled-opacity | 0.4 | 0.4 | Calendar cell transparency disabled | -| --calendar-weekday-names-bg |
#f8f8f8
|
#f8f8f8
| Calendar Week Name Background Color | -| --calendar-default-color |
#333333
|
#c5cad1
| Calendar default color | -| --calendar-selected-color |
rgba(22, 119, 255, 0.1)
|
rgba(22, 119, 255, 0.1)
| Calendar selected color | -| --calendar-assist-color |
#999999
|
#616161
| Calendar Auxiliary Color | -| --calendar-selected-end-color |
#ffffff
|
#ffffff
| Calendar selected end color | -| --calendar-selected-color |
#1677ff
|
#3086ff
| Calendar selected color | - -## FAQ - -### How do I set the default start and end times? - -By `defaultValue` You can set a default time.`defaultValue` The type of is `CalendarValue`。 - -`CalendarValue` The type of is `number | [number, number]`, representing the date of a single choice or continuous interval. It is a timestamp in milliseconds. - -For example, if we want to set the default start time to today and end time to seven days later, we can `defaultValue` Pass in the following code: - -```ts -[dayjs().startOf('date'), dayjs().add(7, 'days').startOf('date')]; -``` - -### By `onFormatter` Set custom data for cells - -We can pass `onFormatter` method to set the custom data for the cell,`onFormatter` The format of is `(cell: CellState, currentValue: CalendarValue) => CellState`。 - -This function gets the state of each cell and the current value. By returning new cell data, we can customize the state of the cell. - -Here are some common usage scenarios: - -#### How to make the time before the day not optional? - -In the Alipay applet, we can set it through the method on the page, and we need to pass in a method name string in the axml file. - -The axml file: - -```xml - -``` - -ts file: - -```ts -import dayjs from 'dayjs'; - -Page({ - handleFormat(cell: CellState) { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, -}); -``` - -In the WeChat applet, we can also set it through the function in data. At this time, we need to pass in a variable name in the wxml file. - -wxml file: - -```xml - -``` - -ts file: - -```ts -import dayjs from 'dayjs'; - -Page({ - data: { - handleFormat: (cell: CellState) => { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, - }, -}); -``` diff --git a/compiled/wechat/src/Calendar/index.js b/compiled/wechat/src/Calendar/index.js deleted file mode 100644 index 7174413fc..000000000 --- a/compiled/wechat/src/Calendar/index.js +++ /dev/null @@ -1,311 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { effect } from '@preact/signals-core'; -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import mixinValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, } from '../_util/simply'; -import i18nController from '../_util/store'; -import { CalendarDefaultProps } from './props'; -import { getMonthListFromRange, getScrollIntoViewId, getSelectionModeFromValue, renderCells, } from './utils'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, CalendarDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - getBoundingClientRect: function (query) { - return __awaiter(this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), query)]; - case 1: return [2 /*return*/, _a.sent()]; - } - }); - }); - }, - scrollIntoView: function (value) { - this.updateScrollIntoViewId(getScrollIntoViewId(value)); - }, - clickCell: function (e) { - var _a, _b; - var time = e.currentTarget.dataset.time; - var clickDate = dayjs(time.time); - if (time.disabled) { - return; - } - var value = this.getValue(); - var selectionModeFromValue = getSelectionModeFromValue(value); - var selectionMode = (_b = (_a = getValueFromProps(this, 'selectionMode')) !== null && _a !== void 0 ? _a : selectionModeFromValue) !== null && _b !== void 0 ? _b : 'range'; - if (selectionMode === 'range') { - if (Array.isArray(value)) { - if (value.length === 1) { - var current = value[0]; - if (dayjs(clickDate.toDate().getTime()).isBefore(dayjs(current))) { - this.updateValue([clickDate.toDate().getTime()]); - } - else { - this.updateValue([value[0], clickDate.toDate().getTime()]); - } - } - else { - this.updateValue([clickDate.toDate().getTime()]); - } - } - else { - this.updateValue([clickDate.toDate().getTime()]); - } - } - else if (selectionMode === 'single') { - this.updateValue(clickDate.toDate().getTime()); - } - }, - setCurrentMonth: function (e) { - this.setData({ headerState: e.month }); - }, - measurement: function () { - var elementSize = this.data.elementSize; - // 组件如果内嵌在 slot 里, 一定会被渲染出来, 但是此时 cellHight 为 0 - // 此时需要重新计算 - if (!elementSize || elementSize.cellHight === 0) { - this.measurementFn(); - } - }, - measurementFn: function () { - var _this = this; - Promise.all([ - this.getBoundingClientRect('.ant-calendar-body-container'), - this.getBoundingClientRect('.ant-calendar-cells'), - this.getBoundingClientRect('.ant-calendar-title-container'), - ]) - .then(function (_a) { - var bodyContainer = _a[0], cellContainer = _a[1], Title = _a[2]; - // 滚动的时候 top 和 bottom 等尺寸会变 - // 所以只能依赖 height 来计算 - var paddingHeight = bodyContainer.height - cellContainer.height - Title.height; - var monthTitleHeight = Title.height + paddingHeight; - var cellHight = cellContainer.height / (_this.data.monthList[0].cells.length / 7); - _this.setData({ - elementSize: { - monthTitleHeight: monthTitleHeight, - cellHight: cellHight, - paddingHeight: paddingHeight, - }, - }); - }) - .catch(function () { - _this.setData({ elementSize: null }); - }); - }, - // scroll 触发滚动之后需要重置 scrollIntoViewId - updateScrollIntoViewId: function (id) { - var _this = this; - this.setData({ scrollIntoViewId: id }); - var timer = setTimeout(function () { - _this.setData({ scrollIntoViewId: '' }); - clearTimeout(timer); - }); - }, - updateValue: function (newValue) { - triggerEvent(this, 'change', newValue); - if (!this.isControlled()) { - this.update(newValue); - } - }, - updateData: function () { - var _a, _b; - var _c = getValueFromProps(this, [ - 'monthRange', - 'weekStartsOn', - 'onFormatter', - 'onMonthFormatter', - ]), monthRange = _c[0], pweekStartsOn = _c[1], onFormatter = _c[2], onMonthFormatter = _c[3]; - var localeText = Object.assign({}, (_a = this.data.locale) === null || _a === void 0 ? void 0 : _a.calendar); - var markItems = __spreadArray([], ((_b = localeText.weekdayNames) !== null && _b !== void 0 ? _b : []), true); - var weekStartsOn = pweekStartsOn; - if (weekStartsOn === 'Sunday') { - var item = markItems.pop(); - if (item) - markItems.unshift(item); - } - var value = this.getValue(); - var start = dayjs(monthRange === null || monthRange === void 0 ? void 0 : monthRange[0]).startOf('d'); - var end = dayjs(monthRange === null || monthRange === void 0 ? void 0 : monthRange[1]).startOf('d'); - var monthRangeList = getMonthListFromRange(start, end); - var monthList = monthRangeList.map(function (p) { - var cells = renderCells(p, weekStartsOn, value, localeText, - // 如果monthRange传入异常,用内置的时间范围 - start.isAfter(end) || start.isSame(end) - ? [monthRangeList[0], dayjs(monthRangeList[1]).endOf('month')] - : [start, end]); - if (onFormatter && typeof onFormatter === 'function') { - cells = cells.map(function (o) { - var _a; - var time = o.time, top = o.top, bottom = o.bottom, disabled = o.disabled, isSelectedBegin = o.isSelectedBegin, isSelectedEnd = o.isSelectedEnd, isSelected = o.isSelected, className = o.className, isRange = o.isRange; - var newState = (_a = onFormatter({ - time: time, - top: top ? __assign({}, top) : undefined, - bottom: bottom ? __assign({}, bottom) : undefined, - disabled: disabled, - isSelectedBegin: isSelectedBegin, - isSelectedEnd: isSelectedEnd, - isSelected: isSelected, - className: className, - isRange: isRange, - }, value)) !== null && _a !== void 0 ? _a : {}; - var result = __assign({}, o); - if (typeof newState === 'object') { - // 只允许修改的字段字段 - ['top', 'bottom', 'disabled', 'className'].forEach(function (key) { - if (key in newState) { - result[key] = newState[key]; - } - }); - } - return result; - }); - } - var month = { - title: p.format(localeText.format), - className: '', - cells: cells, - }; - if (onMonthFormatter && typeof onMonthFormatter === 'function') { - month = __assign(__assign({}, month), onMonthFormatter(p)); - } - return month; - }); - this.setData({ markItems: markItems, monthList: monthList }); - }, -}, { - elementSize: null, - markItems: [], - monthList: [], - headerState: 0, - scrollIntoViewId: '', -}, [mixinValue()], { - didMount: function () { - this.updateData(); - this.measurementFn(); - // 初始化默认值时,滚动到选中位置 - var _a = getValueFromProps(this, [ - 'value', - 'defaultValue', - ]), value = _a[0], defaultValue = _a[1]; - if (this.isControlled()) { - this.updateScrollIntoViewId(getScrollIntoViewId(value)); - } - else { - defaultValue && - this.updateScrollIntoViewId(getScrollIntoViewId(defaultValue)); - } - }, - didUpdate: function (prevProps, prevData) { - if (!this.isEqualValue(prevData)) { - // 滚动到已选的位置 - var changedScrollIntoView = getValueFromProps(this, 'changedScrollIntoView'); - changedScrollIntoView && - this.updateScrollIntoViewId(getScrollIntoViewId(this.getValue())); - } - if (!equal(prevProps, this.props) || !this.isEqualValue(prevData)) { - this.updateData(); - } - }, - attached: function () { - this.updateData(); - this.measurementFn(); - // 初始化默认值时,滚动到选中位置 - var _a = getValueFromProps(this, [ - 'value', - 'defaultValue', - ]), value = _a[0], defaultValue = _a[1]; - if (this.isControlled()) { - this.updateScrollIntoViewId(getScrollIntoViewId(value)); - } - else { - defaultValue && - this.updateScrollIntoViewId(getScrollIntoViewId(defaultValue)); - } - this.triggerEvent('ref', this); - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - if (!equal(prevData, data)) { - this.updateData(); - } - }, - 'mixin.value': function () { - // 滚动到已选的位置 - var changedScrollIntoView = getValueFromProps(this, 'changedScrollIntoView'); - changedScrollIntoView && - this.updateScrollIntoViewId(getScrollIntoViewId(this.getValue())); - }, - }, -}); diff --git a/compiled/wechat/src/Calendar/index.json b/compiled/wechat/src/Calendar/index.json deleted file mode 100644 index 406972c87..000000000 --- a/compiled/wechat/src/Calendar/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-auto-resize": "../AutoResize/index" - } -} diff --git a/compiled/wechat/src/Calendar/index.md b/compiled/wechat/src/Calendar/index.md deleted file mode 100644 index 26232b498..000000000 --- a/compiled/wechat/src/Calendar/index.md +++ /dev/null @@ -1,337 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Calendar 日历 - -日历组件 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-calendar": "antd-mini/es/Calendar/index" -#endif -#if WECHAT - "ant-calendar": "antd-mini/Calendar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - -``` - -### 自定义顶部 - -```xml - - 自定义顶部 - -``` - -### 自定义日期单元格 - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell) { - const isOdd = dayjs(cell.time).date() % 2 === 1; - const isNotBeginEnd = !cell.isSelectedBegin && !cell.isSelectedEnd; - const isWeekend = dayjs(cell.time).day() > 4; - let topClassName; - if (isNotBeginEnd) { - topClassName = isOdd ? 'odd' : 'even'; - } - return { - top: { - className: topClassName, - label: isOdd ? '奇数' : '偶数', - }, - bottom: { - label: isWeekend ? '周末' : '', - }, - }; -} -function demoMonthFormatter(month) { - return { - ...month, - }; -} -``` - -### 动态控制,只允许选择前后三天 - -```xml - -``` - -```js -import dayjs from 'dayjs'; -function demoFormatter(cell, value) { - if (Array.isArray(value) && value.length == 1) { - const current = value[0]; - return { - disabled: dayjs(cell.time).diff(dayjs(current), 'days') > 3, - bottom: - dayjs(cell.time).diff(dayjs(current), 'days') > 3 - ? { - label: '不可选', - } - : undefined, - }; - } - return {}; -} -``` - -### 受控模式 - -```xml - - - 上一天 - - - 下一天 - - - 滚动到指定日期 - -``` - -```js -Page({ - data: { - demo9: { - visible: true, - value: nowDate, - }, - demo9HandleChange(value) { - this.setData({ - 'demo9.value': value, - }); - }, - demo9HandlePreviousDay() { - this.setData({ - 'demo9.value': this.data.demo9.value - 1000 * 24 * 3600, - }); - }, - demo9HandleNextDay() { - this.setData({ - 'demo9.value': this.data.demo9.value + 1000 * 24 * 3600, - }); - }, - demo9HandleScrollIntoView() { - this.ref.scrollIntoView(nowDate); - }, - }, -}); -``` - -### Demo 代码 - - - -## API - -以下为日历组件的属性及描述: - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ---------------------------------------------- | ----------------------------------------------------------- | ----------- | -| defaultValue | 初始值 | CalendarValue | 无 | -| value | 日历选择的日期,传入后即为受控模式 | CalendarValue | 无 | -| selectionMode | 设置选择模式,单选或者连续区间,默认为 `range` | `single` \| `range` | `range` | -| monthRange | 月份范围,默认为最近 3 个月 | `[number, number]` | 最近 3 个月 | -| weekStartsOn | 星期栏,以周几作为第一天显示。默认为 `Sunday` | `Sunday` \| `Monday` | `Sunday` | -| onFormatter | 用于设置单元格的自定义数据 | (cell: CellState, currentValue: CalendarValue) => CellState | 无 | -| onMonthFormatter | 用于设置月份的自定义数据 | (month: any) => CellState | 无 | -| localeText | 国际化文案 | Partial`` | 无 | -| changedScrollIntoView | 选中值改变后是否滚动视图 | boolean | 无 | -| showSelectableDatesOnly | 只展示在可选范围内的日期 | boolean | false | -| #if ALIPAY onChange | 日期变化回调 | (date: CalendarValue) => void | 无 | -| #if WECHAT bind:change | 日期变化回调 | (date: CalendarValue) => void | 无 | - -### 类型 - -**CalendarValue** : 日历的值类型,为数字或数字元组 `number | [number,number]`,表示单选或连续日期区间。单位为毫秒的时间戳。 - -**CellState** : 定义了日历单元格的各种状态。 - -```typescript -interface CellState { - /** - * 是否禁用 - */ - disabled: boolean; - /** - * 日历单元格的顶部内容 - */ - top?: { label: string; className?: string }; - /** - * 日历单元格的底部内容 - */ - bottom?: { label: string; className?: string }; - /** - * 时间戳 - */ - time: number; - /** - * 日期 - */ - date: number; - /** - * 是否选中 - */ - isSelected: boolean; -} -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --calendar-cell-disabled-opacity | 0.4 | 0.4 | 日历单元格禁用透明度 | -| --calendar-weekday-names-bg |
#f8f8f8
|
#f8f8f8
| 日历星期名称背景颜色 | -| --calendar-default-color |
#333333
|
#c5cad1
| 日历默认颜色 | -| --calendar-selected-color |
rgba(22, 119, 255, 0.1)
|
rgba(22, 119, 255, 0.1)
| 日历选中颜色 | -| --calendar-assist-color |
#999999
|
#616161
| 日历辅助颜色 | -| --calendar-selected-end-color |
#ffffff
|
#ffffff
| 日历选中结束颜色 | -| --calendar-selected-color |
#1677ff
|
#3086ff
| 日历选中颜色 | - -## FAQ - -### 如何设置默认的开始与结束时间? - -通过 `defaultValue` 可以设置默认的时间。`defaultValue` 的类型是 `CalendarValue`。 - -`CalendarValue` 的类型是 `number | [number, number]`,代表单选或者连续区间的日期。它是一个时间戳,单位是毫秒。 - -例如,如果我们想设置默认的开始时间为今天,结束时间为七天后,我们可以在 `defaultValue` 中传入以下代码: - -```ts -[dayjs().startOf('date'), dayjs().add(7, 'days').startOf('date')]; -``` - -### 通过 `onFormatter` 设置单元格的自定义数据 - -我们可以通过 `onFormatter` 方法设置单元格的自定义数据,`onFormatter` 的格式是 `(cell: CellState, currentValue: CalendarValue) => CellState`。 - -这个函数会获取每个单元格的状态以及当前的值。通过返回新的单元格数据,我们可以自定义单元格的状态。 - -以下是一些常见的使用场景: - -#### 如何让当天之前的时间不可选? - -在支付宝小程序中,我们可以通过页面上的方法设置,需要在 axml 文件中传入一个方法名字符串。 - -axml 文件: - -```xml - -``` - -ts 文件: - -```ts -import dayjs from 'dayjs'; - -Page({ - handleFormat(cell: CellState) { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, -}); -``` - -在微信小程序,我们也可以通过 data 中的函数来设置,此时在 wxml 文件中需要传入一个变量名。 - -wxml 文件: - -```xml - -``` - -ts 文件: - -```ts -import dayjs from 'dayjs'; - -Page({ - data: { - handleFormat: (cell: CellState) => { - // 如果单元格代表的时间早于今天的开始时间,则禁止选择 - return { - disabled: dayjs(cell.time).isBefore(dayjs().startOf('date')), - }; - }, - }, -}); -``` diff --git a/compiled/wechat/src/Calendar/index.wxml b/compiled/wechat/src/Calendar/index.wxml deleted file mode 100644 index aef7f6686..000000000 --- a/compiled/wechat/src/Calendar/index.wxml +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - {{item}} - - - - {{item}} - - - {{item}} - - - - - - {{monthList[headerState].title}} - - - - - - - {{currentMonth.title}} - - - - - - - - - - {{item.top.label}} - - - - {{item.top.label}} - - - - {{item.date}} - - - {{item.bottom.label}} - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Calendar/index.wxss b/compiled/wechat/src/Calendar/index.wxss deleted file mode 100644 index 06f73fd77..000000000 --- a/compiled/wechat/src/Calendar/index.wxss +++ /dev/null @@ -1,146 +0,0 @@ -.ant-calendar { - color: var(--calendar-default-color, #333333); - position: relative; - display: flex; - flex-direction: column; - height: 100%; -} -.ant-calendar-body { - flex: 1; - overflow: hidden; -} -.ant-calendar-sticky { - position: absolute; - top: 0px; - left: 0px; - max-height: 82rpx; - width: 100%; - overflow: hidden; - top: 88rpx; - z-index: 1000; -} -.ant-calendar-mark { - height: 88rpx; - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; - box-sizing: border-box; - font-size: 28rpx; - padding: 0 16rpx; -} -.ant-calendar-mark .ant-calendar-mark-cell { - flex: 1; - text-align: center; - width: calc((100% - 6 * 10rpx) / 7); - margin-right: 10rpx; -} -.ant-calendar-mark .ant-calendar-mark-cell-last { - margin-right: 0; -} -.ant-calendar-title { - color: var(--calendar-default-color, #333333); - font-size: 36rpx; - height: 82rpx; - line-height: 82rpx; - padding-left: 40rpx; - margin-bottom: 8rpx; - background: var(--calendar-weekday-names-bg, #f8f8f8); -} -.ant-calendar-cells { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: flex-start; - align-items: stretch; - padding: 0 16rpx; -} -.ant-calendar-cell-space { - width: 10rpx; - height: 110rpx; -} -.ant-calendar-cell-space-active { - background: var(--calendar-selected-color, #1677ff); -} -.ant-calendar-cell { - box-sizing: border-box; - width: calc((100% - 6 * 10rpx) / 7); - height: 110rpx; - margin-bottom: 8rpx; - position: relative; -} -.ant-calendar-cell-container { - box-sizing: border-box; - padding-top: 7rpx; - height: 100%; -} -.ant-calendar-cell-top { - color: var(--calendar-assist-color, #999999); - text-align: center; - font-size: 18rpx; - height: 25rpx; -} -.ant-calendar-cell-top-text { - white-space: nowrap; -} -.ant-calendar-cell-center { - text-align: center; - height: 45rpx; - font-size: 32rpx; -} -.ant-calendar-cell-bottom { - color: var(--calendar-assist-color, #999999); - text-align: center; - font-size: 18rpx; - height: 25rpx; -} -.ant-calendar-cell-selected { - background: var(--calendar-selected-color, #1677ff); -} -.ant-calendar-cell-selected-begin { - border-top-left-radius: 8rpx; - border-bottom-left-radius: 8rpx; - background: var(--calendar-selected-color, #1677ff); -} -.ant-calendar-cell-selected-end { - border-top-right-radius: 8rpx; - border-bottom-right-radius: 8rpx; - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-selected-row-end { - border-top-right-radius: 8rpx; - border-bottom-right-radius: 8rpx; -} -.ant-calendar-cell-selected-row-begin { - border-top-left-radius: 8rpx; - border-bottom-left-radius: 8rpx; -} -.ant-calendar-cell-selected-begin .ant-calendar-cell-container { - background: var(--calendar-selected-color, #1677ff); - border-radius: 8rpx; - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-selected-end .ant-calendar-cell-container { - background: var(--calendar-selected-color, #1677ff); - border-radius: 8rpx; - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-selected-end .ant-calendar-cell-top { - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-selected-begin .ant-calendar-cell-top { - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-selected-end .ant-calendar-cell-bottom { - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-selected-begin .ant-calendar-cell-bottom { - color: var(--calendar-selected-end-color, #ffffff); -} -.ant-calendar-cell-disabled { - opacity: var(--calendar-cell-disabled-opacity, 0.4); -} -.ant-calendar-cell-hidden { - opacity: 0; - pointer-events: none; -} diff --git a/compiled/wechat/src/Calendar/props.js b/compiled/wechat/src/Calendar/props.js deleted file mode 100644 index 3ce978fed..000000000 --- a/compiled/wechat/src/Calendar/props.js +++ /dev/null @@ -1,13 +0,0 @@ -import { defaultMonthRange } from './utils'; -export var CalendarDefaultProps = { - defaultValue: null, - value: null, - selectionMode: 'range', - monthRange: defaultMonthRange(), - weekStartsOn: 'Sunday', - onFormatter: null, - onMonthFormatter: null, - changedScrollIntoView: null, - showSelectableDatesOnly: false, - onChange: function () { }, -}; diff --git a/compiled/wechat/src/Calendar/scroll.wxs b/compiled/wechat/src/Calendar/scroll.wxs deleted file mode 100644 index e3ea67c00..000000000 --- a/compiled/wechat/src/Calendar/scroll.wxs +++ /dev/null @@ -1,45 +0,0 @@ -function handleScroll(event, ownerComponent) { - var currentScroll = event.detail.scrollTop; - var dataset = event.instance.getDataset(); - var elementSize = dataset.elementsize, - monthList = dataset.monthlist; - if (!elementSize) { - return; - } - // 组件如果内嵌在 slot 里, 一定会被渲染出来, 但是此时 cellHight 为 0 - if (elementSize.cellHight === 0) { - ownerComponent.callMethod('measurement'); - return; - } - var instance = ownerComponent.selectComponent('.ant-calendar-sticky-title'); - var sticky = ownerComponent.selectComponent('.ant-calendar-sticky'); - if (sticky) { - sticky.setStyle({ - display: currentScroll < 0 ? 'none' : 'block' - }); - } - var monthHeight = elementSize.monthTitleHeight; - var paddingHeight = elementSize.paddingHeight; - var cellHeight = elementSize.cellHight; - var heightList = monthList.map(function (p) { - return monthHeight + cellHeight * p.cells.length / 7; - }); - for (var i = 0; i < heightList.length; i++) { - if (currentScroll < heightList[i]) { - var topHeight = currentScroll - heightList[i] + monthHeight - paddingHeight; - topHeight = Math.max(topHeight, 0); - instance.setStyle({ - transform: "translateY(-".concat(topHeight, "px)") - }); - ownerComponent.callMethod('setCurrentMonth', { - month: topHeight > monthHeight * 0.8 ? i + 1 : i - }); - break; - } else { - currentScroll = currentScroll - heightList[i]; - } - } -} -module.exports = { - handleScroll: handleScroll -}; \ No newline at end of file diff --git a/compiled/wechat/src/Calendar/utils.js b/compiled/wechat/src/Calendar/utils.js deleted file mode 100644 index 9e7e02641..000000000 --- a/compiled/wechat/src/Calendar/utils.js +++ /dev/null @@ -1,157 +0,0 @@ -import dayjs from 'dayjs'; -import { isoWeekday } from '../_util/dayjs/iso-weekday'; -export function getMonthListFromRange(start, end) { - if (start.isAfter(end)) - throw new Error("Start time can't be later than end time."); - var result = []; - var current = start.date(1); - while (!current.isAfter(end)) { - result.push(current.date(1)); - current = current.add(1, 'month'); - } - return result; -} -export function defaultMonthRange() { - var start = dayjs().startOf('date'); - var end = dayjs().startOf('date').add(2, 'month'); - return [start.toDate().getTime(), end.toDate().getTime()]; -} -/** - * - * @param month 月份的某一天 - * @param weekStartsOn 日历以星期几开始 - * @returns 获取当月日历所有的日子 - */ -export function getDate(month, weekStartsOn) { - var startOfMonth = month.date(1); - var cells = []; - var iterator = startOfMonth - .subtract(isoWeekday(startOfMonth) % 7, 'day') - .startOf('day'); - if (weekStartsOn === 'Monday') { - iterator = iterator.add(1, 'day'); - if (iterator.isSame(startOfMonth, 'month') && - !iterator.isSame(startOfMonth.startOf('date'), 'date')) { - iterator = iterator.add(-7, 'days'); - } - } - var diffDay = startOfMonth.date(1).add(1, 'month').diff(iterator, 'day'); - var lintCount = Math.ceil(diffDay / 7); - while (cells.length < lintCount * 7) { - cells.push(iterator); - iterator = iterator.add(1, 'day'); - } - return cells; -} -export function renderCells(cellsMonth, weekStartsOn, value, localeText, monthRangeList) { - var _a; - var rangeStartDate = monthRangeList[0], rangeEndDate = monthRangeList[1]; - var rowBeginDay = 0; - var rowEndDay = 6; - if (weekStartsOn === 'Monday') { - rowBeginDay = 1; - rowEndDay = 0; - } - var dates = getDate(cellsMonth, weekStartsOn); - if (!value) { - return dates.map(function (d, index) { - var isToday = dayjs().isSame(d, 'day'); - var isRowBegin = d.isSame(cellsMonth.startOf('month'), 'date') || - d.day() === rowBeginDay; - var isRowEnd = d.isSame(cellsMonth.endOf('month'), 'date') || d.day() === rowEndDay; - var top; - if (isToday) { - top = { - label: localeText.today, - }; - } - return { - index: index, - disabled: false, - time: d.toDate().getTime(), - date: d.get('date'), - isSelected: false, - isSelectedBegin: false, - top: top, - isSelectedEnd: false, - inThisMonth: d.month() === cellsMonth.month(), - isRowBegin: isRowBegin, - isRowEnd: isRowEnd, - isRange: (d.isSame(rangeStartDate) || d.isAfter(rangeStartDate)) && - (d.isSame(rangeEndDate) || d.isBefore(rangeEndDate)), - }; - }); - } - var selectBegin; - var selectEnd; - if (Array.isArray(value)) { - selectBegin = dayjs(value[0]); - selectEnd = dayjs((_a = value[1]) !== null && _a !== void 0 ? _a : value[0]); - } - else { - selectBegin = dayjs(value); - selectEnd = dayjs(value); - } - return dates.map(function (d, index) { - var isToday = dayjs().isSame(d, 'day'); - var isRowBegin = d.isSame(cellsMonth.startOf('month'), 'date') || d.day() === rowBeginDay; - var isRowEnd = d.isSame(cellsMonth.endOf('month'), 'date') || d.day() === rowEndDay; - var isSelectedBegin = selectBegin.isSame(d, 'day'); - var isSelectedEnd = selectEnd.isSame(d, 'day'); - var isSelected = (!!selectBegin.isBefore(d, 'day') && !!selectEnd.isAfter(d, 'day')) || - isSelectedBegin || - isSelectedEnd; - var inThisMonth = d.month() === cellsMonth.month(); - var time = d.toDate().getTime(); - var topLabel = isToday ? localeText.today : ''; - if (Array.isArray(value)) { - if (isSelectedBegin) { - if (isSelectedEnd && value.length === 2) { - topLabel = localeText.startAndEnd; - } - else { - topLabel = localeText.start; - } - } - else { - if (isSelectedEnd) { - topLabel = localeText.end; - } - } - } - return { - index: index, - disabled: false, - time: time, - date: d.get('date'), - isSelected: isSelected, - isSelectedBegin: isSelectedBegin, - top: { label: topLabel }, - isSelectedEnd: isSelectedEnd, - inThisMonth: inThisMonth, - isRowBegin: isRowBegin, - isRowEnd: isRowEnd, - isRange: (d.isSame(rangeStartDate) || d.isAfter(rangeStartDate)) && - (d.isSame(rangeEndDate) || d.isBefore(rangeEndDate)), - }; - }); -} -export function getSelectionModeFromValue(value) { - if (Array.isArray(value)) { - return 'range'; - } - if (typeof value === 'number') { - return 'single'; - } - return null; -} -// 获取滚动视图的元素id -export function getScrollIntoViewId(value) { - // 已选中时间滚动到可视区域内(微信不支持id为数字开头) - return "id_".concat(value && - dayjs(Array.isArray(value) ? value[0] : value) - .startOf('d') - .subtract(7, 'd') // 需要定位的地方往前推7天,让已选中时间定位到中间位置 - .toDate() - .getTime()); -} diff --git a/compiled/wechat/src/Calendar/variable.wxss b/compiled/wechat/src/Calendar/variable.wxss deleted file mode 100644 index 7742bb56a..000000000 --- a/compiled/wechat/src/Calendar/variable.wxss +++ /dev/null @@ -1 +0,0 @@ -/* size | 按钮内间距 */ diff --git a/compiled/wechat/src/Card/index.en.md b/compiled/wechat/src/Card/index.en.md deleted file mode 100644 index 143d92eb2..000000000 --- a/compiled/wechat/src/Card/index.en.md +++ /dev/null @@ -1,162 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Card - -Base card container. When you need to carry text, lists, pictures, paragraphs and other content, use Card card containers to facilitate users to browse. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-card": "antd-mini/es/Card/index" -#endif -#if WECHAT - "ant-card": "antd-mini/Card/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - - - I am the card content - - -``` - -### Content Separator - -```xml - - - Title Content with Split Line - - -``` - -### Title ceiling - -```xml - - - Simulate a long card content - - -``` - -### Card Foldable - -```xml - - - Content area can be expanded/collapsed - - -``` - -### Custom Action Buttons - -```xml - - - Custom - - - I am the card content - - -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ---------------------------- | ------------------------------------------------------------------- | --------------------------- | ------ | -| className | Container className | string | - | -| config | Card Configuration | [ICardConfig](#ICardConfig) | - | -| title | Card Title | string | - | -| divider | Whether there is a dividing line | boolean | false | -| needFold | Whether a foldable card is required, the operateText needs to be empty, otherwise it needs to be manually unfolded and stowed. | boolean | false | -| foldStatus | Whether it is collapsed or not, passing true will cause it to be collapsed, regardless of whether the needFold is true or not. | boolean | false | -| headSticky | Does the title need ceiling | boolean | false | -| stickyTransparentTitle | Whether the ceiling is on the transparent head page, if so, the height of the transparent head will be calculated automatically. | boolean | false | -| stickyTop | How much distance should the title be from the top when it is sucked | string | - | -| operateText | Default title bar right action button text | string | - | -| #if ALIPAY onOperateClick | Default title bar right operation button click callback | () => void | - | -| #if ALIPAY onFoldChange | Default title bar right collapse expand button click callback | () => void | - | -| #if ALIPAY onTitleSticky | Whether the title area is the callback when the ceiling changes. | (status) => void | - | -| #if WECHAT bind:operateclick | Default title bar right operation button click callback | () => void | - | -| #if WECHAT bind:foldchange | Default title bar right collapse expand button click callback | () => void | - | -| #if WECHAT bind:titlesticky | Whether the title area is the callback when the ceiling changes. | (status) => void | - | - -### ICardConfig - -| Configuration Item | Description | Type | Default Value | -| ----------- | ------------------------------------- | ------ | ------ | -| foldTapArea | Collapse behavior trigger area, optional`btn`、`header` | string | 'btn' | - -## Slot - -| Name | Description | -| ----------- | -------------------- | -| Default Slot | Card Content | -| headerTitle | Custom Title Bar Left Header | -| headerRight | Customize the right content of the title bar | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --ant-card-bg |
#ffffff
|
#1a1a1a
| Card background color | -| --ant-card-header-title-color |
#333333
|
#c5cad1
| Card head title color | -| --ant-card-header-link-color |
#999999
|
#616161
| Card Head Link Color | -| --ant-card-fold-btn-color |
#1677ff
|
#3086ff
| Card Fold Button Color | diff --git a/compiled/wechat/src/Card/index.js b/compiled/wechat/src/Card/index.js deleted file mode 100644 index 857169693..000000000 --- a/compiled/wechat/src/Card/index.js +++ /dev/null @@ -1,67 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { Component, getValueFromProps, triggerEvent, triggerEventOnly, } from '../_util/simply'; -import { CardDefaultProps } from './props'; -Component(CardDefaultProps, { - // 点击展开收起按钮 - handleTapFoldBtn: function (e) { - var _a = this.data, _b = _a.finalConfig, finalConfig = _b === void 0 ? {} : _b, finalFoldStatus = _a.finalFoldStatus; - if (finalConfig.foldTapArea === 'btn') { - this.setData({ - finalFoldStatus: !finalFoldStatus, - }); - triggerEvent(this, 'foldChange', !finalFoldStatus, e); - } - }, - // 点击标题整栏 - handleTapCardHeader: function (e) { - var _a = this.data, _b = _a.finalConfig, finalConfig = _b === void 0 ? {} : _b, finalFoldStatus = _a.finalFoldStatus; - if (finalConfig.foldTapArea === 'header' && this.props.needFold) { - this.setData({ - finalFoldStatus: !finalFoldStatus, - }); - triggerEvent(this, 'foldChange', !finalFoldStatus, e); - } - }, - // 点击更多 - handleTapLink: function (e) { - triggerEventOnly(this, 'operateClick', e); - }, - // 处理title的sticky状态变化 - handleStickyChange: function (status) { - triggerEvent(this, 'titleSticky', status); - }, -}, { - finalFoldStatus: false, -}, undefined, { - attached: function () { - var _a = getValueFromProps(this, [ - 'foldStatus', - 'config', - ]), foldStatus = _a[0], config = _a[1]; - this.setData({ - finalFoldStatus: foldStatus, - finalConfig: __assign(__assign({}, CardDefaultProps.config), config), - }); - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - if (prevData.foldStatus !== data.foldStatus) { - this.setData({ - finalFoldStatus: data.foldStatus, - }); - } - }, - }, -}); diff --git a/compiled/wechat/src/Card/index.json b/compiled/wechat/src/Card/index.json deleted file mode 100644 index 9e3b52be0..000000000 --- a/compiled/wechat/src/Card/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-sticky": "../Sticky/index", - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Card/index.md b/compiled/wechat/src/Card/index.md deleted file mode 100644 index 1f06ebfae..000000000 --- a/compiled/wechat/src/Card/index.md +++ /dev/null @@ -1,162 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Card 卡片 - -基础的卡片容器。当需要承载文字、列表、图片、段落等内容时,使用 Card 卡片容器以方便用户浏览。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-card": "antd-mini/es/Card/index" -#endif -#if WECHAT - "ant-card": "antd-mini/Card/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - - - 我是卡片内容 - - -``` - -### 内容分隔线 - -```xml - - - 标题内容间带分割线 - - -``` - -### 标题吸顶 - -```xml - - - 模拟一个长卡片内容 - - -``` - -### 卡片可折叠 - -```xml - - - 内容区域可展开/收起 - - -``` - -### 自定义操作按钮 - -```xml - - - 自定义 - - - 我是卡片内容 - - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------------- | ------------------------------------------------------------------- | --------------------------- | ------ | -| className | 容器 className | string | - | -| config | 卡片配置 | [ICardConfig](#ICardConfig) | - | -| title | 卡片标题 | string | - | -| divider | 是否有分割线 | boolean | false | -| needFold | 是否需要可折叠卡片,需要 operateText 为空,否则需要手动进行展开收起 | boolean | false | -| foldStatus | 是否折叠,传 true 会导致收起,不管 needFold 是否为 true | boolean | false | -| headSticky | 标题是否需要吸顶 | boolean | false | -| stickyTransparentTitle | 吸顶是否在透明头页面,是的话会自动算透明头高度 | boolean | false | -| stickyTop | 标题吸顶时要吸在距离顶部多少的位置 | string | - | -| operateText | 默认标题栏右侧操作按钮文本 | string | - | -| #if ALIPAY onOperateClick | 默认标题栏右侧操作按钮点击回调 | () => void | - | -| #if ALIPAY onFoldChange | 默认标题栏右侧折叠展开按钮点击回调 | () => void | - | -| #if ALIPAY onTitleSticky | title 区域是否吸顶变化时的回调 | (status) => void | - | -| #if WECHAT bind:operateclick | 默认标题栏右侧操作按钮点击回调 | () => void | - | -| #if WECHAT bind:foldchange | 默认标题栏右侧折叠展开按钮点击回调 | () => void | - | -| #if WECHAT bind:titlesticky | title 区域是否吸顶变化时的回调 | (status) => void | - | - -### ICardConfig - -| 配置项 | 说明 | 类型 | 默认值 | -| ----------- | ------------------------------------- | ------ | ------ | -| foldTapArea | 折叠行为触发区域,可选`btn`、`header` | string | 'btn' | - -## 插槽 - -| 名称 | 说明 | -| ----------- | -------------------- | -| 默认插槽 | 卡片内容 | -| headerTitle | 自定义标题栏左侧标题 | -| headerRight | 自定义标题栏右侧内容 | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --ant-card-bg |
#ffffff
|
#1a1a1a
| 卡片背景颜色 | -| --ant-card-header-title-color |
#333333
|
#c5cad1
| 卡片头部标题颜色 | -| --ant-card-header-link-color |
#999999
|
#616161
| 卡片头部链接颜色 | -| --ant-card-fold-btn-color |
#1677ff
|
#3086ff
| 卡片折叠按钮颜色 | diff --git a/compiled/wechat/src/Card/index.wxml b/compiled/wechat/src/Card/index.wxml deleted file mode 100644 index de8f9dac9..000000000 --- a/compiled/wechat/src/Card/index.wxml +++ /dev/null @@ -1,42 +0,0 @@ - - - - {{title}} - {{operateText}} - - - {{finalFoldStatus ? '展开' : '收起'}} - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Card/index.wxss b/compiled/wechat/src/Card/index.wxss deleted file mode 100644 index 32da1e497..000000000 --- a/compiled/wechat/src/Card/index.wxss +++ /dev/null @@ -1,47 +0,0 @@ -.ant-card { - border-radius: 24rpx; - background-color: var(--ant-card-bg, #ffffff); -} -.ant-card-header { - display: flex; - padding: 24rpx; - justify-content: space-between; -} -.ant-card-header-title { - color: var(--ant-card-header-title-color, #333333); - line-height: 45rpx; - font-size: 32rpx; -} -.ant-card-header-right-link { - display: flex; - align-items: center; - font-size: 28rpx; - color: var(--ant-card-header-title-color, #999999); -} -.ant-card-header:empty { - margin-bottom: 0; -} -.ant-card-header-fold-btn { - font-size: 26rpx; - color: var(--ant-card-fold-btn-color, #1677ff); -} -.ant-card-header-fold-icon { - font-size: 26rpx; - margin-left: 8rpx; - color: var(--ant-card-fold-btn-color, #1677ff); -} -.ant-card .ant-card-divider { - margin: 0 24rpx; - height: 1px; -} -.ant-card .ant-card-content { - padding: 24rpx; - transition: all 0.2s ease-in-out; - will-change: max-height; -} -.ant-card .ant-card-content-collapse { - max-height: 0; - padding-top: 0; - padding-bottom: 0; - overflow: hidden; -} diff --git a/compiled/wechat/src/Card/props.js b/compiled/wechat/src/Card/props.js deleted file mode 100644 index d0e0f026c..000000000 --- a/compiled/wechat/src/Card/props.js +++ /dev/null @@ -1,16 +0,0 @@ -export var CardDefaultProps = { - className: '', - config: { - foldTapArea: 'btn', - }, - title: '', - operateText: '', - needFold: false, - foldStatus: false, - headSticky: false, - stickyTransparentTitle: false, - stickyTop: '', - onOperateClick: function () { }, - onFoldChange: function () { }, - onTitleSticky: function (status) { return status; }, -}; diff --git a/compiled/wechat/src/Card/variable.wxss b/compiled/wechat/src/Card/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Checkbox/CheckboxGroup/index.js b/compiled/wechat/src/Checkbox/CheckboxGroup/index.js deleted file mode 100644 index a1776c169..000000000 --- a/compiled/wechat/src/Checkbox/CheckboxGroup/index.js +++ /dev/null @@ -1,44 +0,0 @@ -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { CheckboxGroupDefaultProps } from './props'; -import mixinValue from '../../mixins/value'; -Component(CheckboxGroupDefaultProps, { - onChange: function (args, e) { - if (getValueFromProps(this, 'disabled')) { - return; - } - var event; - event = args; - var currentValue = this.getValue(); - var index = event.currentTarget.dataset.index; - var selectValue = getValueFromProps(this, 'options')[index].value; - if (currentValue.indexOf(selectValue) > -1) { - currentValue = currentValue.filter(function (v) { return v !== selectValue; }); - } - else { - currentValue = __spreadArray(__spreadArray([], currentValue, true), [selectValue], false); - } - if (!this.isControlled()) { - this.update(currentValue); - } - triggerEvent(this, 'change', currentValue, e); - }, -}, null, [ - mixinValue({ - transformValue: function (val) { - var value = val || []; - return { - needUpdate: true, - value: value, - }; - }, - }), -]); diff --git a/compiled/wechat/src/Checkbox/CheckboxGroup/index.json b/compiled/wechat/src/Checkbox/CheckboxGroup/index.json deleted file mode 100644 index c7460b750..000000000 --- a/compiled/wechat/src/Checkbox/CheckboxGroup/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "list": "../../List/index", - "list-item": "../../List/ListItem/index", - "ant-checkbox": "../index" - } -} diff --git a/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxml b/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxml deleted file mode 100644 index 7359b0f37..000000000 --- a/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - {{item.label}} - - - - - - - - {{item.label}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxss b/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxss deleted file mode 100644 index cb30b4db4..000000000 --- a/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxss +++ /dev/null @@ -1,34 +0,0 @@ -.ant-checkbox-group-horizontal .ant-checkbox-group-body { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} -.ant-checkbox-group-horizontal .ant-checkbox-group-body .ant-list-item-line { - padding-right: 0; -} -.ant-checkbox-group-horizontal .ant-checkbox-group-body .ant-checkbox-item { - flex-flow: 0; -} -.ant-checkbox-group-horizontal .ant-checkbox-group-body .ant-list-item-line::after { - display: none; -} -.ant-checkbox-group-header:empty, -.ant-checkbox-group-footer:empty { - display: none; -} -.ant-checkbox-group-header, -.ant-checkbox-group-footer { - display: flex; - align-items: center; - padding: 16rpx 24rpx; - line-height: 1.4; - font-size: 30rpx; - color: var(--checkbox-header-color, #999999); -} -.ant-checkbox-group-body { - position: relative; - overflow: hidden; -} -.ant-checkbox-group-body .ant-checkbox-item-content .ant-checkbox-group-item-label-default:not(:nth-child(1)) { - display: none; -} diff --git a/compiled/wechat/src/Checkbox/CheckboxGroup/props.js b/compiled/wechat/src/Checkbox/CheckboxGroup/props.js deleted file mode 100644 index 1440a178e..000000000 --- a/compiled/wechat/src/Checkbox/CheckboxGroup/props.js +++ /dev/null @@ -1,8 +0,0 @@ -export var CheckboxGroupDefaultProps = { - value: null, - defaultValue: [], - disabled: false, - position: 'vertical', - color: '', - options: [], -}; diff --git a/compiled/wechat/src/Checkbox/index.en.md b/compiled/wechat/src/Checkbox/index.en.md deleted file mode 100644 index a0bd1e7dc..000000000 --- a/compiled/wechat/src/Checkbox/index.en.md +++ /dev/null @@ -1,264 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Checkbox - -Multiple selection in a set of options. When used alone, it can represent a switch between two states, and `switch` Similar. The difference is that switching `switch` will directly trigger a state change, while `checkbox` Generally used for status markers and needs to be coordinated with the submit operation. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-checkbox": "antd-mini/es/Checkbox/index", - "ant-checkbox-group": "antd-mini/es/CheckboxGroup/index" -#endif -#if WECHAT - "ant-checkbox": "antd-mini/Checkbox/index", - "ant-checkbox-group": "antd-mini/CheckboxGroup/index" -#endif -} -``` - -## Code example - -### Basic use - -> By `checked` Checked state of the binding check box. - -```xml -#if ALIPAY -Basic usage -#endif -#if WECHAT -Basic usage -#endif -``` - -```js -Page({ - data: { - checked: false, - }, - handleCheckedChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### Grouping - -```xml -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data:{ - value: ['banana'], - options: [ - { value: 'apple', label: 'Apple' }, - { value: 'orange', label: 'Orange' }, - { value: 'banana', label: 'Banana' }, - ], - }, - handleValueChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### Custom Grouping - -> `van-checkbox` Cooperation `list` Use together to support custom grouping selection - -```xml -#if ALIPAY - - - - - - {{item.title}} - - - - - -#endif -#if WECHAT - - - - - {{item.title}} - - - - -#endif -``` - -```js -Page({ - data: { - customOptions: [ - { - title: 'Group one', - list: [ - { - title: 'Option one', - value: '1', - }, - ], - }, - { - title: 'Group two', - list: [ - { - title: 'Option two', - value: '2', - }, - ], - }, - ], - customValue: [], - }, - handleCustomChange(checked, e) { - let value = this.data.customValue; - -#if WECHAT - const event = checked; - if (event.detail) { - value = value.concat(event.target.dataset.value); - } else { - value = value.filter((v) => v !== event.target.dataset.value); - } -#endif - -#if ALIPAY - if (checked) { - value = value.concat(e.target.dataset.value); - } else { - value = value.filter((v) => v !== e.target.dataset.value); - } -#endif - - this.setData({ customValue: value }); - console.log(value); - }, -}); -``` - -## Demo Code - - - -## API - -#### Checkbox - -| Property | Description | Type | Default Value | -| ---------------------- | ----------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| checked | Whether selected | boolean | - | -| className | Class Name | string | - | -| color | Selected color, same as CSS color value | string | - | -| defaultChecked | Is selected by default | boolean | - | -| disabled | Disable | boolean | false | -| style | Style | string | - | -| #if ALIPAY onChange | Trigger callback when selection status changes | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | Trigger callback when selection status changes | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -#### CheckboxGroup - -| Property | Description | Type | Default Value | -| ---------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ---------- | -| className | Class Name | string | - | -| color | Selected color, same as CSS color value | string | - | -| defaultValue | Default selected value | `string[]` | - | -| disabled | Disable | boolean | false | -| label | Label area slot, receiving value (current item optional item), index (index) | slot | - | -| options | Specify options | `{label: string; value: string; disabled: boolean}[]` | - | -| position | layout, optional `horizontal`、`vertical` | string | `vertical` | -| style | Style | string | - | -| value | The value of the CheckboxGroup to determine whether the child element is checked. | `string[]` | - | -| #if ALIPAY onChange | Check to trigger this function when status changes | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | Check to trigger this function when status changes | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --checkbox-header-color |
#999999
|
#616161
| Check Box Title Color | -| --checkbox-border-color |
#cccccc
|
#474747
| Check Box Border Color | -| --checkbox-background-color |
#1677ff
|
#3086ff
| Checkbox Background Color | -| --checkbox-disabled-background |
#f5f5f5
|
#121212
| Check box Disable background color | -| --checkbox-text-color |
#333333
|
#c5cad1
| Check Box Text Color | -| --checkbox-fake-icon-background-color |
#ffffff
|
#1a1a1a
| Check Box Fake Icon Background Color | diff --git a/compiled/wechat/src/Checkbox/index.js b/compiled/wechat/src/Checkbox/index.js deleted file mode 100644 index 686ba11f6..000000000 --- a/compiled/wechat/src/Checkbox/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { CheckboxDefaultProps } from './props'; -import { Component, triggerEvent } from '../_util/simply'; -import mixinValue from '../mixins/value'; -Component(CheckboxDefaultProps, { - onChange: function (e) { - var value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, -}, null, [ - mixinValue({ - valueKey: 'checked', - defaultValueKey: 'defaultChecked', - }), -]); diff --git a/compiled/wechat/src/Checkbox/index.json b/compiled/wechat/src/Checkbox/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Checkbox/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Checkbox/index.md b/compiled/wechat/src/Checkbox/index.md deleted file mode 100644 index b4f7aacfe..000000000 --- a/compiled/wechat/src/Checkbox/index.md +++ /dev/null @@ -1,264 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Checkbox 复选框 - -在一组可选项中进行多选。单独使用时可以表示两种状态之间的切换,与 `switch` 类似。区别在于,切换 `switch` 会直接触发状态改变,而 `checkbox` 一般用于状态标记,需要与提交操作配合。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-checkbox": "antd-mini/es/Checkbox/index", - "ant-checkbox-group": "antd-mini/es/CheckboxGroup/index" -#endif -#if WECHAT - "ant-checkbox": "antd-mini/Checkbox/index", - "ant-checkbox-group": "antd-mini/CheckboxGroup/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> 通过 `checked` 绑定复选框的勾选状态。 - -```xml -#if ALIPAY -Basic usage -#endif -#if WECHAT -Basic usage -#endif -``` - -```js -Page({ - data: { - checked: false, - }, - handleCheckedChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### 分组 - -```xml -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data:{ - value: ['banana'], - options: [ - { value: 'apple', label: 'Apple' }, - { value: 'orange', label: 'Orange' }, - { value: 'banana', label: 'Banana' }, - ], - }, - handleValueChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### 自定义分组 - -> `van-checkbox` 配合 `list` 一起使用,即可支持自定义分组选择 - -```xml -#if ALIPAY - - - - - - {{item.title}} - - - - - -#endif -#if WECHAT - - - - - {{item.title}} - - - - -#endif -``` - -```js -Page({ - data: { - customOptions: [ - { - title: 'Group one', - list: [ - { - title: 'Option one', - value: '1', - }, - ], - }, - { - title: 'Group two', - list: [ - { - title: 'Option two', - value: '2', - }, - ], - }, - ], - customValue: [], - }, - handleCustomChange(checked, e) { - let value = this.data.customValue; - -#if WECHAT - const event = checked; - if (event.detail) { - value = value.concat(event.target.dataset.value); - } else { - value = value.filter((v) => v !== event.target.dataset.value); - } -#endif - -#if ALIPAY - if (checked) { - value = value.concat(e.target.dataset.value); - } else { - value = value.filter((v) => v !== e.target.dataset.value); - } -#endif - - this.setData({ customValue: value }); - console.log(value); - }, -}); -``` - -## Demo 代码 - - - -## API - -#### Checkbox - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ----------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| checked | 是否选中 | boolean | - | -| className | 类名 | string | - | -| color | 选中的颜色,同 CSS 色值 | string | - | -| defaultChecked | 默认是否选中 | boolean | - | -| disabled | 是否禁用 | boolean | false | -| style | 样式 | string | - | -| #if ALIPAY onChange | 选中状态改变时触发回调 | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中状态改变时触发回调 | (checked: boolean, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -#### CheckboxGroup - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ---------- | -| className | 类名 | string | - | -| color | 选中的颜色,同 CSS 色值 | string | - | -| defaultValue | 默认选中的值 | `string[]` | - | -| disabled | 是否禁用 | boolean | false | -| label | label 区插槽,接收 value(当前项可选项 item)、index(索引) | slot | - | -| options | 指定可选项 | `{label: string; value: string; disabled: boolean}[]` | - | -| position | 布局,可选 `horizontal`、`vertical` | string | `vertical` | -| style | 样式 | string | - | -| value | CheckboxGroup 的值,决定子元素是否勾选 | `string[]` | - | -| #if ALIPAY onChange | 勾选状态变化时触发此函数 | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 勾选状态变化时触发此函数 | (value: `string[]`, event: `Event`(https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --checkbox-header-color |
#999999
|
#616161
| 复选框标题颜色 | -| --checkbox-border-color |
#cccccc
|
#474747
| 复选框边框颜色 | -| --checkbox-background-color |
#1677ff
|
#3086ff
| 复选框背景颜色 | -| --checkbox-disabled-background |
#f5f5f5
|
#121212
| 复选框禁用背景颜色 | -| --checkbox-text-color |
#333333
|
#c5cad1
| 复选框文本颜色 | -| --checkbox-fake-icon-background-color |
#ffffff
|
#1a1a1a
| 复选框假图标背景颜色 | diff --git a/compiled/wechat/src/Checkbox/index.wxml b/compiled/wechat/src/Checkbox/index.wxml deleted file mode 100644 index b9d73b435..000000000 --- a/compiled/wechat/src/Checkbox/index.wxml +++ /dev/null @@ -1,36 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/wechat/src/Checkbox/index.wxs b/compiled/wechat/src/Checkbox/index.wxs deleted file mode 100644 index a8c3f6db0..000000000 --- a/compiled/wechat/src/Checkbox/index.wxs +++ /dev/null @@ -1,21 +0,0 @@ -function getClassName(checked, disabled) { - if (!checked && !disabled) { - return 'icon'; - } - if (checked && !disabled) { - return 'checkedIcon'; - } - if (!checked && disabled) { - return 'disbaledIcon'; - } - if (checked && disabled) { - return 'disabledCheckedIcon'; - } -} -function getCheckboxChecked(item, value) { - return (value || []).indexOf(item.value) > -1; -} -module.exports = { - getClassName: getClassName, - getCheckboxChecked: getCheckboxChecked -}; \ No newline at end of file diff --git a/compiled/wechat/src/Checkbox/index.wxss b/compiled/wechat/src/Checkbox/index.wxss deleted file mode 100644 index afd8bee35..000000000 --- a/compiled/wechat/src/Checkbox/index.wxss +++ /dev/null @@ -1,88 +0,0 @@ -.ant-checkbox-item { - color: var(--checkbox-text-color, #333333); - margin-right: 16rpx; - height: 59.6rpx; - line-height: 59.6rpx; - display: inline-block; -} -.ant-checkbox-item-container { - display: flex; - align-items: center; -} -.ant-checkbox-item-content { - padding-left: 10rpx; - text-align: left; -} -.ant-checkbox-item-wrap { - position: relative; - width: 44rpx; - height: 44rpx; - flex: 0 0 44rpx; -} -.ant-checkbox-item-base { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 0; -} -.ant-checkbox-item-fake { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - overflow: hidden; - pointer-events: none; - display: flex; - justify-content: center; - align-items: center; -} -.ant-checkbox-item-fake-icon { - background-color: var(--checkbox-fake-icon-background-color, #ffffff); - border: 2rpx solid var(--checkbox-border-color, #cccccc); - border-radius: 50vh; - width: 100%; - height: 100%; - box-sizing: border-box; -} -.ant-checkbox-item-fake-checkedIcon { - border-radius: 50vh; - background-color: var(--checkbox-background-color, #1677ff); - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; -} -.ant-checkbox-item-fake-checkedIcon-icon { - color: #ffffff; - font-size: 28rpx; -} -.ant-checkbox-item-fake-disbaledIcon { - box-sizing: border-box; - border: 2rpx solid var(--checkbox-border-color, #cccccc); - border-radius: 50vh; - width: 100%; - height: 100%; - background-color: var(--checkbox-disabled-background, #f5f5f5); -} -.ant-checkbox-item-fake-disabledCheckedIcon { - box-sizing: border-box; - border: 2rpx solid var(--checkbox-border-color, #cccccc); - background-color: var(--checkbox-disabled-background, #f5f5f5); - border-radius: 50vh; - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; -} -.ant-checkbox-item-fake-disabledCheckedIcon-icon { - color: var(--checkbox-border-color, #cccccc); - font-size: 28rpx; -} -.ant-checkbox-item-disabled { - opacity: 0.4; -} diff --git a/compiled/wechat/src/Checkbox/props.js b/compiled/wechat/src/Checkbox/props.js deleted file mode 100644 index 79e18828e..000000000 --- a/compiled/wechat/src/Checkbox/props.js +++ /dev/null @@ -1,7 +0,0 @@ -export var CheckboxDefaultProps = { - value: null, - checked: null, - defaultChecked: null, - disabled: false, - color: '', -}; diff --git a/compiled/wechat/src/Checkbox/variable.wxss b/compiled/wechat/src/Checkbox/variable.wxss deleted file mode 100644 index 57400d72a..000000000 --- a/compiled/wechat/src/Checkbox/variable.wxss +++ /dev/null @@ -1,6 +0,0 @@ -/* size | 大小 */ -/* corner-radius | 圆角 */ -/* border-width | 边框宽度 */ -/* color | 边框颜色 */ -/* color | check状态背景色 */ -/* color | disabled状态背景色 */ diff --git a/compiled/wechat/src/Checklist/ChecklistItem/index.js b/compiled/wechat/src/Checklist/ChecklistItem/index.js deleted file mode 100644 index e4ef152ad..000000000 --- a/compiled/wechat/src/Checklist/ChecklistItem/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { ChecklistItemDefaultProps } from './props'; -Component(ChecklistItemDefaultProps, { - onChecklistItemClick: function () { - triggerEvent(this, 'change', getValueFromProps(this, 'item')); - }, -}); diff --git a/compiled/wechat/src/Checklist/ChecklistItem/index.json b/compiled/wechat/src/Checklist/ChecklistItem/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Checklist/ChecklistItem/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Checklist/ChecklistItem/index.wxml b/compiled/wechat/src/Checklist/ChecklistItem/index.wxml deleted file mode 100644 index 5595a1cc7..000000000 --- a/compiled/wechat/src/Checklist/ChecklistItem/index.wxml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Checklist/ChecklistItem/index.wxss b/compiled/wechat/src/Checklist/ChecklistItem/index.wxss deleted file mode 100644 index cc977920e..000000000 --- a/compiled/wechat/src/Checklist/ChecklistItem/index.wxss +++ /dev/null @@ -1,67 +0,0 @@ -.ant-checklist-item { - background-color: var(--check-list-item-background-color, #ffffff); -} -.ant-checklist-item-hover { - background-color: var(--check-list-item-hover-background-color, #e5e5e5); -} -.ant-checklist-item-content { - display: flex; - align-items: center; - padding: 24rpx 24rpx; - color: var(--check-list-item-content-color, #333333); -} -.ant-checklist-item-content-disabled { - opacity: 0.4; -} -.ant-checklist-item-content-box { - flex: 1; -} -.ant-checklist-item-content-box-nut { - display: flex; - align-items: center; -} -.ant-checklist-item-image { - width: 72rpx; - height: 72rpx; - border-radius: 8rpx; -} -.ant-checklist-item-text { - flex: 1; - margin-left: 24rpx; -} -.ant-checklist-item-text-no-image { - margin-left: 0; -} -.ant-checklist-item-text-title { - color: var(--check-list-item-title-color, #333333); - font-size: 34rpx; - line-height: 48rpx; -} -.ant-checklist-item-text-description { - font-size: 26rpx; - color: var(--check-list-item-description-color, #999999); - margin-top: 2rpx; - line-height: 36rpx; -} -.ant-checklist-item-checked-disabled { - opacity: 0.4; -} -.ant-checklist-item:last-child .ant-checklist-item-line { - display: none; -} -.ant-checklist-item-line { - margin-left: 24rpx; - position: relative; -} -.ant-checklist-item-line::after { - content: ''; - position: absolute; - background-color: var(--check-list-item-hover-background-color, #e5e5e5); - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} diff --git a/compiled/wechat/src/Checklist/ChecklistItem/props.js b/compiled/wechat/src/Checklist/ChecklistItem/props.js deleted file mode 100644 index 13c2ffe73..000000000 --- a/compiled/wechat/src/Checklist/ChecklistItem/props.js +++ /dev/null @@ -1,4 +0,0 @@ -export var ChecklistItemDefaultProps = { - item: null, - checked: false, -}; diff --git a/compiled/wechat/src/Checklist/index.en.md b/compiled/wechat/src/Checklist/index.en.md deleted file mode 100644 index f5c62b766..000000000 --- a/compiled/wechat/src/Checklist/index.en.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Checklist - -The check operation of the list. - -- Select one or more in a group of list items. -- To use a checkable list, you need to check at least one item by default to make it easier for users to understand that the list can be checked. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-checklist": "antd-mini/es/Checklist/index", -#endif -#if WECHAT - "ant-checklist": "antd-mini/Checklist/index", -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChange(v, items, e) { - console.log('当前选中的Value为:', v, items, e); - }, -}); -``` - -### Controlled and Multiple Selection - -> Incoming `multiple` Property supports multiple selection mode. `value` property and `onChange` Events are used together to achieve state control. - -```xml - -``` - -```js -Page({ - data: { - value: [1, 2], - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ value }); -#endif -#if WECHAT - this.setData({ value: value.detail[0] }); -#endif - }, -}); -``` - -### Custom - -> You can customize the check icon and style through the slot. - -```xml - - - - - - title: {{ props.item.title }} - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| className | Class Name | string | - | -| content | CheckListItem a custom content area scope slot that receives the item parameter | slot | - | -| defaultValue | Data selected by default | string \| number \| (string \| number)[] | - | -| icon | Customize the selected Icon slot | slot | - | -| multiple | Whether multiple selection is supported | boolean | false | -| options | Configure options for each column | [ChecklistItem](#checklistitem)[] | [] | -| style | Style | string | - | -| value | Selected data | string \| number \| (string \| number)[] | - | -| #if ALIPAY onChange | Trigger a callback when the selected item changes | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | Trigger a callback when the selected item changes | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### ChecklistItem - -| Parameters | Description | Type | Default Value | -| ----------- | -------- | ------- | ------ | -| description | Description | string | - | -| disabled | Disable | boolean | false | -| image | Picture | string | - | -| readonly | Read-only | boolean | false | -| title | Title | string | - | -| value | Value | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --checklist-background-color |
#1677ff
|
#3086ff
| List background color | -| --check-list-item-background-color |
#ffffff
|
#1a1a1a
| List Item Background Color | -| --check-list-item-hover-background-color |
#eeeeee
|
#2b2b2b
| List item hover background color | -| --check-list-item-content-color |
#333333
|
#c5cad1
| List Item Content Color | -| --check-list-item-description-color |
#999999
|
#616161
| List Item Description Color | diff --git a/compiled/wechat/src/Checklist/index.js b/compiled/wechat/src/Checklist/index.js deleted file mode 100644 index 67662d58c..000000000 --- a/compiled/wechat/src/Checklist/index.js +++ /dev/null @@ -1,57 +0,0 @@ -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { Component, triggerEventValues, getValueFromProps, } from '../_util/simply'; -import { ChecklistDefaultProps } from './props'; -import mixinValue from '../mixins/value'; -Component(ChecklistDefaultProps, { - onChange: function (item) { - var _a = getValueFromProps(this, [ - 'multiple', - 'options', - ]), multiple = _a[0], options = _a[1]; - var value; - value = item.detail.value; - if (multiple) { - var currentValue_1 = this.getValue(); - if (currentValue_1.indexOf(value) > -1) { - currentValue_1 = currentValue_1.filter(function (v) { return v !== value; }); - } - else { - currentValue_1 = __spreadArray(__spreadArray([], currentValue_1, true), [value], false); - } - if (!this.isControlled()) { - this.update(currentValue_1); - } - triggerEventValues(this, 'change', [ - currentValue_1, - options.filter(function (v) { return currentValue_1.indexOf(v.value) > -1; }), - ]); - } - else { - if (!this.isControlled()) { - this.update(value); - } - triggerEventValues(this, 'change', [ - value, - options.find(function (v) { return v.value === value; }), - ]); - } - }, -}, null, [ - mixinValue({ - transformValue: function (val) { - var value = val || []; - return { - needUpdate: true, - value: value, - }; - }, - }), -]); diff --git a/compiled/wechat/src/Checklist/index.json b/compiled/wechat/src/Checklist/index.json deleted file mode 100644 index 402e290e9..000000000 --- a/compiled/wechat/src/Checklist/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-checklist-item": "./ChecklistItem/index", - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Checklist/index.md b/compiled/wechat/src/Checklist/index.md deleted file mode 100644 index ddf08f5e7..000000000 --- a/compiled/wechat/src/Checklist/index.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Checklist 可勾选列表 - -列表的勾选操作。 - -- 在一组列表项中选择一个或多个。 -- 可勾选列表的使用需要默认至少勾选一项,方便用户了解列表是可以勾选的。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-checklist": "antd-mini/es/Checklist/index", -#endif -#if WECHAT - "ant-checklist": "antd-mini/Checklist/index", -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChange(v, items, e) { - console.log('当前选中的值为:', v, items, e); - }, -}); -``` - -### 受控和多选 - -> 传入 `multiple` 属性支持多选模式。 `value` 属性和 `onChange` 事件配合使用实现状态受控。 - -```xml - -``` - -```js -Page({ - data: { - value: [1, 2], - options: [ - { - value: 1, - title: '可勾选列表项1', - }, - { - value: 2, - title: '可勾选列表项2', - }, - { - value: 3, - title: '可勾选列表项3', - }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ value }); -#endif -#if WECHAT - this.setData({ value: value.detail[0] }); -#endif - }, -}); -``` - -### 自定义 - -> 可以通过插槽,自定义勾选图标以及样式 - -```xml - - - - - - title: {{ props.item.title }} - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| className | 类名 | string | - | -| content | CheckListItem 自定义内容区作用域插槽,接收 item 参数 | slot | - | -| defaultValue | 默认选中数据 | string \| number \| (string \| number)[] | - | -| icon | 自定义选中 Icon 插槽 | slot | - | -| multiple | 是否支持多选 | boolean | false | -| options | 配置每一列的选项 | [ChecklistItem](#checklistitem)[] | [] | -| style | 样式 | string | - | -| value | 选中数据 | string \| number \| (string \| number)[] | - | -| #if ALIPAY onChange | 选中项发生变化时,触发回调 | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 选中项发生变化时,触发回调 | (value: string \| number \| (string \| number)[], column: [ChecklistItem](#checklistitem) \| [ChecklistItem](#checklistitem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### ChecklistItem - -| 参数 | 说明 | 类型 | 默认值 | -| ----------- | -------- | ------- | ------ | -| description | 描述 | string | - | -| disabled | 是否禁用 | boolean | false | -| image | 图片 | string | - | -| readonly | 是否只读 | boolean | false | -| title | 标题 | string | - | -| value | 值 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --checklist-background-color |
#1677ff
|
#3086ff
| 清单背景颜色 | -| --check-list-item-background-color |
#ffffff
|
#1a1a1a
| 清单项背景颜色 | -| --check-list-item-hover-background-color |
#eeeeee
|
#2b2b2b
| 清单项悬停背景颜色 | -| --check-list-item-content-color |
#333333
|
#c5cad1
| 清单项内容颜色 | -| --check-list-item-description-color |
#999999
|
#616161
| 清单项描述颜色 | diff --git a/compiled/wechat/src/Checklist/index.wxml b/compiled/wechat/src/Checklist/index.wxml deleted file mode 100644 index b49fe9bc9..000000000 --- a/compiled/wechat/src/Checklist/index.wxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - {{item.title}} - {{item.description}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Checklist/index.wxs b/compiled/wechat/src/Checklist/index.wxs deleted file mode 100644 index 983f852de..000000000 --- a/compiled/wechat/src/Checklist/index.wxs +++ /dev/null @@ -1,9 +0,0 @@ -function getChecked(value, values, multiple) { - if (!multiple) { - return value === values; - } - return (values || []).indexOf(value) > -1; -} -module.exports = { - getChecked: getChecked -}; \ No newline at end of file diff --git a/compiled/wechat/src/Checklist/index.wxss b/compiled/wechat/src/Checklist/index.wxss deleted file mode 100644 index 6be0c6331..000000000 --- a/compiled/wechat/src/Checklist/index.wxss +++ /dev/null @@ -1,8 +0,0 @@ -.ant-checklist-body { - position: relative; - overflow: hidden; -} -.ant-checklist-item-check-icon { - font-size: 36rpx; - color: var(--checklist-background-color, #1677ff); -} diff --git a/compiled/wechat/src/Checklist/props.js b/compiled/wechat/src/Checklist/props.js deleted file mode 100644 index f266fbff5..000000000 --- a/compiled/wechat/src/Checklist/props.js +++ /dev/null @@ -1,6 +0,0 @@ -export var ChecklistDefaultProps = { - value: null, - defaultValue: null, - options: [], - multiple: false, -}; diff --git a/compiled/wechat/src/Checklist/variable.wxss b/compiled/wechat/src/Checklist/variable.wxss deleted file mode 100644 index 897b0bb16..000000000 --- a/compiled/wechat/src/Checklist/variable.wxss +++ /dev/null @@ -1,6 +0,0 @@ -/* check-list */ -/* background-color | 背景色 */ -/* check-list-item */ -/* background-color | 背景色 */ -/* text-color | 字体颜色 */ -/* text-color | 字体颜色 */ diff --git a/compiled/wechat/src/Collapse/index.en.md b/compiled/wechat/src/Collapse/index.en.md deleted file mode 100644 index b388b82ea..000000000 --- a/compiled/wechat/src/Collapse/index.en.md +++ /dev/null @@ -1,215 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Collapse - -A content area that can be collapsed/expanded. - -- Group and hide complex areas to keep the page tidy. -- An accordion is a special type of folding panel that allows only a single content area to expand. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-collapse": "antd-mini/es/Collapse/index" -#endif -#if WECHAT - "ant-collapse": "antd-mini/Collapse/index" -#endif -} -``` - -## Code example - -### Demo Code - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - onChange(current) { - console.log(current); - }, -}); -``` - -### Accordion mode - -```xml - -``` - -### List Item Control - -```xml - - Add items - - - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - addItems() { - const items = [ - ...this.data.items, - { - title: this.data.items.length, - content: 'dynamic item content', - }, - ]; - this.setData({ - items, - current: [this.data.items.length], - }); - }, -}); -``` - -### With Checkbox - -```xml -#if ALIPAY - - - - - - {{item.value.title}} - - - - {{item.value.content}} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Collapse In微信暂时不支持 Slot -#endif -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------ | ------ | -| accordion | Accordion mode, only one content is expanded | boolean | false | -| className | Class Name | string | - | -| content | Content area slot, receiving value, index | slot | - | -| current | Current expanded index | number[] | - | -| defaultCurrent | Default index for current expansion | number[] | [] | -| items | Collapse Panel List | [CollapseItem](#collapseitem)[] | [] | -| style | Style | string | - | -| title | Header slot, receiving value, index | slot | - | -| #if ALIPAY onChange | Toggle Panel Callback | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | Toggle Panel Callback | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### CollapseItem - -| Property | Description | Type | Default Value | -| --------- | -------- | ------- | ------ | -| content | Content | string | - | -| disabled | Disable | boolean | false | -| title | Title | string | - | -| className | Class Name | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------- | -| --collapse-title-background-color |
#ffffff
|
#1a1a1a
| Collapse Panel Title Background Color | -| --collapse-title-color |
#333333
|
#c5cad1
| Collapse Panel Title Color | -| --collapse-title-icon-color |
#cccccc
|
#474747
| Collapse Panel Title Icon Color | -| --collapse-content-background-color |
#ffffff
|
#1a1a1a
| Collapse Panel Content Background Color | -| --collapse-border-color |
#eeeeee
|
#2b2b2b
| Collapse Panel Border Color | -| --collapse-node-text-color |
#999999
|
#616161
| Collapse Panel Node Text Color | -| --collapse-container-background-color |
#ffffff
|
#1a1a1a
| Folding panel container background color | diff --git a/compiled/wechat/src/Collapse/index.js b/compiled/wechat/src/Collapse/index.js deleted file mode 100644 index 63c2481b1..000000000 --- a/compiled/wechat/src/Collapse/index.js +++ /dev/null @@ -1,236 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { CollapseDefaultProps } from './props'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import createValue from '../mixins/value'; -Component(CollapseDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - getBoundingClientRectWithBuilder: function (builder) { - return __awaiter(this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), builder(this.$id ? "-".concat(this.$id) : ''))]; - case 1: return [2 /*return*/, _a.sent()]; - } - }); - }); - }, - formatCurrent: function (val, props) { - var current = __spreadArray([], (val || []), true); - var items = props.items; - current = current.filter(function (item) { - if (!items[item] || items[item].disabled) { - return false; - } - return true; - }); - if (props.accordion) { - current = current.length > 0 ? [current[0]] : []; - } - return __spreadArray([], current, true); - }, - onChange: function (e) { - var itemIndex = parseInt(e.currentTarget.dataset.index, 10); - var _a = getValueFromProps(this, [ - 'items', - 'accordion', - ]), items = _a[0], accordion = _a[1]; - if (items[itemIndex] && items[itemIndex].disabled) { - return; - } - var arr = this.getValue(); - var current = __spreadArray([], arr, true); - var index = current.indexOf(itemIndex); - if (index >= 0) { - current.splice(index, 1); - } - else { - if (accordion) { - current = [itemIndex]; - } - else { - current.push(itemIndex); - current.sort(); - } - } - if (!this.isControlled()) { - this.update(current); - } - triggerEvent(this, 'change', current, e); - }, - updateContentHeight: function (prevCurrent, nextCurrent) { - return __awaiter(this, void 0, void 0, function () { - var prevCurrentArray, nextCurrentArray, expandArray, closeArray, items, contentHeight; - var _this = this; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - prevCurrentArray = prevCurrent; - nextCurrentArray = nextCurrent; - expandArray = []; - closeArray = []; - nextCurrentArray.forEach(function (item) { - if (prevCurrentArray.indexOf(item) < 0) { - expandArray.push(item); - } - }); - prevCurrentArray.forEach(function (item) { - if (nextCurrentArray.indexOf(item) < 0) { - closeArray.push(item); - } - }); - items = getValueFromProps(this, 'items'); - return [4 /*yield*/, Promise.all(items.map(function (item, index) { return __awaiter(_this, void 0, void 0, function () { - var height; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - if (!(expandArray.indexOf(index) >= 0 || - closeArray.indexOf(index) >= 0)) return [3 /*break*/, 2]; - return [4 /*yield*/, this.getBoundingClientRectWithBuilder(function (id) { return ".ant-collapse-item-content".concat(id, "-").concat(index); })]; - case 1: - height = (_a.sent()).height; - return [2 /*return*/, "".concat(height, "px")]; - case 2: return [2 /*return*/, this.data.contentHeight[index]]; - } - }); - }); }))]; - case 1: - contentHeight = _a.sent(); - if (closeArray.length === 0) { - this.setData({ - contentHeight: contentHeight, - }); - } - else { - this.setData({ - contentHeight: contentHeight, - }); - setTimeout(function () { - contentHeight = contentHeight.map(function (item, index) { - if (closeArray.indexOf(index) >= 0) { - return '0px'; - } - return item; - }); - _this.setData({ - contentHeight: contentHeight, - }); - }, 10); - } - return [2 /*return*/]; - } - }); - }); - }, - resetContentHeight: function (e) { - var index = parseInt(e.currentTarget.dataset.index, 10); - if (this.getValue().indexOf(index) < 0) { - return; - } - var contentHeight = __spreadArray([], this.data.contentHeight, true); - contentHeight[index] = ''; - this.setData({ - contentHeight: contentHeight, - }); - }, -}, { - contentHeight: [], - hasChange: false, -}, [ - createValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - transformValue: function (current, extra) { - var value = this.formatCurrent(current, extra ? extra.nextProps : getValueFromProps(this)); - return { - needUpdate: true, - value: value, - }; - }, - }), -], { - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - if (prevData.items !== data.items || !this.isEqualValue(prevData)) { - this.updateContentHeight(this.getValue(prevData), this.getValue()); - } - }, - }, - attached: function () { - var current = this.getValue(); - var contentHeight = this.properties.items.map(function (item, index) { - if (current.indexOf(index) >= 0) { - return ''; - } - return '0px'; - }); - this.setData({ - hasChange: true, - contentHeight: contentHeight, - }); - this._prevData = this.data; - }, -}); diff --git a/compiled/wechat/src/Collapse/index.json b/compiled/wechat/src/Collapse/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Collapse/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Collapse/index.md b/compiled/wechat/src/Collapse/index.md deleted file mode 100644 index 61f6cd1d1..000000000 --- a/compiled/wechat/src/Collapse/index.md +++ /dev/null @@ -1,215 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Collapse 折叠面板 - -可以折叠/展开的内容区域。 - -- 对复杂区域进行分组和隐藏,保持页面的整洁。 -- 手风琴是一种特殊的折叠面板,只允许单个内容区域展开。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-collapse": "antd-mini/es/Collapse/index" -#endif -#if WECHAT - "ant-collapse": "antd-mini/Collapse/index" -#endif -} -``` - -## 代码示例 - -### Demo 代码 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - onChange(current) { - console.log(current); - }, -}); -``` - -### 手风琴模式 - -```xml - -``` - -### 列表项控制 - -```xml - - 添加items - - - -``` - -```js -Page({ - data: { - items: [ - { - title: 'item1 title', - content: 'item1 content', - }, - { - title: 'item2 title', - content: 'item2 content', - }, - { - title: 'item3 title', - content: 'item3 content', - }, - ], - }, - addItems() { - const items = [ - ...this.data.items, - { - title: this.data.items.length, - content: 'dynamic item content', - }, - ]; - this.setData({ - items, - current: [this.data.items.length], - }); - }, -}); -``` - -### 带 Checkbox - -```xml -#if ALIPAY - - - - - - {{item.value.title}} - - - - {{item.value.content}} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Collapse 在微信暂时不支持 Slot -#endif -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------ | ------ | -| accordion | 是否是手风琴模式,仅一个内容被展开 | boolean | false | -| className | 类名 | string | - | -| content | 内容区插槽,接收 value、index | slot | - | -| current | 当前展开的索引 | number[] | - | -| defaultCurrent | 当前展开的默认索引 | number[] | [] | -| items | 折叠面板列表 | [CollapseItem](#collapseitem)[] | [] | -| style | 样式 | string | - | -| title | 标题插槽,接收 value、index | slot | - | -| #if ALIPAY onChange | 切换面板的回调 | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 切换面板的回调 | (current: number[], e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### CollapseItem - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------- | ------- | ------ | -| content | 内容 | string | - | -| disabled | 是否禁用 | boolean | false | -| title | 标题 | string | - | -| className | 类名 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------- | -| --collapse-title-background-color |
#ffffff
|
#1a1a1a
| 折叠面板标题背景颜色 | -| --collapse-title-color |
#333333
|
#c5cad1
| 折叠面板标题颜色 | -| --collapse-title-icon-color |
#cccccc
|
#474747
| 折叠面板标题图标颜色 | -| --collapse-content-background-color |
#ffffff
|
#1a1a1a
| 折叠面板内容背景颜色 | -| --collapse-border-color |
#eeeeee
|
#2b2b2b
| 折叠面板边框颜色 | -| --collapse-node-text-color |
#999999
|
#616161
| 折叠面板节点文本颜色 | -| --collapse-container-background-color |
#ffffff
|
#1a1a1a
| 折叠面板容器背景颜色 | diff --git a/compiled/wechat/src/Collapse/index.wxml b/compiled/wechat/src/Collapse/index.wxml deleted file mode 100644 index cf853a612..000000000 --- a/compiled/wechat/src/Collapse/index.wxml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - {{item.title}} - - {{brief}} - - - - - - - - - {{item.content}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Collapse/index.wxs b/compiled/wechat/src/Collapse/index.wxs deleted file mode 100644 index 441e4acf8..000000000 --- a/compiled/wechat/src/Collapse/index.wxs +++ /dev/null @@ -1,23 +0,0 @@ -function isActive(current, index, disabled) { - if (disabled) { - return false; - } - return (current || []).indexOf(index) >= 0; -} -function getStyleHeight(index, contentHeight, disabled) { - if (disabled) { - return 'height: 0px'; - } - var height = contentHeight[index]; - if (height === '') { - return ''; - } - if (height) { - return "height: ".concat(height); - } - return 'height: 0px'; -} -module.exports = { - isActive: isActive, - getStyleHeight: getStyleHeight -}; \ No newline at end of file diff --git a/compiled/wechat/src/Collapse/index.wxss b/compiled/wechat/src/Collapse/index.wxss deleted file mode 100644 index fa72c2f15..000000000 --- a/compiled/wechat/src/Collapse/index.wxss +++ /dev/null @@ -1,108 +0,0 @@ -.ant-collapse-item-disabled .ant-collapse-item-title-node, -.ant-collapse-item-disabled .ant-collapse-item-brief-container { - opacity: 0.4; -} -.ant-collapse-item-disabled .ant-collapse-item-title:active { - background: var(--collapse-title-background-color, #ffffff); - transition: 0s; -} -.ant-collapse-item-line { - display: flex; - flex: 1; - border-bottom: 1px solid var(--collapse-border-color, #e5e5e5); - padding: 24rpx; -} -.ant-collapse-item-title { - position: relative; - display: flex; - text-align: justify; - align-items: center; - justify-content: space-between; - line-height: 48rpx; - font-size: 34rpx; - color: var(--collapse-title-color, #333333); - background-color: var(--collapse-title-background-color, #ffffff); - transition: all 300ms linear; - box-sizing: border-box; -} -.ant-collapse-item-title-node { - display: flex; - flex: 1; - max-width: 100%; - font-size: 34rpx; - color: var(--collapse-title-color, #333333); -} -.ant-collapse-item-title-arrow { - color: var(--collapse-title-icon-color, #cccccc); -} -.ant-collapse-item-title-icon { - width: 44rpx; - height: 44rpx; - overflow: hidden; - margin-right: 24rpx; -} -.ant-collapse-item-title-icon .ant-icon { - font-size: 40rpx; -} -.ant-collapse-item-title-icon image { - width: 44rpx; - height: 44rpx; -} -.ant-collapse-item-title:active { - background-color: var(--collapse-border-color, #e5e5e5); - transition: 0s; -} -.ant-collapse-item-brief-container { - display: flex; -} -.ant-collapse-item-brief-container .ant-icon { - font-size: 40rpx; -} -.ant-collapse-item-brief-node { - display: flex; - flex: 1; - font-size: 30rpx; - color: var(--collapse-node-text-color, #999999); - margin-right: 8rpx; -} -.ant-collapse-item-content { - color: var(--collapse-title-color, #333333); - border-bottom: 1px solid var(--collapse-border-color, #e5e5e5); - box-sizing: border-box; - padding: 24rpx; -} -.ant-collapse-item-content-container { - background: var(--collapse-container-background-color, #ffffff); -} -.ant-collapse-item-content-wrap { - will-change: height; - overflow: hidden; -} -.ant-collapse-item-content-wrap-active { - animation: trigger1 0.2s; -} -.ant-collapse-item-content-wrap-non-active { - animation: trigger2 0.2s; -} -.ant-collapse-item-content-wrap-transition { - transition: height 0.2s ease-in-out; -} -.ant-collapse-item-content-wrap-first { - height: 0; -} -@keyframes trigger1 { - 0% { - content: ''; - } - 100% { - content: ''; - } -} -@keyframes trigger2 { - 0% { - content: ''; - } - 100% { - content: ''; - } -} diff --git a/compiled/wechat/src/Collapse/props.js b/compiled/wechat/src/Collapse/props.js deleted file mode 100644 index faefd70d1..000000000 --- a/compiled/wechat/src/Collapse/props.js +++ /dev/null @@ -1,6 +0,0 @@ -export var CollapseDefaultProps = { - current: null, - defaultCurrent: [], - accordion: false, - items: [], -}; diff --git a/compiled/wechat/src/Collapse/variable.wxss b/compiled/wechat/src/Collapse/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/ConfigProvider/darkTheme.js b/compiled/wechat/src/ConfigProvider/darkTheme.js deleted file mode 100644 index 5cc06b026..000000000 --- a/compiled/wechat/src/ConfigProvider/darkTheme.js +++ /dev/null @@ -1,373 +0,0 @@ -export var cssVariables = { - // primary - 'color-brand1': '#3086ff', - 'color-border-faded': 'rgba(48, 134, 255, 0.9)', - 'color-brand2': '#0a0a0a', - // secondary - 'color-link': '#3f5980', - 'color-wathet': '#0d2543', - 'color-orange': '#e65a2b', - 'color-yellow': '#ffa930', - 'color-green': '#34b368', - 'color-red': '#ff4a58', - // neutral - 'color-text-primary': '#c5cad1', - 'color-text-secondary': '#808080', - 'color-text-assist': '#616161', - 'color-text-weak': '#474747', - 'color-text-weak-faded': 'rgba(71, 71, 71, 0.6)', - 'color-border': '#2b2b2b', - 'color-border-greycard': '#444444', - 'color-background2': '#121212', - 'color-background': '#121212', - 'color-card': '#1a1a1a', - 'color-card2': '#222222', - 'color-white-card': '#2b2b2b', - 'color-grey-card': '#2b2b2b', - 'color-black-card': '#525252', - 'color_text_secondary': '#808080', - // reverse - 'color-white': '#ffffff', - 'color-black': '#000000', - 'color-black-fade': 'rgba(0, 0, 0, 1)', - 'color-white-dynamic': '#c5cad1', - 'color-white-change': '#000000', - 'color-black-change': '#ffffff', - // 以下没在颜色系统中 - 'color-golden-2': '#fff3d9', - 'color-golden-3': '#fff9ed', - 'color-tangerine-1': '#ff6010', - 'color-tangerine-2': '#ffece3', - 'color-grey-2': '#444444', - 'color-text-warning': '#ff3b30', - 'color-orange-1': '#ff8f1f', - 'color-orange-2': '#ffefdf', - 'color-pomonagreen-1': '#00b578', - 'color-pomonagree-2': '#d4fff1', - // radius - 'size-radius-xs': '8rpx', - 'size-radius-s': '16rpx', - 'size-radius-m': '24rpx', - 'size-radius-l': '32rpx', - 'size-radius-xl': '40rpx', - 'size-radius-xxl': '48rpx', - // space - 'size-space-page-margin': '16rpx', - 'size-space1': '4rpx', - // opacity - 'opacity-press': '0.08', - 'opacity-disabled': '0.4', - 'opacity-mask': '0.55', - 'opacity-module': '0.9', - // font-size - 'size-font1': '22rpx', - 'size-font2': '24rpx', - 'size-font3': '26rpx', - 'size-font4': '28rpx', - 'size-font5': '30rpx', - 'size-font6': '32rpx', - 'size-font7': '34rpx', - 'size-font8': '36rpx', - 'size-font9': '40rpx', - 'size-font10': '48rpx', - 'size-font11': '56rpx', - 'size-font12': '64rpx', - // popoverList - 'popover-content-bg': 'rgba(255, 255, 255, 0.45)', - 'popover-content-color': '#c5cad1', - // button - 'button-disabled-opacity': '0.4', - 'button-color': '#ff4040', - 'button-background-color': '#000000', - 'button-border-color': '#0a0a0a', - 'button-primary-border-color': '#3086ff', - 'button-primary-background-color': '#000000', - 'button-primary-color': '#ffffff', - 'button-primary-aide-border-color': '#0d2543', - 'button-primary-aide-color': '#3086ff', - 'button-default-aide-border-color': '#121212', - 'button-default-aide-background-color': '#000000', - 'button-default-aide-color': '#c5cad1', - 'button-primary-danger-background-color': '#ff4a58', - 'button-primary-danger-border-color': '#ff4a58', - 'button-primary-danger-color': '#ffffff', - 'button-default-danger-background-color': '#ffffff', - 'button-default-danger-border-color': '#ff4a58', - 'button-default-danger-color': '#ff4a58', - 'button-text-danger-color': '#ff4a58', - 'button-danger-default-color': '#ff4a58', - 'button-active-bg': 'rgba(255, 255, 255, 0.08)', - // actionsheet - 'actionsheet-danger-color': '#ff4a58', - 'actionsheet-title-color': '#616161', - 'actionsheet-item-color': '#c5cad1', - 'actionsheet-item-active-bg': '#2b2b2b', - 'activesheet-item-cancel-bg': '#121212', - // icon - 'icon-color': '#c5cad1', - // tabbar - 'tabbar-bg': '#1a1a1a', - 'tabbar-item-color': '#808080', - 'tabbar-active-color': '#3086ff', - // tabs - 'tabs-basic-color': '#c5cad1', - 'tabs-weaken-color': '#616161', - 'tabs-inverse-color': '#1a1a1a', - 'tabs-active-color': '#3086ff', - 'tabs-active-decorate-color': '#3086ff', - 'tabs-underline-border-color': '#2b2b2b', - 'tabs-plus-color': '#000000', - 'tabs-capsule-title-bg': '#121212', - 'tabs-subtitle-color': '#ffffff', - 'tabs-count-color': '#474747', - 'tabs-badge-size': '28rpx', - // feedBack - 'feedback-text-color': '#c5cad1', - 'feedback-background-color': 'rgba(216, 216, 216, 0.42)', - 'feedback-mask-color': 'rgba(0, 0, 0, 0.25)', - 'feedback-content-background-color': '#ffffff', - 'feedback-list-background-color': '#121212', - 'feedback-list-text-color': '#c5cad1', - // calendar - 'calendar-cell-disabled-opacity': '0.4', - 'calendar-weekday-names-bg': '#f8f8f8', - 'calendar-default-color': '#c5cad1', - 'calendar-selected-color': 'rgba(22, 119, 255, 0.1)', - 'calendar-assist-color': '#616161', - 'calendar-selected-end-color': '#ffffff', - // collapse - 'collapse-title-background-color': '#1a1a1a', - 'collapse-title-color': '#c5cad1', - 'collapse-title-icon-color': '#474747', - 'collapse-content-background-color': '#1a1a1a', - 'collapse-border-color': '#2b2b2b', - 'collapse-node-text-color': '#616161', - 'collapse-container-background-color': '#000000', - // container - 'container-header-color': '#c5cad1', - 'container-background-color': '#1a1a1a', - // divider - 'divider-text-color': '#c5cad1', - 'divider-border-color': '#444444', - // empty - 'empty-text-color': '#c5cad1', - 'empty-asisst-text-color': '#616161', - // grid - 'ant-grid-title-color': '#c5cad1', - 'ant-grid-description-color': '#616161', - 'ant-grid-border-color': '#2b2b2b', - // guide-tour - 'guide-tour-text-color': '#ffffff', - 'guide-tour-clear-color': '#616161', - 'guide-tour-dot-color': '#616161', - 'guide-tour-border-color': '#2b2b2b', - 'guide-tour-btn-color': '#c5cad1', - // indexbar - 'index-bar-tip-background-color': '#474747', - 'index-bar-text-color': '#ffffff', - 'index-bar-assist-color': '#616161', - 'index-bar-active-color': '#3086ff', - // input - 'input-item-color': '#c5cad1', - 'input-item-placeholder-color': '#474747', - 'input-item-clear-color': '#616161', - 'input-background-color': '#1a1a1a', - // list - 'list-header-color': '#616161', - 'list-footer-color': '#616161', - 'list-background-color': '#1a1a1a', - 'list-content-color': '#c5cad1', - 'list-extra-brief-color': '#616161', - 'list-item-border-color': '#2b2b2b', - 'list-item-text-color': '#474747', - // progress - 'progress-stroke-color': '#3086ff', - 'progress-trail-color': '#121212', - 'progress-success-color': '#34b368', - 'progress-indicator-color': '#c5cad1', - 'progress-exception-color': '#ff4a58', - 'progress-assist-color': '#616161', - // steps - 'steps-non-active-bg': '#444444', - 'steps-title-color': '#c5cad1', - 'steps-desc-color': '#616161', - 'steps-default-bg': '#3086ff', - 'steps-finish-bg': '#ff4a58', - // swipe-action - 'swipe-action-color': '#ffffff', - // tag - 'tag-primary-color': '#3086ff', - 'tag-warning-color': '#e65a2b', - 'tag-danger-color': '#ff4a58', - 'tag-success-color': '#34b368', - 'tag-primary-light-color': '#0d2543', - 'tag-warning-light-color': '#ffefdf', - 'tag-danger-light-color': '#ffece3', - 'tag-success-light-color': '#d4fff1', - 'tag-base-color': '#ffffff', - 'tag-primary-color-faded': 'rgba(22, 119, 255, 0.3)', - 'tag-warning-color-faded': 'rgba(255, 100, 48, 0.7)', - 'tag-danger-color-faded': 'rgba(255, 49, 65, 0.7)', - 'tag-success-color-faded': 'rgba(34, 179, 94, 0.7)', - // checkbox - 'checkbox-header-color': '#616161', - 'checkbox-border-color': '#474747', - 'checkbox-background-color': '#3086ff', - 'checkbox-disabled-background': '#121212', - 'checkbox-text-color': '#c5cad1', - 'checkbox-fake-icon-background-color': '#1a1a1a', - // checkboxList - 'checklist-background-color': '#3086ff', - 'check-list-item-background-color': '#1a1a1a', - 'check-list-item-hover-background-color': '#2b2b2b', - 'check-list-item-content-color': '#c5cad1', - 'check-list-item-description-color': '#616161', - // data-picker - 'range-picker-shadow-color': '#000000', - 'range-picker-item-color': '#c5cad1', - 'range-picker-active-color': '#3086ff', - 'range-picker-placeholder-color': '#474747', - 'range-picker-shadow-color-faded': 'rgba(0, 0, 0, 0.9)', - // form - 'form-text-color': '#474747', - 'form-item-color': '#808080', - 'form-item-bg': '#1a1a1a', - 'form-error-color': '#ff4a58', - 'form-extra-color': '#616161', - 'form-asterisk-color': '#ff3b30', - // imageUpload - 'image-upload-wrapper-background': '#121212', - 'image-upload-cover-background': 'rgba(0, 0, 0, 0.4)', - 'image-upload-text-color': '#ffffff', - 'image-upload-background-color': '#1a1a1a', - // loading - 'loading-text-color': '#454955', - 'loading-icon-light-color': '#999', - // mask - 'mask-background-color': 'rgba(0, 0, 0, 0.55)', - // numberKeyboard - 'number-key-board-active-background-color': '#d3d3d3', - 'number-key-board-text-color': '#c5cad1', - 'number-key-board-none-text-color': '#616161', - 'number-key-board-iphonex-safe-background-color': '#1a1a1a', - 'number-key-board-background-color': '#121212', - 'number-key-board-border-color': '#2b2b2b', - 'number-key-board-transfer-color': '#3086ff', - // picker - 'picker-item-color': '#c5cad1', - 'picker-header-action-color': '#3086ff', - 'picker-placeholder-color': '#474747', - 'picker-header-color': '#2b2b2b', - 'picker-content-background-color': '#1a1a1a', - 'picker-mask-bg-faded-95': 'rgba(255, 255, 255, 0.05)', - 'picker-mask-bg-faded-60': 'rgba(255, 255, 255, 0.4)', - // radio - 'radio-header-color': '#616161', - 'radio-border-color': '#474747', - 'radio-background-color': '#3086ff', - 'radio-disabled-background': '#121212', - 'radio-text-color': '#c5cad1', - 'radio-fake-icon-background-color': '#1a1a1a', - 'radio-icon-color': '#ffffff', - // popoverList - 'popover-list-content-bg': 'rgba(0, 0, 0, 0.93)', - 'popover-list-content-color': '#c5cad1', - 'popover-list-badge-color': '#ff411c', - // rare-words - 'rare-words-bg': 'rgba(0, 0, 0, 0.45)', - 'rare-keyboard-bg': '#4a4a4a', - 'rare-words-keyboard-color': '#c5cad1', - 'rare-words-border-color': '#2b2b2b', - 'rare-words-kb-bg': '#121212', - 'rare-words-pinyin-key-color': '#ffffff', - 'rare-words-inner-bg': '#474747', - 'rare-words-active-color': '#3086ff', - 'rare-words-pinyin-color': '#121212', - 'rare-words-keyboard-bg': '#4a4a4a', - 'rare-words-item-tips-color': '#808080', - // selector - 'selector-background-color': '#1a1a1a', - 'selector-item-background': '#121212', - 'selector-item-active-background': '#0d2543', - 'selector-item-color': '#c5cad1', - 'selector-item-sub-color': '#616161', - // slide - 'slide-block-shadow': 'rgba(0, 0, 0, 0.12)', - 'slider-default-primary-color': '#3086ff', - 'slider-track-bg': '#1a1a1a', - 'slider-fill-bg': '#121212', - 'slider-number-color': '#c5cad1', - 'slide-block-bg': '#ffffff', - 'slide-back-bg': '#121212', - // stepper - 'stepper-handler-tap-bg': '#ddd', - 'stepper-handler-border-color': '#444444', - 'stepper-border-color': '#444444', - 'stepper-background-color': '#ffffff', - 'stepper-hover-bg': 'rgba(0, 0, 0, 0.92)', - // switch - 'switch-fill': '#3086ff', - 'switch-border-color': '#2b2b2b', - 'switch-loading-color': '#3086ff', - 'switch-handle-bg': '#ffffff', - 'switch-inner-color': '#616161', - // modal - 'modal-background-color': '#1a1a1a', - 'modal-title-color': '#c5cad1', - 'modal-content-color': '#c5cad1', - 'modal-close-text-color': '#616161', - // popover - 'color-background-popover': '#404040', - 'popover-bg': '#1a1a1a', - 'popover-text-color': '#000000', - 'popover-inner-color': '#ff4a58', - // popup - 'popup-background': '#1a1a1a', - 'popup-color': '#c5cad1', - 'popup-assit-color': '#616161', - 'popup-mask-close-bg': 'rgba(0, 0, 0, 1)', - // rate - 'rate-active-icon': '#ffa930', - 'rate-icon-color': '#2b2b2b', - // result - 'result-main-background': '#1a1a1a', - 'result-title-color': '#000000', - 'result-desc-color': '#c5cad1', - 'result-success-color': '#3086ff', - 'result-error-color': '#ff3b30', - 'result-warning-color': '#ff8f1f', - 'result-wait-color': '#00b578', - // skeleton - 'skeleton-animation-25': '#2b2b2b', - 'skeleton-animation-37': 'rgba(204, 204, 204, 0.6)', - 'skeleton-animation-63': '#2b2b2b', - // toast - 'toast-default-bg': 'rgba(0, 0, 0, 0.75)', - 'toast-default-color': '#ffffff', - // badge - 'badge-text-color': '#ffffff', - 'badge-background-color': '#ff4a58', - // notice-bar - 'notice-background-color': '#fff9ed', - 'notice-border-color': '#fff3d9', - 'notice-color': '#ff6010', - 'notice-error-border-color': '#fff3d9', - 'notice-error-color': '#ffffff', - 'notice-error-background-color': '#ff4a58', - 'notice-primary-border-color': 'rgba(22, 119, 255, 0.72)', - 'notice-primary-color': '#3086ff', - 'notice-primary-background-color': 'rgba(208, 228, 255, 1)', - 'notice-info-text-color': '#ffffff', - 'notice-info-background-color': '#808080', - // page-container - 'page-container-background-color': '#121212', - // typography - 'typography-container-color': '#c5cad1', - // table - 'table-item-color': '#c5cad1', - 'table-item-bg': '#1a1a1a', - 'table-shadow-color': 'rgba(5, 5, 5, 0.06)', - 'table-empty-bg': '#c5cad1', - // sticky - 'sticky-check-bg': 'rgba(238, 238, 238, 0)', -}; diff --git a/compiled/wechat/src/ConfigProvider/index.en.md b/compiled/wechat/src/ConfigProvider/index.en.md deleted file mode 100644 index 70dffff02..000000000 --- a/compiled/wechat/src/ConfigProvider/index.en.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -nav: - path: /components -group: - title: Other - order: 16 -toc: 'content' ---- - -# ConfigProvider - -For global configuration of Antd-Mini components, provide theme customization, internationalization support. - -can pass `ConfigProvider` component to globally configure Antd-Mini components, including: - -- Setting the theme globally,[CSS Variables](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties) To organize styles, by overwriting these CSS variables, you can customize the theme, dynamically switch the theme and other effects; -- Global settings internationalization, through the setting of Locales to achieve multi-language support; - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-config-provider": "antd-mini/es/ConfigProvider/index" -#endif -#if WECHAT - "ant-config-provider": "antd-mini/ConfigProvider/index" -#endif -} -``` - -## Code example - -### Theme customization - -#### Override via CSS - -You can override these CSS variables directly in the code, and the style of the Button component will change accordingly: - -#### Covered by ConfigProvider - -ConfigProvider components provide the ability to override CSS variables, you need to wrap a ConfigProvider component in the root node and configure some theme variables through the theme property. - -### Internationalization - -Antd-Mini provides ConfigProvider components for global configuration of internationalized copy. Currently supports the following 18 languages, does not support RTL capability; - -- 简体中文 | zh-CN -- 繁体中文(中国台湾) | zh-TW -- 繁体中文(中国香港) | zh-HK -- 阿拉伯语(沙特阿拉伯 )| ar-SA -- 英语(美式) | en-US -- 朝鲜语(韩国)| ko-KR -- 德语(德国)| de-DE -- 俄语(俄罗斯)| ru-RU -- 法语(法国)| fr-FR -- 西班牙语(西班牙)| es-ES -- 意大利语(意大利)| it-IT -- 马来语(马来西亚)| ms-MY -- Indonesian | in-ID -- 泰语(泰国)| th-TH -- 葡萄牙语(巴西)| pt-BR -- 日语(日本)| ja-JP -- Turkish (Turkey) | tr-TR -- Vietnamese | vi-VN - -### Code example - - - -### Add Language Pack - -If you can't find the language pack you need, you are welcome to create a new language pack based on the English language pack and send us a Pull Request. - -## API - -The following is `ConfigProvider` Parameter list for the component: - -| Property | Description | Type | Default Value | -| --------- | ------------ | ------------------------ | ------- | -| theme | Set Theme | `light|dark` | `light` | -| themeVars | Provide Subject Variables | `Record` | `-` | -| locale | Set up a multi-language package | `BaseLang` | `zhCN` | diff --git a/compiled/wechat/src/ConfigProvider/index.js b/compiled/wechat/src/ConfigProvider/index.js deleted file mode 100644 index 760e0f536..000000000 --- a/compiled/wechat/src/ConfigProvider/index.js +++ /dev/null @@ -1,74 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { effect } from '@preact/signals-core'; -import kebabCase from 'lodash.kebabcase'; -import { ComponentWithSignalStoreImpl, getValueFromProps, } from '../_util/simply'; -import i18nController from '../_util/store'; -import { cssVariables } from './darkTheme'; -import { ConfigProviderDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - localeState: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - themeState: function (_a) { - var store = _a.store; - return store.currentTheme.value; - }, - }, -}, ConfigProviderDefaultProps, { - update: function () { - var _a = getValueFromProps(this, [ - 'theme', - 'themeVars', - 'locale', - ]), theme = _a[0], themeVars = _a[1], locale = _a[2]; - // 初始化读取locale并更新store数据 - i18nController.switchLocale(locale); - // 如果设置了主题,则切换主题,覆写themeVars - if (theme) { - i18nController.switchTheme(theme); - } - this.convertThemeVarsToCSSVars(themeVars); - }, - /** - * 主题生成 css vars - * 如果写死深色主题,则覆盖掉原来的颜色 - * @param themeVars - * @returns - */ - convertThemeVarsToCSSVars: function (themeVars) { - var cssVars = ''; - var copyThemeVars = {}; - if (this.data.themeState === 'dark') { - copyThemeVars = __assign(__assign({}, cssVariables), themeVars); - } - if (this.data.themeState === 'light') { - copyThemeVars = __assign({}, themeVars); - } - Object.keys(copyThemeVars).forEach(function (key) { - cssVars = "".concat(cssVars, "--").concat(kebabCase(key), ": ").concat(copyThemeVars[key], ";"); - }); - this.setData({ - cssVarStyle: cssVars, - }); - }, -}, { - cssVarStyle: '', -}, [], { - attached: function () { - this.update(); - }, -}); diff --git a/compiled/wechat/src/ConfigProvider/index.json b/compiled/wechat/src/ConfigProvider/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/ConfigProvider/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/ConfigProvider/index.md b/compiled/wechat/src/ConfigProvider/index.md deleted file mode 100644 index 718140106..000000000 --- a/compiled/wechat/src/ConfigProvider/index.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -nav: - path: /components -group: - title: 实验性 - order: 16 -toc: 'content' ---- - -# ConfigProvider 全局容器 - -用于全局配置 Antd-Mini 组件,提供主题定制,国际化支持。 - -可以通过 `ConfigProvider` 组件来全局配置 Antd-Mini 组件,包括: - -- 全局设置主题,通过[CSS 变量](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties) 来组织样式,通过覆盖这些 CSS 变量,可以实现定制主题、动态切换主题等效果; -- 全局设置国际化,通过设置 Locales 来实现多语言支持; - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-config-provider": "antd-mini/es/ConfigProvider/index" -#endif -#if WECHAT - "ant-config-provider": "antd-mini/ConfigProvider/index" -#endif -} -``` - -## 代码示例 - -### 主题定制 - -#### 通过 CSS 覆盖 - -你可以直接在代码中覆盖这些 CSS 变量,Button 组件的样式会随之发生改变: - -#### 通过 ConfigProvider 覆盖 - -ConfigProvider 组件提供了覆盖 CSS 变量的能力,你需要在根节点包裹一个 ConfigProvider 组件,并通过 theme 属性来配置一些主题变量。 - -### 国际化 - -Antd-Mini 提供了 ConfigProvider 组件用于全局配置国际化文案。目前支持以下 18 种语言,暂不支持 RTL 能力; - -- 简体中文 | zh-CN -- 繁体中文(中国台湾) | zh-TW -- 繁体中文(中国香港) | zh-HK -- 阿拉伯语(沙特阿拉伯 )| ar-SA -- 英语(美式) | en-US -- 朝鲜语(韩国)| ko-KR -- 德语(德国)| de-DE -- 俄语(俄罗斯)| ru-RU -- 法语(法国)| fr-FR -- 西班牙语(西班牙)| es-ES -- 意大利语(意大利)| it-IT -- 马来语(马来西亚)| ms-MY -- 印尼语 | in-ID -- 泰语(泰国)| th-TH -- 葡萄牙语(巴西)| pt-BR -- 日语(日本)| ja-JP -- 土耳其语(土耳其)| tr-TR -- 越南语| vi-VN - -### 代码示例 - - - -### 增加语言包 - -如果你找不到你需要的语言包,欢迎你在 英文语言包 的基础上创建一个新的语言包,并给我们发一个 Pull Request。 - -## API - -以下是 `ConfigProvider` 组件的参数列表: - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ------------ | ------------------------ | ------- | -| theme | 设置主题 | `light|dark` | `light` | -| themeVars | 提供主题变量 | `Record` | `-` | -| locale | 设置多语言包 | `BaseLang` | `zhCN` | diff --git a/compiled/wechat/src/ConfigProvider/index.wxml b/compiled/wechat/src/ConfigProvider/index.wxml deleted file mode 100644 index f2a177423..000000000 --- a/compiled/wechat/src/ConfigProvider/index.wxml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/compiled/wechat/src/ConfigProvider/index.wxss b/compiled/wechat/src/ConfigProvider/index.wxss deleted file mode 100644 index 4b06058a3..000000000 --- a/compiled/wechat/src/ConfigProvider/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.ant-container { - border-radius: 16rpx; - margin-bottom: 24rpx; -} -.ant-config-provider { - margin-top: 24px; -} diff --git a/compiled/wechat/src/ConfigProvider/props.js b/compiled/wechat/src/ConfigProvider/props.js deleted file mode 100644 index 50a2c68bc..000000000 --- a/compiled/wechat/src/ConfigProvider/props.js +++ /dev/null @@ -1,8 +0,0 @@ -import zhCN from '../_locale/zh-CN'; -export var ConfigProviderDefaultProps = { - className: '', - style: '', - theme: 'light', - themeVars: {}, - locale: zhCN, -}; diff --git a/compiled/wechat/src/ConfigProvider/variable.wxss b/compiled/wechat/src/ConfigProvider/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Container/index.en.md b/compiled/wechat/src/Container/index.en.md deleted file mode 100644 index a03c8360e..000000000 --- a/compiled/wechat/src/Container/index.en.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -nav: - path: /components -group: - title: To Discard - order: 99 -toc: 'content' ---- - -# Container - -Not recommended, this component will be obsolete. recommend use [Card](/components/card) Components with the latest design specifications and richer functionality. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-container": "antd-mini/es/Container/index" -#endif -#if WECHAT - "ant-container": "antd-mini/Container/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - -``` - -### Custom Title - -```xml - - - - - Title - - - Right Content - - -``` - -### - -### Demo Code - - - -## API - -The following is `Container` Parameter list for the component: - -| Property | Description | Type | Default Value | -| ----------- | ---------------- | ------------ | ------ | -| className | Class Name | string | - | -| headerRight | Contents on the right side of the head | slot | - | -| headerInBox | Whether the title is in the container | boolean | true | -| style | Style | string | - | -| title | Title | string\|slot | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --container-header-color |
#333333
|
#c5cad1
| Container head color | -| --container-color-text-assist |
#999999
|
#616161
| Secondary Text Color | -| --container-background-color |
#ffffff
|
#1a1a1a
| Container background color | diff --git a/compiled/wechat/src/Container/index.js b/compiled/wechat/src/Container/index.js deleted file mode 100644 index d65df3c17..000000000 --- a/compiled/wechat/src/Container/index.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ContainerDefaultProps } from './props'; -import '../_util/assert-component2'; -Component({ - properties: { - title: { - type: String, - }, - className: { - type: String, - }, - style: { - type: String, - }, - headerInBox: { - value: true, - type: Boolean, - }, - }, - options: { - //@ts-ignore - multipleSlots: true, - styleIsolation: 'shared', - }, - props: ContainerDefaultProps, -}); diff --git a/compiled/wechat/src/Container/index.json b/compiled/wechat/src/Container/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Container/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Container/index.md b/compiled/wechat/src/Container/index.md deleted file mode 100644 index 9b7c74b25..000000000 --- a/compiled/wechat/src/Container/index.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -nav: - path: /components -group: - title: 待废弃 - order: 99 -toc: 'content' ---- - -# Container 容器 - -不建议使用,此组件即将废弃。推荐使用 [Card](/components/card) 组件,拥有最新设计规范和更丰富功能。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-container": "antd-mini/es/Container/index" -#endif -#if WECHAT - "ant-container": "antd-mini/Container/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - -``` - -### 自定义标题 - -```xml - - - - - 标题 - - - 右侧内容 - - -``` - -### - -### Demo 代码 - - - -## API - -以下是 `Container` 组件的参数列表: - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ---------------- | ------------ | ------ | -| className | 类名 | string | - | -| headerRight | 头部右侧内容 | slot | - | -| headerInBox | 标题是否在容器中 | boolean | true | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --container-header-color |
#333333
|
#c5cad1
| 容器头部颜色 | -| --container-color-text-assist |
#999999
|
#616161
| 辅助文本颜色 | -| --container-background-color |
#ffffff
|
#1a1a1a
| 容器背景颜色 | diff --git a/compiled/wechat/src/Container/index.wxml b/compiled/wechat/src/Container/index.wxml deleted file mode 100644 index 8046445c2..000000000 --- a/compiled/wechat/src/Container/index.wxml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - {{title}} - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Container/index.wxss b/compiled/wechat/src/Container/index.wxss deleted file mode 100644 index 6181c49d5..000000000 --- a/compiled/wechat/src/Container/index.wxss +++ /dev/null @@ -1,61 +0,0 @@ -.ant-container { - border-radius: 16rpx; - padding-bottom: 24rpx; -} -.ant-container-headerInBox { - background-color: var(--container-background-color, #ffffff); -} -.ant-container-headerInBox .ant-container-header { - padding: 0 24rpx; -} -.ant-container-headerInBox .ant-container-header .ant-container-header-title, -.ant-container-headerInBox .ant-container-header .ant-container-header-right { - position: relative; -} -.ant-container-headerInBox .ant-container-header .ant-container-header-title::after, -.ant-container-headerInBox .ant-container-header .ant-container-header-right::after { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-container-content { - padding: 24rpx; - background-color: var(--container-background-color, #ffffff); - border-radius: 16rpx; - color: var(--container-header-color, #333333); -} -.ant-container-header { - display: flex; -} -.ant-container-header-title { - font-size: 32rpx; - font-weight: bold; - color: var(--container-header-color, #333333); - display: flex; - align-items: center; - height: 96rpx; - flex: 1; -} -.ant-container-header-title:empty { - display: none; -} -.ant-container-header-right { - color: var(--container-color-text-assist, #999999); - display: flex; - align-items: center; - height: 96rpx; - justify-content: flex-end; -} -.ant-container-header-right:empty { - display: none; -} -.ant-container-header .ant-container-header-title:empty + .ant-container-header-right:not(:empty) { - flex: 1; -} diff --git a/compiled/wechat/src/Container/props.js b/compiled/wechat/src/Container/props.js deleted file mode 100644 index 091663a17..000000000 --- a/compiled/wechat/src/Container/props.js +++ /dev/null @@ -1,3 +0,0 @@ -export var ContainerDefaultProps = { - headerInBox: true, -}; diff --git a/compiled/wechat/src/Container/variable.wxss b/compiled/wechat/src/Container/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Countdown/index.en.md b/compiled/wechat/src/Countdown/index.en.md deleted file mode 100644 index a3309ec88..000000000 --- a/compiled/wechat/src/Countdown/index.en.md +++ /dev/null @@ -1,102 +0,0 @@ ---- -nav: - path: /components -group: - title: Bizness Components - order: 15 -toc: content ---- - -# Countdown - -Need to show the countdown scene. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-countdown": "antd-mini/es/Countdown/index" -#endif -#if WECHAT - "ant-countdown": "antd-mini/Countdown/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - Remaining Time - I started buying it. - -``` - -```js -Page({ - data: { - countdownDay: +new Date() + 500000000, - }, - handleCountdownChange(e) { - console.log('倒计时变化', JSON.stringify(e)); - }, - handleCountdownEnd() { - console.log('倒计时结束'); - }, -}); -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ------------------------------- | ------------------------------------ | ------------------- | ---------- | -| className | Container className | `string` | - | -| countdownEndTime | End timestamp | `string`\| `number` | - | -| countdownStartTime | Start timestamp | `string`\| `number` | Current timestamp | -| time | Choose one from the countdownEndTime, in seconds | `number` | 0 | -| autoShowDay | Less than one day automatically does not show days | `boolean` | true | -| countdownType | Extra-long countdown requires display days | `string` | - | -| #if ALIPAY onCountdownChange | Callback when the countdown changes | `Function` | - | -| #if ALIPAY onCountdownFinish | Countdown End Callback | `Function` | - | -| #if WECHAT bind:countdownchange | Callback when the countdown changes | `Function` | - | -| #if WECHAT bind:countdownfinish | Countdown End Callback | `Function` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --ant-countdown-color |
#666666
|
#808080
| Countdown Color | -| --ant-countdown-number-color |
#ffffff
|
#000000
| Countdown Digital Color | -| --ant-countdown-number-bg |
#1677ff
|
#3086ff
| Countdown digital background color | - -## Slot - -| Name | Description | -| ------ | ---------- | -| - | Default Slot | -| prefix | Countdown Head | -| suffix | Countdown Tail | diff --git a/compiled/wechat/src/Countdown/index.js b/compiled/wechat/src/Countdown/index.js deleted file mode 100644 index ee50d7377..000000000 --- a/compiled/wechat/src/Countdown/index.js +++ /dev/null @@ -1,160 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import dayjs from 'dayjs'; -import duration from 'dayjs/plugin/duration'; -import { Component, getValueFromProps, triggerEvent, triggerEventOnly, } from '../_util/simply'; -import { CountdownDefaultProps } from './props'; -dayjs.extend(duration); -Component(CountdownDefaultProps, { - init: function () { - var _this = this; - var _a = getValueFromProps(this, [ - 'countdownStartTime', - 'countdownEndTime', - 'countdownType', - 'time', - 'autoShowDay', - ]), countdownStartTime = _a[0], countdownEndTime = _a[1], countdownType = _a[2], time = _a[3], autoShowDay = _a[4]; - var timeNum = isNaN(Number(time)) ? 0 : Number(time); - var defaultEndTime = +new Date() + timeNum * 1000; - var currentTimeStr = "".concat(countdownStartTime || +new Date()); - var endTimeStr = "".concat(countdownEndTime || defaultEndTime); - // 如果服务端给的是秒级别的时间戳,自动补3个0转成毫秒的 - var finalCurrentTimeStr = "".concat(currentTimeStr).concat(currentTimeStr.length === 10 ? '000' : ''); - var finalEndTimeStr = "".concat(endTimeStr).concat(endTimeStr.length === 10 ? '000' : ''); - var finalStartTime = parseInt(finalCurrentTimeStr, 10); - var finalEndTime = parseInt(finalEndTimeStr, 10); - this.setData({ - showDay: autoShowDay ? this.data.countdownDay !== '0' : true, - }); - this.countdown(finalStartTime, finalEndTime, function (remainTime) { - if (remainTime < 1) { - // 小于1s了,说明倒计时该结束了 - triggerEventOnly(_this, 'countdownFinish'); - _this.setData({ - showDecisecond: false, - }); - } - var durationTime = dayjs.duration(remainTime); - var day = Math.floor(durationTime.asDays()).toString(); - var hour = ''; - if (countdownType === 'day') { - hour = durationTime.format('HH'); - } - else { - var hoursNum = Math.floor(durationTime.asHours()); - hour = "".concat(hoursNum < 10 ? '0' : '').concat(hoursNum > 0 ? hoursNum : '0'); - } - var min = durationTime.format('mm'); - var sec = durationTime.format('ss'); - _this.setData({ - countdownDay: day, - countdownHour: hour, - countdownMin: min, - countdownSec: sec, - }); - triggerEvent(_this, 'countdownChange', { - remainTime: remainTime, - day: day, - hour: hour, - min: min, - sec: sec, - }); - }); - }, - countdown: function (startTimestamp, endTimestamp, callback) { - var _this = this; - // if (isNaN(startTimestamp) || isNaN(endTimestamp)) { - // return; - // } - var currentTime = Date.now(); // 当前时间戳 - if (currentTime - Math.round(startTimestamp) < 10000 && - Math.round(startTimestamp) - currentTime < 10000) { - // 如果服务端下发的startTime时间戳和本机的时间戳相差10s以内,以本地时间戳为准 - var getRemainingTime_1 = function () { - // 本地时间戳与服务端时间戳差距在10s以内都属于正常的,可以直接用本地时间。 - var remainingTime; - var newCurrentTime = +new Date(); - // 判断是否到达结束时间 - if (newCurrentTime >= endTimestamp) { - remainingTime = 0; - } - else { - remainingTime = endTimestamp - newCurrentTime; - } - return remainingTime; - }; - var updateCountdown_1 = function () { - var remainingTime = getRemainingTime_1(); - // 调用setData方法更新UI - callback(remainingTime); - if (remainingTime > 0) { - // 若还有剩余时间,延迟1秒后递归调用自身 - _this.timer = setTimeout(updateCountdown_1, 1000); - } - }; - // 预先调一次 - var remainingTime = getRemainingTime_1(); - callback(remainingTime); - if (remainingTime === 0) { - // 如果第一次就是0,可以直接停了 - return; - } - // 初始化倒计时 - updateCountdown_1(); - } - else { - // 否则以服务端时间为准,直接算出当前剩余时间,按秒循环即可 - var remainingTime_1 = endTimestamp - startTimestamp; - var totalCount_1 = Math.round(remainingTime_1 / 1000); - var count_1 = 0; - // 立刻调一次 - callback(remainingTime_1 - count_1 * 1000); - // 每秒调一次,循环count次 - this.intervalId = setInterval(function () { - if (count_1 >= totalCount_1) { - clearInterval(_this.intervalId); - } - else { - count_1++; - // console.log('111111', remainingTime, count, remainingTime - count * 1000) - callback(remainingTime_1 - count_1 * 1000); - } - }, 1000); - } - }, -}, { - countdownDay: null, - countdownHour: null, - countdownMin: null, - countdownSec: null, - showDecisecond: true, // 倒计时结束时不展示秒后一位(厘秒) -}, undefined, { - attached: function () { - this.init(); - }, - detached: function () { - clearInterval(this.intervalId); - clearTimeout(this.timer); - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - if (prevData.autoShowDay !== data.autoShowDay) { - this.setData({ - showDay: data.autoShowDay ? this.data.countdownDay !== '0' : true, - }); - } - }, - }, -}); diff --git a/compiled/wechat/src/Countdown/index.json b/compiled/wechat/src/Countdown/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Countdown/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Countdown/index.md b/compiled/wechat/src/Countdown/index.md deleted file mode 100644 index 543b4adbd..000000000 --- a/compiled/wechat/src/Countdown/index.md +++ /dev/null @@ -1,102 +0,0 @@ ---- -nav: - path: /components -group: - title: 业务组件 - order: 15 -toc: content ---- - -# Countdown 倒计时 - -需要展示倒计时的场景。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-countdown": "antd-mini/es/Countdown/index" -#endif -#if WECHAT - "ant-countdown": "antd-mini/Countdown/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - 剩余时间 - 就开始抢购啦 - -``` - -```js -Page({ - data: { - countdownDay: +new Date() + 500000000, - }, - handleCountdownChange(e) { - console.log('倒计时变化', JSON.stringify(e)); - }, - handleCountdownEnd() { - console.log('倒计时结束'); - }, -}); -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------------- | ------------------------------------ | ------------------- | ---------- | -| className | 容器 className | `string` | - | -| countdownEndTime | 结束时间戳 | `string`\| `number` | - | -| countdownStartTime | 起始时间戳 | `string`\| `number` | 当前时间戳 | -| time | 与 countdownEndTime 二选一,单位为秒 | `number` | 0 | -| autoShowDay | 小于一天自动不展示天 | `boolean` | true | -| countdownType | 超长倒计时需要展示天数 | `string` | - | -| #if ALIPAY onCountdownChange | 倒计时变化时的回调 | `Function` | - | -| #if ALIPAY onCountdownFinish | 倒计时结束回调 | `Function` | - | -| #if WECHAT bind:countdownchange | 倒计时变化时的回调 | `Function` | - | -| #if WECHAT bind:countdownfinish | 倒计时结束回调 | `Function` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --ant-countdown-color |
#666666
|
#808080
| 倒计时颜色 | -| --ant-countdown-number-color |
#ffffff
|
#000000
| 倒计时数字颜色 | -| --ant-countdown-number-bg |
#1677ff
|
#3086ff
| 倒计时数字背景颜色 | - -## 插槽 - -| 名称 | 说明 | -| ------ | ---------- | -| - | 默认插槽 | -| prefix | 倒计时头部 | -| suffix | 倒计时尾部 | diff --git a/compiled/wechat/src/Countdown/index.wxml b/compiled/wechat/src/Countdown/index.wxml deleted file mode 100644 index d15bde8dd..000000000 --- a/compiled/wechat/src/Countdown/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - {{countdownDay}} - - - - - {{countdownHour}} - - - - {{countdownMin}} - - - - {{countdownSec}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Countdown/index.wxss b/compiled/wechat/src/Countdown/index.wxss deleted file mode 100644 index b9e437790..000000000 --- a/compiled/wechat/src/Countdown/index.wxss +++ /dev/null @@ -1,74 +0,0 @@ -.ant-countdown { - font-size: 26rpx; - line-height: 37rpx; - color: var(--ant-countdown-color, #666666); - display: inline-flex; - align-items: center; -} -.ant-countdown-time { - transform: translateY(1rpx); -} -.ant-countdown-time-prefix { - padding-right: 2rpx; -} -.ant-countdown-time-colon { - margin-right: -18rpx; - margin-left: -3rpx; - transform: translateY(1rpx); -} -.ant-countdown-time-num { - box-sizing: border-box; - display: inline-flex; - align-items: center; - justify-content: center; - min-width: 40rpx; - padding: 0 4rpx; - height: 40rpx; - margin: 0 6rpx; - border-radius: 6rpx; - font-size: 26rpx; - line-height: 37rpx; - color: var(--ant-countdown-number-color, #ffffff); - letter-spacing: 0; - background-color: var(--ant-countdown-number-bg, #1677ff); -} -@keyframes ds-countdown { - 0% { - content: "9"; - } - 10% { - content: "8"; - } - 20% { - content: "7"; - } - 30% { - content: "6"; - } - 40% { - content: "5"; - } - 50% { - content: "4"; - } - 60% { - content: "3"; - } - 70% { - content: "2"; - } - 80% { - content: "1"; - } - 90% { - content: "0"; - } - 100% { - content: "9"; - } -} -.ds-countdown::after { - display: inline-block; - animation: ds-countdown 1s infinite; - content: "9"; -} diff --git a/compiled/wechat/src/Countdown/props.js b/compiled/wechat/src/Countdown/props.js deleted file mode 100644 index 05fc7e243..000000000 --- a/compiled/wechat/src/Countdown/props.js +++ /dev/null @@ -1,10 +0,0 @@ -export var CountdownDefaultProps = { - className: '', - time: 0, - countdownStartTime: '', - countdownEndTime: '', - countdownType: '', - autoShowDay: true, - onCountdownChange: function () { }, - onCountdownFinish: function () { }, // 倒计时结束回调 -}; diff --git a/compiled/wechat/src/Countdown/variable.wxss b/compiled/wechat/src/Countdown/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/DatePicker/RangePicker/index.js b/compiled/wechat/src/DatePicker/RangePicker/index.js deleted file mode 100644 index 3e1687a7c..000000000 --- a/compiled/wechat/src/DatePicker/RangePicker/index.js +++ /dev/null @@ -1,326 +0,0 @@ -import { effect } from '@preact/signals-core'; -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import computed from '../../mixins/computed'; -import mixinValue from '../../mixins/value'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { getDateByValue, getRangeData, getValidValue, getValueByDate, } from '../util'; -import { DateRangePickerDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, DateRangePickerDefaultProps, { - // visible受控判断 - isVisibleControlled: function () { - return getValueFromProps(this, 'visible') !== null; - }, - computed: function () { - var _a = this.data, currentStartDate = _a.currentStartDate, currentEndDate = _a.currentEndDate, pickerType = _a.pickerType; - var format = getValueFromProps(this, 'format'); - if (pickerType) - return { - currentStartValueStr: currentStartDate - ? dayjs(currentStartDate).format(format) - : '', - currentEndValueStr: currentEndDate - ? dayjs(currentEndDate).format(format) - : '', - }; - }, - getMin: function (min) { - return min ? dayjs(min) : dayjs().subtract(10, 'year'); - }, - getMax: function (max) { - return max ? dayjs(max) : dayjs().add(10, 'year'); - }, - // didUpdate、弹窗打开、切换pickerType触发 - setCurrentValue: function (currentProps) { - var _this = this; - var pickerVisible = this.pickerVisible; // 隐藏状态下从CValue触发,展开状态使用当前数据 - var precision = currentProps.precision; - var _a = this.data, pickerType = _a.pickerType, columns = _a.columns; - var realValue = this.getValue(); - var _b = this.data, currentStartDate = _b.currentStartDate, currentEndDate = _b.currentEndDate; - var currentStartDateByCValue = (realValue === null || realValue === void 0 ? void 0 : realValue[0]) || null; - var currentEndDateByCValue = (realValue === null || realValue === void 0 ? void 0 : realValue[1]) || null; - // 展开状态,说明在切换pickerType - if (pickerVisible) { - if (pickerType === 'start') { - if (!currentStartDate) { - currentStartDate = currentEndDate; - } - } - else { - // pickerType=end start已存在 - // 结束时间默认选中开始 - if (!currentEndDate) { - currentEndDate = currentStartDate; - } - } - } - else { - // 否则是在从cValue初始化 - currentStartDate = currentStartDateByCValue; - currentEndDate = currentEndDateByCValue; - // 开始默认取优先取当前时间,不在时间范围内取开始时间 - if (!currentStartDate) { - var min = this.getMin(currentProps.min).toDate(); - var max = currentProps.max; - currentStartDate = new Date(); - if ((min && dayjs(currentStartDate).isBefore(min, precision)) || - (max && dayjs(currentStartDate).isAfter(max, precision)) || - (currentEndDateByCValue && - currentStartDate > currentEndDateByCValue)) { - currentStartDate = min; - } - } - } - var currentValue = getValueByDate(pickerType === 'start' ? currentStartDate : currentEndDate, precision); - var newColumns = this.generateData(currentValue, currentProps); - if (!equal(newColumns, columns)) { - this.setData({ columns: newColumns }, function () { - _this.setData({ - currentStartDate: currentStartDate, - currentEndDate: currentEndDate, - currentValue: currentValue, - formattedValueText: _this.onFormat(), - }); - }); - } - else { - this.setData({ - currentStartDate: currentStartDate, - currentEndDate: currentEndDate, - currentValue: currentValue, - formattedValueText: this.onFormat(), - }); - } - }, - /** - * 生成选项数据,didmound、picker change、打开弹窗、切换picker type触发 - */ - generateData: function (currentValue, currentProps) { - var precision = currentProps.precision, propsMin = currentProps.min, propsMax = currentProps.max; - var min = this.getMin(propsMin); - var max = this.getMax(propsMax); - if (max < min) { - return []; - } - var currentPickerDay = dayjs(); - if (currentValue.length > 0) { - currentPickerDay = dayjs(getDateByValue(currentValue)); - } - if (currentPickerDay < min || currentPickerDay > max) { - currentPickerDay = min; - } - var newColumns = getRangeData(precision, min, max, currentPickerDay, this.onFormatLabel.bind(this)); - return newColumns; - }, - onChange: function (selectedIdx) { - var _this = this; - var selectedIndex = resolveEventValues(getValidValue(selectedIdx))[0]; - var _a = getValueFromProps(this, [ - 'format', - 'precision', - 'max', - 'min', - ]), format = _a[0], precision = _a[1], pmax = _a[2], pmin = _a[3]; - var date = getDateByValue(selectedIndex); - var min = this.getMin(pmin); - var max = this.getMax(pmax); - if (dayjs(date).isBefore(min)) { - date = min.toDate(); - selectedIndex = getValueByDate(date, precision); - } - if (dayjs(date).isAfter(max)) { - date = max.toDate(); - selectedIndex = getValueByDate(date, precision); - } - var _b = this.data, pickerType = _b.pickerType, columns = _b.columns, currentEndDate = _b.currentEndDate, currentStartDate = _b.currentStartDate; - var newData = { - currentValue: selectedIndex, - formattedValueText: this.onFormat(), - }; - if (pickerType === 'start') { - newData.currentStartDate = date; - if (currentEndDate && dayjs(date).isAfter(currentEndDate)) { - newData.currentEndDate = null; - } - } - else { - newData.currentEndDate = date; - if (currentStartDate && dayjs(date).isBefore(currentStartDate)) { - newData.currentStartDate = null; - } - } - var newColumns = this.generateData(selectedIndex, getValueFromProps(this)); - if (!equal(newColumns, columns)) { - this.setData({ - columns: newColumns, - }, function () { - _this.setData(newData); - triggerEventValues(_this, 'pickerChange', [ - pickerType, - date, - dayjs(date).format(format), - ]); - }); - } - else { - this.setData(newData); - triggerEventValues(this, 'pickerChange', [ - pickerType, - date, - dayjs(date).format(format), - ]); - } - }, - onCancel: function (e) { - triggerEventOnly(this, 'cancel', e); - }, - onOk: function () { - var format = getValueFromProps(this, 'format'); - var _a = this.data, currentStartDate = _a.currentStartDate, currentEndDate = _a.currentEndDate; - var realValue = [currentStartDate, currentEndDate]; - if (!this.isControlled()) { - this.update(realValue); - } - triggerEventValues(this, 'ok', [ - realValue, - realValue.map(function (v) { return dayjs(v).format(format); }), - ]); - }, - onFormatLabel: function (type, value) { - var onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - var formatValueByProps = onFormatLabel && onFormatLabel(type, value); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return String(formatValueByProps); - } - return this.defaultFormatLabel(type, value); - }, - defaultFormatLabel: function (type, value) { - var suffixMap = { - year: '年', - month: '月', - day: '日', - hour: '时', - minute: '分', - second: '秒', - }; - return "".concat(value).concat(suffixMap[type]); - }, - defaultFormat: function (date, valueStrs) { - var _a = getValueFromProps(this, [ - 'format', - 'splitCharacter', - ]), format = _a[0], splitCharacter = _a[1]; - if (format && valueStrs && valueStrs[0] && valueStrs[1]) { - return valueStrs.join("".concat(splitCharacter)); - } - return ''; - }, - onFormat: function () { - var _a = getValueFromProps(this, [ - 'onFormat', - 'format', - ]), onFormat = _a[0], format = _a[1]; - var realValue = this.getValue(); - var formatValueByProps = onFormat && - onFormat(realValue, realValue - ? realValue.map(function (v) { return (v ? dayjs(v).format(format) : null); }) - : null); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat(realValue, realValue - ? realValue.map(function (v) { return (v ? dayjs(v).format(format) : null); }) - : null); - }, - /** - * 显示/隐藏切换 - * @param visible - */ - onVisibleChange: function (visible) { - if (!this.isVisibleControlled() && visible) { - this.setData({ pickerType: 'start' }); - this.setCurrentValue(getValueFromProps(this)); - this.pickerVisible = visible; - } - triggerEvent(this, 'visibleChange', resolveEventValue(visible)); - }, - onChangeCurrentPickerType: function (e) { - var type = e.currentTarget.dataset.type; - var pickerType = this.data.pickerType; - if (type !== pickerType) { - this.setData({ - pickerType: type, - }); - this.setCurrentValue(getValueFromProps(this)); - } - }, -}, { - currentValue: [], - columns: [], - pickerType: 'start', - currentStartDate: null, - currentEndDate: null, - forceUpdate: 0, - formattedValueText: '', -}, [ - mixinValue({ - transformValue: function (value) { - return { - value: value && value[0] && value[1] - ? [dayjs(value[0]).toDate(), dayjs(value[1]).toDate()] - : undefined, - needUpdate: true, - }; - }, - }), - computed(), -], { - pickerVisible: false, - created: function () { - this.pickerVisible = false; - var _a = getValueFromProps(this, [ - 'visible', - 'defaultVisible', - ]), visible = _a[0], defaultVisible = _a[1]; - this.setData({ - visible: this.isVisibleControlled() ? visible : defaultVisible, - formattedValueText: this.onFormat(), - }); - }, - observers: { - 'visible': function (data) { - var prevVisible = this._prevVisible; - this._prevVisible = data; - var currentProps = getValueFromProps(this); - var visible = getValueFromProps(this, 'visible'); - if (this.isVisibleControlled() && prevVisible !== visible) { - this.setData({ visible: visible }); - this.setCurrentValue(currentProps); - this.pickerVisible = visible; - } - }, - 'mixin.value': function () { - var currentProps = getValueFromProps(this); - this.setData({ - forceUpdate: this.data.forceUpdate + 1, - formattedValueText: this.onFormat(), - }); - if (this.pickerVisible) { - // 展开状态才更新picker的数据,否则下次triggerVisible触发 - this.setCurrentValue(currentProps); - } - }, - }, -}); diff --git a/compiled/wechat/src/DatePicker/RangePicker/index.json b/compiled/wechat/src/DatePicker/RangePicker/index.json deleted file mode 100644 index 17acecb6d..000000000 --- a/compiled/wechat/src/DatePicker/RangePicker/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../../Icon/index", - "ant-picker": "../../Picker/index" - } -} diff --git a/compiled/wechat/src/DatePicker/RangePicker/index.wxml b/compiled/wechat/src/DatePicker/RangePicker/index.wxml deleted file mode 100644 index fbd2e840a..000000000 --- a/compiled/wechat/src/DatePicker/RangePicker/index.wxml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - {{splitCharacter}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/DatePicker/RangePicker/index.wxss b/compiled/wechat/src/DatePicker/RangePicker/index.wxss deleted file mode 100644 index a60ca0122..000000000 --- a/compiled/wechat/src/DatePicker/RangePicker/index.wxss +++ /dev/null @@ -1,59 +0,0 @@ -.ant-range-picker-confirm-disabled .ant-picker-header-confirm { - pointer-events: none; - opacity: 0.6; -} -.ant-range-picker-selector { - display: flex; - align-items: center; - justify-content: space-between; - height: 104rpx; - padding: 24rpx 24rpx 0; - box-sizing: border-box; -} -.ant-range-picker-selector-item { - width: 310rpx; - height: 64rpx; - padding: 0 16rpx 0 24rpx; - box-sizing: border-box; - border-radius: 8rpx; - display: flex; - justify-content: space-between; - align-items: center; - box-shadow: inset 0 1rpx 6rpx 0 rgba(0, 0, 0, 0.1); - color: var(--range-picker-item-color, #333333); -} -.ant-range-picker-selector-item-active { - position: relative; - color: var(--range-picker-active-color, #1677ff); -} -.ant-range-picker-selector-item-active::before { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 200%; - height: 200%; - transform-origin: 0 0; - pointer-events: none; - border: 1px solid var(--range-picker-active-color, #1677ff); - border-radius: 16rpx; - transform: scale(0.5); - box-sizing: border-box; -} -.ant-range-picker-selector-item-active .ant-range-picker-selector-item-icon { - color: var(--range-picker-active-color, #1677ff); -} -.ant-range-picker-selector-item-value { - font-size: 28rpx; -} -.ant-range-picker-selector-item-placeholder { - font-size: 28rpx; - color: var(--range-picker-placeholder-color, #cccccc); -} -.ant-range-picker-selector-item-icon { - color: var(--range-picker-placeholder-color, #cccccc); - font-size: 32rpx; -} -.ant-range-picker-selector-split { - color: var(--range-picker-placeholder-color, #cccccc); -} diff --git a/compiled/wechat/src/DatePicker/RangePicker/props.js b/compiled/wechat/src/DatePicker/RangePicker/props.js deleted file mode 100644 index 400fe89bb..000000000 --- a/compiled/wechat/src/DatePicker/RangePicker/props.js +++ /dev/null @@ -1,24 +0,0 @@ -export var DateRangePickerDefaultProps = { - visible: null, - defaultVisible: null, - animationType: 'transform', - format: 'YYYY/MM/DD', - min: null, - max: null, - value: null, - defaultValue: null, - title: '', - okText: null, - cancelText: null, - placeholder: null, - precision: 'day', - splitCharacter: '-', - startPlaceholder: null, - endPlaceholder: null, - maskClosable: true, - popClassName: '', - popStyle: '', - disabled: false, - onFormatLabel: null, - onFormat: null, -}; diff --git a/compiled/wechat/src/DatePicker/index.en.md b/compiled/wechat/src/DatePicker/index.en.md deleted file mode 100644 index 9797dda35..000000000 --- a/compiled/wechat/src/DatePicker/index.en.md +++ /dev/null @@ -1,350 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# DatePicker - -Compared to native `my.datePicker`, to achieve the same iOS and Android experience. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-date-picker": "antd-mini/es/DatePicker/index", - "ant-range-picker": "antd-mini/es/DatePicker/RangePicker/index" -#endif -#if WECHAT - "ant-date-picker": "antd-mini/DatePicker/index", - "ant-range-picker": "antd-mini/DatePicker/RangePicker/index" -#endif -} -``` - -## Code example - -### Basic use - -> `defaultValue` property is`dayjs` A timestamp or object that can be parsed. - -```xml - -``` - -```js -Page({ - data: { - min: new Date('2019/01/15').getTime(), - max: new Date('2023/08/20').getTime(), - defaultDate: new Date('2019/02/02').getTime(), - }, - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleDismiss(e) { - console.log('e', e); - }, - handleOk(date, format, e) { - console.log('onOk', date, format, e); - }, -}); -``` - -### precision control - -> `precision` Property to control the time precision of the selection.`format` property is used to format the displayed `value` Value. - -```xml - - - -``` - -### Disable state - -> `disabled` Property is used to control the disabled state. - -```xml - -``` - -### Customize the rendering of each column in the selection panel - -> Incoming Function `onFormatLabel` , the return value is the data you want to render for each column in the selection panel. - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - handleFormatLabel(type, value) { - return String(value); - }, -#endif - }, - handleFormatLabel(type, value) { - return String(value); - }, -}); -``` - -### Controlled Mode - -> control the selected value, which requires `value` property and `onOk` Events are used together. The control panel displays the closed state, which requires `visible` property and `onVisibleChange` Events are used together. - -```xml - -``` - -```js -Page({ - data: { - pickerVisible: false, - pickerValue: new Date('2019/02/02').getTime(), - }, - - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleControlledOk(value) { -#if WECHAT - this.setData({ - // 微信只支持传递时间戳 - pickerValue: value.detail.getTime(), - }); -#endif -#if ALIPAY - this.setData({ - pickerValue: value, - }); -#endif - }, - handleTriggerControlledPicker(visible, e) { -#if WECHAT - console.log('handleTriggerControlledPicker', visible); - this.setData({ - pickerVisible: visible.detail, - }); -#endif -#if ALIPAY - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - pickerVisible: visible, - }); -#endif - }, -}); -``` - -### Time Range Selection - -> Introduction `ant-range-picker` component, you can have the ability to select a time range. - -```xml - -``` - -```js -Page({ - data: { - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleRangeOk(date, format, e) { - console.log('onRangeOk', date, format, e); - }, -}); -``` - -## Demo Code - - - -## API - -### DatePicker - -| Property | Description | Type | Default Value | -| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | Animation type, optional `transform` `position`, the default is used `transform` Animation performance is better. Due to bug in the basic library of small programs, the pop-up window `picker-view` Shadow style may have style problems under iOS and can be temporarily switched `position` Resolve. | string | `transform` | -| className | Class Name | string | - | -| defaultValue | Time selected by default | Date | - | -| disabled | Disable | boolean | false | -| cancelText | Cancel Copy | string | "Cancel" | -| content | Custom Content Slots | slot | - | -| format | Time format display, the format is the same [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | Check Box Style | string | - | -| indicatorClassName | Class name of the check box | string | - | -| maskClassName | Class name of the layer | string | - | -| maskClosable | Click whether the layer can be closed | boolean | true | -| maskStyle | Mat Style | string | - | -| max | Maximum | Date | Ten years later | -| min | Minimum | Date | Ten years ago | -| okText | Confirm Button Copy | string | "OK" | -| placeholder | Prompt Copy | string | "Please select" | -| popClassName | Pop-up Box Class Name | string | - | -| popStyle | Pop-up Style | string | - | -| precision | Select precision, optional `year` `month` `day` `hour` `minute` `second` | string | `day` | -| prefix | Prefix | slot | - | -| style | Style | string | - | -| suffix | Suffix | slot | - | -| title | Pop-up Title | string \| slot | - | -| value | Selected time | Date | - | -| visible | Whether to display | boolean | false | -| defaultVisible | Display by default | boolean | false | -| onFormat | Text display format of the selected value | (date: Date, dateStr: string) => string | - | -| onFormatLabel | Customize the content displayed in each column, silently | -| #if ALIPAY onOk | Click the OK button to trigger the callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | The selected item changes, triggering a callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| Add year, month, day, hour, minute and second units | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if ALIPAY onVisibleChange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | Click the OK button to trigger the callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | The selected item changes, triggering a callback | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| Add year, month, day, hour, minute and second units | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if WECHAT bind:visiblechange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### RangePicker - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | Animation type, optional `transform` `position`, the default is used `transform` Animation performance is better. Due to bug in the basic library of small programs, the pop-up window `picker-view` Shadow style may have style problems under iOS and can be temporarily switched `position` Resolve. | string | `transform` | -| className | Class Name | string | - | -| defaultValue | Time range selected by default | [Date, Date] | - | -| disabled | Disable | boolean | false | -| cancelText | Cancel Copy | string | "Cancel" | -| content | Custom Content Slots | slot | - | -| endPlaceholder | End Time Prompt Copy | string | "Not selected" | -| format | Time format display, the format is the same [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | Check Box Style | string | - | -| indicatorClassName | Class name of the check box | string | - | -| maskClassName | Class name of the layer | string | - | -| maskClosable | Click whether the layer can be closed | boolean | true | -| maskStyle | Mat Style | string | - | -| max | Maximum | Date | Ten years later | -| min | Minimum | Date | Ten years ago | -| okText | Confirm Button Copy | string | "OK" | -| placeholder | Prompt Copy | string | "Please select" | -| popClassName | Pop-up Box Class Name | string | - | -| popStyle | Pop-up Style | string | - | -| precision | Select precision, optional `year` `month` `day` `hour` `minute` | string | `day` | -| splitCharacter | Display Connector | string | - | -| startPlaceholder | Start Time Prompt Copy | string | "Not selected" | -| prefix | Prefix | slot | - | -| style | Style | string | - | -| suffix | Suffix | slot | - | -| title | Pop-up Title | string \| slot | - | -| value | Selected time range | [Date, Date] | - | -| visible | Whether to display | boolean | false | -| defaultVisible | Display by default | boolean | false | -| onFormat | Text display format of the selected value | (date: [Date, Date], dateStr: [string, string]) => string | - | -| onFormatLabel | Customize the content displayed in each column, and add the year, month, day, hour, minute, and second units by default. | (type: `year` \| `month` \| `day` \| `hour` \| `minute`, value: number) => string | - | -| #if ALIPAY onOk | Click the OK button to trigger the callback | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | The selected item changes, triggering a callback | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | Click the OK button to trigger the callback | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | Click the cancel button/layer to trigger the callback | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | The selected item changes, triggering a callback | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | Pop-up display/hide status change trigger | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -## How to obtain `YYYY-MM-DD` Time in format - -The time returned by the DatePicker component is in the format `Date` type, if you need to convert `YYYY-MM-DD` format, you can use [dayjs](https://day.js.org/docs/zh-CN/display/format) make the conversion. - -```xml - -``` - -```javascript -Page({ - handleOk(date) { - const dateStr = dayjs(date).format('YYYY-MM-DD'); - console.log(dateStr); - }, -}); -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------------------------- | -| --range-picker-shadow-color |
#000000
|
#000000
| Range Selector Shadow Color | -| --range-picker-item-color |
#333333
|
#c5cad1
| Range selector item color | -| --range-picker-active-color |
#1677ff
|
#3086ff
| Range Selector Activity Color | -| --range-picker-placeholder-color |
#cccccc
|
#474747
| Range selector placeholder color | -| --range-picker-shadow-color-faded |
rgba(0, 0, 0, 0.9)
|
rgba(0, 0, 0, 0.9)
| Range Selector Shadow Color (Faded) | diff --git a/compiled/wechat/src/DatePicker/index.js b/compiled/wechat/src/DatePicker/index.js deleted file mode 100644 index 4f10fc387..000000000 --- a/compiled/wechat/src/DatePicker/index.js +++ /dev/null @@ -1,228 +0,0 @@ -import { Component, triggerEvent, triggerEventOnly, triggerEventValues, getValueFromProps, } from '../_util/simply'; -import { resolveEventValue, resolveEventValues } from '../_util/platform'; -import { DatePickerDefaultProps } from './props'; -import dayjs from 'dayjs'; -import equal from 'fast-deep-equal'; -import { getRangeData, getDateByValue, getValueByDate, getValidValue, } from './util'; -import mixinValue from '../mixins/value'; -Component(DatePickerDefaultProps, { - // visible受控判断 - isVisibleControlled: function () { - return getValueFromProps(this, 'visible') !== null; - }, - // 当前选中的picker值,处理无cValue时的情况,优先取当前时间,不在时间范围内取开始时间 - getCurrentValueWithCValue: function (currentProps) { - var realValue = this.getValue(); - var min = currentProps.min, max = currentProps.max, precision = currentProps.precision; - if (realValue) { - return getValueByDate(realValue, precision); - } - else { - var now = new Date(); - if (!(min && dayjs(now).isBefore(dayjs(min), precision)) && - !(max && dayjs(now).isAfter(dayjs(max), precision))) { - return getValueByDate(now, precision); - } - else { - return getValueByDate(this.getMin(min).toDate(), precision); - } - } - }, - getMin: function (min) { - return min ? dayjs(min) : dayjs().subtract(10, 'year'); - }, - getMax: function (max) { - return max ? dayjs(max) : dayjs().add(10, 'year'); - }, - /** - * didUpdate、弹窗打开触发 - */ - setCurrentValue: function (currentProps) { - var _this = this; - var currentValue = this.getCurrentValueWithCValue(currentProps); - var newColumns = this.generateData(currentValue, currentProps); - if (!equal(newColumns, this.data.columns)) { - this.setData({ - columns: newColumns, - }, function () { - _this.setData({ - currentValue: currentValue, - formattedValueText: _this.onFormat(), - }); - }); - } - }, - // 生成选项数据,didmound、picker change、打开弹窗触发 - generateData: function (currentValue, currentProps) { - var precision = currentProps.precision, propsMin = currentProps.min, propsMax = currentProps.max; - var min = this.getMin(propsMin); - var max = this.getMax(propsMax); - if (max < min) { - return []; - } - var currentPickerDay = dayjs(); - if (currentValue.length > 0) { - currentPickerDay = dayjs(getDateByValue(currentValue)); - } - if (currentPickerDay < min || currentPickerDay > max) { - currentPickerDay = min; - } - var newColumns = getRangeData(precision, min, max, currentPickerDay, this.onFormatLabel.bind(this)); - return newColumns; - }, - onFormatLabel: function (type, value) { - var onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - var formatValueByProps = onFormatLabel && onFormatLabel(type, value); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return String(formatValueByProps); - } - return this.defaultFormatLabel(type, value); - }, - defaultFormatLabel: function (type, value) { - var suffixMap = { - year: '年', - month: '月', - day: '日', - hour: '时', - minute: '分', - second: '秒', - }; - return "".concat(value).concat(suffixMap[type]); - }, - onChange: function (selectedIdx) { - var _this = this; - var _a = getValueFromProps(this, [ - 'min', - 'max', - 'format', - 'precision', - ]), pmin = _a[0], pmax = _a[1], format = _a[2], precision = _a[3]; - var selectedIndex = resolveEventValues(getValidValue(selectedIdx))[0]; - var date = getDateByValue(selectedIndex); - var min = this.getMin(pmin); - var max = this.getMax(pmax); - if (dayjs(date).isBefore(min)) { - date = min.toDate(); - selectedIndex = getValueByDate(date, precision); - } - if (dayjs(date).isAfter(max)) { - date = max.toDate(); - selectedIndex = getValueByDate(date, precision); - } - var newColumns = this.generateData(selectedIndex, getValueFromProps(this)); - if (!equal(newColumns, this.data.columns)) { - this.setData({ - columns: newColumns, - }, function () { - _this.setData({ currentValue: selectedIndex }); - var date = getDateByValue(selectedIndex); - triggerEventValues(_this, 'pickerChange', [ - date, - dayjs(date).format(format), - ]); - }); - } - else { - this.setData({ currentValue: selectedIndex }); - var date_1 = getDateByValue(selectedIndex); - triggerEventValues(this, 'pickerChange', [ - date_1, - dayjs(date_1).format(format), - ]); - } - }, - onCancel: function (e) { - triggerEventOnly(this, 'cancel', e); - }, - onOk: function () { - var currentValue = this.data.currentValue; - var format = getValueFromProps(this, 'format'); - var date = getDateByValue(currentValue); - if (!this.isControlled()) { - this.update(date); - } - triggerEventValues(this, 'ok', [date, dayjs(date).format(format)]); - }, - defaultFormat: function (value, valueStr) { - var format = getValueFromProps(this, 'format'); - if (format && valueStr) { - return valueStr; - } - return ''; - }, - onFormat: function () { - var _a = getValueFromProps(this, [ - 'format', - 'onFormat', - ]), format = _a[0], onFormat = _a[1]; - var realValue = this.getValue(); - var formatValueByProps = onFormat && - onFormat(realValue, realValue ? dayjs(realValue).format(format) : null); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat(realValue, realValue ? dayjs(realValue).format(format) : null); - }, - onVisibleChange: function (visible) { - this.pickerVisible = visible; - if (!this.isVisibleControlled() && visible) { - this.setCurrentValue(getValueFromProps(this)); - } - triggerEvent(this, 'visibleChange', resolveEventValue(visible)); - }, -}, { - currentValue: [], - formattedValueText: '', - columns: [], - forceUpdate: 0, - visible: null, -}, [ - mixinValue({ - transformValue: function (value) { - return { - value: value ? dayjs(value).toDate() : undefined, - needUpdate: true, - }; - }, - }), -], { - pickerVisible: false, - created: function () { - this.pickerVisible = false; - var _a = getValueFromProps(this, [ - 'visible', - 'defaultVisible', - ]), visible = _a[0], defaultVisible = _a[1]; - this.setData({ - visible: this.isVisibleControlled() ? visible : defaultVisible, - formattedValueText: this.onFormat(), - }); - }, - observers: { - 'mixin.value': function () { - this.setData({ - forceUpdate: this.data.forceUpdate + 1, - formattedValueText: this.onFormat(), - }); - // 展开状态才更新picker的数据,否则下次triggerVisible触发 - if (this.pickerVisible) { - this.setCurrentValue(getValueFromProps(this)); - } - }, - 'visible': function (data) { - var prevVisible = this._prevVisible; - this._prevVisible = data; - var currentProps = getValueFromProps(this); - var visible = getValueFromProps(this, 'visible'); - if (this.isVisibleControlled() && prevVisible !== visible) { - this.pickerVisible = visible; - this.setData({ - visible: visible, - }); - if (this.pickerVisible) { - this.setCurrentValue(currentProps); - } - } - }, - }, -}); diff --git a/compiled/wechat/src/DatePicker/index.json b/compiled/wechat/src/DatePicker/index.json deleted file mode 100644 index ac7a29b19..000000000 --- a/compiled/wechat/src/DatePicker/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-picker": "../Picker/index" - } -} diff --git a/compiled/wechat/src/DatePicker/index.md b/compiled/wechat/src/DatePicker/index.md deleted file mode 100644 index a7f0afdc7..000000000 --- a/compiled/wechat/src/DatePicker/index.md +++ /dev/null @@ -1,350 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# DatePicker 时间选择器 - -相比于原生 `my.datePicker`,实现了 iOS 与 Android 端体验一致。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-date-picker": "antd-mini/es/DatePicker/index", - "ant-range-picker": "antd-mini/es/DatePicker/RangePicker/index" -#endif -#if WECHAT - "ant-date-picker": "antd-mini/DatePicker/index", - "ant-range-picker": "antd-mini/DatePicker/RangePicker/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `defaultValue` 属性为`dayjs` 能够解析的时间戳或对象。 - -```xml - -``` - -```js -Page({ - data: { - min: new Date('2019/01/15').getTime(), - max: new Date('2023/08/20').getTime(), - defaultDate: new Date('2019/02/02').getTime(), - }, - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleDismiss(e) { - console.log('e', e); - }, - handleOk(date, format, e) { - console.log('onOk', date, format, e); - }, -}); -``` - -### 精度控制 - -> `precision` 属性可以控制选择的时间精度。`format` 属性用来格式化展示的 `value` 值。 - -```xml - - - -``` - -### 禁用状态 - -> `disabled` 属性用来控制禁用状态。 - -```xml - -``` - -### 自定义选择面板中每列的渲染 - -> 传入函数 `onFormatLabel` ,返回值则是选择面板中每列想要渲染的数据 - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - handleFormatLabel(type, value) { - return String(value); - }, -#endif - }, - handleFormatLabel(type, value) { - return String(value); - }, -}); -``` - -### 受控模式 - -> 控制选择的值,需要 `value` 属性和 `onOk` 事件配合使用。控制面板显示关闭状态,需要 `visible` 属性和 `onVisibleChange` 事件配合使用。 - -```xml - -``` - -```js -Page({ - data: { - pickerVisible: false, - pickerValue: new Date('2019/02/02').getTime(), - }, - - handlePickerChange(date, dateStr, e) { - console.log('onPickerChange', date, dateStr, e); - }, - handleControlledOk(value) { -#if WECHAT - this.setData({ - // 微信只支持传递时间戳 - pickerValue: value.detail.getTime(), - }); -#endif -#if ALIPAY - this.setData({ - pickerValue: value, - }); -#endif - }, - handleTriggerControlledPicker(visible, e) { -#if WECHAT - console.log('handleTriggerControlledPicker', visible); - this.setData({ - pickerVisible: visible.detail, - }); -#endif -#if ALIPAY - console.log('handleTriggerControlledPicker', visible, e); - this.setData({ - pickerVisible: visible, - }); -#endif - }, -}); -``` - -### 时间范围选择 - -> 引入 `ant-range-picker` 组件,即可拥有时间范围选择能力。 - -```xml - -``` - -```js -Page({ - data: { - defaultDateRange: [ - new Date('2022/03/21').getTime(), - new Date('2022/05/20').getTime(), - ], - }, - handlePickerRangeChange(type, date, dateStr, e) { - console.log('onPickerRangeChange', type, date, dateStr, e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleRangeOk(date, format, e) { - console.log('onRangeOk', date, format, e); - }, -}); -``` - -## Demo 代码 - - - -## API - -### DatePicker - -| 属性 | 说明 | 类型 | 默认值 | -| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | 动画类型,可选 `transform` `position`,默认使用 `transform` 动画性能更好。由于小程序基础库 bug,弹窗内 `picker-view` 阴影样式在 iOS 下可能存在样式问题,可暂切换为 `position` 解决。 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的时间 | Date | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | "取消" | -| content | 自定义内容插槽 | slot | - | -| format | 时间格式化显示,格式同 [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层样式 | string | - | -| max | 最大值 | Date | 十年后 | -| min | 最小值 | Date | 十年前 | -| okText | 确认按钮文案 | string | "确定" | -| placeholder | 提示文案 | string | "请选择" | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| precision | 选择精度,可选 `year` `month` `day` `hour` `minute` `second` | string | `day` | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的时间 | Date | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式 | (date: Date, dateStr: string) => string | - | -| onFormatLabel | 自定义每列展示的内容,默 | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | 选中项发生变化,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| 认添加年、月、日、时、分、秒单位 | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | 选中项发生变化,触发回调 | (date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| 认添加年、月、日、时、分、秒单位 | (type: `year` \| `month` \| `day` \| `hour` \| `minute` \| `second`, value: number) => string | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### RangePicker - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | 动画类型,可选 `transform` `position`,默认使用 `transform` 动画性能更好。由于小程序基础库 bug,弹窗内 `picker-view` 阴影样式在 iOS 下可能存在样式问题,可暂切换为 `position` 解决。 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的时间范围 | [Date, Date] | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | "取消" | -| content | 自定义内容插槽 | slot | - | -| endPlaceholder | 结束时间提示文案 | string | "未选择" | -| format | 时间格式化显示,格式同 [dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层样式 | string | - | -| max | 最大值 | Date | 十年后 | -| min | 最小值 | Date | 十年前 | -| okText | 确认按钮文案 | string | "确定" | -| placeholder | 提示文案 | string | "请选择" | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| precision | 选择精度,可选 `year` `month` `day` `hour` `minute` | string | `day` | -| splitCharacter | 显示连接符 | string | - | -| startPlaceholder | 开始时间提示文案 | string | "未选择" | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的时间范围 | [Date, Date] | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式 | (date: [Date, Date], dateStr: [string, string]) => string | - | -| onFormatLabel | 自定义每列展示的内容,默认添加年、月、日、时、分、秒单位 | (type: `year` \| `month` \| `day` \| `hour` \| `minute`, value: number) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onPickerChange | 选中项发生变化,触发回调 | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (date: [Date, Date], dateStr: [string, string], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:pickerchange | 选中项发生变化,触发回调 | (type: `start` \| `end`, date: Date, dateStr: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -## 如何获取 `YYYY-MM-DD` 格式的时间 - -DatePicker 组件返回的时间格式为 `Date` 类型,如果需要转换为 `YYYY-MM-DD` 格式,可以使用 [dayjs](https://day.js.org/docs/zh-CN/display/format) 进行转换。 - -```xml - -``` - -```javascript -Page({ - handleOk(date) { - const dateStr = dayjs(date).format('YYYY-MM-DD'); - console.log(dateStr); - }, -}); -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------------------------- | -| --range-picker-shadow-color |
#000000
|
#000000
| 范围选择器阴影颜色 | -| --range-picker-item-color |
#333333
|
#c5cad1
| 范围选择器项颜色 | -| --range-picker-active-color |
#1677ff
|
#3086ff
| 范围选择器活动项颜色 | -| --range-picker-placeholder-color |
#cccccc
|
#474747
| 范围选择器占位符颜色 | -| --range-picker-shadow-color-faded |
rgba(0, 0, 0, 0.9)
|
rgba(0, 0, 0, 0.9)
| 范围选择器阴影颜色(褪色) | diff --git a/compiled/wechat/src/DatePicker/index.wxml b/compiled/wechat/src/DatePicker/index.wxml deleted file mode 100644 index 3e856087f..000000000 --- a/compiled/wechat/src/DatePicker/index.wxml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/DatePicker/index.wxss b/compiled/wechat/src/DatePicker/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/DatePicker/props.js b/compiled/wechat/src/DatePicker/props.js deleted file mode 100644 index a4895365a..000000000 --- a/compiled/wechat/src/DatePicker/props.js +++ /dev/null @@ -1,21 +0,0 @@ -export var DatePickerDefaultProps = { - visible: null, - defaultVisible: null, - animationType: 'transform', - format: 'YYYY/MM/DD', - min: null, - max: null, - value: null, - defaultValue: null, - title: '', - okText: undefined, - cancelText: undefined, - placeholder: undefined, - precision: 'day', - maskClosable: true, - popClassName: '', - popStyle: '', - disabled: false, - onFormatLabel: null, - onFormat: null, -}; diff --git a/compiled/wechat/src/DatePicker/util.js b/compiled/wechat/src/DatePicker/util.js deleted file mode 100644 index da38eaf4a..000000000 --- a/compiled/wechat/src/DatePicker/util.js +++ /dev/null @@ -1,177 +0,0 @@ -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import dayjs from 'dayjs'; -function getArray(start, end, format) { - var res = []; - for (var i = 0; i < end - start + 1; i++) { - res.push({ label: format(start + i), value: start + i }); - } - return res; -} -var precisionLengthRecord = { - year: 1, - month: 2, - day: 3, - hour: 4, - minute: 5, - second: 6, -}; -function getYears(min, max, format) { - return getArray(min.year(), max.year(), format.bind(this, 'year')); -} -function getMonths(min, max, currentPicker, format) { - var start = 1; - var end = 12; - if (currentPicker - .clone() - .set('month', start - 1) - .isBefore(min)) { - start = min.month() + 1; - } - if (currentPicker - .clone() - .set('month', end - 1) - .isAfter(max)) { - end = max.month() + 1; - } - return getArray(start, end, format.bind(this, 'month')); -} -function getDates(min, max, currentPicker, format) { - var start = 1; - var end = currentPicker.daysInMonth(); - if (currentPicker.clone().set('date', start).isBefore(min)) { - start = min.date(); - } - if (currentPicker.clone().set('date', end).isAfter(max)) { - end = max.date(); - } - return getArray(start, end, format.bind(this, 'day')); -} -function getHours(min, max, currentPicker, format) { - var start = 0; - var end = 23; - if (currentPicker.clone().set('hour', start).isBefore(min)) { - start = min.hour(); - } - if (currentPicker.clone().set('hour', end).isAfter(max)) { - end = max.hour(); - } - return getArray(start, end, format.bind(this, 'hour')); -} -function getMinutes(min, max, currentPicker, format) { - var start = 0; - var end = 59; - if (currentPicker.clone().set('minute', start).isBefore(min)) { - start = min.minute(); - } - if (currentPicker.clone().set('minute', end).isAfter(max)) { - end = max.minute(); - } - return getArray(start, end, format.bind(this, 'minute')); -} -function getSeconds(min, max, currentPicker, format) { - var start = 0; - var end = 59; - if (currentPicker.clone().set('second', start).isBefore(min)) { - start = min.second(); - } - if (currentPicker.clone().set('second', end).isAfter(max)) { - end = max.second(); - } - return getArray(start, end, format.bind(this, 'second')); -} -export function getRangeData(precision, min, max, currentPickerDay, format) { - var data = []; - var len = precisionLengthRecord[precision]; - if (!len) - return []; - for (var i = 0; i < len; i++) { - switch (i) { - case 0: - data.push(getYears(min, max, format)); - break; - case 1: - data.push(getMonths(min, max, currentPickerDay, format)); - break; - case 2: - data.push(getDates(min, max, currentPickerDay, format)); - break; - case 3: - data.push(getHours(min, max, currentPickerDay, format)); - break; - case 4: - data.push(getMinutes(min, max, currentPickerDay, format)); - break; - case 5: - data.push(getSeconds(min, max, currentPickerDay, format)); - break; - } - } - return data; -} -/** - * 选中的值转换为时间类型,主要处理month从0开始的情况 - * @param value - * @returns - */ -export function getDateByValue(value) { - //@ts-ignore - return new (Date.bind.apply(Date, __spreadArray([void 0], value.map(function (v, i) { return String(i === 1 ? v - 1 : v); }), false)))(); -} -/** - * date转换为value数组 - * @param value - * @returns - */ -export function getValueByDate(date, precision) { - var fields = [ - 'getFullYear', - 'getMonth', - 'getDate', - 'getHours', - 'getMinutes', - 'getSeconds', - ]; - var value = []; - if (!date) - return value; - for (var i = 0; i < precisionLengthRecord[precision]; i++) { - value.push(date[fields[i]]()); - if (i === 1) { - value[1] = value[1] + 1; - } - } - return value; -} -/** - * 是否有效日期,主要处理月份对应可选日期,避免当前时间日期超出当月最后一天 - * @param value - */ -export function getValidValue(value) { - if (value.length > 2) { - var maxDate = new Date(value[0], value[1], 0).getDate(); - if (value[2] > maxDate) { - value = value.slice(); - value[2] = maxDate; - } - } - return value; -} -/** - * 比较两个date是否是同一时间 - * @param date1 - * @param date2 - */ -export function isEqualDate(date1, date2) { - if (date1 instanceof Date && date2 instanceof Date) { - return dayjs(date1).isSame(date2); - } - return date1 === date2; -} diff --git a/compiled/wechat/src/DatePicker/variable.wxss b/compiled/wechat/src/DatePicker/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Dialog/index.en.md b/compiled/wechat/src/Dialog/index.en.md deleted file mode 100644 index afe23759a..000000000 --- a/compiled/wechat/src/Dialog/index.en.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Dialog - -When the application needs to alert or remind the current operation behavior of the user, the dialog box may be used. The user needs to operate on the dialog box before ending. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-dialog": "antd-mini/es/Dialog/index" -#endif -#if WECHAT - "ant-dialog": "antd-mini/Dialog/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - visible: false, - footer: { - buttons: [{ text: '我知道了' }], - }, - }, - onButtonTap(buttonItem) { - console.log('点击的按钮: ', buttonItem); -#if ALIPAY - my.showToast({ content: `点击了${buttonItem.text}`, duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: `点击了${buttonItem.text}` }); -#endif - this.handleClose(); - }, - handleClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### Multiple Action Points - -> `footer` property supports passing in multiple action points and can specify `layout` For `vertical`or`horizontal`That is, the horizontal and vertical layout of the action point. - -```xml - -``` - -```js -Page({ - data: { - // 横向布局 - horizontalFooter: { - buttons: [ - { text: '取消', type: 'default' }, - { text: '确定', type: 'primary' }, - ], - layout: 'horizontal', - }, - // 纵向布局 - verticalFooter: { - buttons: [ - { text: '主按钮', type: 'primary' }, - { text: '更多', type: 'default' }, - { text: '取消', type: 'text' }, - ], - }, - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------------- | ------------------------------------------------- | ------------ | ------ | -| bodyClassName | body class name | string | - | -| bodyStyle | body style | string | - | -| cancelButtonStyle | Cancel Button Style | string | - | -| cancelButtonText | Cancel Button Text | string | - | -| className | Class Name | string | - | -| closable | Whether to display the close button in the upper right corner. Effective only when type is focus | boolean | - | -| content | Content | string\|slot | - | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| footer | Custom Button Area | slot | - | -| maskClosable | Click whether the layer triggers the onClose. | boolean | true | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| style | Style | string | - | -| title | Title | string\|slot | - | -| visible | Whether to display | boolean | false | -| #if ALIPAY onCancelButtonTap | Cancel button click event | ()=>void | - | -| #if ALIPAY onClose | Click the close button in the upper right corner in the layer or emphasis mode to trigger the callback | ()=>void | - | -| #if ALIPAY onButtonTap | Behavior button click event | ()=>void | - | -| #if WECHAT bind:close | Click the close button in the upper right corner in the layer or emphasis mode to trigger the callback | ()=>void | - | -| #if WECHAT bind:buttontap | Behavior button click event | ()=>void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------- | -| --dialog-background-color |
#ffffff
|
#1a1a1a
| Modal Box Background Color | -| --dialog-title-color |
#333333
|
#c5cad1
| Modal Box Title Color | -| --dialog-content-color |
#333333
|
#c5cad1
| Modal Box Content Color | -| --dialog-close-text-color |
#999999
|
#616161
| Modal Box Close Button Text Color | diff --git a/compiled/wechat/src/Dialog/index.js b/compiled/wechat/src/Dialog/index.js deleted file mode 100644 index 3c7e6338b..000000000 --- a/compiled/wechat/src/Dialog/index.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Component, getValueFromProps, triggerEvent, triggerEventOnly, } from '../_util/simply'; -import { ModalFunctionalProps } from './props'; -Component(ModalFunctionalProps, { - onClose: function () { - triggerEventOnly(this, 'close'); - }, - onMaskClose: function () { - var maskClosable = getValueFromProps(this, 'maskClosable'); - if (maskClosable) { - triggerEventOnly(this, 'close'); - } - }, - onButtonTap: function (e) { - var onButtonTap = getValueFromProps(this, 'onButtonTap'); - // 按钮点击没有回调的场景直接关闭弹框 - if (!onButtonTap) { - return this.onClose(); - } - var item = e.currentTarget.dataset.item; - triggerEvent(this, 'buttonTap', item, e); - }, - onPrimaryButtonTap: function () { - triggerEventOnly(this, 'primaryButtonTap'); - }, - onSecondaryButtonTap: function () { - triggerEventOnly(this, 'secondaryButtonTap'); - }, - onCancelButtonTap: function () { - triggerEventOnly(this, 'cancelButtonTap'); - }, -}); diff --git a/compiled/wechat/src/Dialog/index.json b/compiled/wechat/src/Dialog/index.json deleted file mode 100644 index 6eaf614ee..000000000 --- a/compiled/wechat/src/Dialog/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-icon": "../Icon/index", - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/wechat/src/Dialog/index.md b/compiled/wechat/src/Dialog/index.md deleted file mode 100644 index 4f7e48a06..000000000 --- a/compiled/wechat/src/Dialog/index.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Dialog 对话框 - -当应用中需要比较明显的对用户当前的操作行为进行警示或提醒时,可以使用对话框。用户需要针对对话框进行操作后方可结束。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-dialog": "antd-mini/es/Dialog/index" -#endif -#if WECHAT - "ant-dialog": "antd-mini/Dialog/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - visible: false, - footer: { - buttons: [{ text: '我知道了' }], - }, - }, - onButtonTap(buttonItem) { - console.log('点击的按钮: ', buttonItem); -#if ALIPAY - my.showToast({ content: `点击了${buttonItem.text}`, duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: `点击了${buttonItem.text}` }); -#endif - this.handleClose(); - }, - handleClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### 多行动点 - -> `footer` 属性支持传入多个行动点,并且可以指定 `layout` 为 `vertical`或`horizontal`,即行动点横向、纵向布局。 - -```xml - -``` - -```js -Page({ - data: { - // 横向布局 - horizontalFooter: { - buttons: [ - { text: '取消', type: 'default' }, - { text: '确定', type: 'primary' }, - ], - layout: 'horizontal', - }, - // 纵向布局 - verticalFooter: { - buttons: [ - { text: '主按钮', type: 'primary' }, - { text: '更多', type: 'default' }, - { text: '取消', type: 'text' }, - ], - }, - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------------- | ------------------------------------------------- | ------------ | ------ | -| bodyClassName | body 类名 | string | - | -| bodyStyle | body 样式 | string | - | -| cancelButtonStyle | 取消按钮样式 | string | - | -| cancelButtonText | 取消按钮文本 | string | - | -| className | 类名 | string | - | -| closable | 是否显示右上角的关闭按钮。仅在 type 为 focus 生效 | boolean | - | -| content | 内容 | string\|slot | - | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| footer | 自定义按钮区 | slot | - | -| maskClosable | 点击蒙层是否触发 onClose | boolean | true | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | -| visible | 是否显示 | boolean | false | -| #if ALIPAY onCancelButtonTap | 取消按钮点击事件 | ()=>void | - | -| #if ALIPAY onClose | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if ALIPAY onButtonTap | 行为按钮点击事件 | ()=>void | - | -| #if WECHAT bind:close | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if WECHAT bind:buttontap | 行为按钮点击事件 | ()=>void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------- | -| --dialog-background-color |
#ffffff
|
#1a1a1a
| 模态框背景颜色 | -| --dialog-title-color |
#333333
|
#c5cad1
| 模态框标题颜色 | -| --dialog-content-color |
#333333
|
#c5cad1
| 模态框内容颜色 | -| --dialog-close-text-color |
#999999
|
#616161
| 模态框关闭按钮文字颜色 | diff --git a/compiled/wechat/src/Dialog/index.wxml b/compiled/wechat/src/Dialog/index.wxml deleted file mode 100644 index 7995c1516..000000000 --- a/compiled/wechat/src/Dialog/index.wxml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - {{title}} - - {{content}} - - - - {{item.text}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Dialog/index.wxs b/compiled/wechat/src/Dialog/index.wxs deleted file mode 100644 index 8031d1036..000000000 --- a/compiled/wechat/src/Dialog/index.wxs +++ /dev/null @@ -1,21 +0,0 @@ -function getDirection(primaryButtonText, secondaryButtonText, cancelButtonText, type) { - // 不显示按钮区域 - if (!primaryButtonText && !secondaryButtonText && !cancelButtonText) { - return ''; - } - // 1个按钮,当纵向处理 - if ([primaryButtonText, secondaryButtonText, cancelButtonText].filter(function (v) { - return !!v; - }).length === 1) { - return 'vertical'; - } - // 三个按钮,必是纵向 - if (primaryButtonText && secondaryButtonText && cancelButtonText) { - return 'vertical'; - } - // 两个按钮,在 “标准模式” 是横向;在“强调模式”是纵向 - return type === 'focus' ? 'vertical' : 'horizontal'; -} -module.exports = { - getDirection: getDirection -}; \ No newline at end of file diff --git a/compiled/wechat/src/Dialog/index.wxss b/compiled/wechat/src/Dialog/index.wxss deleted file mode 100644 index d69f8c08e..000000000 --- a/compiled/wechat/src/Dialog/index.wxss +++ /dev/null @@ -1,67 +0,0 @@ -.ant-dialog-body { - width: 560rpx; - background-color: var(--dialog-background-color, #ffffff); - padding: 48rpx 44rpx; - display: flex; - flex-direction: column; - border-radius: 48rpx; -} -.ant-dialog-body-header { - width: calc(100% + 88rpx); - border-top-left-radius: 48rpx; - border-top-right-radius: 48rpx; - margin: -48rpx -44rpx 36rpx -44rpx; -} -.ant-dialog-body-title { - line-height: 56rpx; - text-align: center; - color: var(--dialog-title-color, #333333); - padding-bottom: 32rpx; - font-weight: 500; - font-size: 40rpx; -} -.ant-dialog-body-content { - line-height: 42rpx; - padding-bottom: 24rpx; - font-size: 32rpx; - color: var(--dialog-content-color, #333333); - text-align: center; -} -.ant-dialog-body-footer { - padding: 48rpx 4rpx 0 4rpx; -} -.ant-dialog-body-footer-vertical { - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: column; - gap: 24rpx; -} -.ant-dialog-body-footer-vertical .ant-dialog-body-footer-button { - width: 100%; -} -.ant-dialog-body-footer-horizontal { - display: flex; - justify-content: flex-start; - align-items: center; - gap: 24rpx; - flex-direction: row; -} -.ant-dialog-body-footer-horizontal .ant-dialog-body-footer-button { - flex: 1; -} -.ant-dialog-close { - top: 72rpx; - position: relative; - left: 50%; - margin-left: -30rpx; - z-index: 3; - width: 60rpx; - height: 60rpx; - font-size: 72rpx; - color: var(--dialog-close-text-color, #999999); -} -.ant-dialog .ant-popup-content.ant-popup-center { - min-height: 0; - padding: 0; -} diff --git a/compiled/wechat/src/Dialog/props.js b/compiled/wechat/src/Dialog/props.js deleted file mode 100644 index a67938769..000000000 --- a/compiled/wechat/src/Dialog/props.js +++ /dev/null @@ -1,27 +0,0 @@ -export var ModalDefaultProps = { - visible: false, - maskClosable: true, - closable: true, - duration: 200, - animation: true, - zIndex: 998, -}; -export var ModalFunctionalProps = { - bodyClassName: '', - bodyStyle: '', - maskClassName: '', - maskStyle: '', - maskClosable: true, - closable: true, - duration: 200, - animation: true, - zIndex: 998, - title: '', - content: '', - visible: false, - destroyOnClose: false, - footer: { - buttons: [], - layout: 'vertical', - }, -}; diff --git a/compiled/wechat/src/Dialog/variable.wxss b/compiled/wechat/src/Dialog/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Divider/index.en.md b/compiled/wechat/src/Divider/index.en.md deleted file mode 100644 index 84dc2a6e2..000000000 --- a/compiled/wechat/src/Divider/index.en.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display -toc: 'content' ---- - -# Divider - -The dividing line that separates the content. Segmentation of text paragraphs in different sections. Split inline text/links, such as the action column of a table. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-divider": "antd-mini/es/Divider/index" -#endif -#if WECHAT - "ant-divider": "antd-mini/Divider/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### Split Line with Text - -```xml - - - -``` - -### Custom Style - -```xml - -``` - -### Vertical Split Line - -```xml - - 100m - - detail address - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ------------- | ---------------------------------------------------------------- | -------------- | ------------ | -| className | Root node class name | string | - | -| direction | Split line direction, optional `horizontal` `vertical` | string | `horizontal` | -| lineColor | Split line color | string | - | -| lineHeight | Split line height, only if `direction` For `horizontal` Effective at the time, in units `px` | number | - | -| lineType | Split line type, optional `solid` `dashed` `dotted` | string | - | -| lineWidth | Split line width, only if `direction` For `vertical` Effective at the time, in units `px` | number | - | -| style | Style | string | - | -| textClassName | Split line text class name | string | - | -| textPosition | Split line text position, optional `left` `center` `right` | string | `center` | -| textStyle | Split Line Text Style | string | - | -| text | Split Line Text | string \| slot | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --divider-text-color |
#333333
|
#c5cad1
| Split line text color | -| --divider-border-color |
#e5e5e5
|
#2b2b2b2
| Split Line Border Color | diff --git a/compiled/wechat/src/Divider/index.js b/compiled/wechat/src/Divider/index.js deleted file mode 100644 index 63ab35f6b..000000000 --- a/compiled/wechat/src/Divider/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../_util/simply'; -import { DividerFunctionalProps } from './props'; -Component(DividerFunctionalProps); diff --git a/compiled/wechat/src/Divider/index.json b/compiled/wechat/src/Divider/index.json deleted file mode 100644 index ac34bd704..000000000 --- a/compiled/wechat/src/Divider/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "component": true, - "usingComponents": { - } -} diff --git a/compiled/wechat/src/Divider/index.md b/compiled/wechat/src/Divider/index.md deleted file mode 100644 index e24d2af54..000000000 --- a/compiled/wechat/src/Divider/index.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 -toc: 'content' ---- - -# Divider 分割线 - -区隔内容的分割线。对不同章节的文本段落进行分割。对行内文字/链接进行分割,例如表格的操作列。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-divider": "antd-mini/es/Divider/index" -#endif -#if WECHAT - "ant-divider": "antd-mini/Divider/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 分割线带文字 - -```xml - - - -``` - -### 自定义样式 - -```xml - -``` - -### 垂直分割线 - -```xml - - 100m - - detail address - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ------------- | ---------------------------------------------------------------- | -------------- | ------------ | -| className | 根节点类名 | string | - | -| direction | 分割线方向,可选 `horizontal` `vertical` | string | `horizontal` | -| lineColor | 分割线颜色 | string | - | -| lineHeight | 分割线高度,仅当 `direction` 为 `horizontal` 时生效,单位为 `px` | number | - | -| lineType | 分割线类型,可选 `solid` `dashed` `dotted` | string | - | -| lineWidth | 分割线宽度,仅当 `direction` 为 `vertical` 时生效,单位为 `px` | number | - | -| style | 样式 | string | - | -| textClassName | 分割线文字类名 | string | - | -| textPosition | 分割线文字位置,可选 `left` `center` `right` | string | `center` | -| textStyle | 分割线文字样式 | string | - | -| text | 分割线文字 | string \| slot | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- | -| --divider-text-color |
#333333
|
#c5cad1
| 分割线文本颜色 | -| --divider-border-color |
#e5e5e5
|
#2b2b2b2
| 分割线边框颜色 | diff --git a/compiled/wechat/src/Divider/index.wxml b/compiled/wechat/src/Divider/index.wxml deleted file mode 100644 index 866bd83e0..000000000 --- a/compiled/wechat/src/Divider/index.wxml +++ /dev/null @@ -1,32 +0,0 @@ - - - - {{text}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Divider/index.wxs b/compiled/wechat/src/Divider/index.wxs deleted file mode 100644 index bb62b2599..000000000 --- a/compiled/wechat/src/Divider/index.wxs +++ /dev/null @@ -1,15 +0,0 @@ -var getLineWidthFlex = function getLineWidthFlex(textPosition, text) { - if (!text) { - return [1, 0]; - } - if (textPosition === 'left') { - return [1, 5]; - } - if (textPosition === 'right') { - return [5, 1]; - } - return [1, 1]; -}; -module.exports = { - getLineWidthFlex: getLineWidthFlex -}; \ No newline at end of file diff --git a/compiled/wechat/src/Divider/index.wxss b/compiled/wechat/src/Divider/index.wxss deleted file mode 100644 index 1651b7b84..000000000 --- a/compiled/wechat/src/Divider/index.wxss +++ /dev/null @@ -1,21 +0,0 @@ -.ant-divider-horizontal { - display: flex; - flex-direction: row; - flex-wrap: wrap; - align-items: center; - padding: 16rpx 0; -} -.ant-divider-horizontal-text { - font-size: 30rpx; - color: var(--divider-text-color, #333333); - margin: 0 32rpx; -} -.ant-divider-horizontal-left, -.ant-divider-horizontal-right { - border-bottom: 2rpx solid var(--divider-border-color, #e5e5e5); -} -.ant-divider-vertical { - margin: 0 16rpx; - height: 32rpx; - border-right: 2rpx solid var(--divider-border-color, #e5e5e5); -} diff --git a/compiled/wechat/src/Divider/props.js b/compiled/wechat/src/Divider/props.js deleted file mode 100644 index 093b2a015..000000000 --- a/compiled/wechat/src/Divider/props.js +++ /dev/null @@ -1,16 +0,0 @@ -export var DividerDefaultProps = { - textPosition: 'center', - direction: 'horizontal', - lineType: 'solid', -}; -export var DividerFunctionalProps = { - lineColor: '', - lineHeight: 0, - lineType: 'solid', - lineWidth: 0, - text: '', - textStyle: '', - textClassName: '', - textPosition: 'center', - direction: 'horizontal', -}; diff --git a/compiled/wechat/src/Divider/variable.wxss b/compiled/wechat/src/Divider/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Empty/index.en.md b/compiled/wechat/src/Empty/index.en.md deleted file mode 100644 index c65390df8..000000000 --- a/compiled/wechat/src/Empty/index.en.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 9 -toc: 'content' ---- - -# Empty - -Use the scene illustration as a feedback prompt for the empty state scene, when you need to display the empty state page or local empty state block. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-empty": "antd-mini/es/Empty/index" -#endif -#if WECHAT - "ant-empty": "antd-mini/Empty/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### Custom Picture - -```xml - -``` - -### Add Action Point - -```xml - -``` - -```js -const BUTTON_LIST = [ - { - type: 'primary', - text: 'refresh', - }, - { - type: 'default', - text: 'checkout internet', - }, -]; - -Page({ - data: { - // 水平按钮布局 - horizontalButtonInfo: { - layout: 'horizontal', - list: BUTTON_LIST, - }, - // 垂直按钮布局 - verticalButtonInfo: { - layout: 'vertical', - list: BUTTON_LIST, - }, - }, -}); -``` - -### Use Slot - -```xml - - - - Custom Action Buttons - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | --------------------------------- | ------------------------------------------------- | -------- | -| className | Root node class name | string | - | -| title | Title Copy | string \| slot | - | -| image | Picture, string can be passed in as picture address | string \| slot | -| message | Description Copy | string \| slot | - | -| style | Style | string | - | -| size | Empty status size, optional `normal` `small` | string | `normal` | -| buttonInfo | Custom Button | [ButtonInfo](#buttoninfo) | `normal` | -| #if ALIPAY onClickButton | Click button callback | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | -| #if WECHAT bind:ClickButton | Click button callback | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | - -### ButtonInfo - -| Property | Description | Type | Default Value | -| ------ | -------------------------------------- | ----------------------------------- | ------------ | -| layout | Layout mode, optional `horizontal` `vertical` | string | `horizontal` | -| list | Layout button configuration | [ButtonInfoItem](#buttoninfoitem)[] | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --empty-text-color |
#333333
|
#c5cad1
| Empty status text color | -| --empty-asisst-text-color |
#999999
|
#616161
| Empty state secondary text color | diff --git a/compiled/wechat/src/Empty/index.js b/compiled/wechat/src/Empty/index.js deleted file mode 100644 index f8213afec..000000000 --- a/compiled/wechat/src/Empty/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import { Component } from '../_util/simply'; -import { EmptyFunctionalProps } from './props'; -Component(EmptyFunctionalProps, { - onClickButton: function (e) { - var item = e.target.dataset.item; - this.props.onClickButton(item); - }, -}); diff --git a/compiled/wechat/src/Empty/index.json b/compiled/wechat/src/Empty/index.json deleted file mode 100644 index c4177eb48..000000000 --- a/compiled/wechat/src/Empty/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-auto-resize": "../AutoResize/index" - } -} diff --git a/compiled/wechat/src/Empty/index.md b/compiled/wechat/src/Empty/index.md deleted file mode 100644 index 325ce6662..000000000 --- a/compiled/wechat/src/Empty/index.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 9 -toc: 'content' ---- - -# Empty 空状态 - -使用场景插画来作为空状态场景的反馈提示,在需要展示空状态页面或者局部空状态区块时使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-empty": "antd-mini/es/Empty/index" -#endif -#if WECHAT - "ant-empty": "antd-mini/Empty/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 自定义图片 - -```xml - -``` - -### 添加行动点 - -```xml - -``` - -```js -const BUTTON_LIST = [ - { - type: 'primary', - text: 'refresh', - }, - { - type: 'default', - text: 'checkout internet', - }, -]; - -Page({ - data: { - // 水平按钮布局 - horizontalButtonInfo: { - layout: 'horizontal', - list: BUTTON_LIST, - }, - // 垂直按钮布局 - verticalButtonInfo: { - layout: 'vertical', - list: BUTTON_LIST, - }, - }, -}); -``` - -### 使用插槽 - -```xml - - - - 自定义操作按钮 - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | --------------------------------- | ------------------------------------------------- | -------- | -| className | 根节点类名 | string | - | -| title | 标题文案 | string \| slot | - | -| image | 图片,可传入字符串作为图片地址 | string \| slot | -| message | 描述文案 | string \| slot | - | -| style | 样式 | string | - | -| size | 空状态尺寸,可选 `normal` `small` | string | `normal` | -| buttonInfo | 自定义按钮 | [ButtonInfo](#buttoninfo) | `normal` | -| #if ALIPAY onClickButton | 点击按钮回调 | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | -| #if WECHAT bind:ClickButton | 点击按钮回调 | (item: [ButtonInfoItem](#buttoninfoitem)) => void | - | - -### ButtonInfo - -| 属性 | 说明 | 类型 | 默认值 | -| ------ | -------------------------------------- | ----------------------------------- | ------------ | -| layout | 布局方式,可选 `horizontal` `vertical` | string | `horizontal` | -| list | 布局按钮配置 | [ButtonInfoItem](#buttoninfoitem)[] | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --empty-text-color |
#333333
|
#c5cad1
| 空状态文本颜色 | -| --empty-asisst-text-color |
#999999
|
#616161
| 空状态辅助文本颜色 | diff --git a/compiled/wechat/src/Empty/index.wxml b/compiled/wechat/src/Empty/index.wxml deleted file mode 100644 index 4a279f43c..000000000 --- a/compiled/wechat/src/Empty/index.wxml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - {{title}} - - - - {{title}} - - - - - - {{message}} - - - - {{message}} - - - - - - {{item.text}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Empty/index.wxss b/compiled/wechat/src/Empty/index.wxss deleted file mode 100644 index 71d74e9ec..000000000 --- a/compiled/wechat/src/Empty/index.wxss +++ /dev/null @@ -1,71 +0,0 @@ -.ant-empty { - text-align: center; -} -.ant-empty-normal .ant-empty-image-element { - width: 510rpx; - height: 282rpx; -} -.ant-empty-normal .ant-empty-text-main { - color: var(--empty-text-color, #333333); - font-size: 36rpx; - margin-top: 24rpx; -} -.ant-empty-normal .ant-empty-text-sub { - margin-top: 12rpx; - color: var(--empty-asisst-text-color, #999999); -} -.ant-empty-normal .ant-empty-button { - padding-top: 80rpx; -} -.ant-empty-small .ant-empty-image-element { - width: 416rpx; - height: 230rpx; -} -.ant-empty-small .ant-empty-text-main { - color: var(--empty-asisst-text-color, #999999); - font-size: 32rpx; - margin-top: 24rpx; -} -.ant-empty-small .ant-empty-text-sub { - color: #cccccc; - margin-top: 8rpx; -} -.ant-empty-small .ant-empty-button { - padding-top: 32rpx; -} -.ant-empty-image { - display: flex; - justify-content: center; -} -.ant-empty-text { - margin-top: 24rpx; - line-height: 50rpx; -} -.ant-empty-text-main { - color: #333333; - font-size: 36rpx; -} -.ant-empty-text-sub { - font-size: 24rpx; - margin-top: 32rpx; - line-height: 37rpx; -} -.ant-empty-button-layout-horizontal { - display: flex; - justify-content: center; - align-items: center; - gap: 24rpx; -} -.ant-empty-button-layout-vertical { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: center; - gap: 32rpx; -} -.ant-empty-button-layout-vertical .ant-button { - min-width: 368rpx; -} -.ant-empty-extra { - padding-top: 32rpx; -} diff --git a/compiled/wechat/src/Empty/props.js b/compiled/wechat/src/Empty/props.js deleted file mode 100644 index 29be171ea..000000000 --- a/compiled/wechat/src/Empty/props.js +++ /dev/null @@ -1,13 +0,0 @@ -export var EmptyDefaultProps = {}; -export var EmptyFunctionalProps = { - title: '', - message: '', - image: '', - imageMode: 'scaleToFill', - buttonInfo: { - list: [], - layout: 'horizontal', - }, - size: 'normal', - onClickButton: function () { }, -}; diff --git a/compiled/wechat/src/Empty/variable.wxss b/compiled/wechat/src/Empty/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Feedback/index.en.md b/compiled/wechat/src/Feedback/index.en.md deleted file mode 100644 index 03b8e1bd6..000000000 --- a/compiled/wechat/src/Feedback/index.en.md +++ /dev/null @@ -1,233 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 15 -toc: content ---- - -# Feedback - -Feedback mostly acts on distribution scenarios. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-feedback": "antd-mini/es/Feedback/index" -#endif -#if WECHAT - "ant-feedback": "antd-mini/Feedback/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - -``` - -```js -Page({ - data: { - visible: true, - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, -}); -``` - -### Point guidance feedback - -```xml - - - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, -}); -``` - -### Feedback Card - -```xml - - - Click to show feedback card - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, - onShowFeedback() { - this.setData({ - visible: true, - }); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------------ | -| visible | Whether visible | boolean | false | -| type | Type of feedback | 'popover' \| 'card' \| 'float' | card | -| title | Title of the feedback | string | - | -| placement | Bubble box position, optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` or `right-bottom` | string | bottom-right | -| list | List of Feedback | [FeedItem](#feeditem)[] | - | -| className | outermost style name | string | - | -| style | outermost style string | string | - | -| popoverType | Bootstrap style for bubble feedback | 'circle' \| 'default' | - | -| autoAdjustOverflow | Whether bubble position is adaptive | boolean | true | -| #if ALIPAY onVisibleChange | Hook showing state change | (visible: boolean) => void | - | -| #if ALIPAY onTapFeedItem | Feedback Item Click Callback | (item: any) => void | - | -| #if WECHAT bind:visiblechange | Hook showing state change | (visible: boolean) => void | - | -| #if WECHAT bind:tapfeeditem | Feedback Item Click Callback | ([FeedItem](#feeditem): any) => void | - | - -### FeedItem - -| Property | Description | Type | Default Value | -| ----- | ---------------------------------------- | ------ | ------ | -| icon | Icons for feedback items | string | - | -| text | Copywriting of the feedback item | string | - | -| image | The image and the icon of the feedback item are mutually exclusive, and the icon is displayed first. | string | - | -| id | Unique identification of the feedback item | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --feedback-text-color |
#333333
|
#c5cad1
| Feedback Text Color | -| --feedback-background-color |
rgba(216, 216, 216, 0.42)
|
rgba(216, 216, 216, 0.42)
| Feedback Background Color | -| --feedback-mask-color |
rgba(0, 0, 0, 0.25)
|
rgba(0, 0, 0, 0.25)
| Feedback Mask Color | -| --feedback-content-background-color |
#ffffff
|
#1a1a1a
| Feedback Content Background Color | -| --feedback-list-background-color |
#f5f5f5
|
#121212
| Feedback List Background Color | -| --feedback-list-text-color |
#333333
|
#c5cad1
| Feedback List Text Color | diff --git a/compiled/wechat/src/Feedback/index.js b/compiled/wechat/src/Feedback/index.js deleted file mode 100644 index d7b043fae..000000000 --- a/compiled/wechat/src/Feedback/index.js +++ /dev/null @@ -1,15 +0,0 @@ -import { resolveEventValue } from '../_util/platform'; -import { Component, triggerEvent } from '../_util/simply'; -import { FeedbackDefaultProps } from './props'; -Component(FeedbackDefaultProps, { - handleVisibleChange: function (visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onTapFeedItem: function (e) { - var item = e.currentTarget.dataset.item; - triggerEvent(this, 'tapFeedItem', item, e); - }, - maskClick: function (e) { - triggerEvent(this, 'visibleChange', true, e); - }, -}); diff --git a/compiled/wechat/src/Feedback/index.json b/compiled/wechat/src/Feedback/index.json deleted file mode 100644 index 08e8ed761..000000000 --- a/compiled/wechat/src/Feedback/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-mask": "../Mask/index", - "ant-icon": "../Icon/index", - "popover": "../Popover/index" - } -} diff --git a/compiled/wechat/src/Feedback/index.md b/compiled/wechat/src/Feedback/index.md deleted file mode 100644 index 34d29f03b..000000000 --- a/compiled/wechat/src/Feedback/index.md +++ /dev/null @@ -1,233 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 15 -toc: content ---- - -# Feedback 信息反馈 - -反馈多作用于分发场景。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-feedback": "antd-mini/es/Feedback/index" -#endif -#if WECHAT - "ant-feedback": "antd-mini/Feedback/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - -``` - -```js -Page({ - data: { - visible: true, - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, -}); -``` - -### 点状引导反馈 - -```xml - - - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, -}); -``` - -### 反馈卡片 - -```xml - - - 点击 展示反馈卡片 - -``` - -```js -Page({ - data: { - visible: true, - feedList: [ - { icon: 'HeartOutline', text: '喜欢推荐内容', id: '1', }, - { icon: 'FrownOutline', text: '我不感兴趣', id: '2', }, - { image: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', text: '看过类似内容', id: '3', }, - ], - }, - onVisibleChange(value) { -#if ALIPAY - this.setData({ visible: value }); -#endif -#if WECHAT - this.setData({ visible: value.detail }); -#endif - }, - onTapFeedItem(feedItem) { -#if ALIPAY - my.showToast({ content: `点击了反馈项${feedItem.text}`, }); -#endif -#if WECHAT - wx.showToast({ title: `点击了反馈项${feedItem.text}`, }); -#endif - }, - onShowFeedback() { - this.setData({ - visible: true, - }); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------------ | -| visible | 是否可见 | boolean | false | -| type | 反馈类型 | 'popover' \| 'card' \| 'float' | card | -| title | 反馈的标题 | string | - | -| placement | 气泡框位置,可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` 或 `right-bottom` | string | bottom-right | -| list | 反馈的列表 | [FeedItem](#feeditem)[] | - | -| className | 最外层的样式名 | string | - | -| style | 最外层的样式字符串 | string | - | -| popoverType | 气泡反馈的引导样式 | 'circle' \| 'default' | - | -| autoAdjustOverflow | 气泡位置是否自适应 | boolean | true | -| #if ALIPAY onVisibleChange | 展示状态改变的勾子 | (visible: boolean) => void | - | -| #if ALIPAY onTapFeedItem | 反馈项点击回调 | (item: any) => void | - | -| #if WECHAT bind:visiblechange | 展示状态改变的勾子 | (visible: boolean) => void | - | -| #if WECHAT bind:tapfeeditem | 反馈项点击回调 | ([FeedItem](#feeditem): any) => void | - | - -### FeedItem - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | ---------------------------------------- | ------ | ------ | -| icon | 反馈项的图标 | string | - | -| text | 反馈项的文案 | string | - | -| image | 反馈项的图片 和 icon 互斥,优先展示 icon | string | - | -| id | 反馈项的唯一标识 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --feedback-text-color |
#333333
|
#c5cad1
| 反馈文本颜色 | -| --feedback-background-color |
rgba(216, 216, 216, 0.42)
|
rgba(216, 216, 216, 0.42)
| 反馈背景颜色 | -| --feedback-mask-color |
rgba(0, 0, 0, 0.25)
|
rgba(0, 0, 0, 0.25)
| 反馈遮罩颜色 | -| --feedback-content-background-color |
#ffffff
|
#1a1a1a
| 反馈内容背景颜色 | -| --feedback-list-background-color |
#f5f5f5
|
#121212
| 反馈列表背景颜色 | -| --feedback-list-text-color |
#333333
|
#c5cad1
| 反馈列表文本颜色 | diff --git a/compiled/wechat/src/Feedback/index.wxml b/compiled/wechat/src/Feedback/index.wxml deleted file mode 100644 index cd5ff72c8..000000000 --- a/compiled/wechat/src/Feedback/index.wxml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - {{title}} - - - - - {{item.text}} - - - - - - - - {{title}} - - - - - {{item.text}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Feedback/index.wxss b/compiled/wechat/src/Feedback/index.wxss deleted file mode 100644 index dcf59cff7..000000000 --- a/compiled/wechat/src/Feedback/index.wxss +++ /dev/null @@ -1,112 +0,0 @@ -.ant-feedback .ant-popover-inner { - max-width: 100%; - color: var(--feedback-text-color, #333333); - background: var(--feedback-content-background-color, #ffffff); -} -.ant-feedback .ant-popover-arrow { - border-bottom-color: var(--feedback-content-background-color, #ffffff); -} -.ant-feedback-popoverType-default .ant-popover-content { - width: 568rpx; -} -.ant-feedback-popoverType-circle .ant-popover-content { - width: max-content; - transform: translate(-50%, 60rpx); - left: 50% !important; - top: 50% !important; - bottom: 50% !important; - right: 50% !important; -} -.ant-feedback-show { - z-index: 9; - position: relative; -} -.ant-feedback-mask { - z-index: 2; - background: var(--feedback-mask-color, rgba(0, 0, 0, 0.25)); -} -.ant-feedback-trigger { - position: relative; -} -.ant-feedback-guide { - position: absolute; - background: var(--feedback-background-color, rgba(216, 216, 216, 0.42)); - border-radius: 50vh; - width: 48rpx; - height: 48rpx; - z-index: 999; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - display: flex; - justify-content: center; - align-items: center; -} -.ant-feedback-guide-content { - background: var(--feedback-content-background-color, #ffffff); - border-radius: 50vh; - width: 24rpx; - height: 24rpx; -} -.ant-feedback-content { - background: var(--feedback-content-background-color, #ffffff); - border-radius: 24rpx; -} -.ant-feedback-content-card { - display: flex; - flex-direction: column; - padding: 24rpx; - background: var(--feedback-content-background-color, #ffffff); -} -.ant-feedback-content-card .ant-feedback-content-list { - flex-direction: column; - gap: 16rpx; -} -.ant-feedback-content-card .ant-feedback-content-list-item { - background: var(--feedback-list-background-color, #f5f5f5); - border-radius: 50vh; - padding: 18rpx 24rpx; -} -.ant-feedback-content-popover { - padding: 24rpx; -} -.ant-feedback-content-popover .ant-feedback-content-list { - flex-direction: column; - gap: 16rpx; -} -.ant-feedback-content-popover .ant-feedback-content-list-item { - background: var(--feedback-list-background-color, #f5f5f5); - border-radius: 50vh; - padding: 18rpx 24rpx; -} -.ant-feedback-content-title { - font-weight: 500; - font-size: 28rpx; - color: var(--feedback-list-text-color #333333); - letter-spacing: 0; - padding-bottom: 20rpx; - padding-top: 4rpx; -} -.ant-feedback-content-list { - display: flex; - flex-direction: column; -} -.ant-feedback-content-list-item { - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; -} -.ant-feedback-content-list-item .ant-icon, -.ant-feedback-content-list-item-image { - font-size: 36rpx; - width: 36rpx; - height: 36rpx; - margin-right: 16rpx; -} -.ant-feedback-content-list-item-text { - font-weight: 400; - font-size: 26rpx; - color: var(--feedback-list-text-color #333333); - line-height: 37rpx; -} diff --git a/compiled/wechat/src/Feedback/props.js b/compiled/wechat/src/Feedback/props.js deleted file mode 100644 index 1c4b6bc05..000000000 --- a/compiled/wechat/src/Feedback/props.js +++ /dev/null @@ -1,13 +0,0 @@ -export var FeedbackDefaultProps = { - className: '', - title: '', - list: [], - type: 'card', - placement: 'bottom-right', - visible: null, - style: '', - popoverType: 'default', - autoAdjustOverflow: true, - onVisibleChange: function () { }, - onTapFeedItem: function () { }, -}; diff --git a/compiled/wechat/src/Feedback/variable.wxss b/compiled/wechat/src/Feedback/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormCascaderPicker/index.js b/compiled/wechat/src/Form/FormCascaderPicker/index.js deleted file mode 100644 index e28ea802a..000000000 --- a/compiled/wechat/src/Form/FormCascaderPicker/index.js +++ /dev/null @@ -1,46 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormCascaderPickerDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, FormCascaderPickerDefaultProps, { - onOk: function (value, option, e) { - var v = resolveEventValues(value, option); - this.emit('onChange', v[0]); - triggerEventValues(this, 'ok', v, e); - }, - onPickerChange: function (value, option, e) { - triggerEventValues(this, 'pickerChange', resolveEventValues(value, option), e); - }, - onVisibleChange: function (visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker: function (e) { - triggerEventOnly(this, 'cancel', e); - }, - onChange: function (value, options, e) { - triggerEventValues(this, 'change', resolveEventValues(value, options), e); - }, - handleFormat: function (value, option) { - var onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(value, option); - } - }, -}, {}, [createForm()], { - attached: function () { - this.setData({ - handleFormat: this.handleFormat.bind(this), - }); - }, -}); diff --git a/compiled/wechat/src/Form/FormCascaderPicker/index.json b/compiled/wechat/src/Form/FormCascaderPicker/index.json deleted file mode 100644 index 9cc26fa6a..000000000 --- a/compiled/wechat/src/Form/FormCascaderPicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-cascader-picker": "../../Picker/CascaderPicker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/wechat/src/Form/FormCascaderPicker/index.wxml b/compiled/wechat/src/Form/FormCascaderPicker/index.wxml deleted file mode 100644 index f99f57109..000000000 --- a/compiled/wechat/src/Form/FormCascaderPicker/index.wxml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormCascaderPicker/index.wxss b/compiled/wechat/src/Form/FormCascaderPicker/index.wxss deleted file mode 100644 index da811adfd..000000000 --- a/compiled/wechat/src/Form/FormCascaderPicker/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -.ant-form-cascader-picker-arrow { - margin-left: 8rpx; - color: var(--form-text-color, #cccccc); - font-size: 36rpx; -} diff --git a/compiled/wechat/src/Form/FormCascaderPicker/props.js b/compiled/wechat/src/Form/FormCascaderPicker/props.js deleted file mode 100644 index 18eba628c..000000000 --- a/compiled/wechat/src/Form/FormCascaderPicker/props.js +++ /dev/null @@ -1,14 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { CascaderDefaultProps, } from '../../Picker/CascaderPicker/props'; -import { FormItemDefaultProps } from '../FormItem/props'; -export var FormCascaderPickerDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), CascaderDefaultProps), { arrow: false }); diff --git a/compiled/wechat/src/Form/FormCheckboxGroup/index.js b/compiled/wechat/src/Form/FormCheckboxGroup/index.js deleted file mode 100644 index f8310ba6f..000000000 --- a/compiled/wechat/src/Form/FormCheckboxGroup/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { FormCheckboxGroupDefaultProps } from './props'; -import { resolveEventValue } from '../../_util/platform'; -import { createForm } from '../form'; -Component(FormCheckboxGroupDefaultProps, { - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormCheckboxGroup/index.json b/compiled/wechat/src/Form/FormCheckboxGroup/index.json deleted file mode 100644 index a7aba7f79..000000000 --- a/compiled/wechat/src/Form/FormCheckboxGroup/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "checkbox-group": "../../Checkbox/CheckboxGroup/index" - } -} diff --git a/compiled/wechat/src/Form/FormCheckboxGroup/index.wxml b/compiled/wechat/src/Form/FormCheckboxGroup/index.wxml deleted file mode 100644 index beaf7034e..000000000 --- a/compiled/wechat/src/Form/FormCheckboxGroup/index.wxml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormCheckboxGroup/props.js b/compiled/wechat/src/Form/FormCheckboxGroup/props.js deleted file mode 100644 index 9a46002f9..000000000 --- a/compiled/wechat/src/Form/FormCheckboxGroup/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { CheckboxGroupDefaultProps, } from '../../Checkbox/CheckboxGroup/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var position = CheckboxGroupDefaultProps.position, rest = __rest(CheckboxGroupDefaultProps, ["position"]); -export var FormCheckboxGroupDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { checkboxPosition: 'horizontal' }); diff --git a/compiled/wechat/src/Form/FormDatePicker/index.js b/compiled/wechat/src/Form/FormDatePicker/index.js deleted file mode 100644 index 8e1050259..000000000 --- a/compiled/wechat/src/Form/FormDatePicker/index.js +++ /dev/null @@ -1,50 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormDatePickerDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, FormDatePickerDefaultProps, { - onOk: function (date, dateStr, e) { - var v = resolveEventValues(date, dateStr); - this.emit('onChange', v[1]); - triggerEventValues(this, 'ok', v, e); - }, - onPickerChange: function (date, dateStr, e) { - triggerEventValues(this, 'pickerChange', resolveEventValues(date, dateStr), e); - }, - onVisibleChange: function (visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker: function (e) { - triggerEventOnly(this, 'dismissPicker', e); - }, - handleFormat: function (date, dateStr) { - var onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(date, dateStr); - } - }, - handleFormatLabel: function (type, value) { - var onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - if (onFormatLabel) { - return onFormatLabel(type, value); - } - }, -}, {}, [createForm()], { - attached: function () { - this.setData({ - handleFormat: this.handleFormat.bind(this), - handleFormatLabel: this.handleFormatLabel.bind(this), - }); - }, -}); diff --git a/compiled/wechat/src/Form/FormDatePicker/index.json b/compiled/wechat/src/Form/FormDatePicker/index.json deleted file mode 100644 index a99473a3c..000000000 --- a/compiled/wechat/src/Form/FormDatePicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-date-picker": "../../DatePicker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/wechat/src/Form/FormDatePicker/index.wxml b/compiled/wechat/src/Form/FormDatePicker/index.wxml deleted file mode 100644 index 67832ee38..000000000 --- a/compiled/wechat/src/Form/FormDatePicker/index.wxml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormDatePicker/index.wxss b/compiled/wechat/src/Form/FormDatePicker/index.wxss deleted file mode 100644 index cd6bf6536..000000000 --- a/compiled/wechat/src/Form/FormDatePicker/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -.ant-form-date-picker-arrow { - margin-left: 8rpx; - color: var(--form-text-color, #cccccc); - font-size: 36rpx; -} diff --git a/compiled/wechat/src/Form/FormDatePicker/props.js b/compiled/wechat/src/Form/FormDatePicker/props.js deleted file mode 100644 index 382004534..000000000 --- a/compiled/wechat/src/Form/FormDatePicker/props.js +++ /dev/null @@ -1,14 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { DatePickerDefaultProps, } from '../../DatePicker/props'; -import { FormItemDefaultProps } from '../FormItem/props'; -export var FormDatePickerDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), DatePickerDefaultProps), { arrow: false }); diff --git a/compiled/wechat/src/Form/FormImageUpload/index.js b/compiled/wechat/src/Form/FormImageUpload/index.js deleted file mode 100644 index d3d3b56f9..000000000 --- a/compiled/wechat/src/Form/FormImageUpload/index.js +++ /dev/null @@ -1,66 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormImageUploadDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormImageUploadDefaultProps, { - handleRef: function (imageUpload) { - this.imageUpload = imageUpload.detail; - }, - onChange: function (value) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value)); - }, - onPreview: function (file) { - triggerEvent(this, 'preview', resolveEventValue(file)); - }, - onChooseImageError: function (err) { - triggerEvent(this, 'chooseImageError', resolveEventValue(err)); - }, - handleUpload: function (localFile) { - var onUpload = getValueFromProps(this, 'onUpload'); - if (!onUpload) { - throw new Error('need props onUpload'); - } - return onUpload(localFile); - }, - handleRemove: function (file) { - var onRemove = getValueFromProps(this, 'onRemove'); - if (onRemove) { - return onRemove(file); - } - }, - handleBeforeUpload: function (localFileList) { - var onBeforeUpload = getValueFromProps(this, 'onBeforeUpload'); - if (onBeforeUpload) { - return onBeforeUpload(localFileList); - } - }, -}, {}, [ - createForm({ - methods: { - setFormData: function (values) { - this.setData(__assign(__assign({}, this.data), { formData: __assign(__assign({}, this.data.formData), values) })); - this.imageUpload && this.imageUpload.update(this.data.formData.value); - }, - }, - }), -], { - attached: function () { - this.setData({ - handleUpload: this.handleUpload.bind(this), - handleRemove: this.handleRemove.bind(this), - handleBeforeUpload: this.handleBeforeUpload.bind(this), - }); - }, -}); diff --git a/compiled/wechat/src/Form/FormImageUpload/index.json b/compiled/wechat/src/Form/FormImageUpload/index.json deleted file mode 100644 index c3adc9767..000000000 --- a/compiled/wechat/src/Form/FormImageUpload/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "image-upload": "../../ImageUpload/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormImageUpload/index.wxml b/compiled/wechat/src/Form/FormImageUpload/index.wxml deleted file mode 100644 index 2dc4a6f2c..000000000 --- a/compiled/wechat/src/Form/FormImageUpload/index.wxml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormImageUpload/index.wxss b/compiled/wechat/src/Form/FormImageUpload/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormImageUpload/props.js b/compiled/wechat/src/Form/FormImageUpload/props.js deleted file mode 100644 index 221bf9551..000000000 --- a/compiled/wechat/src/Form/FormImageUpload/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { UploaderDefaultProps, } from '../../ImageUpload/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var defaultFileList = UploaderDefaultProps.defaultFileList, rest = __rest(UploaderDefaultProps, ["defaultFileList"]); -export var FormImageUploadDefaultProps = __assign(__assign({}, FormItemDefaultProps), rest); diff --git a/compiled/wechat/src/Form/FormInput/index.js b/compiled/wechat/src/Form/FormInput/index.js deleted file mode 100644 index ed33deed6..000000000 --- a/compiled/wechat/src/Form/FormInput/index.js +++ /dev/null @@ -1,42 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormInputDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormInputDefaultProps, { - handleRef: function (input) { - this.input = input.detail; - }, - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onBlur: function (value, e) { - triggerEvent(this, 'blur', resolveEventValue(value), e); - }, - onFocus: function (value, e) { - triggerEvent(this, 'focus', resolveEventValue(value), e); - }, - onConfirm: function (value, e) { - triggerEvent(this, 'confirm', resolveEventValue(value), e); - }, -}, null, [ - createForm({ - methods: { - setFormData: function (values) { - this.setData(__assign(__assign({}, this.data), { formData: __assign(__assign({}, this.data.formData), values) })); - this.input && this.input.update(this.data.formData.value); - }, - }, - }), -]); diff --git a/compiled/wechat/src/Form/FormInput/index.json b/compiled/wechat/src/Form/FormInput/index.json deleted file mode 100644 index c5ed09788..000000000 --- a/compiled/wechat/src/Form/FormInput/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-input": "../../Input/index" - } -} diff --git a/compiled/wechat/src/Form/FormInput/index.wxml b/compiled/wechat/src/Form/FormInput/index.wxml deleted file mode 100644 index c945df477..000000000 --- a/compiled/wechat/src/Form/FormInput/index.wxml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - {{extra}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormInput/index.wxss b/compiled/wechat/src/Form/FormInput/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormInput/props.js b/compiled/wechat/src/Form/FormInput/props.js deleted file mode 100644 index 500a6b471..000000000 --- a/compiled/wechat/src/Form/FormInput/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { InputDefaultProps } from '../../Input/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var value = InputDefaultProps.value, defaultValue = InputDefaultProps.defaultValue, name = InputDefaultProps.name, rest = __rest(InputDefaultProps, ["value", "defaultValue", "name"]); -export var FormInputDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { inputClassName: '', inputClassStyle: ' ' }); diff --git a/compiled/wechat/src/Form/FormInput/variable.wxss b/compiled/wechat/src/Form/FormInput/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormItem/index.js b/compiled/wechat/src/Form/FormItem/index.js deleted file mode 100644 index 473497929..000000000 --- a/compiled/wechat/src/Form/FormItem/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import { Component } from '../../_util/simply'; -import { FormItemDefaultProps } from './props'; -Component(FormItemDefaultProps, null, null, null, { - attached: function () { - this.triggerEvent('ref', this); - }, -}); diff --git a/compiled/wechat/src/Form/FormItem/index.json b/compiled/wechat/src/Form/FormItem/index.json deleted file mode 100644 index 12ce40723..000000000 --- a/compiled/wechat/src/Form/FormItem/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "popover": "../../Popover/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/wechat/src/Form/FormItem/index.wxml b/compiled/wechat/src/Form/FormItem/index.wxml deleted file mode 100644 index 91f5c0077..000000000 --- a/compiled/wechat/src/Form/FormItem/index.wxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - {{label}} - - {{tooltip}} - - - - - - - - {{help || errors[0]}} - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormItem/index.wxss b/compiled/wechat/src/Form/FormItem/index.wxss deleted file mode 100644 index 0c5db54be..000000000 --- a/compiled/wechat/src/Form/FormItem/index.wxss +++ /dev/null @@ -1,115 +0,0 @@ -.ant-form-item { - background-color: var(--form-item-bg, #ffffff); - padding: 24rpx 24rpx 24rpx 32rpx; - position: relative; -} -.ant-form-item::after { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-form-item-line { - display: flex; - flex: 1; - align-items: center; - align-self: stretch; - max-width: 100%; - position: relative; -} -.ant-form-item-content { - flex: 1; -} -.ant-form-item-content-horizontal { - display: flex; - align-items: center; -} -.ant-form-item-error-info { - font-size: 13px; - color: var(--color-red, #ff3141); - line-height: 37rpx; - text-align: left; - margin-top: 8rpx; -} -.ant-form-item-help-info { - font-size: 13px; - color: var(--form-item-color, #666666); - line-height: 37rpx; - text-align: left; - margin-top: 8rpx; -} -.ant-form-item-label { - display: flex; - align-items: center; - font-size: 34rpx; - line-height: 48rpx; - overflow: visible; - position: relative; -} -.ant-form-item-label-text { - display: flex; - align-items: center; - position: relative; -} -.ant-form-item-label-help-content { - font-size: 30rpx; - text-align: center; - white-space: nowrap; -} -.ant-form-item-label-horizontal { - width: 170rpx; - margin-right: 24rpx; - color: var(--form-item-color, #666666); - font-size: 34rpx; - line-height: 48rpx; -} -.ant-form-item-label-vertical { - font-size: 34rpx; - line-height: 42rpx; - color: var(--form-item-color, #666666); - margin-bottom: 8rpx; -} -.ant-form-item-field { - flex: 1; -} -.ant-form-item-field-horizontal { - text-align: right; -} -.ant-form-item-extra { - display: flex; - align-items: center; - font-size: 32rpx; - color: var(--form-extra-color, #999999); -} -.ant-form-item-asterisk .ant-form-item-label-required .ant-form-item-label-text::before { - content: '*'; - position: absolute; - left: -18rpx; - font-size: 30rpx; - color: var(--form-asterisk-color, #ff3b30); -} -.ant-form-item-text-required .ant-form-item-label-required .ant-form-item-label-text::after { - padding-left: 4rpx; - content: '(必填)'; - display: block; - left: -18rpx; - font-size: 30rpx; - color: var(--form-text-color, #cccccc); -} -.ant-form-item-text-optional .ant-form-item-label .ant-form-item-label-text::after { - padding-left: 4rpx; - content: '(选填)'; - display: block; - left: -18rpx; - font-size: 30rpx; - color: var(--form-text-color, #cccccc); -} -.ant-form-item-text-optional .ant-form-item-label-required .ant-form-item-label-text::after { - content: none; -} diff --git a/compiled/wechat/src/Form/FormItem/props.js b/compiled/wechat/src/Form/FormItem/props.js deleted file mode 100644 index 7faa31f8d..000000000 --- a/compiled/wechat/src/Form/FormItem/props.js +++ /dev/null @@ -1,17 +0,0 @@ -export var FormItemDefaultProps = { - name: null, - label: null, - labelWidth: null, - position: 'horizontal', - validateStatus: null, - help: null, - requiredMark: 'asterisk', - status: null, - errors: null, - tooltip: '', - required: false, - disabled: false, - extra: '', - message: null, - dependencies: null, -}; diff --git a/compiled/wechat/src/Form/FormPicker/index.js b/compiled/wechat/src/Form/FormPicker/index.js deleted file mode 100644 index 329afcbfc..000000000 --- a/compiled/wechat/src/Form/FormPicker/index.js +++ /dev/null @@ -1,43 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormPickerDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, FormPickerDefaultProps, { - onOk: function (value, column, e) { - var v = resolveEventValues(value, column); - this.emit('onChange', v[0]); - triggerEventValues(this, 'ok', v, e); - }, - onChange: function (value, column, e) { - triggerEventValues(this, 'change', resolveEventValues(value, column), e); - }, - onVisibleChange: function (visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker: function (e) { - triggerEventOnly(this, 'cancel', e); - }, - handleFormat: function (value, column) { - var onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(value, column); - } - }, -}, {}, [createForm()], { - attached: function () { - this.setData({ - handleFormat: this.handleFormat.bind(this), - }); - }, -}); diff --git a/compiled/wechat/src/Form/FormPicker/index.json b/compiled/wechat/src/Form/FormPicker/index.json deleted file mode 100644 index dc690762e..000000000 --- a/compiled/wechat/src/Form/FormPicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-picker": "../../Picker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/wechat/src/Form/FormPicker/index.wxml b/compiled/wechat/src/Form/FormPicker/index.wxml deleted file mode 100644 index dcf6e0d4d..000000000 --- a/compiled/wechat/src/Form/FormPicker/index.wxml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormPicker/index.wxss b/compiled/wechat/src/Form/FormPicker/index.wxss deleted file mode 100644 index 85e1c62b2..000000000 --- a/compiled/wechat/src/Form/FormPicker/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -.ant-form-picker-arrow { - margin-left: 8rpx; - color: var(--form-text-color, #cccccc); - font-size: 36rpx; -} diff --git a/compiled/wechat/src/Form/FormPicker/props.js b/compiled/wechat/src/Form/FormPicker/props.js deleted file mode 100644 index d071071d5..000000000 --- a/compiled/wechat/src/Form/FormPicker/props.js +++ /dev/null @@ -1,14 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { PickerDefaultProps } from '../../Picker/props'; -import { FormItemDefaultProps } from '../FormItem/props'; -export var FormPickerDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), PickerDefaultProps), { arrow: false }); diff --git a/compiled/wechat/src/Form/FormRadioGroup/index.js b/compiled/wechat/src/Form/FormRadioGroup/index.js deleted file mode 100644 index 459e24c41..000000000 --- a/compiled/wechat/src/Form/FormRadioGroup/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormRadioGroupDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormRadioGroupDefaultProps, { - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormRadioGroup/index.json b/compiled/wechat/src/Form/FormRadioGroup/index.json deleted file mode 100644 index 266076e3f..000000000 --- a/compiled/wechat/src/Form/FormRadioGroup/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-radio-group": "../../Radio/RadioGroup/index" - } -} diff --git a/compiled/wechat/src/Form/FormRadioGroup/index.wxml b/compiled/wechat/src/Form/FormRadioGroup/index.wxml deleted file mode 100644 index 59d398010..000000000 --- a/compiled/wechat/src/Form/FormRadioGroup/index.wxml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormRadioGroup/props.js b/compiled/wechat/src/Form/FormRadioGroup/props.js deleted file mode 100644 index dfe228fba..000000000 --- a/compiled/wechat/src/Form/FormRadioGroup/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { RadioGroupDefaultProps, } from '../../Radio/RadioGroup/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var value = RadioGroupDefaultProps.value, defaultValue = RadioGroupDefaultProps.defaultValue, position = RadioGroupDefaultProps.position, name = RadioGroupDefaultProps.name, rest = __rest(RadioGroupDefaultProps, ["value", "defaultValue", "position", "name"]); -export var FormRadioGroupDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { radioPosition: 'horizontal' }); diff --git a/compiled/wechat/src/Form/FormRangePicker/index.js b/compiled/wechat/src/Form/FormRangePicker/index.js deleted file mode 100644 index d474f447a..000000000 --- a/compiled/wechat/src/Form/FormRangePicker/index.js +++ /dev/null @@ -1,50 +0,0 @@ -import { effect } from '@preact/signals-core'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormRangePickerDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, FormRangePickerDefaultProps, { - onOk: function (date, dateStr, e) { - var v = resolveEventValues(date, dateStr); - this.emit('onChange', v[1]); - triggerEventValues(this, 'ok', v, e); - }, - onPickerChange: function (type, date, dateStr, e) { - triggerEventValues(this, 'pickerChange', resolveEventValues(type, date, dateStr), e); - }, - onVisibleChange: function (visible, e) { - triggerEvent(this, 'visibleChange', resolveEventValue(visible), e); - }, - onDismissPicker: function (e) { - triggerEventOnly(this, 'dismissPicker', e); - }, - handleFormat: function (date, dateStr) { - var onFormat = getValueFromProps(this, 'onFormat'); - if (onFormat) { - return onFormat(date, dateStr); - } - }, - handleFormatLabel: function (type, value) { - var onFormatLabel = getValueFromProps(this, 'onFormatLabel'); - if (onFormatLabel) { - return onFormatLabel(type, value); - } - }, -}, {}, [createForm()], { - attached: function () { - this.setData({ - handleFormat: this.handleFormat.bind(this), - handleFormatLabel: this.handleFormatLabel.bind(this), - }); - }, -}); diff --git a/compiled/wechat/src/Form/FormRangePicker/index.json b/compiled/wechat/src/Form/FormRangePicker/index.json deleted file mode 100644 index 09d909562..000000000 --- a/compiled/wechat/src/Form/FormRangePicker/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-range-picker": "../../DatePicker/RangePicker/index", - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/wechat/src/Form/FormRangePicker/index.wxml b/compiled/wechat/src/Form/FormRangePicker/index.wxml deleted file mode 100644 index 79a2befe8..000000000 --- a/compiled/wechat/src/Form/FormRangePicker/index.wxml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormRangePicker/index.wxss b/compiled/wechat/src/Form/FormRangePicker/index.wxss deleted file mode 100644 index b1e29756b..000000000 --- a/compiled/wechat/src/Form/FormRangePicker/index.wxss +++ /dev/null @@ -1,5 +0,0 @@ -.ant-form-range-picker-arrow { - margin-left: 8rpx; - color: var(--form-text-color, #cccccc); - font-size: 36rpx; -} diff --git a/compiled/wechat/src/Form/FormRangePicker/props.js b/compiled/wechat/src/Form/FormRangePicker/props.js deleted file mode 100644 index 9a4d26b7a..000000000 --- a/compiled/wechat/src/Form/FormRangePicker/props.js +++ /dev/null @@ -1,14 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { DateRangePickerDefaultProps } from '../../DatePicker/RangePicker/props'; -export var FormRangePickerDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), DateRangePickerDefaultProps), { arrow: false }); diff --git a/compiled/wechat/src/Form/FormRate/index.js b/compiled/wechat/src/Form/FormRate/index.js deleted file mode 100644 index 27e44b607..000000000 --- a/compiled/wechat/src/Form/FormRate/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormRateDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormRateDefaultProps, { - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormRate/index.json b/compiled/wechat/src/Form/FormRate/index.json deleted file mode 100644 index dc4b0a908..000000000 --- a/compiled/wechat/src/Form/FormRate/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-icon": "../../Icon/index", - "rate": "../../Rate/index" - } -} diff --git a/compiled/wechat/src/Form/FormRate/index.wxml b/compiled/wechat/src/Form/FormRate/index.wxml deleted file mode 100644 index 6c9e1f67f..000000000 --- a/compiled/wechat/src/Form/FormRate/index.wxml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormRate/index.wxss b/compiled/wechat/src/Form/FormRate/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormRate/props.js b/compiled/wechat/src/Form/FormRate/props.js deleted file mode 100644 index d513cafc2..000000000 --- a/compiled/wechat/src/Form/FormRate/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { RateDefaultProps } from '../../Rate/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var defaultValue = RateDefaultProps.defaultValue, rest = __rest(RateDefaultProps, ["defaultValue"]); -export var FormRateDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { rateClassName: '', rateStyle: '' }); diff --git a/compiled/wechat/src/Form/FormSelector/index.js b/compiled/wechat/src/Form/FormSelector/index.js deleted file mode 100644 index ee8fdda72..000000000 --- a/compiled/wechat/src/Form/FormSelector/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { Component, triggerEventValues } from '../../_util/simply'; -import { resolveEventValues } from '../../_util/platform'; -import { FormSelectorDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormSelectorDefaultProps, { - onChange: function (value, item, e) { - var v = resolveEventValues(value, item); - this.emit('onChange', v[0]); - triggerEventValues(this, 'change', v, e); - }, - onSelectMax: function (value, item, e) { - triggerEventValues(this, 'selectMax', resolveEventValues(value, item), e); - }, - onSelectMin: function (value, item, e) { - triggerEventValues(this, 'selectMin', resolveEventValues(value, item), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormSelector/index.json b/compiled/wechat/src/Form/FormSelector/index.json deleted file mode 100644 index 7e631fbaf..000000000 --- a/compiled/wechat/src/Form/FormSelector/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "selector": "../../Selector/index" - } -} diff --git a/compiled/wechat/src/Form/FormSelector/index.wxml b/compiled/wechat/src/Form/FormSelector/index.wxml deleted file mode 100644 index 9dda436c5..000000000 --- a/compiled/wechat/src/Form/FormSelector/index.wxml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormSelector/props.js b/compiled/wechat/src/Form/FormSelector/props.js deleted file mode 100644 index 461f47666..000000000 --- a/compiled/wechat/src/Form/FormSelector/props.js +++ /dev/null @@ -1,14 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { SelectorDefaultProps } from '../../Selector/props'; -export var FormSelectorDefaultProps = __assign(__assign({}, FormItemDefaultProps), SelectorDefaultProps); diff --git a/compiled/wechat/src/Form/FormSlider/index.js b/compiled/wechat/src/Form/FormSlider/index.js deleted file mode 100644 index 1f09b46bd..000000000 --- a/compiled/wechat/src/Form/FormSlider/index.js +++ /dev/null @@ -1,13 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormSliderDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormSliderDefaultProps, { - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onAfterChange: function (value, e) { - triggerEvent(this, 'afterChange', resolveEventValue(value), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormSlider/index.json b/compiled/wechat/src/Form/FormSlider/index.json deleted file mode 100644 index 85b540714..000000000 --- a/compiled/wechat/src/Form/FormSlider/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "slider": "../../Slider/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormSlider/index.wxml b/compiled/wechat/src/Form/FormSlider/index.wxml deleted file mode 100644 index 5a3ebe7e8..000000000 --- a/compiled/wechat/src/Form/FormSlider/index.wxml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormSlider/index.wxss b/compiled/wechat/src/Form/FormSlider/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormSlider/props.js b/compiled/wechat/src/Form/FormSlider/props.js deleted file mode 100644 index cb673bfad..000000000 --- a/compiled/wechat/src/Form/FormSlider/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { sliderDefaultProps } from '../../Slider/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var value = sliderDefaultProps.value, defaultValue = sliderDefaultProps.defaultValue, rest = __rest(sliderDefaultProps, ["value", "defaultValue"]); -export var FormSliderDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { sliderClassName: '', sliderStyle: '' }); diff --git a/compiled/wechat/src/Form/FormSlider/variable.wxss b/compiled/wechat/src/Form/FormSlider/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormStepper/index.js b/compiled/wechat/src/Form/FormStepper/index.js deleted file mode 100644 index d5aab0d86..000000000 --- a/compiled/wechat/src/Form/FormStepper/index.js +++ /dev/null @@ -1,19 +0,0 @@ -import { Component, triggerEvent, triggerEventOnly } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormStepperDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormStepperDefaultProps, { - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onBlur: function (e) { - triggerEventOnly(this, 'blur', e); - }, - onFocus: function (e) { - triggerEventOnly(this, 'focus', e); - }, - onConfirm: function (value, e) { - triggerEvent(this, 'confirm', resolveEventValue(value), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormStepper/index.json b/compiled/wechat/src/Form/FormStepper/index.json deleted file mode 100644 index 2dbd1e5d2..000000000 --- a/compiled/wechat/src/Form/FormStepper/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "stepper": "../../Stepper/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormStepper/index.wxml b/compiled/wechat/src/Form/FormStepper/index.wxml deleted file mode 100644 index 76227cd38..000000000 --- a/compiled/wechat/src/Form/FormStepper/index.wxml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormStepper/index.wxss b/compiled/wechat/src/Form/FormStepper/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormStepper/props.js b/compiled/wechat/src/Form/FormStepper/props.js deleted file mode 100644 index 3922f48b1..000000000 --- a/compiled/wechat/src/Form/FormStepper/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { StepperDefaultProps } from '../../Stepper/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var value = StepperDefaultProps.value, defaultValue = StepperDefaultProps.defaultValue, rest = __rest(StepperDefaultProps, ["value", "defaultValue"]); -export var FormStepperDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { stepperClassName: '', stepperStyle: '' }); diff --git a/compiled/wechat/src/Form/FormStepper/variable.wxss b/compiled/wechat/src/Form/FormStepper/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormSwitch/index.js b/compiled/wechat/src/Form/FormSwitch/index.js deleted file mode 100644 index 6adcc4e67..000000000 --- a/compiled/wechat/src/Form/FormSwitch/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import { Component, triggerEvent } from '../../_util/simply'; -import { resolveEventValue } from '../../_util/platform'; -import { FormSwitchDefaultProps } from './props'; -import { createForm } from '../form'; -Component(FormSwitchDefaultProps, { - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, -}, null, [createForm()]); diff --git a/compiled/wechat/src/Form/FormSwitch/index.json b/compiled/wechat/src/Form/FormSwitch/index.json deleted file mode 100644 index 8c5946e15..000000000 --- a/compiled/wechat/src/Form/FormSwitch/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "switch": "../../Switch/index" - } -} \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormSwitch/index.wxml b/compiled/wechat/src/Form/FormSwitch/index.wxml deleted file mode 100644 index 06fb46c4a..000000000 --- a/compiled/wechat/src/Form/FormSwitch/index.wxml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - {{extra}} - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormSwitch/index.wxss b/compiled/wechat/src/Form/FormSwitch/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormSwitch/props.js b/compiled/wechat/src/Form/FormSwitch/props.js deleted file mode 100644 index d01f46e84..000000000 --- a/compiled/wechat/src/Form/FormSwitch/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from '../FormItem/props'; -import { SwitchDefaultProps } from '../../Switch/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var checked = SwitchDefaultProps.checked, defaultChecked = SwitchDefaultProps.defaultChecked, rest = __rest(SwitchDefaultProps, ["checked", "defaultChecked"]); -export var FormSwitchDefaultProps = __assign(__assign(__assign({}, FormItemDefaultProps), rest), { switchClassName: '', switchStyle: '' }); diff --git a/compiled/wechat/src/Form/FormSwitch/variable.wxss b/compiled/wechat/src/Form/FormSwitch/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormTextarea/index.js b/compiled/wechat/src/Form/FormTextarea/index.js deleted file mode 100644 index b9d453a10..000000000 --- a/compiled/wechat/src/Form/FormTextarea/index.js +++ /dev/null @@ -1,57 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { effect } from '@preact/signals-core'; -import { resolveEventValue } from '../../_util/platform'; -import { ComponentWithSignalStoreImpl, triggerEvent } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { createForm } from '../form'; -import { FormTextareaDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, FormTextareaDefaultProps, { - handleRef: function (input) { - this.input = input.detail; - }, - onChange: function (value, e) { - this.emit('onChange', resolveEventValue(value)); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, - onBlur: function (value, e) { - triggerEvent(this, 'blur', resolveEventValue(value), e); - }, - onFocus: function (value, e) { - triggerEvent(this, 'focus', resolveEventValue(value), e); - }, - onConfirm: function (value, e) { - triggerEvent(this, 'confirm', resolveEventValue(value), e); - }, - onClear: function (value, e) { - this.emit('onChange', ''); - triggerEvent(this, 'change', resolveEventValue(value), e); - }, -}, null, [ - createForm({ - methods: { - setFormData: function (values) { - this.setData(__assign(__assign({}, this.data), { formData: __assign(__assign({}, this.data.formData), values) })); - this.input && this.input.update(this.data.formData.value); - }, - }, - }), -]); diff --git a/compiled/wechat/src/Form/FormTextarea/index.json b/compiled/wechat/src/Form/FormTextarea/index.json deleted file mode 100644 index 11d1ec17a..000000000 --- a/compiled/wechat/src/Form/FormTextarea/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "form-item": "../FormItem/index", - "ant-textarea": "../../Input/Textarea/index" - } -} diff --git a/compiled/wechat/src/Form/FormTextarea/index.wxml b/compiled/wechat/src/Form/FormTextarea/index.wxml deleted file mode 100644 index 1f4d46dfd..000000000 --- a/compiled/wechat/src/Form/FormTextarea/index.wxml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - {{extra}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Form/FormTextarea/index.wxss b/compiled/wechat/src/Form/FormTextarea/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Form/FormTextarea/props.js b/compiled/wechat/src/Form/FormTextarea/props.js deleted file mode 100644 index bf3c5391f..000000000 --- a/compiled/wechat/src/Form/FormTextarea/props.js +++ /dev/null @@ -1,27 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { FormItemDefaultProps } from './../FormItem/props'; -import { TextareaDefaultProps, } from '../../Input/Textarea/props'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var value = TextareaDefaultProps.value, defaultValue = TextareaDefaultProps.defaultValue, name = TextareaDefaultProps.name, rest = __rest(TextareaDefaultProps, ["value", "defaultValue", "name"]); -export var FormTextareaDefaultProps = __assign(__assign({}, FormItemDefaultProps), rest); diff --git a/compiled/wechat/src/Form/form.js b/compiled/wechat/src/Form/form.js deleted file mode 100644 index eba37e34c..000000000 --- a/compiled/wechat/src/Form/form.js +++ /dev/null @@ -1,775 +0,0 @@ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import AsyncValidator from 'async-validator'; -import set from '../_util/set'; -import get from '../_util/get'; -import { getValueFromProps } from '../_util/simply'; -var EventEmitter = /** @class */ (function () { - function EventEmitter() { - this.listenders = {}; - } - EventEmitter.prototype.on = function (event, listener) { - this.listenders[event] = this.listenders[event] || []; - this.listenders[event].push(listener); - return this; - }; - EventEmitter.prototype.emit = function (event) { - var args = []; - for (var _i = 1; _i < arguments.length; _i++) { - args[_i - 1] = arguments[_i]; - } - var arr = this.listenders[event]; - if (arr) { - arr.forEach(function (listener) { return listener.apply(void 0, args); }); - } - }; - return EventEmitter; -}()); -var Field = /** @class */ (function (_super) { - __extends(Field, _super); - /** - * Field构建 - * @param ref field ref对象 - * @param initialValue 初始值 - */ - function Field(ref, name, initialValues, rules, validateMessages, required, label, message, validateTrigger) { - var _this = _super.call(this) || this; - _this.ref = ref; - _this.formRules = rules; - _this.create(name, get(initialValues, name), rules[name], validateMessages, required, label, message, validateTrigger); - _this.ref.on(function (trigger, value, extraInfo) { - if (trigger === 'onChange') { - _this.setValue(value); - _this.touched = true; - _this.emit('valueChange', value); - } - else if (trigger === 'didUnmount') { - _this.emit('didUnmount'); - } - else if (trigger === 'deriveDataFromProps') { - var props = extraInfo ? extraInfo : _this.ref.getProps(); - if ((value.name && value.name !== props.name) || - value.required !== props.required || - value.label !== props.label || - value.message !== props.message || - value.validateTrigger !== props.validateTrigger) { - _this.create(value.name, get(initialValues, value.name), _this.formRules[value.name], validateMessages, value.required, value.message, value.label, value.validateTrigger, true); - } - if (value.name !== props.name) { - _this.emit('replaceName', value.name); - } - } - _this.validateTrigger.forEach(function (item) { - if (item === trigger) { - _this.validate(); - } - }); - }); - return _this; - } - Field.prototype.create = function (name, initialValue, rule, validateMessages, required, label, message, validateTrigger, update) { - this.name = name; - this.required = this.transformValidatorRules(name, rule, required, label, message, validateMessages); - if (!update) { - this.reset(initialValue); - } - else { - this.ref.setFormData({ - required: this.required, - }); - } - var validateTriggerList = validateTrigger || 'onChange'; - if (!Array.isArray(validateTriggerList)) { - validateTriggerList = [validateTriggerList]; - } - this.validateTrigger = validateTriggerList; - }; - Field.prototype.updateFieldRules = function (rules, validateMessages) { - var props = this.ref.getProps(); - this.formRules = rules; - this.create(props.name, null, rules[props.name], validateMessages, props.required, props.label, props.message, props.validateTrigger, true); - }; - /** - * - * @param rule 修改 Validator - * @param name - * @param required - * @param message - * @param validateMessages - * @returns - */ - Field.prototype.transformValidatorRules = function (name, rule, required, label, message, validateMessages) { - var _a, _b; - var requiredRule = false; - var validator; - if (rule) { - var ruleList = Array.isArray(rule) ? rule : [rule]; - var result = ruleList.find(function (item) { return item.required; }); - if (result) { - if (message) { - result.message = message; - } - requiredRule = true; - } - else if (required) { - ruleList.push({ - required: required, - // message 不允许为 null - message: message !== null && message !== void 0 ? message : undefined, - }); - requiredRule = true; - } - validator = new AsyncValidator((_a = {}, - _a[name] = ruleList, - _a)); - } - else if (required) { - validator = new AsyncValidator((_b = {}, - _b[name] = { - required: required, - // message 不允许为 null - message: message !== null && message !== void 0 ? message : undefined, - }, - _b)); - requiredRule = true; - } - if (validator) { - var obj_1 = { - label: label, - }; - Object.keys(validator.rules).forEach(function (name) { - validator.rules[name].forEach(function (item) { - if (typeof item.len !== 'undefined') { - obj_1['len'] = item.len; - } - if (typeof item.min !== 'undefined') { - obj_1['min'] = item.min; - } - if (typeof item.max !== 'undefined') { - obj_1['max'] = item.max; - } - if (typeof item.pattern !== 'undefined') { - obj_1['pattern'] = item.pattern; - } - }); - }); - validator.messages(this.transformValidateMessages(validateMessages, obj_1)); - } - this.validator = validator; - return requiredRule; - }; - Field.prototype.transformValidateMessages = function (validateMessages, obj) { - if (!validateMessages) { - return; - } - function replaceLabel(validateMessages, target) { - Object.keys(validateMessages).forEach(function (item) { - if (typeof validateMessages[item] === 'string') { - target[item] = validateMessages[item].replace('${label}', obj.label || ''); - if (typeof obj.len !== 'undefined') { - target[item] = target[item].replace('${len}', obj.len); - } - if (typeof obj.min !== 'undefined') { - target[item] = target[item].replace('${min}', obj.min); - } - if (typeof obj.max !== 'undefined') { - target[item] = target[item].replace('${max}', obj.max); - } - if (typeof obj.pattern !== 'undefined') { - target[item] = target[item].replace('${pattern}', obj.pattern); - } - return; - } - if (typeof validateMessages[item] === 'object') { - var val = (target[item] = {}); - replaceLabel(validateMessages[item], val); - return; - } - target[item] = validateMessages[item]; - }); - } - var messages = {}; - replaceLabel(validateMessages, messages); - return messages; - }; - /** - * 设置 Field 值 - * @param value Field 值 - */ - Field.prototype.setValue = function (value) { - this.ref.setFormData({ - value: value, - }); - }; - /** - * 得到 Field 值 - */ - Field.prototype.getValue = function () { - var value = this.ref.getFormData().value; - return value; - }; - /** - * 设置 Field 校验器状态 - * @param validatorStatue - */ - Field.prototype.setValidatorStatus = function (validatorStatue) { - this.ref.setFormData(validatorStatue); - }; - /** - * 得到 Field 校验器状态 - * @returns - */ - Field.prototype.getValidatorStatus = function () { - var _a = this.ref.getFormData(), status = _a.status, errors = _a.errors; - return { - status: status, - errors: errors, - }; - }; - /** - * 校验 Field - */ - Field.prototype.validate = function () { - return __awaiter(this, void 0, void 0, function () { - var validatorStatusSuccess, value, validator, needUpdateStatus_1, err_1, errors, validatorStatus; - var _a; - var _this = this; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - validatorStatusSuccess = { - status: 'success', - errors: [], - }; - value = this.getValue(); - if (!this.validator) { - this.setValidatorStatus(validatorStatusSuccess); - return [2 /*return*/, { - validatorStatus: validatorStatusSuccess, - value: value, - }]; - } - validator = this.validator; - _b.label = 1; - case 1: - _b.trys.push([1, 3, , 4]); - needUpdateStatus_1 = true; - Promise.resolve().then(function () { - Promise.resolve().then(function () { - if (needUpdateStatus_1) { - _this.setValidatorStatus({ - status: 'validating', - errors: [], - }); - } - }); - }); - return [4 /*yield*/, this.validator.validate((_a = {}, - _a[this.name] = value, - _a), function () { - needUpdateStatus_1 = false; - })]; - case 2: - _b.sent(); - if (validator !== this.validator) { - return [2 /*return*/]; - } - this.setValidatorStatus(validatorStatusSuccess); - return [2 /*return*/, { - validatorStatus: validatorStatusSuccess, - value: value, - }]; - case 3: - err_1 = _b.sent(); - if (validator !== this.validator) { - return [2 /*return*/]; - } - errors = err_1.errors; - validatorStatus = { - status: 'error', - errors: errors.map(function (_a) { - var _b = _a.message, message = _b === void 0 ? '' : _b; - return message; - }), - }; - this.setValidatorStatus(validatorStatus); - return [2 /*return*/, { - validatorStatus: validatorStatus, - value: value, - }]; - case 4: return [2 /*return*/]; - } - }); - }); - }; - /** - * 重置 Field - * @param initialValue - */ - Field.prototype.reset = function (initialValue) { - this.touched = false; - this.ref.setFormData({ - value: initialValue, - required: this.required, - status: 'default', - errors: [], - }); - }; - /** - * Field 是否被操作 - */ - Field.prototype.isTouched = function () { - return this.touched; - }; - return Field; -}(EventEmitter)); -var Form = /** @class */ (function () { - /** - * Form构建 - * @param formConfig 表单配置项 - */ - function Form(formConfig) { - if (formConfig === void 0) { formConfig = {}; } - /** - * 表单ref组件对象 - */ - this.fields = {}; - /** - * 表单字段 change侦听 - */ - this.changeListeners = []; - /** - * 依赖表 - */ - this.dependenciesMap = {}; - this.setInitialValues(formConfig.initialValues || {}); - this.setRules(formConfig.rules || {}); - this.validateMessages = formConfig.validateMessages; - } - /** - * 用户传入的rules转换成async-validator rules - * @param rules 校验规则 - */ - Form.prototype.transformRules = function (rules) { - var _this = this; - var result = {}; - Object.keys(rules).forEach(function (name) { - var rule = rules[name]; - var list = (result[name] = []); - var arr = Array.isArray(rule) ? rule : [rule]; - arr.forEach(function (item) { - if (typeof item === 'function') { - list.push(item(_this).validator); - } - else { - list.push(__assign({}, item)); - } - }); - }); - return result; - }; - /** - * 遍历表单field对象 - * @param callback - */ - Form.prototype.eachField = function (callback) { - var fields = this.fields; - Object.keys(fields).forEach(function (name) { - var field = fields[name]; - callback(field, name); - }); - }; - /** - * 更新 rules - * @param rules - */ - Form.prototype.updateRules = function (rules) { - var _this = this; - var rawRules = this.transformRules(rules); - this.rules = rawRules; - Object.keys(this.fields).forEach(function (name) { - _this.fields[name].updateFieldRules(rawRules, _this.validateMessages); - }); - }; - /** - * 设置 rules - * @param rules - */ - Form.prototype.setRules = function (rules) { - this.rules = this.transformRules(rules); - }; - /** - * 添加表单对象 - * @param ref 表单ref对象 - */ - Form.prototype.addItem = function (ref, customName) { - var _this = this; - var props = ref.getProps(); - var name = customName || props.name; - if (!name) { - ref.on(function (trigger, value) { - if (trigger === 'deriveDataFromProps') { - if (value.name) { - _this.addItem(ref, value.name); - } - } - }); - return; - } - if (this.fields[name]) { - throw new Error("Form \"addItem\" same name: \"".concat(name, "\"")); - } - var field = new Field(ref, name, this.initialValues, this.rules, this.validateMessages, props.required, props.label, props.message, props.validateTrigger); - if (props.dependencies) { - props.dependencies.forEach(function (item) { - _this.dependenciesMap[item] = _this.dependenciesMap[item] || []; - if (_this.dependenciesMap[item].indexOf(name) < 0) { - _this.dependenciesMap[item].push(name); - } - }); - } - field - .on('valueChange', function (value) { - if (name) { - var arr = _this.dependenciesMap[name]; - if (arr) { - arr.forEach(function (item) { - if (_this.fields[item]) { - _this.fields[item].validate(); - } - }); - } - _this.changeListeners.forEach(function (item) { - return item(set({}, name, value), _this.getFieldsValue()); - }); - } - }) - .on('didUnmount', function () { - delete _this.fields[name]; - }) - .on('replaceName', function (newName) { - if (!newName) { - delete _this.fields[name]; - return; - } - if (_this.fields[newName]) { - throw new Error("Form \"addItem\" same name: \"".concat(newName, "\"")); - } - _this.fields[newName] = field; - delete _this.fields[name]; - name = newName; - }); - if (name) { - this.fields[name] = field; - } - }; - /** - * 设置表单值 - * @param name 表单名称 - * @param value 表单初始值 - */ - Form.prototype.setFieldValue = function (name, value) { - var field = this.fields[name]; - if (field) { - field.setValue(value); - field.setValidatorStatus({ - status: 'success', - errors: [], - }); - } - }; - /** - * 设置表单值 - * @param name 表单名称 - * @param value 表单初始值 - */ - Form.prototype.setFieldsValue = function (values) { - var _this = this; - Object.keys(this.fields).forEach(function (name) { - _this.setFieldValue(name, get(values, name)); - }); - }; - /** - * 设置 initialValues,这个操作不会对页面进行修改,要是需要重置表单可跟上 reset 方法; - * 这样是对于表单已经在编辑,但是需要重新initialValues的场景 - * - * eg: - * this.setInitialValues(initialValues); - * this.reset(); - * - * @param initialValues - */ - Form.prototype.setInitialValues = function (initialValues) { - this.initialValues = initialValues; - }; - /** - * 获取对应字段名的值 - * @param name - * @returns - */ - Form.prototype.getFieldValue = function (name) { - var field = this.fields[name]; - if (!field) { - return; - } - return field.getValue(); - }; - /** - * 获取一组字段名对应的值 - * @param nameList - * @returns - */ - Form.prototype.getFieldsValue = function (nameList) { - var _this = this; - var fieldsValue = {}; - nameList = nameList || Object.keys(this.fields); - nameList.forEach(function (name) { - set(fieldsValue, name, _this.getFieldValue(name)); - }); - return fieldsValue; - }; - /** - * 获取对应字段名的校验器状态 - * @param name - * @returns - */ - Form.prototype.getFieldValidatorStatus = function (name) { - var field = this.fields[name]; - if (!field) { - return; - } - return field.getValidatorStatus(); - }; - /** - * 获取一组字段名的校验器状态 - * @param nameList - * @returns - */ - Form.prototype.getFieldsValidatorStatus = function (nameList) { - var _this = this; - var fieldsValidatorStatus = {}; - nameList = nameList || Object.keys(this.fields); - nameList.forEach(function (name) { - fieldsValidatorStatus[name] = _this.getFieldValidatorStatus(name); - }); - return fieldsValidatorStatus; - }; - /** - * 设置对应字段名的校验器状态 - * @param name 表单名称 - * @param validatorStatus 校验状态 - * @returns - */ - Form.prototype.setFieldValidatorStatus = function (name, validatorStatus) { - var field = this.fields[name]; - if (!field) { - return; - } - return field.setValidatorStatus(validatorStatus); - }; - /** - * 设置一组字段名的校验器状态 - * @param fieldsValidatorStatus 表单校验状态 - * @returns - */ - Form.prototype.setFieldsValidatorStatus = function (fieldsValidatorStatus) { - var _this = this; - Object.keys(fieldsValidatorStatus).forEach(function (name) { - _this.setFieldValidatorStatus(name, fieldsValidatorStatus[name]); - }); - }; - /** - * 检查对应字段是否被用户操作过 - * @param name 字段名称 - * @returns - */ - Form.prototype.isFieldTouched = function (name) { - var field = this.fields[name]; - if (!field) { - return false; - } - return field.isTouched(); - }; - /** - * 指定表单字段值更新时触发回调方法 - * @param name 表单字段名称 - * @param callback 回调方法 - */ - Form.prototype.onValueChange = function (name, callback) { - this.changeListeners.push(function (changedValues, allValues) { - if (get(changedValues, name)) { - callback(get(changedValues, name), allValues); - } - }); - }; - /** - * 表单字段值更新时触发回调方法 - * @param name 表单字段名称 - * @param callback 回调方法 - */ - Form.prototype.onValuesChange = function (callback) { - this.changeListeners.push(function (changedValues, allValues) { - callback(changedValues, allValues); - }); - }; - /** - * 表单提交 - */ - Form.prototype.submit = function () { - return __awaiter(this, void 0, void 0, function () { - var values, arr, result, errorFields; - var _this = this; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - values = {}; - arr = []; - this.eachField(function (field, name) { - arr.push((function () { return __awaiter(_this, void 0, void 0, function () { - var _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = [{}]; - return [4 /*yield*/, field.validate()]; - case 1: return [2 /*return*/, __assign.apply(void 0, [__assign.apply(void 0, _a.concat([(_b.sent())])), { name: name }])]; - } - }); - }); })()); - }); - return [4 /*yield*/, Promise.all(arr)]; - case 1: - result = _a.sent(); - errorFields = []; - result.forEach(function (obj) { - if (!obj) { - return; - } - var name = obj.name, value = obj.value, validatorStatus = obj.validatorStatus; - if (validatorStatus.status === 'error') { - errorFields.push({ - name: name, - errors: validatorStatus.errors, - }); - } - set(values, name, value); - }); - if (errorFields.length > 0) { - throw { - values: values, - errorFields: errorFields, - }; - } - return [2 /*return*/, values]; - } - }); - }); - }; - /** - * 表单重置 - */ - Form.prototype.reset = function () { - var _this = this; - this.eachField(function (field, name) { - var initialValue = get(_this.initialValues, name); - field.reset(initialValue); - }); - }; - return Form; -}()); -export { Form }; -export function createForm(_a) { - var _b = _a === void 0 ? {} : _a, _c = _b.methods, methods = _c === void 0 ? {} : _c; - var mixin = { - data: { - formData: { - value: undefined, - status: 'default', - errors: [], - }, - }, - attached: function () { - this.triggerEvent('ref', this); - }, - detached: function () { - this.emit('didUnmount'); - }, - observers: { - '**': function (nextProps) { - this.emit('deriveDataFromProps', nextProps); - }, - }, - methods: __assign({ emit: function (trigger, value) { }, setFormData: function (values) { - this.setData(__assign(__assign({}, this.data), { formData: __assign(__assign({}, this.data.formData), values) })); - }, getFormData: function () { - return this.data.formData; - }, on: function (callback) { - this.emit = callback; - }, getProps: function () { - return getValueFromProps(this); - } }, methods), - }; - // @ts-ignore - mixin = Behavior(mixin); - return mixin; -} diff --git a/compiled/wechat/src/Form/index.en.md b/compiled/wechat/src/Form/index.en.md deleted file mode 100644 index 7cff6cd32..000000000 --- a/compiled/wechat/src/Form/index.en.md +++ /dev/null @@ -1,394 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 12 -toc: 'content' ---- - -# Form - -The Form form contains data entry, validation, and corresponding styles. The Form component requires [component2](https://opendocs.alipay.com/mini/framework/custom-component-overview) Support. - -- Used to create entities or collect information. -- When the input data type needs to be verified. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-form": "antd-mini/es/Form/index" -#endif -#if WECHAT - "ant-form": "antd-mini/Form/index" -#endif -} -``` - -## Code example - -### Basic use - - - -### Layout - - - -### Initial value - - - -### Initial value asynchronous loading - - - -### Form listening - - - -### Calibration - - - -### Add Delete Form Item - - - -### Form Item Linkage - - - -### Custom Form Item Validation - - - -### Custom Form Validation Message - - - -### Multiple Forms - - - -### Picture verification - - - -### JSON Generate Form - - - -### Custom Error Styles - -Use `validateStatus: success` and `footer slot` Customize the error style. - - - -### Custom Form Item - -by using [FormItem](#formitem)、[createForm](#createform) Customizable form items. In the example `form-checklist`、`form-location` For custom form item components. - - - -### Demo Code - - - -## API - -### FormItem - -Properties Included in All Form Components -| Property | Description | Type | Default Value | -| -----|-----|-----|-----| -| dependencies | Set Dependent Fields, View[Detailed Description](#dependencies) | string[] | - | -| footer | Bottom slot, receiving errors, status | slot | - | -| name | Name | string | - | -| label | Text | string | - | -| labelWidth | Text Width | string | - | -| position | layout, optional `horizontal` `vertical` | string | horizontal | -| validateStatus | The verification status. If it is not set, it will be automatically generated according to the verification rules. Optional `default` `success` `error` `validating` | string | - | -| help | Prompt information, if not set, will be automatically generated according to the verification rules | string | - | -| header | Top slot, receiving errors, status | slot | - | -| tooltip | Form Item Prompt Information | string\|slot | - | -| required | Required style settings. If it is not set, it will be automatically generated according to the verification rules. | boolean | false | -| message | Verify the error message. If it is not set, it will be automatically generated according to the verification rules. | string | false | -| requiredMark | Required optional tag style, optional `asterisk` `text-required` `text-optional` | string | asterisk | - -### Form - -| Property | Description | Type | -| ---------------- | -------------- | ----------------------------------------- | -| rules | Optional, Validation Rules | View[rules](#rules) | -| initialValues | Optional, initial value | Record | -| validateMessages | Optional, Verify Message | View[validateMessages](#validatemessages) | - -### Form instance method - -| Property | Description | Type | -| ------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| addItem | Add Form Item | (formItem: Ref) => void | -| updateRules | To update the verification rules of the form, you need to pass in the full number of rules each time. | (rules: Rules) => void, the type of Rules can be viewed[rules](#rules) | -| getFieldValue | Get the value of a form item | (name: string) => any | -| getFieldsValue | Gets the value for a set of field names. If no nameList is passed, all fields pairs are returned. | (nameList?: string[]) => Record | -| getFieldValidatorStatus | Get form check status | (name: string) => [ValidatorStatus](#validatorstatus) | -| getFieldsValidatorStatus | Get a set of form validation states. If no nameList is passed, all fields pairs are returned. | (nameList?: string[]) => Record | -| reset | Reset form to initial value | () => void | -| isFieldTouched | Determine whether a form item has been modified | () => boolean | -| onValueChange | Listen for the value modification of the specified form item, view[Detailed Description](#onvaluechangeonvalueschange) | (name: string, (changedValue: any, allValues: Record) => void) => void | -| onValuesChange | Listen for the value modification of a form item, view[Detailed Description](#onvaluechangeonvalueschange) | ((changedValues: Record, allValues: Record) => void) => void | -| setFieldValue | Set the value of a form item | (name: string, value: any) => void; | -| setFieldsValue | Set the value of a form item | (values: Record) => void; | -| setFieldValidatorStatus | Set Form Verification Status | (name: string, validatorStatus: [ValidatorStatus](#validatorstatus)) => void | -| setFieldsValidatorStatus | Set a set of form validation states | (fieldsValidatorStatus: Record) => void | -| setInitialValues | Set Form Initial Values | (initialValues: Record) => void | -| submit | Submit the form, return the promise form value, and the verification error will be thrown. | () => Promise> | - -### dependencies - -Used when there is a dependency between fields. For example, the "Password" and "Confirm Password" fields of the registered user form, where the "Confirm Password" verification depends on the "Password" field. Setup `dependencies` After that, the "Password" field update will automatically trigger the "Confirm Password" verification. - -### rules - -Example: - -```javascript -{ - account: [ - { - required: true, - message: '需要输入用户名' - }, - ], - password: [ - { - required: true, - }, - ], - confirm: [ - { - required: true, - message: '需要输入确认密码' - }, - (form) => ({ - async validator(_, value) { - if (!value || form.getFieldValue('password') === value) { - return; - } - throw new Error('两次密码需一致'); - }, - }), - ] -} -``` - -`rules` can be in `new Form` can also be set in `FormItem` By `required` or `message` Property settings. - -```html - -``` - -### validateMessages - -can refer [Asynchronous validator](https://github.com/yiminghe/async-validator/blob/master/src/messages.ts#L4-L55) message,antd-mini added on this basis. `${label}`,`${len}`,`${min}`,`${max}`,`${pattern}`。 - -Example: - -```javascript -{ - required: '需要输入${label}', - string: { - min: '${label}最少${min}个字符', - }, - pattern: { - mismatch: '${label}需要满足${pattern}模式', - }, -} -``` - -### onValueChange and onValuesChange - -`setFieldValue` and `setFieldsValue` Will not trigger `onValueChange` and `onValuesChange`。`onValueChange` and `onValuesChange` It is only triggered when a user action is taken. If in `setFieldValue` or `setFieldsValue` then want to trigger `onValueChange` or `onValuesChange`you need to call these methods manually. - -**Example**: - -```js -const onValuesChangeCallback = (changedValues) => { - console.log(changedValues); -}; -this.form.onValuesChange(onValuesChangeCallback); -this.form.setFieldValue(name, value); -onValuesChangeCallback({ - [name]: value, -}); -``` - -### ValidatorStatus - -```js -type ValidatorStatus = { - status: 'default' | 'success' | 'error' | 'validating', - errors: string[], -}; -``` - -### submit checksum throws error - -```js -{ - values: Record, - errorFields: { - name: string; - errors: string[]; - }[] -} -``` - -### FormInput - -with `Input` Same. - -### FormTextarea - -with `Textarea` Same. - -### FormSwitch - -with `Switch` Same. - -### FormStepper - -with `Stepper` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ---------------- | --------------------------------- | ------ | ------ | -| stepperClassName | Corresponding `Stepper` Components `className` | string | - | -| stepperStyle | Corresponding `Stepper` Components `style` | string | - | - -### FormCheckGroup - -with `CheckGroup` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ---------------- | ----------------------------------- | ------ | ------ | -| checkboxLabel | Corresponding `CheckGroup` Components `label` | slot | - | -| checkboxPosition | Corresponding `CheckGroup` Components `position` | string | - | - -### FormRadioGroup - -with `RadioGroup` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ------------- | ----------------------------------- | ------ | ------ | -| radioLabel | Corresponding `RadioGroup` Components `label` | slot | - | -| radioPosition | Corresponding `RadioGroup` Components `position` | string | - | - -### FormPicker - -with `Picker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormDatePicker - -with `DatePicker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormRangePicker - -with `RangePicker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormCascaderPicker - -with `CascaderPicker` Same, but with the following added attributes: - -| Property | Description | Type | Default Value | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | - -### FormSlider - -with `Slider` Same. - -### FormSelector - -with `Selector` Same. - -### FormImageUpload - -with `ImageUpload` Same. - -### createForm - -`createForm` is a `mixin`for custom form items. - -```js -import { createForm } from 'antd-mini/es/Form/form'; - -Component({ - mixins: [createForm()], - methods: { - onChange(value) { - this.emit('onChange', value); - }, - }, -}); -``` - -`createForm` The following is added to the component: - -- `data` - -```js -{ - formData: { - value: undefined, // 表单项的值 - status: 'default', // 表单项的Calibration状态,包括 `default`、`success`、`error`、`validating` - errors: [], // 错误信息 - }, -} -``` - -- `methods` - -```js -// 修改表单项时,需调用 `emit` 方法。Custom Form Item组件In值改变时,应该调用此方法。 -function emit(trigger: 'onChange' | 'onBlur' | 'onFocus', value: any): void; -``` - -For more methods, please refer `createForm` Method-related documentation. Use `formData` and `emit` The implementation of the custom form item is complete. - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --form-text-color |
#cccccc
|
#474747
| Form text color | -| --form-item-color |
#666666
|
#808080
| Form Item Color | -| --form-item-bg |
#ffffff
|
#1a1a1a
| Form Item Background Color | -| --form-error-color |
#ff3141
|
#ff4a58
| Form Error Color | -| --form-extra-color |
#999999
|
#616161
| Form extra information color | -| --form-asterisk-color |
#ff3b30
|
#ff3b30
| Form asterisk color | diff --git a/compiled/wechat/src/Form/index.md b/compiled/wechat/src/Form/index.md deleted file mode 100644 index 6b069370e..000000000 --- a/compiled/wechat/src/Form/index.md +++ /dev/null @@ -1,394 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 12 -toc: 'content' ---- - -# Form 表单 - -Form 表单包含数据录入、校验以及相应的样式。Form 组件需要 [component2](https://opendocs.alipay.com/mini/framework/custom-component-overview) 支持。 - -- 用于创建实体或收集信息。 -- 需要对输入的数据类型进行校验时。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-form": "antd-mini/es/Form/index" -#endif -#if WECHAT - "ant-form": "antd-mini/Form/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - - - -### 布局 - - - -### 初始值 - - - -### 初始值异步加载 - - - -### 表单侦听 - - - -### 校验 - - - -### 增加删除表单项 - - - -### 表单项联动 - - - -### 自定义表单项校验 - - - -### 自定义表单校验消息 - - - -### 多个表单 - - - -### 图片校验 - - - -### JSON 生成表单 - - - -### 自定义错误样式 - -使用 `validateStatus: success` 及 `footer slot` 来自定义错误样式。 - - - -### 自定义表单项 - -通过使用 [FormItem](#formitem)、[createForm](#createform) 可自定义表单项。示例里 `form-checklist`、`form-location` 为自定义表单项组件。 - - - -### Demo 代码 - - - -## API - -### FormItem - -所有 Form 组件都包括的属性 -| 属性 | 说明 | 类型 | 默认值 | -| -----|-----|-----|-----| -| dependencies | 设置依赖字段,查看[详细说明](#dependencies) | string[] | - | -| footer | 底部 slot,接收 errors、status | slot | - | -| name | 名称 | string | - | -| label | 文本 | string | - | -| labelWidth | 文本宽度 | string | - | -| position | 布局,可选 `horizontal` `vertical` | string | horizontal | -| validateStatus | 校验状态,如不设置,则会根据校验规则自动生成,可选 `default` `success` `error` `validating` | string | - | -| help | 提示信息,如不设置,则会根据校验规则自动生成 | string | - | -| header | 顶部 slot,接收 errors、status | slot | - | -| tooltip | 表单项提示信息 | string\|slot | - | -| required | 必填样式设置。如不设置,则会根据校验规则自动生成 | boolean | false | -| message | 校验错误信息。如不设置,则会根据校验规则自动生成 | string | false | -| requiredMark | 必填选填的标记样式,可选 `asterisk` `text-required` `text-optional` | string | asterisk | - -### Form - -| 属性 | 说明 | 类型 | -| ---------------- | -------------- | ----------------------------------------- | -| rules | 可选,校验规则 | 查看[rules](#rules) | -| initialValues | 可选,初始值 | Record | -| validateMessages | 可选,校验消息 | 查看[validateMessages](#validatemessages) | - -### Form 实例方法 - -| 属性 | 说明 | 类型 | -| ------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| addItem | 添加表单项 | (formItem: Ref) => void | -| updateRules | 更新 form 的校验规则,每次都需要传入全量的 rules | (rules: Rules) => void, Rules 的类型可以查看[rules](#rules) | -| getFieldValue | 得到表单项的值 | (name: string) => any | -| getFieldsValue | 获取一组字段名对应的值。不传 nameList 则返回全部 fields 对 | (nameList?: string[]) => Record | -| getFieldValidatorStatus | 得到表单校验状态 | (name: string) => [ValidatorStatus](#validatorstatus) | -| getFieldsValidatorStatus | 得到一组表单校验状态。不传 nameList 则返回全部 fields 对 | (nameList?: string[]) => Record | -| reset | 重置表单为初始值 | () => void | -| isFieldTouched | 判断表单项是否被修改过 | () => boolean | -| onValueChange | 侦听指定表单项的值修改,查看[详细说明](#onvaluechangeonvalueschange) | (name: string, (changedValue: any, allValues: Record) => void) => void | -| onValuesChange | 侦听表单项的值修改,查看[详细说明](#onvaluechangeonvalueschange) | ((changedValues: Record, allValues: Record) => void) => void | -| setFieldValue | 设置表单项的值 | (name: string, value: any) => void; | -| setFieldsValue | 设置表单项的值 | (values: Record) => void; | -| setFieldValidatorStatus | 设置表单校验状态 | (name: string, validatorStatus: [ValidatorStatus](#validatorstatus)) => void | -| setFieldsValidatorStatus | 设置一组表单校验状态 | (fieldsValidatorStatus: Record) => void | -| setInitialValues | 设置表单初始值 | (initialValues: Record) => void | -| submit | 提交表单,返回 promise 表单值,校验错误会抛出 | () => Promise> | - -### dependencies - -当字段间存在依赖关系时使用。例如注册用户表单的“密码”与“确认密码”字段,其中“确认密码”校验依赖于“密码”字段。设置 `dependencies` 后,“密码”字段更新将自动触发“确认密码”的校验。 - -### rules - -示例: - -```javascript -{ - account: [ - { - required: true, - message: '需要输入用户名' - }, - ], - password: [ - { - required: true, - }, - ], - confirm: [ - { - required: true, - message: '需要输入确认密码' - }, - (form) => ({ - async validator(_, value) { - if (!value || form.getFieldValue('password') === value) { - return; - } - throw new Error('两次密码需一致'); - }, - }), - ] -} -``` - -`rules` 可以在 `new Form` 中设置,也可以在 `FormItem` 通过 `required` 或 `message` 属性设置。 - -```html - -``` - -### validateMessages - -可以参考 [Asynchronous validator](https://github.com/yiminghe/async-validator/blob/master/src/messages.ts#L4-L55) 的 message,antd-mini 在此基础上加了 `${label}`,`${len}`,`${min}`,`${max}`,`${pattern}`。 - -示例: - -```javascript -{ - required: '需要输入${label}', - string: { - min: '${label}最少${min}个字符', - }, - pattern: { - mismatch: '${label}需要满足${pattern}模式', - }, -} -``` - -### onValueChange 和 onValuesChange - -`setFieldValue` 和 `setFieldsValue` 不会触发 `onValueChange` 和 `onValuesChange`。`onValueChange` 和 `onValuesChange` 只有在用户操作时才会被触发。如果在 `setFieldValue` 或 `setFieldsValue` 之后想要触发 `onValueChange` 或 `onValuesChange`,你需要手动调用这些方法。 - -**示例**: - -```js -const onValuesChangeCallback = (changedValues) => { - console.log(changedValues); -}; -this.form.onValuesChange(onValuesChangeCallback); -this.form.setFieldValue(name, value); -onValuesChangeCallback({ - [name]: value, -}); -``` - -### ValidatorStatus - -```js -type ValidatorStatus = { - status: 'default' | 'success' | 'error' | 'validating', - errors: string[], -}; -``` - -### submit 校验和抛出错误 - -```js -{ - values: Record, - errorFields: { - name: string; - errors: string[]; - }[] -} -``` - -### FormInput - -与 `Input` 相同。 - -### FormTextarea - -与 `Textarea` 相同。 - -### FormSwitch - -与 `Switch` 相同。 - -### FormStepper - -与 `Stepper` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------- | --------------------------------- | ------ | ------ | -| stepperClassName | 对应 `Stepper` 组件的 `className` | string | - | -| stepperStyle | 对应 `Stepper` 组件的 `style` | string | - | - -### FormCheckGroup - -与 `CheckGroup` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------- | ----------------------------------- | ------ | ------ | -| checkboxLabel | 对应 `CheckGroup` 组件的 `label` | slot | - | -| checkboxPosition | 对应 `CheckGroup` 组件的 `position` | string | - | - -### FormRadioGroup - -与 `RadioGroup` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ------------- | ----------------------------------- | ------ | ------ | -| radioLabel | 对应 `RadioGroup` 组件的 `label` | slot | - | -| radioPosition | 对应 `RadioGroup` 组件的 `position` | string | - | - -### FormPicker - -与 `Picker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormDatePicker - -与 `DatePicker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormRangePicker - -与 `RangePicker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormCascaderPicker - -与 `CascaderPicker` 相同,但添加了如下属性: - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | -------------------------------------------------------- | ----------------- | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | - -### FormSlider - -与 `Slider` 相同。 - -### FormSelector - -与 `Selector` 相同。 - -### FormImageUpload - -与 `ImageUpload` 相同。 - -### createForm - -`createForm` 是一个 `mixin`,用于自定义表单项。 - -```js -import { createForm } from 'antd-mini/es/Form/form'; - -Component({ - mixins: [createForm()], - methods: { - onChange(value) { - this.emit('onChange', value); - }, - }, -}); -``` - -`createForm` 会为组件增加以下内容: - -- `data` - -```js -{ - formData: { - value: undefined, // 表单项的值 - status: 'default', // 表单项的校验状态,包括 `default`、`success`、`error`、`validating` - errors: [], // 错误信息 - }, -} -``` - -- `methods` - -```js -// 修改表单项时,需调用 `emit` 方法。自定义表单项组件在值改变时,应该调用此方法。 -function emit(trigger: 'onChange' | 'onBlur' | 'onFocus', value: any): void; -``` - -想要了解更多方法,请参考 `createForm` 方法相关文档。使用 `formData` 和 `emit` 即可完成自定义表单项的实现。 - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --form-text-color |
#cccccc
|
#474747
| 表单文本颜色 | -| --form-item-color |
#666666
|
#808080
| 表单项颜色 | -| --form-item-bg |
#ffffff
|
#1a1a1a
| 表单项背景颜色 | -| --form-error-color |
#ff3141
|
#ff4a58
| 表单错误颜色 | -| --form-extra-color |
#999999
|
#616161
| 表单额外信息颜色 | -| --form-asterisk-color |
#ff3b30
|
#ff3b30
| 表单星号颜色 | diff --git a/compiled/wechat/src/Form/variable.wxss b/compiled/wechat/src/Form/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Grid/index.en.md b/compiled/wechat/src/Grid/index.en.md deleted file mode 100644 index 9880a1823..000000000 --- a/compiled/wechat/src/Grid/index.en.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# Grid - -The palace is used for navigation of multiple sub-functions in the business and has a higher screen effect than the form of a list. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-grid": "antd-mini/es/Grid/index" -#endif -#if WECHAT - "ant-grid": "antd-mini/Grid/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### 3 Columns-With Description - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - ], - }, -}); -``` - -### element horizontal layout - -```xml - -``` - -### Custom - -```xml -#if ALIPAY - - - - - - - - - Item {{props.index 1}} - - - Description {{props.index 1}} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Grid In微信暂时不支持 Slot -#endif -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | ------------------------------------------------------ | ------------------------------------- | ---------- | -| className | Class Name | string | - | -| columns | The number of elements displayed per row,`default` Mode effective | number | 5 | -| description | Description slot, receiving value, index | slot | - | -| gridItemLayout | item layout, optional `vertical`(Vertical)`horizontal`(Horizontal) | string | `vertical` | -| icon | Icon slot, receiving value, index | slot | - | -| iconSize | Icon size in px | number | - | -| iconStyle | Icon style type, optional `normal` `circle` | string | `normal` | -| items | Content Text | [GridItem](#griditem)[] | - | -| mode | Style type, optional `default`(Tile)`scroll`(Sliding) | string | `default` | -| paginationFillColor | Page break background color,`scroll` Mode effective | string | - | -| paginationFrontColor | Page break color,`scroll` Mode effective | string | - | -| showDivider | Show split line | boolean | - | -| style | Style | string | - | -| title | Header slot, receiving value, index | slot | - | -| #if ALIPAY onTap | Click on each element to trigger | (item: [GridItem](#griditem)) => void | | -| #if ALIPAY onFirstAppear | Triggered when the first visible area of the current element reaches 50% | (item: [GridItem](#griditem)) => void | | -| #if WECHAT bind:tap | Click on each element to trigger | (item: [GridItem](#griditem)) => void | - | -| #if WECHAT bind:firstappear | Triggered when the first visible area of the current element reaches 50% | (item: [GridItem](#griditem)) => void | - | - -#### GridItem - -| Parameters | Description | Type | Default Value | -| ----------- | ----------------------------------------------------- | ------ | ------ | -| description | Description | string | - | -| icon | icons, support images and [Icon](./Icon) | string | - | -| iconStyle | Icon style type, with priority higher than grid, optional `normal` `circle` | string | - | -| title | Title | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --ant-grid-title-color |
#333333
|
#c5cad1
| Grid Title Color | -| --ant-grid-description-color |
#999999
|
#616161
| Grid Description Color | -| --ant-grid-border-color |
#eeeeee
|
#2b2b2b
| Grid Border Color | diff --git a/compiled/wechat/src/Grid/index.js b/compiled/wechat/src/Grid/index.js deleted file mode 100644 index c17934a51..000000000 --- a/compiled/wechat/src/Grid/index.js +++ /dev/null @@ -1,12 +0,0 @@ -import { Component, triggerEvent } from '../_util/simply'; -import { GridFunctionalProps } from './props'; -Component(GridFunctionalProps, { - onTap: function (e) { - var item = e.target.dataset.item; - triggerEvent(this, 'tap', item); - }, - onFirstAppear: function (e) { - var item = e.target.dataset.item; - triggerEvent(this, 'firstAppear', item); - } -}); diff --git a/compiled/wechat/src/Grid/index.json b/compiled/wechat/src/Grid/index.json deleted file mode 100644 index bf001147d..000000000 --- a/compiled/wechat/src/Grid/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "image-icon": "../ImageIcon/index", - "ant-pagination": "../Pagination/index" - } -} diff --git a/compiled/wechat/src/Grid/index.md b/compiled/wechat/src/Grid/index.md deleted file mode 100644 index f86db794e..000000000 --- a/compiled/wechat/src/Grid/index.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# Grid 宫格 - -宫格用于业务中多个子功能的导航,相比于列表的形式,具有更高的屏效。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-grid": "antd-mini/es/Grid/index" -#endif -#if WECHAT - "ant-grid": "antd-mini/Grid/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - }, - ], - }, -}); -``` - -### 3 列-带描述 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - { - title: 'title text', - icon: 'https://gw.alipayobjects.com/mdn/rms_3a7189/afts/img/A*L8FjQ7lSdq4AAAAAAAAAAAAAARQnAQ', - description: 'description', - }, - ], - }, -}); -``` - -### 元素横向布局 - -```xml - -``` - -### 自定义 - -```xml -#if ALIPAY - - - - - - - - - 第{{ props.index + 1 }}项 - - - 描述{{ props.index + 1 }} - - - -#endif -#if WECHAT -由于微信小程序平台的限制, Grid 在微信暂时不支持 Slot -#endif -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | ------------------------------------------------------ | ------------------------------------- | ---------- | -| className | 类名 | string | - | -| columns | 每行展示的元素个数,`default` 模式生效 | number | 5 | -| description | 描述插槽,接收 value、index | slot | - | -| gridItemLayout | item 布局,可选 `vertical`(垂直)`horizontal`(水平) | string | `vertical` | -| icon | 图标插槽,接收 value、index | slot | - | -| iconSize | 图标尺寸,单位 px | number | - | -| iconStyle | 图标样式类型,可选 `normal` `circle` | string | `normal` | -| items | 内容文字 | [GridItem](#griditem)[] | - | -| mode | 样式类型,可选 `default`(平铺)`scroll`(滑动) | string | `default` | -| paginationFillColor | 分页符背景色,`scroll` 模式生效 | string | - | -| paginationFrontColor | 分页符颜色,`scroll` 模式生效 | string | - | -| showDivider | 是否展示分割线 | boolean | - | -| style | 样式 | string | - | -| title | 标题插槽,接收 value、index | slot | - | -| #if ALIPAY onTap | 点击每个元素触发 | (item: [GridItem](#griditem)) => void | | -| #if ALIPAY onFirstAppear | 当前元素首次可见面积达到 50% 时触发 | (item: [GridItem](#griditem)) => void | | -| #if WECHAT bind:tap | 点击每个元素触发 | (item: [GridItem](#griditem)) => void | - | -| #if WECHAT bind:firstappear | 当前元素首次可见面积达到 50% 时触发 | (item: [GridItem](#griditem)) => void | - | - -#### GridItem - -| 参数 | 说明 | 类型 | 默认值 | -| ----------- | ----------------------------------------------------- | ------ | ------ | -| description | 描述 | string | - | -| icon | 图标,支持图片和 [Icon](./Icon) | string | - | -| iconStyle | 图标样式类型,优先级高于 grid,可选 `normal` `circle` | string | - | -| title | 标题 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --ant-grid-title-color |
#333333
|
#c5cad1
| 网格标题颜色 | -| --ant-grid-description-color |
#999999
|
#616161
| 网格描述颜色 | -| --ant-grid-border-color |
#eeeeee
|
#2b2b2b
| 网格边框颜色 | diff --git a/compiled/wechat/src/Grid/index.wxml b/compiled/wechat/src/Grid/index.wxml deleted file mode 100644 index 1fa68e8f3..000000000 --- a/compiled/wechat/src/Grid/index.wxml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - {{item.title}} - {{item.description}} - - - - - - - - - - - - - {{item.title}} - {{item.description}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Grid/index.wxs b/compiled/wechat/src/Grid/index.wxs deleted file mode 100644 index f1aed09ba..000000000 --- a/compiled/wechat/src/Grid/index.wxs +++ /dev/null @@ -1,25 +0,0 @@ -function checkNeedVerticalSpace(count, index, columns) { - if (count % columns === 0) { - return index < count - columns; - } else { - return index < columns * Math.floor(count / columns); - } -} -function checkShowSplitLine(index, count, columns, mode, showDivider) { - if (!showDivider) { - return false; - } - if (index === count - 1) { - return false; - } - if (mode === 'default') { - if ((index + 1) % columns === 0) { - return false; - } - } - return true; -} -module.exports = { - checkNeedVerticalSpace: checkNeedVerticalSpace, - checkShowSplitLine: checkShowSplitLine -}; \ No newline at end of file diff --git a/compiled/wechat/src/Grid/index.wxss b/compiled/wechat/src/Grid/index.wxss deleted file mode 100644 index 36056400f..000000000 --- a/compiled/wechat/src/Grid/index.wxss +++ /dev/null @@ -1,119 +0,0 @@ -.ant-grid { - padding: 24rpx; - box-sizing: border-box; -} -.ant-grid-columns-3 { - padding: 24rpx 0; -} -.ant-grid-default { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} -.ant-grid-scroll { - display: flex; - flex-wrap: nowrap; - align-items: flex-start; -} -.ant-grid-item { - box-sizing: border-box; - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - flex-shrink: 0; - position: relative; -} -.ant-grid-item-line::after { - content: ''; - position: absolute; - background-color: var(--ant-grid-border-color, #e5e5e5); - display: block; - top: 0; - right: 0; - bottom: 0; - left: auto; - width: 1px; - transform: scaleX(0.5); -} -.ant-grid-item-vertical-space { - margin-bottom: 40rpx; -} -.ant-grid-item-columns-5 { - width: 20%; -} -.ant-grid-item-columns-4 { - width: 25%; -} -.ant-grid-item-columns-3 { - width: 33.3%; -} -.ant-grid-item-columns-2 { - width: 50%; -} -.ant-grid-item-horizontal { - justify-content: center; - text-align: left; - position: relative; - min-height: 56rpx; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: row; -} -.ant-grid-item-horizontal .ant-grid-item-info { - padding-left: 16rpx; - display: flex; - justify-content: center; - align-items: flex-start; - flex-direction: column; -} -.ant-grid-item-horizontal .ant-grid-item-img, -.ant-grid-item-horizontal .ant-grid-item-icon { - display: flex; - justify-content: center; - align-items: center; -} -.ant-grid-item-horizontal .ant-grid-item-title { - margin-top: 0; -} -.ant-grid-item-vertical .ant-grid-item-description { - padding-top: 4rpx; -} -.ant-grid-item-columns-scroll { - width: 130rpx; -} -.ant-grid-item-icon-circle { - border-radius: 50%; - overflow: hidden; -} -.ant-grid-item-icon-icon { - font-size: 56rpx; -} -.ant-grid-item-icon-image { - width: 56rpx; - height: 56rpx; -} -.ant-grid-item-title { - font-size: 30rpx; - color: var(--ant-grid-title-color, #333333); - line-height: 42rpx; - width: 100%; - margin-top: 16rpx; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.ant-grid-item-description { - font-size: 24rpx; - color: var(--ant-grid-description-color, #999999); - line-height: 33rpx; - width: 100%; - padding-top: 4rpx; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.ant-grid-item-description:empty { - display: none; -} diff --git a/compiled/wechat/src/Grid/props.js b/compiled/wechat/src/Grid/props.js deleted file mode 100644 index 826fbcbd4..000000000 --- a/compiled/wechat/src/Grid/props.js +++ /dev/null @@ -1,18 +0,0 @@ -export var GridDefaultProps = { - iconStyle: 'normal', - mode: 'default', - columns: 5, - gridItemLayout: 'vertical', - showDivider: false, -}; -export var GridFunctionalProps = { - iconStyle: 'normal', - iconSize: null, - gridItemLayout: 'vertical', - mode: 'default', - columns: 5, - items: [], - showDivider: false, - paginationFrontColor: '', - paginationFillColor: '', -}; diff --git a/compiled/wechat/src/Grid/variable.wxss b/compiled/wechat/src/Grid/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/GuideTour/index.en.md b/compiled/wechat/src/GuideTour/index.en.md deleted file mode 100644 index 754235ea7..000000000 --- a/compiled/wechat/src/GuideTour/index.en.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# GuideTour - -Layer and custom card boot components. Applies to an introduction to key features on the page. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-guide-tour": "antd-mini/es/GuideTour/index" -#endif -#if WECHAT - "ant-guide-tour": "antd-mini/GuideTour/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - visible: true, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChange(index) { -#if ALIPAY - console.log('index', index); -#endif - }, - closeTour() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### Controlled Mode - -```xml - - - -``` - -```js -Page({ - data: { - visible: false, - current: 0, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ current: value }); -#endif -#if WECHAT - this.setData({ current: value.detail }); -#endif - }, - closeTour() { - this.setData({ - visible: false - }); - }, -}); - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------- | ----------------------------------- | -------- | -| className | Class Name | `string` | - | -| current | Current step | `number` | - | -| defaultCurrent | Default Current Step | `number` | 0 | -| items | Step Information | [`GuideTourItem`](#guidetourttem)[] | - | -| maskClassName | Class name of the layer | `string` | - | -| maskStyle | The style of the layer | `string` | - | -| style | Style | `string` | - | -| swiperable | Whether sliding mode is on | `boolean` | `false` | -| visible | Whether to display | `boolean` | `false` | -| jumpText | Copy of the skip button | `string` | 'Skip' | -| prevStepText | Copy of the previous button | `string` | 'One step' | -| nextStepText | Copy of the next button | `string` | 'Next step' | -| gotItText | Know the copy of the button | `string` | "I know' | -| #if ALIPAY onCancel | Close Callback | `() => void` | - | -| #if ALIPAY onChange | Step Change Callback | `(index: number) => void` | - | -| #if WECHAT bind:cancel | Close Callback | `() => void` | - | -| #if WECHAT bind:change | Step Change Callback | `(index: number) => void` | - | - -### GuideTourItem - -| Parameters | Description | Type | Default Value | -| ---------- | -------------------------- | -------- | ------ | -| left | Distance from left, in units `px` | `number` | - | -| imageMode | Image mode, same as image mode | `string` | - | -| imageStyle | Picture Inline Style | `string` | - | -| imageUrl | Picture Address | `string` | - | -| top | Distance from top, in units `px` | `number` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --guide-tour-text-color |
#ffffff
|
#ffffff
| Bootstrap Tutorial Text Color | -| --guide-tour-clear-color |
#999999
|
#616161
| Bootstrap Tutorial Clear Button Color | -| --guide-tour-dot-color |
#999999
|
#616161
| Guided Tutorial Step Point Color | -| --guide-tour-border-color |
#eeeeee
|
#2b2b2b
| Bootstrap Tutorial Border Color | -| --guide-tour-btn-color |
#333333
|
#c5cad1
| Bootstrap Tutorial Button Color | diff --git a/compiled/wechat/src/GuideTour/index.js b/compiled/wechat/src/GuideTour/index.js deleted file mode 100644 index 57b8bc057..000000000 --- a/compiled/wechat/src/GuideTour/index.js +++ /dev/null @@ -1,101 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { effect } from '@preact/signals-core'; -import mixinValue from '../mixins/value'; -import { ComponentWithSignalStoreImpl, triggerEvent, triggerEventOnly, } from '../_util/simply'; -import i18nController from '../_util/store'; -import { GuideTourDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, GuideTourDefaultProps, { - onNext: function () { - return __awaiter(this, void 0, void 0, function () { - var currentValue, newCurrent; - return __generator(this, function (_a) { - currentValue = this.getValue(); - newCurrent = currentValue + 1; - if (!this.isControlled()) { - this.update(newCurrent); - } - triggerEvent(this, 'change', newCurrent); - return [2 /*return*/]; - }); - }); - }, - onPrev: function () { - return __awaiter(this, void 0, void 0, function () { - var currentValue, newCurrent; - return __generator(this, function (_a) { - currentValue = this.getValue(); - newCurrent = currentValue - 1; - if (!this.isControlled()) { - this.update(newCurrent); - } - triggerEvent(this, 'change', newCurrent); - return [2 /*return*/]; - }); - }); - }, - onCancel: function () { - triggerEventOnly(this, 'cancel'); - }, - onSwiperChange: function (e) { - return __awaiter(this, void 0, void 0, function () { - var current; - return __generator(this, function (_a) { - current = e.detail.current; - if (!this.isControlled()) { - this.update(current); - } - triggerEvent(this, 'change', current); - return [2 /*return*/]; - }); - }); - }, -}, undefined, [ - mixinValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - }), -]); diff --git a/compiled/wechat/src/GuideTour/index.json b/compiled/wechat/src/GuideTour/index.json deleted file mode 100644 index f6d8ab7c3..000000000 --- a/compiled/wechat/src/GuideTour/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-mask": "../Mask/index", - "ant-button": "../Button/index", - "ant-icon": "../Icon/index", - "ant-auto-resize": "../AutoResize/index" - } -} diff --git a/compiled/wechat/src/GuideTour/index.md b/compiled/wechat/src/GuideTour/index.md deleted file mode 100644 index 643080143..000000000 --- a/compiled/wechat/src/GuideTour/index.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# GuideTour 新手引导 - -蒙层与自定义卡片的引导组件。适用于页面上关键功能的介绍。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-guide-tour": "antd-mini/es/GuideTour/index" -#endif -#if WECHAT - "ant-guide-tour": "antd-mini/GuideTour/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - visible: true, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChange(index) { -#if ALIPAY - console.log('index', index); -#endif - }, - closeTour() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### 受控模式 - -```xml - - - -``` - -```js -Page({ - data: { - visible: false, - current: 0, - items: [ - { left: 20, top: 80, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/IV3MGP1qL/bianzu%25252013.png', imageMode: 'widthFix' }, - { left: 20, top: 160, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/%26B6d3lBJn/bianzu%25252020.png' }, - { left: 20, top: 220, imageUrl: 'https://gw.alipayobjects.com/zos/antfincdn/lwVOkCcwb/bianzu%25252021.png' }, - ], - }, - onChangeControlled(value) { -#if ALIPAY - this.setData({ current: value }); -#endif -#if WECHAT - this.setData({ current: value.detail }); -#endif - }, - closeTour() { - this.setData({ - visible: false - }); - }, -}); - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------- | ----------------------------------- | -------- | -| className | 类名 | `string` | - | -| current | 当前步骤 | `number` | - | -| defaultCurrent | 默认当前步骤 | `number` | 0 | -| items | 步骤信息 | [`GuideTourItem`](#guidetourttem)[] | - | -| maskClassName | 蒙层的类名 | `string` | - | -| maskStyle | 蒙层的样式 | `string` | - | -| style | 样式 | `string` | - | -| swiperable | 是否开启滑动模式 | `boolean` | `false` | -| visible | 是否显示 | `boolean` | `false` | -| jumpText | 跳过按钮的文案 | `string` | '跳过' | -| prevStepText | 上一步按钮的文案 | `string` | '上一步' | -| nextStepText | 下一步按钮的文案 | `string` | '下一步' | -| gotItText | 知道了按钮的文案 | `string` | '知道了' | -| #if ALIPAY onCancel | 关闭回调 | `() => void` | - | -| #if ALIPAY onChange | 步骤改变回调 | `(index: number) => void` | - | -| #if WECHAT bind:cancel | 关闭回调 | `() => void` | - | -| #if WECHAT bind:change | 步骤改变回调 | `(index: number) => void` | - | - -### GuideTourItem - -| 参数 | 说明 | 类型 | 默认值 | -| ---------- | -------------------------- | -------- | ------ | -| left | 距离左边距离,单位 `px` | `number` | - | -| imageMode | 图片模式,同 image 的 mode | `string` | - | -| imageStyle | 图片内联样式 | `string` | - | -| imageUrl | 图片地址 | `string` | - | -| top | 距离顶部距离,单位 `px` | `number` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --guide-tour-text-color |
#ffffff
|
#ffffff
| 引导教程文本颜色 | -| --guide-tour-clear-color |
#999999
|
#616161
| 引导教程清除按钮颜色 | -| --guide-tour-dot-color |
#999999
|
#616161
| 引导教程步骤点颜色 | -| --guide-tour-border-color |
#eeeeee
|
#2b2b2b
| 引导教程边框颜色 | -| --guide-tour-btn-color |
#333333
|
#c5cad1
| 引导教程按钮颜色 | diff --git a/compiled/wechat/src/GuideTour/index.wxml b/compiled/wechat/src/GuideTour/index.wxml deleted file mode 100644 index 8a69aab74..000000000 --- a/compiled/wechat/src/GuideTour/index.wxml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - {{u.isPropsEmpty(jumpText) ? locale.guideTour.jumpText : jumpText}} - {{u.isPropsEmpty(prevStepText) ? locale.guideTour.prevStepText : prevStepText}} - {{u.isPropsEmpty(nextStepText) ? locale.guideTour.nextStepText : nextStepText}} - {{u.isPropsEmpty(gotItText) ? locale.guideTour.gotItText : gotItText}} - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/GuideTour/index.wxs b/compiled/wechat/src/GuideTour/index.wxs deleted file mode 100644 index 7c8b7c4f2..000000000 --- a/compiled/wechat/src/GuideTour/index.wxs +++ /dev/null @@ -1,18 +0,0 @@ -function checkShowNext(current, items) { - return current < items.length - 1; -} -function checkShowPrev(current, items) { - return current > 0; -} -function checkShowJump(current, items) { - return current === 0 && items.length > 1; -} -function checkShowKnow(current, items) { - return current === items.length - 1; -} -module.exports = { - checkShowNext: checkShowNext, - checkShowPrev: checkShowPrev, - checkShowJump: checkShowJump, - checkShowKnow: checkShowKnow -}; \ No newline at end of file diff --git a/compiled/wechat/src/GuideTour/index.wxss b/compiled/wechat/src/GuideTour/index.wxss deleted file mode 100644 index 50d2c96f6..000000000 --- a/compiled/wechat/src/GuideTour/index.wxss +++ /dev/null @@ -1,65 +0,0 @@ -.ant-guide-tour-button { - width: 100%; - position: absolute; - left: 0; - bottom: calc(100 * 1rpx + env(safe-area-inset-bottom)); - z-index: 10001; - display: flex; - justify-content: center; -} -.ant-guide-tour-button .ant-button:nth-of-type(1) { - color: var(--guide-tour-text-color, #ffffff); - background-color: transparent; - box-shadow: inset 0 0 0 2rpx var(--guide-tour-border-color, #e5e5e5); -} -.ant-guide-tour-button .ant-button:nth-of-type(2) { - color: var(--guide-tour-btn-color, #333333); - background-color: var(--guide-tour-text-color, #ffffff); - box-shadow: none; -} -.ant-guide-tour-button .ant-button { - margin: 0 12rpx; - width: 152rpx; -} -.ant-guide-tour-indicator { - width: 100%; - position: absolute; - bottom: calc(calc(100 * 1rpx + env(safe-area-inset-bottom)) + 40 * 1rpx + 52rpx); - left: 50%; - transform: translateX(-50%); - z-index: 10000; - display: flex; - justify-content: center; -} -.ant-guide-tour-indicator-dot { - margin: 0 3rpx; - background-color: var(--guide-tour-dot-color, #999999); - width: 6rpx; - height: 6rpx; - border-radius: 2rpx; -} -.ant-guide-tour-indicator-dot-active { - width: 26rpx; - background-color: var(--guide-tour-text-color, #ffffff); -} -.ant-guide-tour-clear { - position: fixed; - top: 80rpx; - right: 40rpx; - z-index: 10001; - font-size: 56rpx; - color: var(--guide-tour-clear-color, #999999); -} -.ant-guide-tour-item { - z-index: 10000; - position: fixed; - top: 0; - left: 0; -} -.ant-guide-tour-swiper { - z-index: 10000; - position: fixed; - top: 0; - left: 0; - width: 100vw; -} diff --git a/compiled/wechat/src/GuideTour/props.js b/compiled/wechat/src/GuideTour/props.js deleted file mode 100644 index 8896ecc66..000000000 --- a/compiled/wechat/src/GuideTour/props.js +++ /dev/null @@ -1,13 +0,0 @@ -export var GuideTourDefaultProps = { - visible: false, - swiperable: false, - items: [], - current: null, - defaultCurrent: 0, - gotItText: null, - nextStepText: null, - prevStepText: null, - jumpText: null, - maskStyle: '', - maskClassName: '', -}; diff --git a/compiled/wechat/src/GuideTour/variable.wxss b/compiled/wechat/src/GuideTour/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Icon/index.en.md b/compiled/wechat/src/Icon/index.en.md deleted file mode 100644 index fe10327eb..000000000 --- a/compiled/wechat/src/Icon/index.en.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# Icon - -Semantic vector graphics. Icon icons can be used when graphics are needed to metaphorically present basic operating functions and give users correct, friendly and clear operating guidelines. - -## Introduction - -Introducing components in index.json - -```json -"usingComponents": { -#if ALIPAY - "ant-icon": "antd-mini/es/Icon/index" -#endif -#if WECHAT - "ant-icon": "antd-mini/Icon/index" -#endif -} -``` - -## Icon List - -Search and view the icon, click the icon to copy. - - - -## Code example - -### Basic use - -```xml - -``` - -### Custom size and color - -```xml - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| :------------------- | :----------------------- | :----------------- | :----- | -| className | Class Name | string | - | -| style | Style | string | - | -| type | Types of icons | string | - | -| #if ALIPAY catchTap | Callback function triggered when icon is clicked | (e: Event) => void | - | -| #if ALIPAY onTap | Callback function triggered when icon is clicked | (e: Event) => void | - | -| #if WECHAT catch:tap | Callback function triggered when icon is clicked | (e: Event) => void | - | -| #if WECHAT bind:tap | Callback function triggered when icon is clicked | (e: Event) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -------- | -| --icon-color |
#333333
|
#c5cad1
| Icon Color | diff --git a/compiled/wechat/src/Icon/index.js b/compiled/wechat/src/Icon/index.js deleted file mode 100644 index 9f2e81c46..000000000 --- a/compiled/wechat/src/Icon/index.js +++ /dev/null @@ -1,22 +0,0 @@ -import '../_util/assert-component2'; -Component({ - properties: { - type: { - value: '', - type: String, - }, - color: { - type: String, - }, - style: { - type: String, - }, - className: { - type: String, - }, - }, - options: { - //@ts-ignore - styleIsolation: 'shared', - }, -}); diff --git a/compiled/wechat/src/Icon/index.json b/compiled/wechat/src/Icon/index.json deleted file mode 100644 index 32640e0dc..000000000 --- a/compiled/wechat/src/Icon/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} \ No newline at end of file diff --git a/compiled/wechat/src/Icon/index.md b/compiled/wechat/src/Icon/index.md deleted file mode 100644 index 2facb6709..000000000 --- a/compiled/wechat/src/Icon/index.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# Icon 图标 - -语义化的矢量图形。当需要使用图形来对基础操作功能进行隐喻呈现,并给予用户正确、友好且清晰的操作指引时,可以使用 Icon 图标。 - -## 引入 - -在 index.json 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-icon": "antd-mini/es/Icon/index" -#endif -#if WECHAT - "ant-icon": "antd-mini/Icon/index" -#endif -} -``` - -## 图标列表 - -搜索并查看图标,点击图标可进行复制。 - - - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 自定义大小及颜色 - -```xml - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| :------------------- | :----------------------- | :----------------- | :----- | -| className | 类名 | string | - | -| style | 样式 | string | - | -| type | 图标的类型 | string | - | -| #if ALIPAY catchTap | 点击图标时触发的回调函数 | (e: Event) => void | - | -| #if ALIPAY onTap | 点击图标时触发的回调函数 | (e: Event) => void | - | -| #if WECHAT catch:tap | 点击图标时触发的回调函数 | (e: Event) => void | - | -| #if WECHAT bind:tap | 点击图标时触发的回调函数 | (e: Event) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -------- | -| --icon-color |
#333333
|
#c5cad1
| 图标颜色 | diff --git a/compiled/wechat/src/Icon/index.wxml b/compiled/wechat/src/Icon/index.wxml deleted file mode 100644 index 0548e50fb..000000000 --- a/compiled/wechat/src/Icon/index.wxml +++ /dev/null @@ -1,4 +0,0 @@ - \ No newline at end of file diff --git a/compiled/wechat/src/Icon/index.wxss b/compiled/wechat/src/Icon/index.wxss deleted file mode 100644 index 7d88ca03d..000000000 --- a/compiled/wechat/src/Icon/index.wxss +++ /dev/null @@ -1,467 +0,0 @@ -@font-face { - font-family: antdmini-icon; - src: url('https://gw.alipayobjects.com/os/bmw-prod/578c472b-19a7-44ab-a92d-adc367ee2fe2.ttf?v=20210115') format('truetype'); -} -.ant-icon { - /* stylelint-disable font-family-no-missing-generic-family-keyword */ - font-family: antdmini-icon !important; - font-style: normal; - -webkit-font-smoothing: antialiased; - font-size: 32rpx; -} -.ant-icon-MinusOutline:before { - content: '\e66f'; -} -.ant-icon-AlipayCircleFill:before { - content: '\e670'; -} -.ant-icon-CheckCircleFill:before { - content: '\e671'; -} -.ant-icon-FireFill:before { - content: '\e672'; -} -.ant-icon-FaceRecognitionOutline:before { - content: '\e673'; -} -.ant-icon-StarFill:before { - content: '\e674'; -} -.ant-icon-EyeInvisibleFill:before { - content: '\e675'; -} -.ant-icon-SmileFill:before { - content: '\e676'; -} -.ant-icon-FrownFill:before { - content: '\e677'; -} -.ant-icon-BankcardOutline:before { - content: '\e678'; -} -.ant-icon-HeartOutline:before { - content: '\e679'; -} -.ant-icon-EyeFill:before { - content: '\e67a'; -} -.ant-icon-HeartFill:before { - content: '\e67b'; -} -.ant-icon-DownFill:before { - content: '\e67c'; -} -.ant-icon-CloseCircleFill:before { - content: '\e67d'; -} -.ant-icon-VideoOutline:before { - content: '\e67e'; -} -.ant-icon-CouponOutline:before { - content: '\e67f'; -} -.ant-icon-ReceiptOutline:before { - content: '\e680'; -} -.ant-icon-AntOutline:before { - content: '\e681'; -} -.ant-icon-UserCircleOutline:before { - content: '\e682'; -} -.ant-icon-PayCircleOutline:before { - content: '\e683'; -} -.ant-icon-BillOutline:before { - content: '\e684'; -} -.ant-icon-PlayOutline:before { - content: '\e685'; -} -.ant-icon-PayOutline:before { - content: '\e686'; -} -.ant-icon-MoreOutline:before { - content: '\e687'; -} -.ant-icon-ShrinkOutline:before { - content: '\e688'; -} -.ant-icon-ArrowsAltOutline:before { - content: '\e689'; -} -.ant-icon-StarOutline:before { - content: '\e68a'; -} -.ant-icon-CheckOutline:before { - content: '\e68b'; -} -.ant-icon-DeleteOutline:before { - content: '\e68c'; -} -.ant-icon-LinkOutline:before { - content: '\e68d'; -} -.ant-icon-InformationCircleOutline:before { - content: '\e68e'; -} -.ant-icon-GlobalOutline:before { - content: '\e68f'; -} -.ant-icon-InformationCircleFill:before { - content: '\e690'; -} -.ant-icon-ExclamationCircleFill:before { - content: '\e691'; -} -.ant-icon-CheckCircleOutline:before { - content: '\e692'; -} -.ant-icon-CloseCircleOutline:before { - content: '\e693'; -} -.ant-icon-SetOutline:before { - content: '\e694'; -} -.ant-icon-QuestionCircleFill:before { - content: '\e695'; -} -.ant-icon-QuestionCircleOutline:before { - content: '\e696'; -} -.ant-icon-UpCircleOutline:before { - content: '\e697'; -} -.ant-icon-FrownOutline:before { - content: '\e698'; -} -.ant-icon-DownCircleOutline:before { - content: '\e699'; -} -.ant-icon-ExclamationCircleOutline:before { - content: '\e69a'; -} -.ant-icon-MinusCircleOutline:before { - content: '\e69b'; -} -.ant-icon-RedoOutline:before { - content: '\e69c'; -} -.ant-icon-UndoOutline:before { - content: '\e69d'; -} -.ant-icon-EyeInvisibleOutline:before { - content: '\e69e'; -} -.ant-icon-ForbidFill:before { - content: '\e69f'; -} -.ant-icon-PicturesOutline:before { - content: '\e6a0'; -} -.ant-icon-PictureOutline:before { - content: '\e6a1'; -} -.ant-icon-PictureWrongOutline:before { - content: '\e6a2'; -} -.ant-icon-EyeOutline:before { - content: '\e6a3'; -} -.ant-icon-AddCircleOutline:before { - content: '\e6a4'; -} -.ant-icon-ClockCircleFill:before { - content: '\e6a5'; -} -.ant-icon-ClockCircleOutline:before { - content: '\e6a6'; -} -.ant-icon-BellMuteOutline:before { - content: '\e6a7'; -} -.ant-icon-KeyOutline:before { - content: '\e6a8'; -} -.ant-icon-BellOutline:before { - content: '\e6a9'; -} -.ant-icon-SearchOutline:before { - content: '\e6aa'; -} -.ant-icon-CollectMoneyOutline:before { - content: '\e6ab'; -} -.ant-icon-UnorderedListOutline:before { - content: '\e6ac'; -} -.ant-icon-AppstoreOutline:before { - content: '\e6ad'; -} -.ant-icon-ExclamationTriangleOutline:before { - content: '\e6ae'; -} -.ant-icon-AddOutline:before { - content: '\e6af'; -} -.ant-icon-ScanningOutline:before { - content: '\e6b0'; -} -.ant-icon-ScanCodeOutline:before { - content: '\e6b1'; -} -.ant-icon-ExclamationOutline:before { - content: '\e6b2'; -} -.ant-icon-CloseOutline:before { - content: '\e6b3'; -} -.ant-icon-ScanningFaceOutline:before { - content: '\e6b4'; -} -.ant-icon-LeftOutline:before { - content: '\e6b5'; -} -.ant-icon-DownOutline:before { - content: '\e6b6'; -} -.ant-icon-UpOutline:before { - content: '\e6b7'; -} -.ant-icon-RightOutline:before { - content: '\e6b8'; -} -.ant-icon-KoubeiOutline:before { - content: '\e6b9'; -} -.ant-icon-KoubeiFill:before { - content: '\e6ba'; -} -.ant-icon-AAOutline:before { - content: '\e6bb'; -} -.ant-icon-ArrowDownCircleOutline:before { - content: '\e6bc'; -} -.ant-icon-MovieOutline:before { - content: '\e6bd'; -} -.ant-icon-CompassOutline:before { - content: '\e6be'; -} -.ant-icon-LoopOutline:before { - content: '\e6bf'; -} -.ant-icon-TextOutline:before { - content: '\e6c0'; -} -.ant-icon-TagOutline:before { - content: '\e6c1'; -} -.ant-icon-FlagOutline:before { - content: '\e6c2'; -} -.ant-icon-EnvironmentOutline:before { - content: '\e6c3'; -} -.ant-icon-CalendarOutline:before { - content: '\e6c4'; -} -.ant-icon-LocationFill:before { - content: '\e6c5'; -} -.ant-icon-PhoneFill:before { - content: '\e6c6'; -} -.ant-icon-PhonebookOutline:before { - content: '\e6c7'; -} -.ant-icon-SmileOutline:before { - content: '\e6c8'; -} -.ant-icon-UserAddOutline:before { - content: '\e6c9'; -} -.ant-icon-FileWrongOutline:before { - content: '\e6ca'; -} -.ant-icon-SoundMuteFill:before { - content: '\e6cb'; -} -.ant-icon-SoundMuteOutline:before { - content: '\e6cc'; -} -.ant-icon-LockOutline:before { - content: '\e6cd'; -} -.ant-icon-UnlockOutline:before { - content: '\e6ce'; -} -.ant-icon-EditSOutline:before { - content: '\e6cf'; -} -.ant-icon-UploadOutline:before { - content: '\e6d0'; -} -.ant-icon-SoundOutline:before { - content: '\e6d1'; -} -.ant-icon-DownlandOutline:before { - content: '\e6d2'; -} -.ant-icon-SendOutline:before { - content: '\e6d3'; -} -.ant-icon-FillinOutline:before { - content: '\e6d4'; -} -.ant-icon-AudioMutedOutline:before { - content: '\e6d5'; -} -.ant-icon-AudioOutline:before { - content: '\e6d6'; -} -.ant-icon-UserOutline:before { - content: '\e6d7'; -} -.ant-icon-UserContactOutline:before { - content: '\e6d8'; -} -.ant-icon-TeamOutline:before { - content: '\e6d9'; -} -.ant-icon-UserSetOutline:before { - content: '\e6da'; -} -.ant-icon-FileOutline:before { - content: '\e6db'; -} -.ant-icon-MailOutline:before { - content: '\e6dc'; -} -.ant-icon-TruckOutline:before { - content: '\e6dd'; -} -.ant-icon-MailOpenOutline:before { - content: '\e6de'; -} -.ant-icon-ChatCheckOutline:before { - content: '\e6df'; -} -.ant-icon-ChatAddOutline:before { - content: '\e6e0'; -} -.ant-icon-ChatWrongOutline:before { - content: '\e6e1'; -} -.ant-icon-PhonebookFill:before { - content: '\e6e2'; -} -.ant-icon-AddressBookFill:before { - content: '\e6e3'; -} -.ant-icon-CalculatorOutline:before { - content: '\e6e4'; -} -.ant-icon-PieOutline:before { - content: '\e6e5'; -} -.ant-icon-HandPayCircleOutline:before { - content: '\e6e6'; -} -.ant-icon-GiftOutline:before { - content: '\e6e7'; -} -.ant-icon-TransportQRcodeOutline:before { - content: '\e6e8'; -} -.ant-icon-FolderOutline:before { - content: '\e6e9'; -} -.ant-icon-AlipaySquareFill:before { - content: '\e6ea'; -} -.ant-icon-TravelOutline:before { - content: '\e6eb'; -} -.ant-icon-AppOutline:before { - content: '\e6ec'; -} -.ant-icon-HistogramOutline:before { - content: '\e6ed'; -} -.ant-icon-MailFill:before { - content: '\e6ee'; -} -.ant-icon-CameraOutline:before { - content: '\e6ef'; -} -.ant-icon-EditFill:before { - content: '\e6f0'; -} -.ant-icon-SystemQRcodeOutline:before { - content: '\e6f1'; -} -.ant-icon-LockFill:before { - content: '\e6f2'; -} -.ant-icon-AudioFill:before { - content: '\e6f3'; -} -.ant-icon-TeamFill:before { - content: '\e6f4'; -} -.ant-icon-FilterOutline:before { - content: '\e6f5'; -} -.ant-icon-EditSFill:before { - content: '\e6f6'; -} -.ant-icon-LikeOutline:before { - content: '\e6f7'; -} -.ant-icon-TextDeletionOutline:before { - content: '\e6f8'; -} -.ant-icon-StopOutline:before { - content: '\e6f9'; -} -.ant-icon-FingerdownOutline:before { - content: '\e6fa'; -} -.ant-icon-MessageFill:before { - content: '\e6fb'; -} -.ant-icon-LocationOutline:before { - content: '\e6fc'; -} -.ant-icon-ContentOutline:before { - content: '\e6fd'; -} -.ant-icon-ExclamationShieldFill:before { - content: '\e6fe'; -} -.ant-icon-ReceivePaymentOutline:before { - content: '\e6ff'; -} -.ant-icon-ExclamationShieldOutline:before { - content: '\e700'; -} -.ant-icon-AddSquareOutline:before { - content: '\e701'; -} -.ant-icon-CloseShieldOutline:before { - content: '\e702'; -} -.ant-icon-CheckShieldOutline:before { - content: '\e703'; -} -.ant-icon-CheckShieldFill:before { - content: '\e704'; -} -.ant-icon-ShopbagOutline:before { - content: '\e705'; -} -.ant-icon-MessageOutline:before { - content: '\e706'; -} diff --git a/compiled/wechat/src/Icon/props.js b/compiled/wechat/src/Icon/props.js deleted file mode 100644 index 72b778288..000000000 --- a/compiled/wechat/src/Icon/props.js +++ /dev/null @@ -1,3 +0,0 @@ -export var IconDefaultProps = { - type: '', -}; diff --git a/compiled/wechat/src/Icon/variable.wxss b/compiled/wechat/src/Icon/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/ImageIcon/index.js b/compiled/wechat/src/ImageIcon/index.js deleted file mode 100644 index 5297ec145..000000000 --- a/compiled/wechat/src/ImageIcon/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Component } from '../_util/simply'; -Component({ - image: '', -}); diff --git a/compiled/wechat/src/ImageIcon/index.json b/compiled/wechat/src/ImageIcon/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/ImageIcon/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/ImageIcon/index.wxml b/compiled/wechat/src/ImageIcon/index.wxml deleted file mode 100644 index bc3a16b5c..000000000 --- a/compiled/wechat/src/ImageIcon/index.wxml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/ImageIcon/index.wxs b/compiled/wechat/src/ImageIcon/index.wxs deleted file mode 100644 index 9a1fa60c1..000000000 --- a/compiled/wechat/src/ImageIcon/index.wxs +++ /dev/null @@ -1,7 +0,0 @@ -var iconTypes = ['MinusOutline', 'AlipayCircleFill', 'CheckCircleFill', 'FireFill', 'FaceRecognitionOutline', 'StarFill', 'EyeInvisibleFill', 'SmileFill', 'FrownFill', 'BankcardOutline', 'HeartOutline', 'EyeFill', 'HeartFill', 'DownFill', 'CloseCircleFill', 'VideoOutline', 'CouponOutline', 'ReceiptOutline', 'AntOutline', 'UserCircleOutline', 'PayCircleOutline', 'BillOutline', 'PlayOutline', 'PayOutline', 'MoreOutline', 'ShrinkOutline', 'ArrowsAltOutline', 'StarOutline', 'CheckOutline', 'DeleteOutline', 'LinkOutline', 'InformationCircleOutline', 'GlobalOutline', 'InformationCircleFill', 'ExclamationCircleFill', 'CheckCircleOutline', 'CloseCircleOutline', 'SetOutline', 'QuestionCircleFill', 'QuestionCircleOutline', 'UpCircleOutline', 'FrownOutline', 'DownCircleOutline', 'ExclamationCircleOutline', 'MinusCircleOutline', 'RedoOutline', 'UndoOutline', 'EyeInvisibleOutline', 'ForbidFill', 'PicturesOutline', 'PictureOutline', 'PictureWrongOutline', 'EyeOutline', 'AddCircleOutline', 'ClockCircleFill', 'ClockCircleOutline', 'BellMuteOutline', 'KeyOutline', 'BellOutline', 'SearchOutline', 'CollectMoneyOutline', 'UnorderedListOutline', 'AppstoreOutline', 'ExclamationTriangleOutline', 'AddOutline', 'ScanningOutline', 'ScanCodeOutline', 'ExclamationOutline', 'CloseOutline', 'ScanningFaceOutline', 'LeftOutline', 'DownOutline', 'UpOutline', 'RightOutline', 'KoubeiOutline', 'KoubeiFill', 'AAOutline', 'ArrowDownCircleOutline', 'MovieOutline', 'CompassOutline', 'LoopOutline', 'TextOutline', 'TagOutline', 'FlagOutline', 'EnvironmentOutline', 'CalendarOutline', 'LocationFill', 'PhoneFill', 'PhonebookOutline', 'SmileOutline', 'UserAddOutline', 'FileWrongOutline', 'SoundMuteFill', 'SoundMuteOutline', 'LockOutline', 'UnlockOutline', 'EditSOutline', 'UploadOutline', 'SoundOutline', 'DownlandOutline', 'SendOutline', 'FillinOutline', 'AudioMutedOutline', 'AudioOutline', 'UserOutline', 'UserContactOutline', 'TeamOutline', 'UserSetOutline', 'FileOutline', 'MailOutline', 'TruckOutline', 'MailOpenOutline', 'ChatCheckOutline', 'ChatAddOutline', 'ChatWrongOutline', 'PhonebookFill', 'AddressBookFill', 'CalculatorOutline', 'PieOutline', 'HandPayCircleOutline', 'GiftOutline', 'TransportQRcodeOutline', 'FolderOutline', 'AlipaySquareFill', 'TravelOutline', 'AppOutline', 'HistogramOutline', 'MailFill', 'CameraOutline', 'EditFill', 'SystemQRcodeOutline', 'LockFill', 'AudioFill', 'TeamFill', 'FilterOutline', 'EditSFill', 'LikeOutline', 'TextDeletionOutline', 'StopOutline', 'FingerdownOutline', 'MessageFill', 'LocationOutline', 'ContentOutline', 'ExclamationShieldFill', 'ReceivePaymentOutline', 'ExclamationShieldOutline', 'AddSquareOutline', 'CloseShieldOutline', 'CheckShieldOutline', 'CheckShieldFill', 'ShopbagOutline', 'MessageOutline']; -var isIcon = function isIcon(src) { - return iconTypes.indexOf(src) > -1; -}; -module.exports = { - isIcon: isIcon -}; \ No newline at end of file diff --git a/compiled/wechat/src/ImageIcon/props.js b/compiled/wechat/src/ImageIcon/props.js deleted file mode 100644 index 5c91e34e6..000000000 --- a/compiled/wechat/src/ImageIcon/props.js +++ /dev/null @@ -1,3 +0,0 @@ -export var ImageIconDefaultProps = { - image: '', -}; diff --git a/compiled/wechat/src/ImageUpload/index.en.md b/compiled/wechat/src/ImageUpload/index.en.md deleted file mode 100644 index 50f26658e..000000000 --- a/compiled/wechat/src/ImageUpload/index.en.md +++ /dev/null @@ -1,280 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry -toc: 'content' ---- - -# ImageUpload - -It is used to upload pictures to the server, and briefly display the information of the uploaded files and provide preview function. Use when you need to upload local pictures or photos to the server. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-uploader": "antd-mini/es/ImageUpload/index" -#endif -#if WECHAT - "ant-uploader": "antd-mini/ImageUpload/index" -#endif -} -``` - -## Code example - -### Basic use - -> `onBeforeUpload`、`onUpload` Function Receive `LocalFile`, you can customize the upload-related business logic.`preview` The event is triggered by clicking on the uploaded picture and can be coordinated [my.previewimage](https://opendocs.alipay.com/mini/api/media/image/my.previewimage) Realize the picture preview.`change` event will be triggered when the list of uploaded files changes. - -```xml - -``` - -```js -Page({ - data: { - defaultFileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif - }, - onChange(fileList) { - console.log('图片列表:', fileList); - }, - onPreview(file) { - console.log('preview', file); - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif -}); -``` - -### Controlled Mode - -> `fileList`and `change` Events cooperate to achieve a controlled mode. If you want the component to trigger the upload logic externally, pass `ref` way to get the component instance and call the component. `chooseImage` method can be. - -```xml - - - Component External Trigger Upload Logic - -``` - -```js -Page({ - data: { - fileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - handleControlledChange(fileList) { -#if WECHAT - this.setData({ - fileList: fileList.detail, - }); -#endif -#if ALIPAY - this.setData({ - fileList, - }); -#endif - }, - handleUploaderRef(ref) { - console.log('handleUploaderRef', ref); -#if WECHAT - this.handleUploaderRef = ref.detail; -#endif -#if ALIPAY - this.handleUploaderRef = ref; -#endif - }, - upload() { - this.handleUploaderRef.chooseImage(); - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------- | -| className | Class Name | string | - | -| maxCount | Maximum number of uploaded images. See details in [maxCount](#maxcount) | number | - | -| defaultFileList | File List Initial Value | [File](#file)[] | [] | -| sourceType | Upload the selected source. Optional `['album']`、`['camera']` or `['album', 'camera']` | string[] | ['album', 'camera'] | -| style | Style | string | - | -| uploadingText | Prompt copy in upload | string | 'Uploading......' | -| uploadfailedText | Prompt copy for upload failure | string | 'Upload failed' | -| fileList | File List (Controlled) | [File](#file)[] | - | -| imageMode | Picture zoom mode and crop mode. See details in [Image Mode Description](https://opendocs.alipay.com/mini/component/image#mode) | string | scaleToFill | -| onBeforeUpload | The hook before uploading the file. The parameter is the list of uploaded files. If false is returned, the upload is stopped. You can return a Promise object. If you Promise a reject object, the upload is stopped and the upload is started when it is resolve (resolve the modified localFileList is passed in). | (localFileList: [localFile](#localfile)[]) => boolean \| Promise<[localFile](#localfile)[]> | - | -| onChooseImageError | Select the picture failure callback. See details in [onChooseImageError](###onChooseImageError) | (err) => void | - | -| onUpload | Image upload method. See details in [onUpload](#onupload) | (localFile: [LocalFile](#localfile)) => Promise\ | - | -| onRemove | Click the callback when removing files. Does not remove if the return value is false. Support to return a Promise object, Promise object resolve(false) or reject does not remove | (file: [File](#file)) => boolean \| Promise\ | - | -| #if ALIPAY onChange | Triggered when the list of uploaded files changes | (fileList: [File](#file)[]) => void | - | -| #if ALIPAY onPreview | Triggered when an image is clicked | (file: [File](#file)[]) => void | - | -| #if WECHAT bind:change | Triggered when the list of uploaded files changes | (fileList: [File](#file)[]) => void | - | -| #if WECHAT bind:preview | Triggered when an image is clicked | (file: [File](#file)[]) => void | - | - -### File - -| Parameters | Description | Type | Default Value | -| ------ | ------------------------------------------------------------------------------ | ------ | ------ | -| url | image url | string | - | -| status | Upload status. Optional `uploading`(Uploading),`done`(upload complete) or `error`(Upload failed) | string | - | -| uid | The unique identifier. Automatically generated when not set | string | - | -| path | Local Image Path | string | - | -| size | Local image size. Some models may not return this attribute | number | - | - -### LocalFile - -| Parameters | Description | Type | Default Value | -| ---- | ------------------------------------------ | ------ | ------ | -| path | Local Image Path | string | - | -| size | Local image size. Some models may not return this attribute | number | - | - -### onUpload - -`onUpload` Method Receive `LocalFile`Return in the Promise. `File`. The following is the call [my.uploadFile](https://opendocs.alipay.com/mini/api/kmq4hc) Sample code for uploading: - -```js -onUpload(localFile) { - return new Promise((resolve, reject) => { - my.uploadFile({ - url: 'https://...', // 请替换成有效的服务端 url - fileType: 'image', - name: 'userfile', // 根据后台服务需求替换 - filePath: localFile.path, // 传入 localFile.path - formData: { extra: '其他信息' }, // 根据后台服务需求替换 - success: res => { - // 根据后台返回,得到上传成功的image url - const { url } = JSON.parse(res.data); - resolve(url); // 调用 resolve 传入image url - }, - fail: err => { - reject(); // 上传错误调用 reject - }, - }); - }); -} -``` - -### onChooseImageError - -Selecting a picture may fail,`onChooseImageError` can get errors, you can view [my.chooseImage Error Code](https://opendocs.alipay.com/mini/api/media/image/my.chooseimage#%E9%94%99%E8%AF%AF%E7%A0%81)。 - -```js -onChooseImageError(err) { - console.log(err); -} -``` - -### maxCount - -1. `maxCount` Indicates the maximum number of pictures that can be uploaded, and does not transmit means unlimited. Since the small program selection picture interface has an upper limit of one-time selection of pictures, if `maxCount` More than this limit, multiple uploads are required. For example,`maxCount="{{10}}"`, 10 pictures are allowed to be uploaded. Users need to upload 9 pictures first and then 1 picture. -2. `maxCount` No restrictions `defaultFileList` and `fileList`. For example,`maxCount` 1, and `defaultFileList` Contains 2 images, will not reduce `defaultFileList` in the picture. The upload button is hidden. - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| --image-upload-cover-background |
rgba(0, 0, 0, 0.4)
|
rgba(0, 0, 0, 0.4)
| Image upload cover background color (overlay) | -| --image-upload-wrapper-background |
#f5f5f5
|
#121212
| Picture upload package background color | -| --image-upload-text-color |
#ffffff
|
#ffffff
| Image upload text color | -| --image-upload-background-color |
rgba(0, 0, 0, 0.4)
|
#1a1a1a
| Image upload background color | diff --git a/compiled/wechat/src/ImageUpload/index.js b/compiled/wechat/src/ImageUpload/index.js deleted file mode 100644 index 75de1e3d1..000000000 --- a/compiled/wechat/src/ImageUpload/index.js +++ /dev/null @@ -1,303 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { effect } from '@preact/signals-core'; -import createValue from '../mixins/value'; -import { chooseImage } from '../_util/jsapi/choose-image'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, } from '../_util/simply'; -import i18nController from '../_util/store'; -import { UploaderDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, UploaderDefaultProps, { - chooseImage: function () { - return __awaiter(this, void 0, void 0, function () { - var _a, onBeforeUpload, onUpload, onChooseImageError, fileList, _b, maxCount, sourceType, localFileList, chooseImageRes, err_1, beforeUploadRes, err_2, tasks; - var _this = this; - return __generator(this, function (_c) { - switch (_c.label) { - case 0: - _a = getValueFromProps(this, ['onBeforeUpload', 'onUpload', 'onChooseImageError']), onBeforeUpload = _a[0], onUpload = _a[1], onChooseImageError = _a[2]; - if (!onUpload) { - throw new Error('need props onUpload'); - } - fileList = this.getValue(); - _b = getValueFromProps(this, [ - 'maxCount', - 'sourceType', - ]), maxCount = _b[0], sourceType = _b[1]; - _c.label = 1; - case 1: - _c.trys.push([1, 3, , 4]); - return [4 /*yield*/, chooseImage({ - count: typeof maxCount === 'undefined' - ? Infinity - : maxCount - fileList.length, - sourceType: sourceType, - })]; - case 2: - chooseImageRes = _c.sent(); - localFileList = (chooseImageRes.tempFiles || - chooseImageRes.tempFilePaths || - chooseImageRes.apFilePaths || - chooseImageRes.filePaths || - []) - .map(function (item) { - if (typeof item === 'string') { - return { - path: item, - }; - } - if (item.path) { - return { - path: item.path, - size: item.size, - }; - } - }) - .filter(function (item) { return !!item; }); - return [3 /*break*/, 4]; - case 3: - err_1 = _c.sent(); - onChooseImageError(err_1); - return [2 /*return*/]; - case 4: - if (!onBeforeUpload) return [3 /*break*/, 8]; - _c.label = 5; - case 5: - _c.trys.push([5, 7, , 8]); - return [4 /*yield*/, onBeforeUpload(localFileList)]; - case 6: - beforeUploadRes = _c.sent(); - if (beforeUploadRes === false) { - return [2 /*return*/]; - } - if (Array.isArray(beforeUploadRes)) { - localFileList = beforeUploadRes; - } - return [3 /*break*/, 8]; - case 7: - err_2 = _c.sent(); - return [2 /*return*/]; - case 8: - tasks = localFileList.map(function (file) { return _this.uploadFile(file); }); - return [4 /*yield*/, Promise.all(tasks)]; - case 9: - _c.sent(); - return [2 /*return*/]; - } - }); - }); - }, - uploadFile: function (localFile) { - return __awaiter(this, void 0, void 0, function () { - var onUpload, uid, tempFileList, url, err_3; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - onUpload = getValueFromProps(this, 'onUpload'); - uid = this.getCount(); - tempFileList = __spreadArray(__spreadArray([], this.getValue(), true), [ - { - path: localFile.path, - size: localFile.size, - uid: uid, - status: 'uploading', - }, - ], false); - if (!this.isControlled()) { - this.update(tempFileList); - } - triggerEvent(this, 'change', tempFileList); - _a.label = 1; - case 1: - _a.trys.push([1, 3, , 4]); - return [4 /*yield*/, onUpload(localFile)]; - case 2: - url = _a.sent(); - if (typeof url !== 'string' || !url) { - this.updateFile(uid, { - status: 'error', - }); - return [2 /*return*/]; - } - this.updateFile(uid, { - status: 'done', - url: url, - }); - return [3 /*break*/, 4]; - case 3: - err_3 = _a.sent(); - this.updateFile(uid, { - status: 'error', - }); - return [3 /*break*/, 4]; - case 4: return [2 /*return*/]; - } - }); - }); - }, - updateFile: function (uid, file) { - var fileList = this.getValue(); - var tempFileList = fileList.map(function (item) { - if (item.uid === uid) { - return __assign(__assign({}, item), file); - } - return item; - }); - if (!this.isControlled()) { - this.update(tempFileList); - } - triggerEvent(this, 'change', tempFileList); - }, - onRemove: function (e) { - return __awaiter(this, void 0, void 0, function () { - var fileList, onRemove, uid, file, result, tempFileList; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - fileList = this.getValue(); - onRemove = getValueFromProps(this, 'onRemove'); - uid = e.currentTarget.dataset.uid; - file = fileList.find(function (item) { return item.uid === uid; }); - if (!onRemove) return [3 /*break*/, 2]; - return [4 /*yield*/, onRemove(file)]; - case 1: - result = _a.sent(); - if (result === false) { - return [2 /*return*/]; - } - _a.label = 2; - case 2: - tempFileList = fileList.filter(function (item) { return item.uid !== uid; }); - if (!this.isControlled()) { - this.update(tempFileList); - } - triggerEvent(this, 'change', tempFileList); - return [2 /*return*/]; - } - }); - }); - }, - onPreview: function (e) { - var uid = e.currentTarget.dataset.uid; - var fileList = this.getValue(); - var file = fileList.find(function (item) { return item.uid === uid; }); - triggerEvent(this, 'preview', file); - }, - updateShowUploadButton: function () { - var maxCount = getValueFromProps(this, 'maxCount'); - this.setData({ - showUploadButton: !maxCount || this.getValue().length < maxCount, - }); - }, - count: 0, - getCount: function () { - // 使用 Date.now() 与 useId 作为前缀,防止每次前缀都相同 - this.count = (this.count || 0) + 1; - // 使用 Date.now() 与 useId 作为前缀,防止每次前缀都相同 - var id = this.id; - var prefix = id + '-' + Date.now(); - return "".concat(prefix, "-").concat(this.count); - }, -}, null, [ - createValue({ - defaultValueKey: 'defaultFileList', - valueKey: 'fileList', - transformValue: function (fileList) { - var _this = this; - if (fileList === void 0) { fileList = []; } - return { - needUpdate: true, - value: (fileList || []).map(function (item) { - var file = __assign({}, item); - if (typeof item.url === 'undefined') { - file.url = ''; - } - if (typeof item.uid === 'undefined') { - file.uid = _this.getCount(); - } - if (typeof item.status === 'undefined') { - file.status = 'done'; - } - return file; - }), - }; - }, - }), -], { - attached: function () { - this.triggerEvent('ref', this); - this.updateShowUploadButton(); - this._prevData = this.data; - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - if (!this.isEqualValue(prevData)) { - this.updateShowUploadButton(); - } - }, - }, -}); diff --git a/compiled/wechat/src/ImageUpload/index.json b/compiled/wechat/src/ImageUpload/index.json deleted file mode 100644 index 64e74facc..000000000 --- a/compiled/wechat/src/ImageUpload/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "loading": "../Loading/index" - } -} diff --git a/compiled/wechat/src/ImageUpload/index.md b/compiled/wechat/src/ImageUpload/index.md deleted file mode 100644 index 2c7470c1f..000000000 --- a/compiled/wechat/src/ImageUpload/index.md +++ /dev/null @@ -1,280 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 -toc: 'content' ---- - -# ImageUpload 图片上传 - -用于将图片上传到服务器,并简略展示上传文件的信息及提供预览功能。需要将本地图片或拍照后上传到服务器时使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-uploader": "antd-mini/es/ImageUpload/index" -#endif -#if WECHAT - "ant-uploader": "antd-mini/ImageUpload/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `onBeforeUpload`、`onUpload` 函数接收 `LocalFile`,可以定制上传相关业务逻辑。`preview` 事件是点击已上传图片触发,可以配合 [my.previewimage](https://opendocs.alipay.com/mini/api/media/image/my.previewimage) 实现图片预览。`change` 事件则将在已上传的文件列表变化时触发。 - -```xml - -``` - -```js -Page({ - data: { - defaultFileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif - }, - onChange(fileList) { - console.log('图片列表:', fileList); - }, - onPreview(file) { - console.log('preview', file); - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, - onBeforeUpload(localFileList) { - console.log('即将上传的图片列表为:', localFileList); - localFileList = localFileList.filter((item) => item.size < 10000); - console.log('修改上传的图片列表为:', localFileList); - return localFileList; - }, -#endif -}); -``` - -### 受控模式 - -> `fileList`和 `change` 事件配合实现受控模式。想要组件外部触发上传逻辑,通过 `ref` 的方式拿到组件实例,并调用组件中的 `chooseImage` 方法即可。 - -```xml - - - 组件外部触发上传逻辑 - -``` - -```js -Page({ - data: { - fileList: [{ url: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*znK_ToIL8rQAAAAAAAAAAAAAARQnAQ', status: 'done' }], -#if WECHAT - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - }, -#if ALIPAY - onUpload(file) { - return new Promise((resolve) => { - console.log('上传的图片为:', file); - setTimeout(() => { - resolve( - 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*5m0ZQYhxhjEAAAAAAAAAAAAAARQnAQ' - ); - }, 2000); - }); - }, -#endif - handleControlledChange(fileList) { -#if WECHAT - this.setData({ - fileList: fileList.detail, - }); -#endif -#if ALIPAY - this.setData({ - fileList, - }); -#endif - }, - handleUploaderRef(ref) { - console.log('handleUploaderRef', ref); -#if WECHAT - this.handleUploaderRef = ref.detail; -#endif -#if ALIPAY - this.handleUploaderRef = ref; -#endif - }, - upload() { - this.handleUploaderRef.chooseImage(); - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------- | -| className | 类名 | string | - | -| maxCount | 上传图片限制的最大数量。详见 [maxCount](#maxcount) | number | - | -| defaultFileList | 文件列表初始值 | [File](#file)[] | [] | -| sourceType | 上传选择的来源。可选 `['album']`、`['camera']` 或 `['album', 'camera']` | string[] | ['album', 'camera'] | -| style | 样式 | string | - | -| uploadingText | 上传中提示文案 | string | '上传中……' | -| uploadfailedText | 上传失败提示文案 | string | '上传失败' | -| fileList | 文件列表(受控) | [File](#file)[] | - | -| imageMode | 图片缩放模式和裁剪模式。详见 [图片 mode 说明](https://opendocs.alipay.com/mini/component/image#mode) | string | scaleToFill | -| onBeforeUpload | 上传文件之前的钩子。参数为上传的文件列表,若返回 false 则停止上传。支持返回一个 Promise 对象,Promise 对象 reject 时则停止上传,resolve 时开始上传(resolve 传入修改后的 localFileList) | (localFileList: [localFile](#localfile)[]) => boolean \| Promise<[localFile](#localfile)[]> | - | -| onChooseImageError | 选择图片失败回调。详见 [onChooseImageError](###onChooseImageError) | (err) => void | - | -| onUpload | 图片上传方法。详见 [onUpload](#onupload) | (localFile: [LocalFile](#localfile)) => Promise\ | - | -| onRemove | 点击移除文件时的回调。返回值为 false 时不移除。支持返回一个 Promise 对象,Promise 对象 resolve(false) 或 reject 时不移除 | (file: [File](#file)) => boolean \| Promise\ | - | -| #if ALIPAY onChange | 已上传的文件列表变化时触发 | (fileList: [File](#file)[]) => void | - | -| #if ALIPAY onPreview | 点击图片时触发 | (file: [File](#file)[]) => void | - | -| #if WECHAT bind:change | 已上传的文件列表变化时触发 | (fileList: [File](#file)[]) => void | - | -| #if WECHAT bind:preview | 点击图片时触发 | (file: [File](#file)[]) => void | - | - -### File - -| 参数 | 说明 | 类型 | 默认值 | -| ------ | ------------------------------------------------------------------------------ | ------ | ------ | -| url | 图片 url | string | - | -| status | 上传状态。可选 `uploading`(上传中)、`done`(上传完成)或 `error`(上传失败) | string | - | -| uid | 唯一标识符。不设置时会自动生成 | string | - | -| path | 本地图片路径 | string | - | -| size | 本地图片大小。有的机型可能没有返回这个属性 | number | - | - -### LocalFile - -| 参数 | 说明 | 类型 | 默认值 | -| ---- | ------------------------------------------ | ------ | ------ | -| path | 本地图片路径 | string | - | -| size | 本地图片大小。有的机型可能没有返回这个属性 | number | - | - -### onUpload - -`onUpload` 方法接收 `LocalFile`,在 Promise 里返回 `File`。以下是调用 [my.uploadFile](https://opendocs.alipay.com/mini/api/kmq4hc) 进行上传的示例代码: - -```js -onUpload(localFile) { - return new Promise((resolve, reject) => { - my.uploadFile({ - url: 'https://...', // 请替换成有效的服务端 url - fileType: 'image', - name: 'userfile', // 根据后台服务需求替换 - filePath: localFile.path, // 传入 localFile.path - formData: { extra: '其他信息' }, // 根据后台服务需求替换 - success: res => { - // 根据后台返回,得到上传成功的图片 url - const { url } = JSON.parse(res.data); - resolve(url); // 调用 resolve 传入图片 url - }, - fail: err => { - reject(); // 上传错误调用 reject - }, - }); - }); -} -``` - -### onChooseImageError - -选择图片可能会失败,`onChooseImageError` 可获取错误,可以查看 [my.chooseImage 错误码](https://opendocs.alipay.com/mini/api/media/image/my.chooseimage#%E9%94%99%E8%AF%AF%E7%A0%81)。 - -```js -onChooseImageError(err) { - console.log(err); -} -``` - -### maxCount - -1. `maxCount` 表示最多可以上传的图片数量,不传表示无限制。由于小程序选择图片界面有一次性选择图片的上限,如果 `maxCount` 大于此上限,则需要多次上传。例如,`maxCount="{{10}}"`,允许上传 10 张图片,用户需先上传 9 张,之后再上传 1 张。 -2. `maxCount` 不限制 `defaultFileList` 和 `fileList`。例如,`maxCount` 为 1,而 `defaultFileList` 包含 2 张图片,不会减少 `defaultFileList` 里的图片。上传按钮则会隐藏。 - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| --image-upload-cover-background |
rgba(0, 0, 0, 0.4)
|
rgba(0, 0, 0, 0.4)
| 图片上传封面背景颜色(覆盖) | -| --image-upload-wrapper-background |
#f5f5f5
|
#121212
| 图片上传包裹背景颜色 | -| --image-upload-text-color |
#ffffff
|
#ffffff
| 图片上传文本颜色 | -| --image-upload-background-color |
rgba(0, 0, 0, 0.4)
|
#1a1a1a
| 图片上传背景颜色 | diff --git a/compiled/wechat/src/ImageUpload/index.wxml b/compiled/wechat/src/ImageUpload/index.wxml deleted file mode 100644 index 7b0d726a3..000000000 --- a/compiled/wechat/src/ImageUpload/index.wxml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - {{u.isPropsEmpty(uploadingText) ? locale.imageUpload.uploadingText : uploadingText}} - - - - {{u.isPropsEmpty(uploadfailedText) ? locale.imageUpload.uploadfailedText : uploadfailedText}} - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/ImageUpload/index.wxss b/compiled/wechat/src/ImageUpload/index.wxss deleted file mode 100644 index cafb8207d..000000000 --- a/compiled/wechat/src/ImageUpload/index.wxss +++ /dev/null @@ -1,72 +0,0 @@ -.ant-image-upload { - display: flex; - flex-wrap: wrap; - background: var(--image-upload-background-color, #ffffff); -} -.ant-image-upload-show { - position: relative; -} -.ant-image-upload-image { - width: 160rpx; - height: 160rpx; - margin: 4rpx 8rpx; - border-radius: 8rpx; -} -.ant-image-upload-close { - width: 40rpx; - height: 40rpx; - position: absolute; - z-index: 99; - top: -4rpx; - right: 0; - background: url('https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*_Az1QavR4OsAAAAAAAAAAAAAARQnAQ') no-repeat; - background-size: cover; -} -.ant-image-upload-add-image-wrapper { - display: flex; - align-items: center; - justify-content: center; - width: 160rpx; - height: 160rpx; - margin: 4rpx 8rpx 12rpx; - background-color: var(--image-upload-wrapper-background, #f5f5f5); - border-radius: 8rpx; -} -.ant-image-upload-add-image-icon { - color: #999999; -} -.ant-image-upload-cover { - position: absolute; - width: 160rpx; - height: 160rpx; - margin: 4rpx 8rpx; - border-radius: 8rpx; - background-color: var(--image-upload-cover-background, rgba(0, 0, 0, 0.4)); - display: flex; - justify-content: center; - align-items: center; -} -.ant-image-upload-cover-loading { - text-align: center; -} -.ant-image-upload-cover-loading-icon { - width: 48rpx; - height: 48rpx; -} -.ant-image-upload-cover-loading-text { - color: var(--image-upload-text-color, #ffffff); - font-size: 24rpx; - margin-top: 8rpx; -} -.ant-image-upload-cover-error { - text-align: center; -} -.ant-image-upload-cover-error-icon { - font-size: 48rpx; - color: var(--image-upload-text-color, #ffffff); -} -.ant-image-upload-cover-error-text { - color: var(--image-upload-text-color, #ffffff); - font-size: 24rpx; - margin-top: 8rpx; -} diff --git a/compiled/wechat/src/ImageUpload/props.js b/compiled/wechat/src/ImageUpload/props.js deleted file mode 100644 index 456b898b9..000000000 --- a/compiled/wechat/src/ImageUpload/props.js +++ /dev/null @@ -1,12 +0,0 @@ -export var UploaderDefaultProps = { - defaultFileList: [], - fileList: null, - maxCount: null, - imageMode: 'scaleToFill', - sourceType: ['camera', 'album'], - onUpload: null, - onBeforeUpload: null, - onRemove: null, - uploadingText: null, - uploadfailedText: null, -}; diff --git a/compiled/wechat/src/ImageUpload/variable.wxss b/compiled/wechat/src/ImageUpload/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Input/InputBlur/index.js b/compiled/wechat/src/Input/InputBlur/index.js deleted file mode 100644 index 18ee4d66f..000000000 --- a/compiled/wechat/src/Input/InputBlur/index.js +++ /dev/null @@ -1,46 +0,0 @@ -import mixinValue from '../../mixins/value'; -import { Component, triggerEvent } from '../../_util/simply'; -import { InputBlurDefaultProps } from './props'; -Component(InputBlurDefaultProps, { - onChange: function (e) { - var value = e.detail.value; - if (this.isControlled()) { - this.update(value, {}, true); - } - triggerEvent(this, 'change', value, e); - }, - onFocus: function (e) { - var value = e.detail.value; - this.focus = true; - triggerEvent(this, 'focus', value, e); - }, - onBlur: function (e) { - var value = e.detail.value; - this.focus = false; - if (this.isControlled()) { - this.update(this.props.value); - } - triggerEvent(this, 'blur', value, e); - }, - onConfirm: function (e) { - var value = e.detail.value; - triggerEvent(this, 'confirm', value, e); - }, -}, undefined, [ - mixinValue({ - scopeKey: 'state', - transformValue: function (value, extra, updateWithoutFocusCheck) { - if (value === null || (!updateWithoutFocusCheck && this.focus)) { - return { - needUpdate: false, - }; - } - return { - needUpdate: true, - value: value, - }; - }, - }), -], { - focus: false, -}); diff --git a/compiled/wechat/src/Input/InputBlur/index.json b/compiled/wechat/src/Input/InputBlur/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Input/InputBlur/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Input/InputBlur/index.wxml b/compiled/wechat/src/Input/InputBlur/index.wxml deleted file mode 100644 index 27d799023..000000000 --- a/compiled/wechat/src/Input/InputBlur/index.wxml +++ /dev/null @@ -1,26 +0,0 @@ - \ No newline at end of file diff --git a/compiled/wechat/src/Input/InputBlur/props.js b/compiled/wechat/src/Input/InputBlur/props.js deleted file mode 100644 index 8efdb41a6..000000000 --- a/compiled/wechat/src/Input/InputBlur/props.js +++ /dev/null @@ -1,25 +0,0 @@ -export var InputBlurDefaultProps = { - value: null, - defaultValue: null, - placeholder: null, - placeholderClassName: '', - placeholderStyle: '', - enableNative: null, - confirmType: null, - confirmHold: null, - alwaysSystem: null, - selectionStart: null, - selectionEnd: null, - cursor: null, - controlled: null, - inputClassName: null, - inputStyle: null, - focus: null, - password: null, - disabled: null, - name: null, - type: null, - randomNumber: null, - // 微信小程序的 maxLength 需要为 -1 才能不限制输入长度。 不能传 null - maxLength: -1, -}; diff --git a/compiled/wechat/src/Input/Textarea/index.js b/compiled/wechat/src/Input/Textarea/index.js deleted file mode 100644 index bbb7b197e..000000000 --- a/compiled/wechat/src/Input/Textarea/index.js +++ /dev/null @@ -1,53 +0,0 @@ -import { effect } from '@preact/signals-core'; -import mixinValue from '../../mixins/value'; -import { ComponentWithSignalStoreImpl, triggerEvent } from '../../_util/simply'; -import i18nController from '../../_util/store'; -import { TextareaDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, TextareaDefaultProps, { - onChange: function (e) { - var value = e.detail.value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - onFocus: function (e) { - var value = e.detail.value; - this.setData({ - selfFocus: true, - }); - triggerEvent(this, 'focus', value, e); - }, - onBlur: function (e) { - var value = e.detail.value; - this.setData({ - selfFocus: false, - }); - triggerEvent(this, 'blur', value, e); - }, - onConfirm: function (e) { - var value = e.detail.value; - triggerEvent(this, 'confirm', value, e); - }, - onClear: function (e) { - if (!this.isControlled()) { - this.update(''); - } - triggerEvent(this, 'change', '', e); - }, -}, { - selfFocus: false, -}, [mixinValue({ scopeKey: 'state' })], { - attached: function () { - this.triggerEvent('ref', this); - }, -}); diff --git a/compiled/wechat/src/Input/Textarea/index.json b/compiled/wechat/src/Input/Textarea/index.json deleted file mode 100644 index 97554de27..000000000 --- a/compiled/wechat/src/Input/Textarea/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../../Icon/index" - } -} diff --git a/compiled/wechat/src/Input/Textarea/index.wxml b/compiled/wechat/src/Input/Textarea/index.wxml deleted file mode 100644 index 67b1a7975..000000000 --- a/compiled/wechat/src/Input/Textarea/index.wxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Input/Textarea/index.wxss b/compiled/wechat/src/Input/Textarea/index.wxss deleted file mode 100644 index 41b183624..000000000 --- a/compiled/wechat/src/Input/Textarea/index.wxss +++ /dev/null @@ -1,54 +0,0 @@ -.ant-textarea { - display: flex; - align-items: center; - background: var(--input-background-color, #ffffff); -} -.ant-textarea-disabled { - opacity: 0.4; -} -.ant-textarea-line { - position: relative; - flex: 1; - display: flex; - align-items: center; - overflow: hidden; -} -.ant-textarea-content { - width: 100%; - align-self: center; - padding: 0; - font-size: 34rpx; - text-align: left; - color: var(--input-item-color, #333333); - background: var(--input-background-color, #ffffff); -} -.ant-textarea-content-clear { - padding-right: 34rpx; -} -.ant-textarea-clear { - position: absolute; - top: 0; - right: 0; - z-index: 2; - display: flex; - justify-content: center; - align-items: center; - border-radius: 16rpx; - margin-left: 8rpx; -} -.ant-textarea-clear-icon { - color: var(--input-item-placeholder-color, #cccccc); - font-size: 34rpx; -} -.ant-textarea-clear-show { - display: flex; -} -.ant-textarea-clear-hidden { - display: none; - pointer-events: none; -} -.ant-textarea-placeholder { - font-size: 34rpx; - color: var(--input-item-placeholder-color, #cccccc); - margin-left: -6rpx; -} diff --git a/compiled/wechat/src/Input/Textarea/props.js b/compiled/wechat/src/Input/Textarea/props.js deleted file mode 100644 index 400d49065..000000000 --- a/compiled/wechat/src/Input/Textarea/props.js +++ /dev/null @@ -1,26 +0,0 @@ -export var TextareaDefaultProps = { - value: null, - defaultValue: null, - placeholder: null, - placeholderClassName: null, - placeholderStyle: null, - autoHeight: null, - showCount: null, - allowClear: null, - controlled: null, - enableNative: false, - inputClassName: null, - disabled: null, - inputStyle: null, - focusStyle: null, - name: null, - confirmType: null, - focus: null, - confirmHold: null, - focusClassName: null, - maxLength: -1, - showConfirmBar: true, - holdKeyboard: false, - disableDefaultPadding: false, - adjustKeyboardTo: 'cursor', -}; diff --git a/compiled/wechat/src/Input/index.en.md b/compiled/wechat/src/Input/index.en.md deleted file mode 100644 index 917554ebb..000000000 --- a/compiled/wechat/src/Input/index.en.md +++ /dev/null @@ -1,290 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: content ---- - -# Input - -Through the keyboard input content, is the most basic form field packaging. Generally used in the form page for information collection. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-input": "antd-mini/es/Input/index", - "ant-textarea": "antd-mini/es/Input/Textarea/index" -#endif -#if WECHAT - "ant-input": "antd-mini/Input/index", - "ant-textarea": "antd-mini/Input/Textarea/index" -#endif -} -``` - -## Code example - -### Input basic usage - -```xml - - - - -``` - -### With Prefix and Suffix - -```xml - - - RMB - -``` - -### Controlled Mode - -```xml - -``` - -### Enter Amount - -```xml - - - RMB - -``` - -### SearchBar search box - -```xml - - - - - - Cancel - -``` - -```css -.search-line { - display: flex; - align-items: center; - padding: 16px; -} -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: #1677ff; - } -} -.cancel { - color: #fff; - margin-left: 8px; -} -``` - -### Textarea - -#### Basic Usage - -```xml - - -``` - -#### Controlled Mode - -```xml - -``` - -### Custom - -#### With border - -```xml - -``` - -```css -.custom { - border: 1px solid #ccc; - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} -``` - -#### Custom Background Color - -```xml - -``` - -```css -.custom-color { - margin-bottom: 12px; - input, - textarea { - padding: 4px; - background: #f5f5f5; - border-radius: 4px; - } -} -``` - -### Demo Code - - - -## API - -### Input, Textarea the same property - -| Property | Description | Type | Default Value | -| ----------------------- | ----------------------------------------------- | ------------------------------------- | ------ | -| className | Class Name | string | - | -| controlled | There are keyboard input problems, you can use `controlled="{{false}}"` | boolean | - | -| defaultValue | Initial value | string | - | -| disabled | Disable | boolean | false | -| maxLength | Maximum length | number | 140 | -| placeholder | Placeholder | string | - | -| style | Style | string | - | -| value | The value of the input box. Controlled mode. | string | - | -| #if ALIPAY onConfirm | This callback is triggered when the keyboard is clicked to complete | (value: string, event: Event) => void | - | -| #if ALIPAY onFocus | Trigger this callback when focused | (value: string, event: Event) => void | - | -| #if ALIPAY onBlur | Trigger this callback when out of focus | (value: string, event: Event) => void | - | -| #if ALIPAY onChange | This callback is triggered when input | (value: string, event: Event) => void | - | -| #if WECHAT bind:confirm | This callback is triggered when the keyboard is clicked to complete | (value: string, event: Event) => void | - | -| #if WECHAT bind:focus | Trigger this callback when focused | (value: string, event: Event) => void | - | -| #if WECHAT bind:blur | Trigger this callback when out of focus | (value: string, event: Event) => void | - | -| #if WECHAT bind:change | This callback is triggered when input | (value: string, event: Event) => void | - | - -### Input property - -| Property | Description | Type | Default Value | -| ------------ | ---------------------------------- | ------- | ------ | -| allowClear | You can click the clear icon to delete content | boolean | false | -| enableNative | Whether to use native | boolean | - | -| focus | Focus, View[Detailed Description](#input-focus) | boolean | - | -| password | Whether it is password type | boolean | false | -| prefix | input prefix | slot | - | -| suffix | input suffix | slot | - | - -### Textarea Properties - -| Property | Description | Type | Default Value | -| ------------ | ---------------- | ------- | ------ | -| autoHeight | Whether to increase automatically. | boolean | false | -| enableNative | Whether to use native | boolean | - | -| showCount | Show word count | boolean | true | - -### Input, Textarea More Same Properties - -- confirm-type -- name -- placeholder-class -- placeholder-style -- type - -[Input](https://opendocs.alipay.com/mini/component/input) -[Textarea](https://opendocs.alipay.com/mini/component/textarea) - -### Input focus - -To use the focus attribute, you need to add it to the app.json window. `"enableInPageRenderInput": "YES"`Otherwise, the keyboard cannot be opened in iOS. - -### Input, Textarea instance methods - -Instance methods require small programs `component2` Can be used. - -| Property | Description | Type | -| -------- | ------ | ----------------------- | -| update | Update Value | (value: string) => void | -| getValue | get value | () => string | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --input-item-color |
#333333
|
#c5cad1
| Input Text Color | -| --input-item-placeholder-color |
#cccccc
|
#474747
| Input item placeholder color | -| --input-item-clear-color |
#999999
|
#616161
| Input Clear Button Color | -| --input-background-color |
#ffffff
|
#1a1a1a
| Input Background Color | - -## FAQ - -### Input focus does not open the keyboard - -You need to add it to the app.json window. `"enableInPageRenderInput": "YES"`。 - -### Cursor problem with Input - -Can be viewed [This document](https://opendocs.alipay.com/mini/component/input#FAQ) Use `enableNative` property to resolve. - -### Keyboard problems using value controlled mode - -This is due [A known issue with input boxes](https://opendocs.alipay.com/mini/component/input#Bug%20%26%20Tip)。 - -The solution is to call the input update method in ref mode without using value controlled mode. - -```xml - - -``` - -```js -Page({ - handleRef(input) { -#if ALIPAY - this.input = input; -#endif -#if WECHAT - this.input = input.detail; -#endif - }, - clear() { - this.input.update(''); - }, -}); -``` - -Starting with v2.15.0, updating values via the update method is not supported in controlled mode. - -### Instance method not available - -need to use `component2`, for details see[ref Get Component Instance](https://opendocs.alipay.com/mini/framework/component-ref)。 diff --git a/compiled/wechat/src/Input/index.js b/compiled/wechat/src/Input/index.js deleted file mode 100644 index e214783d6..000000000 --- a/compiled/wechat/src/Input/index.js +++ /dev/null @@ -1,53 +0,0 @@ -import { effect } from '@preact/signals-core'; -import mixinValue from '../mixins/value'; -import { ComponentWithSignalStoreImpl, triggerEvent } from '../_util/simply'; -import i18nController from '../_util/store'; -import { InputDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, InputDefaultProps, { - onChange: function (e) { - var value = e.detail.value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, - onFocus: function (e) { - var value = e.detail.value; - this.setData({ - selfFocus: true, - }); - triggerEvent(this, 'focus', value, e); - }, - onBlur: function (e) { - var value = e.detail.value; - this.setData({ - selfFocus: false, - }); - triggerEvent(this, 'blur', value, e); - }, - onConfirm: function (e) { - var value = e.detail.value; - triggerEvent(this, 'confirm', value, e); - }, - onClear: function (e) { - if (!this.isControlled()) { - this.update(''); - } - triggerEvent(this, 'change', '', e); - }, -}, { - selfFocus: false, -}, [mixinValue({ scopeKey: 'state' })], { - attached: function () { - this.triggerEvent('ref', this); - }, -}); diff --git a/compiled/wechat/src/Input/index.json b/compiled/wechat/src/Input/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Input/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Input/index.md b/compiled/wechat/src/Input/index.md deleted file mode 100644 index 50177c0c1..000000000 --- a/compiled/wechat/src/Input/index.md +++ /dev/null @@ -1,290 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: content ---- - -# Input 输入框 - -通过键盘输入内容,是最基础的表单域包装。一般用在表单页进行信息的收集。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-input": "antd-mini/es/Input/index", - "ant-textarea": "antd-mini/es/Input/Textarea/index" -#endif -#if WECHAT - "ant-input": "antd-mini/Input/index", - "ant-textarea": "antd-mini/Input/Textarea/index" -#endif -} -``` - -## 代码示例 - -### Input 基本使用 - -```xml - - - - -``` - -### 带前缀后缀 - -```xml - - - RMB - -``` - -### 受控模式 - -```xml - -``` - -### 输入金额 - -```xml - - - RMB - -``` - -### SearchBar 搜索框 - -```xml - - - - - - 取消 - -``` - -```css -.search-line { - display: flex; - align-items: center; - padding: 16px; -} -.search-bar { - padding: 4px 0 4px 0; - border-radius: 4px; - border: 1px solid transparent; - transition: all 0.4s; - flex: 1; - - &-focus { - border-color: #1677ff; - } -} -.cancel { - color: #fff; - margin-left: 8px; -} -``` - -### Textarea - -#### 基础用法 - -```xml - - -``` - -#### 受控模式 - -```xml - -``` - -### 自定义 - -#### 带有边框 - -```xml - -``` - -```css -.custom { - border: 1px solid #ccc; - padding: 4px; - border-radius: 4px; - margin-bottom: 12px; -} -``` - -#### 自定义背景色 - -```xml - -``` - -```css -.custom-color { - margin-bottom: 12px; - input, - textarea { - padding: 4px; - background: #f5f5f5; - border-radius: 4px; - } -} -``` - -### Demo 代码 - - - -## API - -### Input、Textarea 相同的属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ----------------------------------------------- | ------------------------------------- | ------ | -| className | 类名 | string | - | -| controlled | 有键盘输入问题,可使用 `controlled="{{false}}"` | boolean | - | -| defaultValue | 初始值 | string | - | -| disabled | 是否禁用 | boolean | false | -| maxLength | 最大长度 | number | 140 | -| placeholder | 占位符 | string | - | -| style | 样式 | string | - | -| value | 输入框的值。受控模式。 | string | - | -| #if ALIPAY onConfirm | 点击键盘完成时触发此回调 | (value: string, event: Event) => void | - | -| #if ALIPAY onFocus | 聚焦时触发此回调 | (value: string, event: Event) => void | - | -| #if ALIPAY onBlur | 失焦时触发此回调 | (value: string, event: Event) => void | - | -| #if ALIPAY onChange | 输入时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:confirm | 点击键盘完成时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:focus | 聚焦时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:blur | 失焦时触发此回调 | (value: string, event: Event) => void | - | -| #if WECHAT bind:change | 输入时触发此回调 | (value: string, event: Event) => void | - | - -### Input 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------ | ---------------------------------- | ------- | ------ | -| allowClear | 可以点击清除图标删除内容 | boolean | false | -| enableNative | 是否使用 native | boolean | - | -| focus | 聚焦,查看[详细说明](#input-focus) | boolean | - | -| password | 是否是密码类型 | boolean | false | -| prefix | input 前缀 | slot | - | -| suffix | input 后缀 | slot | - | - -### Textarea 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------ | ---------------- | ------- | ------ | -| autoHeight | 是否自动增高。 | boolean | false | -| enableNative | 是否使用 native | boolean | - | -| showCount | 是否显示字数统计 | boolean | true | - -### Input、Textarea 更多相同属性 - -- confirm-type -- name -- placeholder-class -- placeholder-style -- type - -[Input](https://opendocs.alipay.com/mini/component/input) -[Textarea](https://opendocs.alipay.com/mini/component/textarea) - -### Input focus - -使用 focus 属性需要在 app.json window 里加上 `"enableInPageRenderInput": "YES"`,否则无法在 iOS 里打开键盘。 - -### Input、Textarea 实例方法 - -实例方法需要小程序 `component2` 可使用。 - -| 属性 | 说明 | 类型 | -| -------- | ------ | ----------------------- | -| update | 更新值 | (value: string) => void | -| getValue | 得到值 | () => string | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --input-item-color |
#333333
|
#c5cad1
| 输入项文本颜色 | -| --input-item-placeholder-color |
#cccccc
|
#474747
| 输入项占位符颜色 | -| --input-item-clear-color |
#999999
|
#616161
| 输入项清除按钮颜色 | -| --input-background-color |
#ffffff
|
#1a1a1a
| 输入项背景颜色 | - -## FAQ - -### Input focus 没有打开键盘 - -需要在 app.json window 里加上 `"enableInPageRenderInput": "YES"`。 - -### Input 出现光标问题 - -可查看 [此文档](https://opendocs.alipay.com/mini/component/input#FAQ) 使用 `enableNative` 属性解决。 - -### 使用 value 受控模式出现键盘问题 - -这个是由于 [输入框的一个已知问题](https://opendocs.alipay.com/mini/component/input#Bug%20%26%20Tip)。 - -解决方式为:不使用 value 受控模式,采用 ref 方式调用 input 更新方法。 - -```xml - - -``` - -```js -Page({ - handleRef(input) { -#if ALIPAY - this.input = input; -#endif -#if WECHAT - this.input = input.detail; -#endif - }, - clear() { - this.input.update(''); - }, -}); -``` - -从 v2.15.0 开始,受控模式下,不支持通过 update 方法更新值。 - -### 实例方法不可用 - -需要使用 `component2`,详情参见[ref 获取组件实例](https://opendocs.alipay.com/mini/framework/component-ref)。 diff --git a/compiled/wechat/src/Input/index.wxml b/compiled/wechat/src/Input/index.wxml deleted file mode 100644 index 344f58d3c..000000000 --- a/compiled/wechat/src/Input/index.wxml +++ /dev/null @@ -1,58 +0,0 @@ - - - - {{prefix}} - - - - - - - - - {{suffix}} - - \ No newline at end of file diff --git a/compiled/wechat/src/Input/index.wxss b/compiled/wechat/src/Input/index.wxss deleted file mode 100644 index 2a4becf56..000000000 --- a/compiled/wechat/src/Input/index.wxss +++ /dev/null @@ -1,63 +0,0 @@ -.ant-input { - display: flex; - align-items: center; - background: var(--input-background-color, #ffffff); -} -.ant-input-disabled { - opacity: 0.4; -} -.ant-input-line { - position: relative; - flex: 1; - display: flex; - align-items: center; - overflow: hidden; -} -.ant-input-prefix { - color: var(--input-item-placeholder-color, #cccccc); - font-size: 34rpx; - margin: 0 8rpx 0 8rpx; -} -.ant-input-prefix:empty { - display: none; -} -.ant-input-suffix { - color: var(--input-item-placeholder-color, #cccccc); - font-size: 34rpx; - margin: 0 8rpx 0 8rpx; -} -.ant-input-suffix:empty { - display: none; -} -.ant-input-content { - width: 100%; - align-self: center; - padding: 0; - font-size: 34rpx; - text-align: left; - color: var(--input-item-color, #333333); - background: var(--input-background-color, #ffffff); -} -.ant-input-clear { - display: flex; - justify-content: center; - align-items: center; - border-radius: 16rpx; -} -.ant-input-clear-icon { - color: var(--input-item-placeholder-color, #cccccc); - font-size: 34rpx; - padding: 8rpx 0 8rpx 16rpx; -} -.ant-input-clear-show { - opacity: 1; -} -.ant-input-clear-hidden { - opacity: 0; - pointer-events: none; -} -.ant-input-placeholder { - font-size: 34rpx; - color: var(--input-item-placeholder-color, #cccccc); - margin-left: -6rpx; -} diff --git a/compiled/wechat/src/Input/props.js b/compiled/wechat/src/Input/props.js deleted file mode 100644 index dde2ab8d0..000000000 --- a/compiled/wechat/src/Input/props.js +++ /dev/null @@ -1,34 +0,0 @@ -export var InputDefaultProps = { - type: null, - value: null, - defaultValue: null, - placeholder: null, - placeholderClassName: null, - placeholderStyle: null, - allowClear: null, - enableNative: null, - confirmType: null, - confirmHold: null, - controlled: null, - alwaysSystem: null, - selectionStart: null, - selectionEnd: null, - cursor: null, - maxLength: -1, - alwaysEmbed: false, - cursorSpacing: 0, - cursorColor: null, - adjustPosition: true, - holdKeyboard: false, - inputClassName: null, - inputStyle: null, - password: null, - prefix: null, - disabled: null, - focusClassName: null, - suffix: null, - focus: null, - name: null, - focusStyle: null, - randomNumber: null, -}; diff --git a/compiled/wechat/src/Input/variable.wxss b/compiled/wechat/src/Input/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/List/ListItem/index.js b/compiled/wechat/src/List/ListItem/index.js deleted file mode 100644 index 794f740b5..000000000 --- a/compiled/wechat/src/List/ListItem/index.js +++ /dev/null @@ -1,11 +0,0 @@ -import { Component, } from '../../_util/simply'; -Component({ - image: '', - title: '', - brief: '', - arrow: false, - extra: '', - extraBrief: '', - disabled: false, - showDivider: true, -}, {}); diff --git a/compiled/wechat/src/List/ListItem/index.json b/compiled/wechat/src/List/ListItem/index.json deleted file mode 100644 index 1d78ced24..000000000 --- a/compiled/wechat/src/List/ListItem/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../../Icon/index", - "image-icon": "../../ImageIcon/index" - } -} diff --git a/compiled/wechat/src/List/ListItem/index.wxml b/compiled/wechat/src/List/ListItem/index.wxml deleted file mode 100644 index 7c6048b2b..000000000 --- a/compiled/wechat/src/List/ListItem/index.wxml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - {{title}} - - - - - - - {{brief}} - - - - - - {{extra}} - - - - - - {{extraBrief}} - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/List/ListItem/index.wxss b/compiled/wechat/src/List/ListItem/index.wxss deleted file mode 100644 index 8e55d6fd0..000000000 --- a/compiled/wechat/src/List/ListItem/index.wxss +++ /dev/null @@ -1,117 +0,0 @@ -.ant-list-item { - align-items: center; - background-color: var(--list-background-color, #ffffff); - color: var(--list-content-color, #333333); - line-height: 1.4; -} -.ant-list-item-hover { - background-color: var(--list-item-border-color, #e5e5e5); -} -.ant-list-item-line { - flex: 1; - display: flex; - padding: 0 24rpx; - align-items: center; - position: relative; -} -.ant-list-item-line-divider::after { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-list-item-line-disabled { - opacity: 0.4; -} -.ant-list-item-image { - border-radius: 50vh; -} -.ant-list-item-image-large-icon { - font-size: 80rpx; -} -.ant-list-item-image-large-image { - width: 80rpx; - height: 80rpx; -} -.ant-list-item-image-normal-icon { - font-size: 56rpx; -} -.ant-list-item-image-normal-image { - width: 56rpx; - height: 56rpx; -} -.ant-list-item-image-container { - margin-right: 24rpx; -} -.ant-list-item-image-container:empty { - display: none; -} -.ant-list-item-content-container { - display: flex; - flex: 1; - flex-direction: column; - padding: 24rpx 0; -} -.ant-list-item-content-container-small-text { - font-size: 24rpx; - line-height: 33rpx; -} -.ant-list-item-content-container-normal-text { - font-size: 28rpx; - line-height: 40rpx; -} -.ant-list-item-content-main { - font-size: 32rpx; - line-height: 45rpx; -} -.ant-list-item-content-title-container { - color: var(--list-extra-brief-color, #999999); -} -.ant-list-item-content-brief-container { - color: var(--list-extra-brief-color, #999999); -} -.ant-list-item-extra { - font-size: 32rpx; - line-height: 45rpx; - display: flex; - flex-direction: row-reverse; -} -.ant-list-item-extra:empty { - display: none; -} -.ant-list-item-extra-container { - display: flex; - flex-direction: column; -} -.ant-list-item-extra-brief { - display: flex; - flex-direction: row-reverse; - font-size: 28rpx; - line-height: 40rpx; - color: var(--list-extra-brief-color, #999999); -} -.ant-list-item-arrow { - margin-left: 8rpx; - color: var(--list-item-text-color, #cccccc); - display: flex; - align-items: center; -} -.ant-list-item-arrow .ant-icon { - font-size: 36rpx; -} -.ant-list-item-arrow-large-margin { - margin-left: 24rpx; -} -.ant-list-item .line { - height: 1rpx; - background-color: var(--list-item-border-color, #e5e5e5); - width: calc(100% - 24 * 1rpx); - position: absolute; - right: 0; -} diff --git a/compiled/wechat/src/List/ListItem/props.js b/compiled/wechat/src/List/ListItem/props.js deleted file mode 100644 index 63642de7c..000000000 --- a/compiled/wechat/src/List/ListItem/props.js +++ /dev/null @@ -1,4 +0,0 @@ -export var ListItemDefaultProps = { - disabled: false, - showDivider: true, -}; diff --git a/compiled/wechat/src/List/index.en.md b/compiled/wechat/src/List/index.en.md deleted file mode 100644 index 8c9b445bb..000000000 --- a/compiled/wechat/src/List/index.en.md +++ /dev/null @@ -1,157 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# List - -Generic lists can be clean and efficient to carry text, lists, pictures, paragraphs and other elements. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-list": "antd-mini/es/List/index" -#endif -#if WECHAT - "ant-list": "antd-mini/List/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - 1 - 2 - 3 - -``` - -### List Item Configuration - -```xml - - - Total assets - - - Setup - - -``` - -### List item clickable - -```xml - - - Total assets - - - Setup - - -``` - -### Demo Code - - - -## API - -### List - -| Property | Description | Type | Default Value | -| --------- | ---------- | -------------- | ------ | -| className | Class Name | string | - | -| footer | Bottom Description | string \| slot | - | -| header | Head Description | string \| slot | - | -| radius | Whether with rounded corners | boolean | false | -| style | Style | string | - | - -### ListItem - -| Property | Description | Type | Default Value | -| ------------------------ | -------------------------------------------------------- | ------------------ | ------ | -| arrow | right arrow, optional `right`、`up`、`down`, pass true `right` | string \| boolean | - | -| brief | Second line of information | string \| slot | - | -| className | Class Name | string | - | -| disabled | Disable | boolean | false | -| extra | Extra right | string \| slot | - | -| extraBrief | Auxiliary information on the right side | string \| slot | - | -| image | Picture on the left | string | - | -| radius | Whether with rounded corners | boolean | false | -| showDivider | Show underline or not | boolean | true | -| style | Style | string | - | -| title | Header Information | string \| slot | - | -| #if ALIPAY catchTap | Callback triggered when clicked | (e: Event) => void | -| #if ALIPAY onTap | Callback triggered when clicked | (e: Event) => void | -| #if WECHAT bind:catchTap | Callback triggered when clicked | (e: Event) => void | -| #if WECHAT bind:tap | Callback triggered when clicked | (e: Event) => void | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --list-header-color |
#999999
|
#616161
| List head color | -| --list-footer-color |
#999999
|
#616161
| List bottom color | -| --list-background-color |
#ffffff
|
#1a1a1a
| List background color | -| --list-content-color |
#333333
|
#c5cad1
| List Content Text Color | -| --list-extra-brief-color |
#999999
|
#616161
| List Extra Brief Color | -| --list-item-border-color |
#eeeeee
|
#2b2b2b
| List Item Border Color | -| --list-item-text-color |
#cccccc
|
#474747
| List Item Text Color | diff --git a/compiled/wechat/src/List/index.js b/compiled/wechat/src/List/index.js deleted file mode 100644 index 0f2838046..000000000 --- a/compiled/wechat/src/List/index.js +++ /dev/null @@ -1,6 +0,0 @@ -import { Component } from '../_util/simply'; -Component({ - radius: false, - header: '', - footer: '', -}); diff --git a/compiled/wechat/src/List/index.json b/compiled/wechat/src/List/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/List/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/List/index.md b/compiled/wechat/src/List/index.md deleted file mode 100644 index f5c3e3cfd..000000000 --- a/compiled/wechat/src/List/index.md +++ /dev/null @@ -1,157 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# List 列表 - -通用列表可以干净高效地承载文字、列表、图片、段落等元素。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-list": "antd-mini/es/List/index" -#endif -#if WECHAT - "ant-list": "antd-mini/List/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - 1 - 2 - 3 - -``` - -### 列表项配置 - -```xml - - - 总资产 - - - 设置 - - -``` - -### 列表项可点击 - -```xml - - - 总资产 - - - 设置 - - -``` - -### Demo 代码 - - - -## API - -### List - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------- | -------------- | ------ | -| className | 类名 | string | - | -| footer | 底部说明 | string \| slot | - | -| header | 头部说明 | string \| slot | - | -| radius | 是否带圆角 | boolean | false | -| style | 样式 | string | - | - -### ListItem - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------ | -------------------------------------------------------- | ------------------ | ------ | -| arrow | 右侧箭头,可选 `right`、`up`、`down`,传 true 为 `right` | string \| boolean | - | -| brief | 第二行信息 | string \| slot | - | -| className | 类名 | string | - | -| disabled | 是否禁用 | boolean | false | -| extra | 右侧额外内容 | string \| slot | - | -| extraBrief | 右侧辅助信息 | string \| slot | - | -| image | 左侧图片 | string | - | -| radius | 是否带圆角 | boolean | false | -| showDivider | 是否显示下划线 | boolean | true | -| style | 样式 | string | - | -| title | 标题信息 | string \| slot | - | -| #if ALIPAY catchTap | 点击时触发的回调 | (e: Event) => void | -| #if ALIPAY onTap | 点击时触发的回调 | (e: Event) => void | -| #if WECHAT bind:catchTap | 点击时触发的回调 | (e: Event) => void | -| #if WECHAT bind:tap | 点击时触发的回调 | (e: Event) => void | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --list-header-color |
#999999
|
#616161
| 列表头部颜色 | -| --list-footer-color |
#999999
|
#616161
| 列表底部颜色 | -| --list-background-color |
#ffffff
|
#1a1a1a
| 列表背景颜色 | -| --list-content-color |
#333333
|
#c5cad1
| 列表内容文本颜色 | -| --list-extra-brief-color |
#999999
|
#616161
| 列表额外简述颜色 | -| --list-item-border-color |
#eeeeee
|
#2b2b2b
| 列表项边框颜色 | -| --list-item-text-color |
#cccccc
|
#474747
| 列表项文本颜色 | diff --git a/compiled/wechat/src/List/index.wxml b/compiled/wechat/src/List/index.wxml deleted file mode 100644 index 7d8d8c35a..000000000 --- a/compiled/wechat/src/List/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - {{header}} - - - - - - - {{footer}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/List/index.wxss b/compiled/wechat/src/List/index.wxss deleted file mode 100644 index 75b880b8d..000000000 --- a/compiled/wechat/src/List/index.wxss +++ /dev/null @@ -1,30 +0,0 @@ -.ant-list-radius { - margin: 0 24rpx; -} -.ant-list-radius .ant-list-body { - border-radius: 24rpx; -} -.ant-list-radius .ant-list-header, -.ant-list-radius .ant-list-footer { - padding: 16rpx 0; -} -.ant-list-header, -.ant-list-footer { - display: flex; - align-items: center; - padding: 16rpx 24rpx; - line-height: 1.4; - font-size: 30rpx; - color: var(--list-header-color, #999999); -} -.ant-list-header:empty, -.ant-list-footer:empty { - display: none; -} -.ant-list-body { - position: relative; - overflow: hidden; -} -.ant-list-body > .ant-list-item:last-child .ant-list-item-line::after { - display: none; -} diff --git a/compiled/wechat/src/List/props.js b/compiled/wechat/src/List/props.js deleted file mode 100644 index 4680e90b4..000000000 --- a/compiled/wechat/src/List/props.js +++ /dev/null @@ -1,3 +0,0 @@ -export var ListDefaultProps = { - radius: false, -}; diff --git a/compiled/wechat/src/List/variable.wxss b/compiled/wechat/src/List/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Loading/index.en.md b/compiled/wechat/src/Loading/index.en.md deleted file mode 100644 index f0fe3e92d..000000000 --- a/compiled/wechat/src/Loading/index.en.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback -toc: 'content' ---- - -# Loading - -Used to prompt that a local or page is loading. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-loading": "antd-mini/es/Loading/index" -#endif -#if WECHAT - "ant-loading": "antd-mini/Loading/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### Spin size - -```xml - - - - -``` - -### Custom Colors - -```xml - - -``` - -### Custom Size - -```xml - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------- | ------ | -------- | -| className | Root node class name | string | - | -| color | The color when loading, when type is `spin` Only hexadecimal color codes are supported. | string | `#fff` | -| size | Load icon size, when type is `spin` effective. Optional `small`、`medium`、`large`、`x-large` | string | `medium` | -| style | root node style | string | - | -| type | Load style type, optional `spin`、`mini` | string | `spin` | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --loading-text-color |
#d8d8d8
|
#454955
| Load Text Color (Iron Black) | -| --loading-icon-light-color |
rgba(255, 255, 255, 0.6)
|
rgba(255, 255, 255, 0.6)
| Load icon light | diff --git a/compiled/wechat/src/Loading/index.js b/compiled/wechat/src/Loading/index.js deleted file mode 100644 index ff43f8fd3..000000000 --- a/compiled/wechat/src/Loading/index.js +++ /dev/null @@ -1,26 +0,0 @@ -import { LoadingDefaultProps } from './props'; -import '../_util/assert-component2'; -Component({ - properties: { - type: { - value: 'spin', - type: String, - }, - color: { - type: String, - }, - size: { - type: String, - }, - style: { - type: String, - }, - className: { - type: String, - }, - }, - options: { - styleIsolation: 'shared', - }, - props: LoadingDefaultProps, -}); diff --git a/compiled/wechat/src/Loading/index.json b/compiled/wechat/src/Loading/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Loading/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Loading/index.md b/compiled/wechat/src/Loading/index.md deleted file mode 100644 index d3f5b510f..000000000 --- a/compiled/wechat/src/Loading/index.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 -toc: 'content' ---- - -# Loading 加载 - -用于提示局部或页面在加载中。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-loading": "antd-mini/es/Loading/index" -#endif -#if WECHAT - "ant-loading": "antd-mini/Loading/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### Spin 大小 - -```xml - - - - -``` - -### 自定义颜色 - -```xml - - -``` - -### 自定义大小 - -```xml - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------- | ------ | -------- | -| className | 根节点类名 | string | - | -| color | 加载时的颜色,当 type 为 `spin` 时,只支持十六进制颜色码 | string | `#fff` | -| size | 加载图标尺寸,当 type 为 `spin` 时生效。可选 `small`、`medium`、`large`、`x-large` | string | `medium` | -| style | 根节点 style | string | - | -| type | 加载样式类型,可选 `spin`、`mini` | string | `spin` | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| --loading-text-color |
#d8d8d8
|
#454955
| 加载文本颜色(铁黑) | -| --loading-icon-light-color |
rgba(255, 255, 255, 0.6)
|
rgba(255, 255, 255, 0.6)
| 加载图标浅色 | diff --git a/compiled/wechat/src/Loading/index.wxml b/compiled/wechat/src/Loading/index.wxml deleted file mode 100644 index 5fa816025..000000000 --- a/compiled/wechat/src/Loading/index.wxml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - . - . - . - - \ No newline at end of file diff --git a/compiled/wechat/src/Loading/index.wxs b/compiled/wechat/src/Loading/index.wxs deleted file mode 100644 index de7091c99..000000000 --- a/compiled/wechat/src/Loading/index.wxs +++ /dev/null @@ -1,16 +0,0 @@ -function getLoadingColor(color) { - if (typeof color === 'string' && color[0] === '#') { - return color.slice(1); - } -} -function getClass(size) { - var list = ['small', 'medium', 'large', 'x-large']; - if (list.indexOf(size) >= 0) { - return "ant-loading-".concat(size); - } - return 'ant-loading-medium'; -} -module.exports = { - getLoadingColor: getLoadingColor, - getClass: getClass -}; \ No newline at end of file diff --git a/compiled/wechat/src/Loading/index.wxss b/compiled/wechat/src/Loading/index.wxss deleted file mode 100644 index d50ddb57b..000000000 --- a/compiled/wechat/src/Loading/index.wxss +++ /dev/null @@ -1,77 +0,0 @@ -.ant-loading-small { - width: 35rpx; - height: 35rpx; -} -.ant-loading-medium { - width: 70rpx; - height: 70rpx; -} -.ant-loading-large { - width: 105rpx; - height: 105rpx; -} -.ant-loading-x-large { - width: 140rpx; - height: 140rpx; -} -.ant-loading-spin { - display: inline-flex; - justify-content: center; - align-items: center; -} -.ant-loading-spin-icon { - width: 100%; - height: 100%; - background-position: center; - background-repeat: no-repeat; -} -.ant-loading-mini { - display: inline-flex; - justify-content: center; - align-items: center; - min-width: 66rpx; - min-height: 66rpx; -} -.ant-loading-mini-item { - flex: 0 0 8rpx; - min-width: 8rpx; - min-height: 8rpx; - max-width: 8rpx; - max-height: 8rpx; - overflow: hidden; - margin-right: 16rpx; - font-size: 0; - border-radius: 4rpx / 2; - background-color: #999999; - animation: ant-loading-animation 1s 0s infinite linear; -} -.ant-loading-mini-item__1 { - animation-delay: 0s; -} -.ant-loading-mini-item__2 { - animation-delay: 150ms; -} -.ant-loading-mini-item__3 { - margin-right: 0; - animation-delay: 300ms; -} -@keyframes ant-loading-animation { - 0% { - transform: translate3d(0, 0, 0); - } - 12% { - transform: translate3d(0, -150%, 0); - } - 40% { - transform: translate3d(0, 110%, 0); - } - 55% { - transform: translate3d(0, -10%, 0); - } - 60% { - transform: translate3d(0, 0, 0); - } - 100% { - transform: translate3d(0, 0, 0); - } -} diff --git a/compiled/wechat/src/Loading/props.js b/compiled/wechat/src/Loading/props.js deleted file mode 100644 index 72149cf2b..000000000 --- a/compiled/wechat/src/Loading/props.js +++ /dev/null @@ -1,5 +0,0 @@ -export var LoadingDefaultProps = { - size: 'medium', - color: '#fff', - type: 'spin', -}; diff --git a/compiled/wechat/src/Loading/variable.wxss b/compiled/wechat/src/Loading/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Mask/index.js b/compiled/wechat/src/Mask/index.js deleted file mode 100644 index dce40ab03..000000000 --- a/compiled/wechat/src/Mask/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import { Component, triggerEventOnly } from '../_util/simply'; -Component({ - show: true, -}, { - onMaskTap: function (e) { - triggerEventOnly(this, 'maskTap', e); - }, -}); diff --git a/compiled/wechat/src/Mask/index.json b/compiled/wechat/src/Mask/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Mask/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Mask/index.wxml b/compiled/wechat/src/Mask/index.wxml deleted file mode 100644 index 33258f389..000000000 --- a/compiled/wechat/src/Mask/index.wxml +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/compiled/wechat/src/Mask/index.wxss b/compiled/wechat/src/Mask/index.wxss deleted file mode 100644 index 2888fc504..000000000 --- a/compiled/wechat/src/Mask/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -.ant-mask { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 0; - background-color: var(--mask-background-color, rgba(0, 0, 0, 0.55)); - width: 300vw; - height: 300vh; - transform: translate3d(-100vw, -100vh, 0); -} diff --git a/compiled/wechat/src/Mask/props.js b/compiled/wechat/src/Mask/props.js deleted file mode 100644 index 258079d5c..000000000 --- a/compiled/wechat/src/Mask/props.js +++ /dev/null @@ -1,3 +0,0 @@ -export var MaskDefaultProps = { - show: true, -}; diff --git a/compiled/wechat/src/Mask/variable.wxss b/compiled/wechat/src/Mask/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Modal/index.en.md b/compiled/wechat/src/Modal/index.en.md deleted file mode 100644 index 35ee0ae5c..000000000 --- a/compiled/wechat/src/Modal/index.en.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -nav: - path: /components -group: - title: To Discard - order: 99 -toc: 'content' ---- - -# Modal - -Not recommended, this component will be obsolete. recommend use [Dialog](/components/dialog) Components, with the latest design specifications. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-modal": "antd-mini/es/Modal/index" -#endif -#if WECHAT - "ant-modal": "antd-mini/Modal/index" -#endif -} -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------------------- | ------------------------------------------------- | ------------ | --------- | -| bodyClassName | body class name | string | - | -| bodyStyle | body style | string | - | -| cancelButtonStyle | Cancel Button Style | string | - | -| cancelButtonText | Cancel Button Text | string | - | -| className | Class Name | string | - | -| closable | Whether to display the close button in the upper right corner. Effective only when type is focus | boolean | - | -| content | Content | string\|slot | - | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| footer | Custom Button Area | slot | - | -| maskClosable | Click whether the layer triggers the onClose. | boolean | true | -| maskClassName | Class name of the layer | string | - | -| maskStyle | Mask Style | string | - | -| primaryButtonStyle | Main Button Style | string | - | -| primaryButtonText | Main button text | string | - | -| secondaryButtonStyle | Auxiliary Button Style | string | - | -| secondaryButtonText | Secondary Button Text | string | - | -| style | Style | string | - | -| title | Title | string\|slot | - | -| type | type, optional `default`(default),`focus`(emphasis mode) | string | `default` | -| visible | Whether to display | boolean | false | -| #if ALIPAY onCancelButtonTap | Cancel button click event | ()=>void | - | -| #if ALIPAY onClose | Click the close button in the upper right corner of the mask or emphasis mode to trigger the callback | ()=>void | - | -| #if ALIPAY onPrimaryButtonTap | Main button click event | ()=>void | - | -| #if ALIPAY onSecondaryButtonTap | Secondary button click event | ()=>void | - | -| #if WECHAT bind:cancelbuttontap | Cancel button click event | ()=>void | - | -| #if WECHAT bind:close | Click the close button in the upper right corner of the mask or emphasis mode to trigger the callback | ()=>void | - | -| #if WECHAT bind:primarybuttontap | Main button click event | ()=>void | - | -| #if WECHAT bind:secondarybuttontap | Secondary button click event | ()=>void | - | diff --git a/compiled/wechat/src/Modal/index.js b/compiled/wechat/src/Modal/index.js deleted file mode 100644 index f5375e087..000000000 --- a/compiled/wechat/src/Modal/index.js +++ /dev/null @@ -1,21 +0,0 @@ -import { Component, triggerEventOnly } from '../_util/simply'; -import { ModalFunctionalProps } from './props'; -Component(ModalFunctionalProps, { - onClose: function () { - triggerEventOnly(this, 'close'); - }, - onMaskClose: function () { - if (this.properties.maskClosable) { - triggerEventOnly(this, 'close'); - } - }, - onPrimaryButtonTap: function () { - triggerEventOnly(this, 'primaryButtonTap'); - }, - onSecondaryButtonTap: function () { - triggerEventOnly(this, 'secondaryButtonTap'); - }, - onCancelButtonTap: function () { - triggerEventOnly(this, 'cancelButtonTap'); - }, -}); diff --git a/compiled/wechat/src/Modal/index.json b/compiled/wechat/src/Modal/index.json deleted file mode 100644 index 6eaf614ee..000000000 --- a/compiled/wechat/src/Modal/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-icon": "../Icon/index", - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/wechat/src/Modal/index.md b/compiled/wechat/src/Modal/index.md deleted file mode 100644 index 32d5c9f2f..000000000 --- a/compiled/wechat/src/Modal/index.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -nav: - path: /components -group: - title: 待废弃 - order: 99 -toc: 'content' ---- - -# Modal 弹窗 - -不建议使用,此组件即将废弃。推荐使用 [Dialog](/components/dialog) 组件,拥有最新设计规范。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-modal": "antd-mini/es/Modal/index" -#endif -#if WECHAT - "ant-modal": "antd-mini/Modal/index" -#endif -} -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------------------- | ------------------------------------------------- | ------------ | --------- | -| bodyClassName | body 类名 | string | - | -| bodyStyle | body 样式 | string | - | -| cancelButtonStyle | 取消按钮样式 | string | - | -| cancelButtonText | 取消按钮文本 | string | - | -| className | 类名 | string | - | -| closable | 是否显示右上角的关闭按钮。仅在 type 为 focus 生效 | boolean | - | -| content | 内容 | string\|slot | - | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| footer | 自定义按钮区 | slot | - | -| maskClosable | 点击蒙层是否触发 onClose | boolean | true | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| primaryButtonStyle | 主按钮样式 | string | - | -| primaryButtonText | 主按钮文本 | string | - | -| secondaryButtonStyle | 辅助按钮样式 | string | - | -| secondaryButtonText | 辅助按钮文本 | string | - | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | -| type | 类型,可选 `default`(默认)、`focus`(强调模式) | string | `default` | -| visible | 是否显示 | boolean | false | -| #if ALIPAY onCancelButtonTap | 取消按钮点击事件 | ()=>void | - | -| #if ALIPAY onClose | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if ALIPAY onPrimaryButtonTap | 主按钮点击事件 | ()=>void | - | -| #if ALIPAY onSecondaryButtonTap | 辅助按钮点击事件 | ()=>void | - | -| #if WECHAT bind:cancelbuttontap | 取消按钮点击事件 | ()=>void | - | -| #if WECHAT bind:close | 点击蒙层或强调模式下点击右上角关闭按钮,触发回调 | ()=>void | - | -| #if WECHAT bind:primarybuttontap | 主按钮点击事件 | ()=>void | - | -| #if WECHAT bind:secondarybuttontap | 辅助按钮点击事件 | ()=>void | - | diff --git a/compiled/wechat/src/Modal/index.wxml b/compiled/wechat/src/Modal/index.wxml deleted file mode 100644 index 242ce40af..000000000 --- a/compiled/wechat/src/Modal/index.wxml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - {{title}} - - {{content}} - - - {{primaryButtonText}} - {{secondaryButtonText}} - {{cancelButtonText}} - - - {{cancelButtonText}} - {{secondaryButtonText}} - {{primaryButtonText}} - - - {{primaryButtonText}} - {{secondaryButtonText}} - {{cancelButtonText}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Modal/index.wxs b/compiled/wechat/src/Modal/index.wxs deleted file mode 100644 index 8031d1036..000000000 --- a/compiled/wechat/src/Modal/index.wxs +++ /dev/null @@ -1,21 +0,0 @@ -function getDirection(primaryButtonText, secondaryButtonText, cancelButtonText, type) { - // 不显示按钮区域 - if (!primaryButtonText && !secondaryButtonText && !cancelButtonText) { - return ''; - } - // 1个按钮,当纵向处理 - if ([primaryButtonText, secondaryButtonText, cancelButtonText].filter(function (v) { - return !!v; - }).length === 1) { - return 'vertical'; - } - // 三个按钮,必是纵向 - if (primaryButtonText && secondaryButtonText && cancelButtonText) { - return 'vertical'; - } - // 两个按钮,在 “标准模式” 是横向;在“强调模式”是纵向 - return type === 'focus' ? 'vertical' : 'horizontal'; -} -module.exports = { - getDirection: getDirection -}; \ No newline at end of file diff --git a/compiled/wechat/src/Modal/index.wxss b/compiled/wechat/src/Modal/index.wxss deleted file mode 100644 index db18d3269..000000000 --- a/compiled/wechat/src/Modal/index.wxss +++ /dev/null @@ -1,118 +0,0 @@ -.ant-modal-body { - width: 560rpx; - background-color: var(--modal-background-color, #ffffff); - border-radius: 16rpx; - padding-top: 40rpx; - display: flex; - flex-direction: column; -} -.ant-modal-body-title { - font-size: 36rpx; - line-height: 50rpx; - text-align: center; - color: var(--modal-title-color, #333333); - margin: 0 24rpx 16rpx; -} -.ant-modal-body-content { - line-height: 42rpx; - font-size: 30rpx; - color: var(--modal-content-color, #333333); - text-align: center; - margin: 0 24rpx 40rpx; -} -.ant-modal-body-footer-focus { - padding: 0 24rpx 24rpx; -} -.ant-modal-body-footer-focus-secondary, -.ant-modal-body-footer-focus-cancel { - color: #1677ff; - text-align: center; - font-size: 36rpx; - margin-top: 16rpx; - padding-top: 24rpx; -} -.ant-modal-body-footer-vertical { - padding: 0 0 24rpx; -} -.ant-modal-body-footer-vertical-primary, -.ant-modal-body-footer-vertical-secondary, -.ant-modal-body-footer-vertical-cancel { - color: #1677ff; - text-align: center; - font-size: 36rpx; - margin-top: 16rpx; - padding-top: 24rpx; - position: relative; -} -.ant-modal-body-footer-vertical-primary::before, -.ant-modal-body-footer-vertical-secondary::before, -.ant-modal-body-footer-vertical-cancel::before { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: 0; - right: 0; - bottom: auto; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-modal-body-footer-horizontal { - display: flex; - flex-direction: row; - position: relative; -} -.ant-modal-body-footer-horizontal::before { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: 0; - right: 0; - bottom: auto; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-modal-body-footer-horizontal-primary, -.ant-modal-body-footer-horizontal-secondary, -.ant-modal-body-footer-horizontal-cancel { - position: relative; - flex: 1; - color: #1677ff; - text-align: center; - font-size: 36rpx; - padding: 24rpx 0; -} -.ant-modal-body-footer-horizontal-primary:nth-child(1)::after, -.ant-modal-body-footer-horizontal-secondary:nth-child(1)::after, -.ant-modal-body-footer-horizontal-cancel:nth-child(1)::after { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: 0; - right: 0; - bottom: 0; - left: auto; - width: 1px; - transform: scaleX(0.5); -} -.ant-modal-close { - position: absolute; - right: 16rpx; - top: 13rpx; - z-index: 3; - width: 52rpx; - height: 58rpx; - display: flex; - justify-content: center; - align-items: center; - font-size: 36rpx; - color: var(--modal-close-text-color, #999999); -} -.ant-modal .ant-popup-content.ant-popup-center { - min-height: 0; - padding: 0; -} diff --git a/compiled/wechat/src/Modal/props.js b/compiled/wechat/src/Modal/props.js deleted file mode 100644 index ce5deb9c4..000000000 --- a/compiled/wechat/src/Modal/props.js +++ /dev/null @@ -1,31 +0,0 @@ -export var ModalDefaultProps = { - visible: false, - maskClosable: true, - closable: true, - type: 'default', - duration: 200, - animation: true, - zIndex: 998, -}; -export var ModalFunctionalProps = { - bodyClassName: '', - bodyStyle: '', - maskClassName: '', - maskStyle: '', - maskClosable: true, - type: 'default', - closable: true, - duration: 200, - animation: true, - zIndex: 998, - title: '', - content: '', - visible: false, - destroyOnClose: false, - primaryButtonText: '', - secondaryButtonText: '', - cancelButtonText: '', - primaryButtonStyle: '', - secondaryButtonStyle: '', - cancelButtonStyle: '', -}; diff --git a/compiled/wechat/src/Modal/variable.wxss b/compiled/wechat/src/Modal/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/NoticeBar/index.en.md b/compiled/wechat/src/NoticeBar/index.en.md deleted file mode 100644 index b0bbad593..000000000 --- a/compiled/wechat/src/NoticeBar/index.en.md +++ /dev/null @@ -1,118 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: content ---- - -# NoticeBar - -Shows a set of message notifications. Usually used for the notification of information in the current page, is a more eye-catching in-page notification. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-notice": "antd-mini/es/NoticeBar/index" -#endif -#if WECHAT - "ant-notice": "antd-mini/NoticeBar/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - default - info - error -``` - -### Can close the notice board - -```xml - - This notification can be turned off - -``` - -### Scrollable notice board - -```xml - - Turn on circular scrolling when text overflows. Not enough text to continue adding text to make up. - -``` - -### Custom - -```xml - - Customize the left icon - - -Customize the left icon image - - - Customize right button - - No more prompting - View Details - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ------------- | ---------------------------------------------------------------------------------------------- | ------------ | ------- | -| className | Class Name | string | - | -| enableMarquee | Whether to turn on scroll animation | boolean | false | -| extra | Customize right content | slot | - | -| icon | The icon on the left supports all built-in iconType and custom links, as well as custom slots (WeChat version requires slotIcon settings) | string | - | -| loop | Whether to cycle scrolling,`enableMarquee` Valid when true | boolean | false | -| mode | the type of announcement,`link` Indicates connection, the whole line can be dotted;`closeable` Indicates that clicking x can be closed; If you do not fill in, there is no icon on the right. | string | - | -| style | Style | string | - | -| title | Title | string\|slot | - | -| type | type, optional `default`, `error`, `primary`, `info` | string | default | -| slotIcon | WeChat version needs to enable the slot of icon position through this field | boolean | - | -| onTap | Click the icon (arrow or cross) on the right side of the notification bar to trigger the callback | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --notice-background-color |
#fff9ed
|
#fff9ed
| Notification background color | -| --notice-border-color |
#fff3d9
|
#fff3d9
| Notification border color | -| --notice-color |
#ff6010
|
#ff6010
| Notification Color | -| --notice-error-border-color |
#fff3d9
|
#fff3d9
| Error notification border color | -| --notice-error-color |
#ffffff
|
#ffffff
| Error notification color | -| --notice-error-background-color |
#ff3141
|
#ff4a58
| Error notification background color | -| --notice-primary-border-color |
rgba(22, 119, 255, 0.72)
|
rgba(22, 119, 255, 0.72)
| Primary notification border color | -| --notice-primary-color |
#1677ff
|
#3086ff
| Primary notification color | -| --notice-primary-background-color |
rgba(208, 228, 255, 1)
|
rgba(208, 228, 255, 1)
| Primary notification background color | -| --notice-info-text-color |
#ffffff
|
#ffffff
| Information notification text color | -| --notice-info-background-color |
#666666
|
#808080
| Information notification background color | diff --git a/compiled/wechat/src/NoticeBar/index.js b/compiled/wechat/src/NoticeBar/index.js deleted file mode 100644 index 08abe16ac..000000000 --- a/compiled/wechat/src/NoticeBar/index.js +++ /dev/null @@ -1,183 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { Component, triggerEventOnly, getValueFromProps, } from '../_util/simply'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { NoticeBarDefaultProps } from './props'; -Component(NoticeBarDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - getBoundingClientRectWithId: function (prefix) { - return __awaiter(this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), "".concat(prefix).concat(this.$id ? "-".concat(this.$id) : ''))]; - case 1: return [2 /*return*/, _a.sent()]; - } - }); - }); - }, - onTap: function () { - var mode = getValueFromProps(this, 'mode'); - if (mode === 'link') { - triggerEventOnly(this, 'tap'); - } - if (mode === 'closeable') { - this.setData({ - show: false, - }); - triggerEventOnly(this, 'tap'); - } - }, - startMarquee: function (state) { - var _this = this; - var loop = getValueFromProps(this, 'loop'); - var leading = 500; - var duration = state.duration, overflowWidth = state.overflowWidth, viewWidth = state.viewWidth; - var marqueeScrollWidth = overflowWidth; - if (loop) { - marqueeScrollWidth = overflowWidth + viewWidth; - // 微信的view标签不支持onTransitionEnd,需要这里实现循环 - var trailing = 200; - clearTimeout(this.timer); - this.timer = setTimeout(function () { - _this.measureText(function (state) { - _this.resetMarquee.call(_this, state); - _this.measureText(function (state) { - _this.startMarquee.call(_this, state); - }); - }); - clearTimeout(_this.timer); - }, trailing + duration * 1000); - } - var newMarqueeStyle = "transform: translate3d(".concat(-marqueeScrollWidth, "px, 0, 0); transition: ").concat(duration, "s all linear ").concat(typeof leading === 'number' ? "".concat(leading / 1000, "s") : '0s', ";"); - this.setData({ - marqueeStyle: newMarqueeStyle, - }); - return newMarqueeStyle; - }, - measureText: function (callback) { - var _this = this; - var fps = 40; - var loop = getValueFromProps(this, 'loop'); - // 计算文本所占据的宽度,计算需要滚动的宽度 - setTimeout(function () { return __awaiter(_this, void 0, void 0, function () { - var marqueeSize, contentSize, overflowWidth, viewWidth, marqueeScrollWidth; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, this.getBoundingClientRectWithId('.ant-notice-bar-marquee')]; - case 1: - marqueeSize = _a.sent(); - return [4 /*yield*/, this.getBoundingClientRectWithId('.ant-notice-bar-content')]; - case 2: - contentSize = _a.sent(); - overflowWidth = (marqueeSize && - contentSize && - marqueeSize.width - contentSize.width) || - 0; - viewWidth = (contentSize === null || contentSize === void 0 ? void 0 : contentSize.width) || 0; - marqueeScrollWidth = overflowWidth; - if (loop) { - marqueeScrollWidth = overflowWidth + viewWidth; - } - if (overflowWidth > 0) { - callback({ - overflowWidth: overflowWidth, - viewWidth: viewWidth, - duration: marqueeScrollWidth / fps, - }); - } - return [2 /*return*/]; - } - }); - }); }, 0); - }, - // 文本滚动的计算 - resetMarquee: function (state) { - var loop = getValueFromProps(this, 'loop'); - var viewWidth = state.viewWidth; - var showMarqueeWidth = '0px'; - if (loop) { - showMarqueeWidth = "".concat(viewWidth, "px"); - } - var marqueeStyle = "transform: translate3d(".concat(showMarqueeWidth, ", 0, 0); transition: 0s all linear;"); - this.setData({ - marqueeStyle: marqueeStyle, - }); - }, -}, { - show: true, - marqueeStyle: '', -}, undefined, { - attached: function () { - var _this = this; - var enableMarquee = this.properties.enableMarquee; - if (enableMarquee) { - this.measureText(function (state) { - _this.startMarquee.call(_this, state); - }); - } - }, - observers: { - 'enableMarquee': function (enableMarquee) { - var _this = this; - // 这里更新处理的原因是防止notice内容在动画过程中发生改变。 - if (enableMarquee) { - this.measureText(function (state) { - _this.startMarquee.call(_this, state); - }); - } - }, - }, - pageLifetimes: { - show: function () { - var _this = this; - if (this.properties.enableMarquee) { - this.setData({ marqueeStyle: '' }); - this.resetMarquee({ - overflowWidth: 0, - duration: 0, - viewWidth: 0, - }); - this.measureText(function (state) { return _this.startMarquee.call(_this, state); }); - } - }, - }, -}); diff --git a/compiled/wechat/src/NoticeBar/index.json b/compiled/wechat/src/NoticeBar/index.json deleted file mode 100644 index f6d7546f7..000000000 --- a/compiled/wechat/src/NoticeBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "image-icon": "../ImageIcon/index" - } -} diff --git a/compiled/wechat/src/NoticeBar/index.md b/compiled/wechat/src/NoticeBar/index.md deleted file mode 100644 index c19a06047..000000000 --- a/compiled/wechat/src/NoticeBar/index.md +++ /dev/null @@ -1,118 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: content ---- - -# NoticeBar 通告栏 - -展示一组消息通知。通常用于当前页面内信息的通知,是一种较醒目的页面内通知方式。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-notice": "antd-mini/es/NoticeBar/index" -#endif -#if WECHAT - "ant-notice": "antd-mini/NoticeBar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - default - info - error -``` - -### 可关闭通告栏 - -```xml - - 这条通知可以关闭 - -``` - -### 可滚动通告栏 - -```xml - - 文本溢出时,开启循环滚动。文字不够继续添加文字凑数。 - -``` - -### 自定义 - -```xml - - 自定义左侧图标 - - -自定义左侧图标图片 - - - 自定义右侧按钮 - - 不再提示 - 查看详情 - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ------------- | ---------------------------------------------------------------------------------------------- | ------------ | ------- | -| className | 类名 | string | - | -| enableMarquee | 是否开启滚动动画 | boolean | false | -| extra | 自定义右侧内容 | slot | - | -| icon | 左侧 icon,支持所有内置 iconType 和自定义链接,也支持自定义 slot (微信版本需要设置 slotIcon) | string | - | -| loop | 是否循环滚动,`enableMarquee` 为 true 时有效 | boolean | false | -| mode | 通告类型,`link` 表示连接,整行可点;`closeable` 表示点击 x 可以关闭;不填时表示右侧没有图标 | string | - | -| style | 样式 | string | - | -| title | 标题 | string\|slot | - | -| type | 类型,可选 `default`, `error`, `primary`, `info` | string | default | -| slotIcon | 微信版本需要通过此字段启用 icon 位置的插槽 | boolean | - | -| onTap | 点击通知栏右侧的图标(箭头或者叉),触发回调 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --notice-background-color |
#fff9ed
|
#fff9ed
| 通知背景颜色 | -| --notice-border-color |
#fff3d9
|
#fff3d9
| 通知边框颜色 | -| --notice-color |
#ff6010
|
#ff6010
| 通知颜色 | -| --notice-error-border-color |
#fff3d9
|
#fff3d9
| 错误通知边框颜色 | -| --notice-error-color |
#ffffff
|
#ffffff
| 错误通知颜色 | -| --notice-error-background-color |
#ff3141
|
#ff4a58
| 错误通知背景颜色 | -| --notice-primary-border-color |
rgba(22, 119, 255, 0.72)
|
rgba(22, 119, 255, 0.72)
| 主要通知边框颜色 | -| --notice-primary-color |
#1677ff
|
#3086ff
| 主要通知颜色 | -| --notice-primary-background-color |
rgba(208, 228, 255, 1)
|
rgba(208, 228, 255, 1)
| 主要通知背景颜色 | -| --notice-info-text-color |
#ffffff
|
#ffffff
| 信息通知文字颜色 | -| --notice-info-background-color |
#666666
|
#808080
| 信息通知背景颜色 | diff --git a/compiled/wechat/src/NoticeBar/index.wxml b/compiled/wechat/src/NoticeBar/index.wxml deleted file mode 100644 index 237d676e3..000000000 --- a/compiled/wechat/src/NoticeBar/index.wxml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/NoticeBar/index.wxss b/compiled/wechat/src/NoticeBar/index.wxss deleted file mode 100644 index 0b35e9423..000000000 --- a/compiled/wechat/src/NoticeBar/index.wxss +++ /dev/null @@ -1,68 +0,0 @@ -.ant-notice-bar { - position: relative; - display: flex; - height: 75rpx; - align-items: center; - overflow: hidden; - padding: 16rpx 24rpx; - font-size: 30rpx; - color: var(--notice-color, #ff6010); - background-color: var(--notice-background-color, #fff9ed); - box-sizing: border-box; -} -.ant-notice-bar-error { - color: var(--notice-error-color, #ffffff); - background-color: var(--notice-error-background-color, #ff3141); -} -.ant-notice-bar-error-scroll-left, -.ant-notice-bar-error-scroll-right { - background: var(--notice-error-background-color, #ff3141); -} -.ant-notice-bar-primary { - color: var(--notice-primary-color, #1677ff); - background-color: var(--notice-primary-background-color, #d0e4ff); -} -.ant-notice-bar-primary-scroll-left, -.ant-notice-bar-primary-scroll-right { - background: var(--notice-primary-background-color, #d0e4ff); -} -.ant-notice-bar-info { - color: var(--notice-info-text-color, #ffffff); - background: var(--notice-info-background-color, #666666); -} -.ant-notice-bar-info-scroll-left, -.ant-notice-bar-info-scroll-right { - background: var(--notice-info-background-color, #666666); -} -.ant-notice-bar-icon { - margin-right: 16rpx; - font-size: 36rpx; -} -.ant-notice-bar-icon-image-image { - width: 36rpx; - height: 36rpx; -} -.ant-notice-bar-content { - position: relative; - z-index: 2; - flex: 1 100%; - overflow: hidden; - vertical-align: middle; - line-height: 1.4; -} -.ant-notice-bar-marquee { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - vertical-align: middle; -} -.ant-notice-bar-operation { - display: flex; - align-items: center; -} -.ant-notice-bar-operation-icon { - margin-left: 24rpx; -} -.ant-icon-size-x-small { - font-size: 18px; -} diff --git a/compiled/wechat/src/NoticeBar/props.js b/compiled/wechat/src/NoticeBar/props.js deleted file mode 100644 index 9a36462f5..000000000 --- a/compiled/wechat/src/NoticeBar/props.js +++ /dev/null @@ -1,8 +0,0 @@ -export var NoticeBarDefaultProps = { - icon: '', - type: 'default', - mode: null, - enableMarquee: false, - loop: false, - slotIcon: false, -}; diff --git a/compiled/wechat/src/NoticeBar/variable.wxss b/compiled/wechat/src/NoticeBar/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/NumberKeyboard/index.en.md b/compiled/wechat/src/NumberKeyboard/index.en.md deleted file mode 100644 index bfd0f945f..000000000 --- a/compiled/wechat/src/NumberKeyboard/index.en.md +++ /dev/null @@ -1,141 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# NumberKeyboard - -Customize the numeric keypad. - -## Precautions - -1. The numeric keyboard has not yet solved the problem that the keyboard blocks the input box. Developers need to set up screen scrolling to solve such problems. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-number-keyboard": "antd-mini/es/NumberKeyboard/index" -#endif -#if WECHAT - "ant-number-keyboard": "antd-mini/NumberKeyboard/index" -#endif -} -``` - -## Code example - -### Basic use - -#### Default Keyboard - -```xml - -``` - -#### No decimal point - -```xml - -``` - -#### With confirmation button - -```xml - -``` - -#### With closed arrow - -```xml - -``` - -#### scrambled keyboard - -```xml - -``` - -#### Custom Button - -```xml - - - Custom Title - - - - - - - - - -``` - -### Digital input box - - - -### Verification code input box - - - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------- | ---------------- | --------------------- | ------ | -| className | Class Name | string | - | -| style | Style | string | - | -| value | Enter value | string | - | -| visible | Show | boolean | false | -| vibrate | Vibration | boolean | true | -| closeable | Close Arrow | boolean | false | -| point | decimal point | boolean | true | -| random | out of order | boolean | false | -| confirmDisabled | Disable confirmation button | boolean | false | -| safeArea | Safety distance | boolean | true | -| confirmText | Confirm the text of the button | string | - | -| header | Override the title bar of the keyboard | slot | - | -| confirm | Override keyboard confirmation button | slot | - | -| #if ALIPAY onChange | Callback when number changes | (val: string) => void | - | -| #if ALIPAY onClose | Callback when hiding keyboard | () => void | - | -| #if ALIPAY onConfirm | Callback when clicking confirmation | () => void | - | -| #if WECHAT bind:change | Callback when number changes | (val: string) => void | - | -| #if WECHAT bind:close | Callback when hiding keyboard | () => void | - | -| #if WECHAT bind:confirm | Callback when clicking confirmation | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------- | -| --number-key-board-active-background-color |
#d3d3d3
|
#d3d3d3
| Numeric keypad to activate background color | -| --number-key-board-text-color |
#333333
|
#c5cad1
| Number pad text color | -| --number-key-board-none-text-color |
#999999
|
#616161
| No text color on numeric keypad | -| --number-key-board-iphonex-safe-background-color |
#ffffff
|
#1a1a1a
| Digital Keyboard iPhone X Secure Area Background Color | -| --number-key-board-background-color |
#f5f5f5
|
#121212
| Numeric keypad background color | -| --number-key-board-border-color |
#eeeeee
|
#2b2b2b
| Numeric keypad border color | -| --number-key-board-transfer-bg |
#ffffff
|
#1677ff
| Numeric keypad button background | -| --number-key-board-transfer-color |
#ffffff
|
#3086ff
| Numeric keypad button color | diff --git a/compiled/wechat/src/NumberKeyboard/index.js b/compiled/wechat/src/NumberKeyboard/index.js deleted file mode 100644 index 1e9b75d05..000000000 --- a/compiled/wechat/src/NumberKeyboard/index.js +++ /dev/null @@ -1,71 +0,0 @@ -import { Component, triggerEvent, triggerEventOnly, getValueFromProps, } from '../_util/simply'; -import { NumberKeyboardDefaultProps } from './props'; -var arr = [1, 2, 3, 4, 5, 6, 7, 8, 9]; -Component(NumberKeyboardDefaultProps, { - catchAppearModal: function () { - this.setRandom(); - }, - setRandom: function () { - if (getValueFromProps(this, 'random')) { - var newArr = arr.sort(function () { - return Math.random() - 0.5; - }); - this.setData({ - randomArr: [ - newArr.slice(0, 3), - newArr.slice(3, 6), - newArr.slice(6, 9), - ], - }); - } - }, - tapButton: function (e) { - var _a = getValueFromProps(this, [ - 'value', - 'confirmDisabled', - ]), value = _a[0], confirmDisabled = _a[1]; - this.vibrate(); - var _key = e.currentTarget.dataset.key; - var _val = "".concat(value); - // 回退 - if (_key === 'del') { - triggerEvent(this, 'change', "".concat(_val.substr(0, _val.length - 1)), e); - return; - } - if (_key !== 'del' && _key !== 'enter') { - triggerEvent(this, 'change', "".concat(_val).concat(_key), e); - } - if (_key === 'enter' && !confirmDisabled) { - this.onClickEnter(); - triggerEventOnly(this, 'close'); - } - }, - // 隐藏键盘,失去焦点 - handleHide: function () { - triggerEventOnly(this, 'close'); - }, - onClickEnter: function () { - var confirmDisabled = getValueFromProps(this, 'confirmDisabled'); - if (confirmDisabled) - return; - this.handleHide(); - triggerEventOnly(this, 'confirm'); - }, - // 振动反馈 - vibrate: function () { - if (getValueFromProps(this, 'vibrate') && typeof my !== 'undefined') { - my.canIUse('vibrateShort') && my.vibrateShort(); - } - }, -}, { - numArr: [ - [1, 2, 3], - [4, 5, 6], - [7, 8, 9], - ], - randomArr: [], -}, undefined, { - attached: function () { - this.setRandom(); - }, -}); diff --git a/compiled/wechat/src/NumberKeyboard/index.json b/compiled/wechat/src/NumberKeyboard/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/NumberKeyboard/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/NumberKeyboard/index.md b/compiled/wechat/src/NumberKeyboard/index.md deleted file mode 100644 index 0c898bd46..000000000 --- a/compiled/wechat/src/NumberKeyboard/index.md +++ /dev/null @@ -1,141 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# NumberKeyboard 数字键盘 - -自定义数字键盘。 - -## 注意事项 - -1. 数字键盘暂未解决键盘遮挡输入框的问题,需要开发者自行设置屏幕滚动来解决此类问题。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-number-keyboard": "antd-mini/es/NumberKeyboard/index" -#endif -#if WECHAT - "ant-number-keyboard": "antd-mini/NumberKeyboard/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -#### 默认键盘 - -```xml - -``` - -#### 没有小数点 - -```xml - -``` - -#### 带确认按钮 - -```xml - -``` - -#### 带关闭箭头 - -```xml - -``` - -#### 乱序键盘 - -```xml - -``` - -#### 自定义按钮 - -```xml - - - 自定义标题 - - - - - - - - - -``` - -### 数字输入框 - - - -### 验证码输入框 - - - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------- | ---------------- | --------------------- | ------ | -| className | 类名 | string | - | -| style | 样式 | string | - | -| value | 输入值 | string | - | -| visible | 展示 | boolean | false | -| vibrate | 震动 | boolean | true | -| closeable | 关闭箭头 | boolean | false | -| point | 小数点 | boolean | true | -| random | 乱序 | boolean | false | -| confirmDisabled | 禁用确认按钮 | boolean | false | -| safeArea | 安全距离 | boolean | true | -| confirmText | 确认按钮的文字 | string | - | -| header | 覆盖键盘的标题栏 | slot | - | -| confirm | 覆盖键盘确认按钮 | slot | - | -| #if ALIPAY onChange | 数字变化时的回调 | (val: string) => void | - | -| #if ALIPAY onClose | 隐藏键盘时的回调 | () => void | - | -| #if ALIPAY onConfirm | 点击确认时的回调 | () => void | - | -| #if WECHAT bind:change | 数字变化时的回调 | (val: string) => void | - | -| #if WECHAT bind:close | 隐藏键盘时的回调 | () => void | - | -| #if WECHAT bind:confirm | 点击确认时的回调 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------- | -| --number-key-board-active-background-color |
#d3d3d3
|
#d3d3d3
| 数字键盘激活背景颜色 | -| --number-key-board-text-color |
#333333
|
#c5cad1
| 数字键盘文本颜色 | -| --number-key-board-none-text-color |
#999999
|
#616161
| 数字键盘无文本颜色 | -| --number-key-board-iphonex-safe-background-color |
#ffffff
|
#1a1a1a
| 数字键盘 iPhone X 安全区域背景颜色 | -| --number-key-board-background-color |
#f5f5f5
|
#121212
| 数字键盘背景颜色 | -| --number-key-board-border-color |
#eeeeee
|
#2b2b2b
| 数字键盘边框颜色 | -| --number-key-board-transfer-bg |
#ffffff
|
#1677ff
| 数字键盘按钮背景 | -| --number-key-board-transfer-color |
#ffffff
|
#3086ff
| 数字键盘按钮颜色 | diff --git a/compiled/wechat/src/NumberKeyboard/index.wxml b/compiled/wechat/src/NumberKeyboard/index.wxml deleted file mode 100644 index 8a0d0d30d..000000000 --- a/compiled/wechat/src/NumberKeyboard/index.wxml +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - {{itemKey}} - - - - - - . - 0 - - - - - - 0 - . - - - - - - - - {{confirmText}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/NumberKeyboard/index.wxss b/compiled/wechat/src/NumberKeyboard/index.wxss deleted file mode 100644 index cdbc9d31c..000000000 --- a/compiled/wechat/src/NumberKeyboard/index.wxss +++ /dev/null @@ -1,152 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.ant-number-keyboard { - color: var(--number-key-board-text-color, #333333); - width: 0; - height: 0; - position: relative; - overflow: hidden; -} -.ant-number-keyboard-modal { - z-index: 998; - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 100vh; - background-color: transparent; -} -.ant-number-keyboard-kb { - background: var(--number-key-board-background-color, #f5f5f5); - max-height: 600px; - min-width: 100vw; - overflow: hidden; - position: fixed; - bottom: 0; - left: 0; - transition: all 200ms linear; - z-index: 999; -} -.ant-number-keyboard-kb_hide { - transform: translateY(100%); - max-height: 0; -} -.ant-number-keyboard-kb_bd { - display: flex; -} -.ant-number-keyboard-kb_row { - display: flex; -} -.ant-number-keyboard-kb_keys { - flex: 3; -} -.ant-number-keyboard-kb_function { - flex: 1; - display: flex; - flex-direction: column; -} -.ant-number-keyboard-kb_none { - height: 80rpx; - width: calc(100% - 96 * 1rpx); - padding: 0 48rpx; - font-size: 28rpx; - background-color: var(--number-key-board-iphonex-safe-background-color, #ffffff); - display: flex; - position: relative; - flex-direction: row; - align-items: center; - justify-content: center; - border-bottom: 2rpx solid var(--number-key-board-background-color, #f5f5f5); - color: var(--number-key-board-none-text-color, #999999); -} -.ant-number-keyboard-kb_number { - flex: 1; - height: calc(100vh / 14); - text-align: center; - font-size: 50rpx; - color: var(--number-key-board-text-color, #333333); - background: var(--number-key-board-iphonex-safe-background-color, #ffffff); - border-right: 2rpx solid var(--number-key-board-background-color, #f5f5f5); - border-bottom: 2rpx solid var(--number-key-board-background-color, #f5f5f5); - display: flex; - justify-content: center; - align-items: center; - user-select: none; -} -.ant-number-keyboard-kb_number:active { - background-color: var(--number-key-board-active-background-color, #d3d3d3); - opacity: 0.5; - color: var(--number-key-board-text-color, #333333); -} -.ant-number-keyboard-kb_disable:active { - opacity: 1; -} -.ant-number-keyboard-kb_zero { - flex: 2; -} -.ant-number-keyboard-kb_point { - flex: 1; -} -.ant-number-keyboard-kb_transfer { - background-color: var(--number-key-board-transfer-bg, #1677ff); - color: var(--number-key-board-transfer-color, #ffffff); - flex: 1; - height: calc(100vh / 14); - text-align: center; - font-size: 34rpx; - border-right: 2rpx solid var(--number-key-board-background-color, #f5f5f5); - border-bottom: 2rpx solid var(--number-key-board-background-color, #f5f5f5); - display: flex; - justify-content: center; - align-items: center; - user-select: none; - position: relative; - overflow: hidden; -} -.ant-number-keyboard-kb_transfer-btn { - font-size: 32rpx; - font-weight: bold; -} -.ant-number-keyboard-kb_transfer:active { - opacity: 0.9; -} -.ant-number-keyboard-kb_del { - position: relative; - flex: none; - border-right: none; -} -.ant-number-keyboard-kb_del::before { - display: block; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - content: ''; -} -.ant-number-keyboard-kb_iphonex-safe { - height: 48rpx; - width: 100%; - background-color: var(--number-key-board-iphonex-safe-background-color, #ffffff); -} -.ant-number-keyboard-kb_flex { - flex: 1; -} -.ant-number-keyboard-kb-e { - background-color: var(--number-key-board-border-color, #e5e5e5); -} -.ant-number-keyboard-down { - font-size: 40rpx; -} -.ant-number-keyboard-del { - font-size: 50rpx; -} diff --git a/compiled/wechat/src/NumberKeyboard/props.js b/compiled/wechat/src/NumberKeyboard/props.js deleted file mode 100644 index be7951015..000000000 --- a/compiled/wechat/src/NumberKeyboard/props.js +++ /dev/null @@ -1,14 +0,0 @@ -export var NumberKeyboardDefaultProps = { - closeable: false, - point: true, - confirmText: '', - vibrate: false, - visible: false, - value: '', - safeArea: true, - random: false, - confirmDisabled: false, - onChange: function () { }, - onConfirm: function () { }, - onClose: function () { }, -}; diff --git a/compiled/wechat/src/NumberKeyboard/variable.wxss b/compiled/wechat/src/NumberKeyboard/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/PageContainer/index.en.md b/compiled/wechat/src/PageContainer/index.en.md deleted file mode 100644 index 5cc14b004..000000000 --- a/compiled/wechat/src/PageContainer/index.en.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# PageContainer - -The page-level container component provides common capabilities such as loading status, page exception handling, top/bottom safe margins, and so on, out of the box. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { - "ant-page": "antd-mini/es/PageContainer/index" -} -``` - -## Code example - -### Basic use - -```xml - - - minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - - -``` - -```js -Page({ - data: { - loading: true, - status: 'failed', - safeArea: 'both', - }, - onLoad() { - setTimeout(() => { - this.setData({ - loading: false, - }); - }, 1000); - }, - handleRefresh() { - my.reLaunch({ - url: 'index', - fail(e) { - console.log(e); - }, - }); - }, - handleSwitchToDisconnected() { - this.setData({ - status: 'disconnected', - title: undefined, - message: undefined, - image: '', - }); - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| -------------------- | ------------------------------------------------------- | ---------------- | -------- | -| className | Class Name | string | - | -| style | Style | string | - | -| safeArea | Location of margin inside the safety zone,`top`、`bottom`、`both` | string | `both` | -| loading | Loading | boolean \| slot | false | -| loadingType | Load style type,`spin`、`mini` | string | `spin` | -| loadingSize | Load Style Size,`small`、`medium`、`large`、`x-large` | string | `medium` | -| loadingColor | Load Style Color | string | '#ccc' | -| status | Page exception status,`failed`、`busy`、`disconnected`、`empty` | string \| slot | - | -| image | Page Exception State Custom Image | string | - | -| title | Page Exception Status Custom Title | string | - | -| message | Page Exception Status Custom Description | string | - | -| actionText | Page Exception Status Button Copy | string | - | -| secondaryActionText | Page Exception Secondary Button Copy | string | - | -| extra | Page Exception Custom Button | slot | - | -| onActionTap | Page abnormal state button click event | (e: any) => void | - | -| onSecondaryActionTap | Page Exception Status Secondary Button Click Event | (e: any) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --page-container-background-color |
#f5f5f5
|
#121212
| Page Container Background Color | diff --git a/compiled/wechat/src/PageContainer/index.js b/compiled/wechat/src/PageContainer/index.js deleted file mode 100644 index 9bb91f596..000000000 --- a/compiled/wechat/src/PageContainer/index.js +++ /dev/null @@ -1,66 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { effect } from '@preact/signals-core'; -import equal from 'fast-deep-equal'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEventOnly, } from '../_util/simply'; -import i18nController from '../_util/store'; -import { BuiltinStatus, PageDefaultProps } from './props'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, PageDefaultProps, { - handleActionTap: function (e) { - triggerEventOnly(this, 'actionTap', e); - }, - handleSecondaryActionTap: function (e) { - triggerEventOnly(this, 'secondaryActionTap', e); - }, - updatePageStatus: function (prevProps, nextProps) { - var _a, _b, _c, _d, _e; - if (!equal(prevProps, nextProps)) { - var _f = getValueFromProps(this, [ - 'status', - 'image', - 'title', - 'message', - ]), status_1 = _f[0], image = _f[1], title = _f[2], message = _f[3]; - var updateData = __assign(__assign({}, nextProps), { - // 自定义内容优先 status - image: image || ((_a = BuiltinStatus[status_1]) === null || _a === void 0 ? void 0 : _a.image) || '', title: title || - ((_b = BuiltinStatus[status_1]) === null || _b === void 0 ? void 0 : _b.title) || - ((_c = this.data.locale.pageContainer[status_1]) === null || _c === void 0 ? void 0 : _c.title) || - '', message: message || - ((_d = BuiltinStatus[status_1]) === null || _d === void 0 ? void 0 : _d.message) || - ((_e = this.data.locale.pageContainer[status_1]) === null || _e === void 0 ? void 0 : _e.message) || - '' }); - this.setData(updateData); - } - }, -}, {}, undefined, { - attached: function () { - var props = getValueFromProps(this); - this.updatePageStatus({}, props); - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - this.updatePageStatus(prevData, data); - }, - }, -}); diff --git a/compiled/wechat/src/PageContainer/index.json b/compiled/wechat/src/PageContainer/index.json deleted file mode 100644 index 0ea49bc59..000000000 --- a/compiled/wechat/src/PageContainer/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-loading": "../Loading/index", - "ant-empty": "../Empty/index" - } -} diff --git a/compiled/wechat/src/PageContainer/index.md b/compiled/wechat/src/PageContainer/index.md deleted file mode 100644 index 556a95e0a..000000000 --- a/compiled/wechat/src/PageContainer/index.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# PageContainer 页面容器 - -页面级容器组件,提供加载状态、页面异常处理、顶部/底部安全边距等常用能力,开箱即用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { - "ant-page": "antd-mini/es/PageContainer/index" -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - - -``` - -```js -Page({ - data: { - loading: true, - status: 'failed', - safeArea: 'both', - }, - onLoad() { - setTimeout(() => { - this.setData({ - loading: false, - }); - }, 1000); - }, - handleRefresh() { - my.reLaunch({ - url: 'index', - fail(e) { - console.log(e); - }, - }); - }, - handleSwitchToDisconnected() { - this.setData({ - status: 'disconnected', - title: undefined, - message: undefined, - image: '', - }); - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| -------------------- | ------------------------------------------------------- | ---------------- | -------- | -| className | 类名 | string | - | -| style | 样式 | string | - | -| safeArea | 安全区内边距位置,`top`、`bottom`、`both` | string | `both` | -| loading | 加载中 | boolean \| slot | false | -| loadingType | 加载样式类型,`spin`、`mini` | string | `spin` | -| loadingSize | 加载样式大小,`small`、`medium`、`large`、`x-large` | string | `medium` | -| loadingColor | 加载样式颜色 | string | '#ccc' | -| status | 页面异常状态,`failed`、`busy`、`disconnected`、`empty` | string \| slot | - | -| image | 页面异常状态自定义图片 | string | - | -| title | 页面异常状态自定义标题 | string | - | -| message | 页面异常状态自定义描述 | string | - | -| actionText | 页面异常状态按钮文案 | string | - | -| secondaryActionText | 页面异常状态次要按钮文案 | string | - | -| extra | 页面异常状态自定义按钮 | slot | - | -| onActionTap | 页面异常状态按钮点击事件 | (e: any) => void | - | -| onSecondaryActionTap | 页面异常状态次要按钮点击事件 | (e: any) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --page-container-background-color |
#f5f5f5
|
#121212
| 页面容器背景颜色 | diff --git a/compiled/wechat/src/PageContainer/index.wxml b/compiled/wechat/src/PageContainer/index.wxml deleted file mode 100644 index a1bda011f..000000000 --- a/compiled/wechat/src/PageContainer/index.wxml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - {{actionText}} - {{secondaryActionText}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/PageContainer/index.wxs b/compiled/wechat/src/PageContainer/index.wxs deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/PageContainer/index.wxss b/compiled/wechat/src/PageContainer/index.wxss deleted file mode 100644 index 7b215e971..000000000 --- a/compiled/wechat/src/PageContainer/index.wxss +++ /dev/null @@ -1,32 +0,0 @@ -.ant-page-container { - overflow: auto; - color: #333333; -} -.ant-page-container-safe-top { - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} -.ant-page-container-safe-bottom { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} -.ant-page-container-loading-wrap { - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100vh; - background: var(--page-container-background-color, #f5f5f5); - opacity: 0.4; - z-index: 3; -} -.ant-page-container-loading { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); -} -.ant-page-container-status { - margin-top: 420rpx; - text-align: center; -} diff --git a/compiled/wechat/src/PageContainer/props.js b/compiled/wechat/src/PageContainer/props.js deleted file mode 100644 index 98cb6581a..000000000 --- a/compiled/wechat/src/PageContainer/props.js +++ /dev/null @@ -1,38 +0,0 @@ -export var PageDefaultProps = { - loading: false, - safeArea: 'both', - loadingColor: '#ccc', - loadingSize: 'medium', - loadingType: 'spin', - status: null, - title: '', - image: '', - message: '', - actionText: '', - secondaryActionText: '', - onActionTap: null, - onSecondaryActionTap: null, -}; -// 内置异常配置 -export var BuiltinStatus = { - failed: { - image: 'https://gw.alipayobjects.com/mdn/rms_7cc883/afts/img/A*PG7NQoXbN38AAAAAAAAAAAAAARQnAQ', - title: '', - message: '', - }, - disconnected: { - image: 'https://mdn.alipayobjects.com/huamei_yqdpol/afts/img/A*uqB5TY4urA4AAAAAAAAAAAAADj16AQ/original', - title: '', - message: '', - }, - empty: { - title: '', - message: '', - image: 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*0AaRRrYlVDkAAAAAAAAAAAAAARQnAQ', - }, - busy: { - image: 'https://mdn.alipayobjects.com/huamei_yqdpol/afts/img/A*avTGQIyeHk0AAAAAAAAAAAAADj16AQ/original', - title: '', - message: '', - }, -}; diff --git a/compiled/wechat/src/PageContainer/variable.wxss b/compiled/wechat/src/PageContainer/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Pagination/index.js b/compiled/wechat/src/Pagination/index.js deleted file mode 100644 index cae92fd17..000000000 --- a/compiled/wechat/src/Pagination/index.js +++ /dev/null @@ -1,82 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { Component } from '../_util/simply'; -import { PaginationDefaultProps } from './props'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -Component(PaginationDefaultProps, { - clacWidth: function () { - return __awaiter(this, void 0, void 0, function () { - var rect; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this, "#ant-pageInfinite-".concat(this.$id ? "-".concat(this.$id) : ''))]; - case 1: - rect = _a.sent(); - if (rect) { - return [2 /*return*/, rect.width]; - } - return [2 /*return*/, 0]; - } - }); - }); - }, - onScroll: function (e) { - return __awaiter(this, void 0, void 0, function () { - var _a, scrollLeft, scrollWidth, viewWidth; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = e.detail, scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth; - return [4 /*yield*/, this.clacWidth()]; - case 1: - viewWidth = _b.sent(); - if (viewWidth) { - this.setData({ - pageDeg: Math.ceil((scrollLeft / (scrollWidth - viewWidth)) * 100), - }); - } - return [2 /*return*/]; - } - }); - }); - }, -}, { - pageDeg: 0, - supportSjs: true, -}, undefined, { - wrapWidth: 0, -}); diff --git a/compiled/wechat/src/Pagination/index.json b/compiled/wechat/src/Pagination/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Pagination/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Pagination/index.wxml b/compiled/wechat/src/Pagination/index.wxml deleted file mode 100644 index acc8aad47..000000000 --- a/compiled/wechat/src/Pagination/index.wxml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Pagination/index.wxs b/compiled/wechat/src/Pagination/index.wxs deleted file mode 100644 index 1d0ecdab6..000000000 --- a/compiled/wechat/src/Pagination/index.wxs +++ /dev/null @@ -1,11 +0,0 @@ -function changeScollDistance(event, ownerComponent) { - var scrollLeft = event.detail.scrollLeft; - var scrollWidth = event.detail.scrollWidth; - var viewWidth = ownerComponent.selectComponent('.ant-page-infinite-content').getBoundingClientRect().width; - var moveDom = ownerComponent.selectComponent('.ant-page-infinite-move'); - var pageDeg = Math.ceil(scrollLeft / (scrollWidth - viewWidth) * 100); - moveDom.setStyle("transform: translateX(".concat(pageDeg, "%);")); -} -module.exports = { - changeScollDistance: changeScollDistance -}; \ No newline at end of file diff --git a/compiled/wechat/src/Pagination/index.wxss b/compiled/wechat/src/Pagination/index.wxss deleted file mode 100644 index 557fa8a90..000000000 --- a/compiled/wechat/src/Pagination/index.wxss +++ /dev/null @@ -1,41 +0,0 @@ -.ant-page-infinite { - position: relative; - width: 100%; - box-sizing: border-box; -} -.ant-page-infinite-content { - width: 100%; -} -.ant-page-infinite-content::-webkit-scrollbar { - display: none; -} -.ant-page-infinite-wrap { - position: absolute; - bottom: 2rpx; - left: 0; - right: 0; - width: 100%; - height: 6rpx; - z-index: 2; - pointer-events: none; -} -.ant-page-infinite-area { - position: absolute; - left: 50%; - width: 52rpx; - height: 6rpx; - overflow: hidden; - border-radius: 4rpx / 2; - transform: translateX(-50%); - background-color: var(--pagination-area-background-color, #f5f5f5); -} -.ant-page-infinite-move { - position: absolute; - bottom: 0; - left: 0; - width: 50%; - height: 100%; - transition: all 100ms linear; - border-radius: 4rpx / 2; - background-color: var(--pagination-move-background-color, #1677ff); -} diff --git a/compiled/wechat/src/Pagination/props.js b/compiled/wechat/src/Pagination/props.js deleted file mode 100644 index ff38907b2..000000000 --- a/compiled/wechat/src/Pagination/props.js +++ /dev/null @@ -1,4 +0,0 @@ -export var PaginationDefaultProps = { - fillColor: '', - frontColor: '', -}; diff --git a/compiled/wechat/src/Pagination/variable.wxss b/compiled/wechat/src/Pagination/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Picker/CascaderPicker/index.js b/compiled/wechat/src/Picker/CascaderPicker/index.js deleted file mode 100644 index 68277741d..000000000 --- a/compiled/wechat/src/Picker/CascaderPicker/index.js +++ /dev/null @@ -1,243 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { Component, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../../_util/simply'; -import { resolveEventValue, resolveEventValues } from '../../_util/platform'; -import { CascaderDefaultProps } from './props'; -import equal from 'fast-deep-equal'; -import mixinValue from '../../mixins/value'; -Component(CascaderDefaultProps, { - // visible受控判断 - isVisibleControlled: function () { - return getValueFromProps(this, 'visible') !== null; - }, - initColumns: function () { - var _a = getValueFromProps(this, [ - 'options', - 'visible', - 'defaultVisible', - 'value', - 'defaultValue', - ]), options = _a[0], visible = _a[1], defaultVisible = _a[2], value = _a[3], defaultValue = _a[4]; - var realValue = value || defaultValue || []; - var columns = this.getterColumns(realValue, options); - // 首次无需校验value有效性,onOk时会校验 - this.setData({ - columns: columns, - visible: this.isVisibleControlled() ? visible : defaultVisible, - currentValue: realValue, - formattedValueText: this.onFormat(), - }); - }, - getterColumns: function (value, options) { - var getColumns = function (options, value, columns) { - var _a; - if (columns === void 0) { columns = []; } - columns.push(options.map(function (v) { return ({ value: v.value, label: v.label }); })); - var currentOption = options.find(function (v) { return v.value === (value === null || value === void 0 ? void 0 : value[columns.length - 1]); }) || - options[0]; - if (((_a = currentOption === null || currentOption === void 0 ? void 0 : currentOption.children) === null || _a === void 0 ? void 0 : _a.length) > 0) { - return getColumns(currentOption.children, value, columns); - } - return columns; - }; - return getColumns(options, value); - }, - // 获取有效value,若从x项开始在columns里找不到,则从此项开始都选第一条 - getValidValue: function (value, columns) { - var result = []; - var _loop_1 = function (i) { - if (!columns[i].some(function (v) { return (v === null || v === void 0 ? void 0 : v.value) === (value === null || value === void 0 ? void 0 : value[i]); })) { - result.push.apply(result, columns.slice(i).map(function (v) { var _a; return (_a = v === null || v === void 0 ? void 0 : v[0]) === null || _a === void 0 ? void 0 : _a.value; })); - return "break"; - } - else { - result[i] = value[i]; - } - }; - for (var i = 0; i < columns.length; i++) { - var state_1 = _loop_1(i); - if (state_1 === "break") - break; - } - return result; - }, - getOptionByValue: function (value) { - var _a; - var options = getValueFromProps(this, 'options'); - if (!((value === null || value === void 0 ? void 0 : value.length) > 0)) - return null; - var result = []; - var item = options.find(function (v) { return v.value === value[0]; }); - var _loop_2 = function (i) { - if (!item) { - return { value: null }; - } - result.push({ - value: item.value, - label: item.label, - }); - item = (_a = item.children) === null || _a === void 0 ? void 0 : _a.find(function (v) { return v.value === value[i + 1]; }); - }; - for (var i = 0; i < value.length; i++) { - var state_2 = _loop_2(i); - if (typeof state_2 === "object") - return state_2.value; - } - return result; - }, - onChange: function (selectedVal) { - var selectedValue = resolveEventValues(selectedVal)[0]; - var options = getValueFromProps(this, 'options'); - var columns = this.data.columns; - var newColumns = this.getterColumns(selectedValue, options); - // columns没变化说明selectedValue在范围内,无需重置 - var newData = {}; - if (!equal(columns, newColumns)) { - selectedValue = this.getValidValue(selectedValue, newColumns); - newData.columns = newColumns; - } - newData.currentValue = selectedValue; - this.setData(newData); - triggerEventValues(this, 'change', [ - selectedValue, - this.getOptionByValue(selectedValue), - ]); - }, - onOk: function () { - return __awaiter(this, void 0, void 0, function () { - var currentValue, options, newColumns, validValue; - return __generator(this, function (_a) { - currentValue = this.data.currentValue; - options = getValueFromProps(this, 'options'); - newColumns = this.getterColumns(currentValue, options); - validValue = this.getValidValue(currentValue, newColumns); - if (!this.isControlled()) { - this.update(validValue); - } - triggerEventValues(this, 'ok', [ - validValue, - this.getOptionByValue(validValue), - ]); - return [2 /*return*/]; - }); - }); - }, - onVisibleChange: function (visible) { - var _this = this; - var options = getValueFromProps(this, 'options'); - var columns = this.data.columns; - var realValue = this.getValue(); - if (!this.isVisibleControlled() && visible) { - var newColumns_1 = this.getterColumns(realValue, options); - if (!equal(columns, newColumns_1)) { - this.setData({ columns: newColumns_1 }, function () { - _this.setData({ - currentValue: _this.getValidValue(realValue, newColumns_1), - formattedValueText: _this.onFormat(), - }); - }); - } - } - triggerEvent(this, 'visibleChange', resolveEventValue(visible)); - }, - defaultFormat: function (value, options) { - if (options) { - return options.map(function (v) { return v.label; }).join(''); - } - return ''; - }, - onFormat: function () { - var realValue = this.getValue(); - var onFormat = getValueFromProps(this, 'onFormat'); - var formatValueByProps = onFormat && onFormat(realValue, this.getOptionByValue(realValue)); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat(realValue, this.getOptionByValue(realValue)); - }, - onCancel: function (e) { - triggerEventOnly(this, 'cancel', e); - }, -}, { - currentValue: [], - columns: [], - formattedValueText: '', - visible: false, -}, [mixinValue()], { - created: function () { - this.initColumns(); - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - var options = getValueFromProps(this, 'options'); - if (!equal(options, prevData.options)) { - var currentValue = this.data.currentValue; - var newColumns = this.getterColumns(currentValue, options); - this.setData({ - columns: newColumns, - }); - } - if (!this.isEqualValue(prevData)) { - var realValue = this.getValue(); - var newColumns = this.getterColumns(realValue, options); - var currentValue = this.getValidValue(realValue, newColumns); - this.setData({ currentValue: currentValue, formattedValueText: this.onFormat() }); - } - }, - 'visible': function (data) { - var prevVisible = this._prevVisible; - this._prevVisible = data; - var visible = getValueFromProps(this, 'visible'); - if (this.isVisibleControlled() && !equal(prevVisible, visible)) { - this.setData({ visible: visible }); - } - }, - }, -}); diff --git a/compiled/wechat/src/Picker/CascaderPicker/index.json b/compiled/wechat/src/Picker/CascaderPicker/index.json deleted file mode 100644 index 208399c82..000000000 --- a/compiled/wechat/src/Picker/CascaderPicker/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-picker": "../index" - } -} diff --git a/compiled/wechat/src/Picker/CascaderPicker/index.wxml b/compiled/wechat/src/Picker/CascaderPicker/index.wxml deleted file mode 100644 index eb49b008e..000000000 --- a/compiled/wechat/src/Picker/CascaderPicker/index.wxml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Picker/CascaderPicker/index.wxss b/compiled/wechat/src/Picker/CascaderPicker/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Picker/CascaderPicker/props.js b/compiled/wechat/src/Picker/CascaderPicker/props.js deleted file mode 100644 index 0ded11378..000000000 --- a/compiled/wechat/src/Picker/CascaderPicker/props.js +++ /dev/null @@ -1,17 +0,0 @@ -export var CascaderDefaultProps = { - visible: null, - defaultVisible: null, - animationType: 'transform', - value: null, - defaultValue: null, - options: [], - placeholder: '请选择', - cancelText: '取消', - disabled: false, - title: '', - okText: '确定', - maskClosable: true, - popClassName: '', - popStyle: '', - onFormat: null, -}; diff --git a/compiled/wechat/src/Picker/CascaderPicker/utils.js b/compiled/wechat/src/Picker/CascaderPicker/utils.js deleted file mode 100644 index f90a27a87..000000000 --- a/compiled/wechat/src/Picker/CascaderPicker/utils.js +++ /dev/null @@ -1,39 +0,0 @@ -export function defaultFormat(value, options) { - if (options) { - return options.map(function (v) { return v.label; }).join(''); - } - return ''; -} -export function getterColumns(value, options) { - if (options === void 0) { options = []; } - var getColumns = function (options, value, columns) { - var _a; - if (columns === void 0) { columns = []; } - columns.push(options.map(function (v) { return ({ value: v.value, label: v.label }); })); - var currentOption = options.find(function (v) { return v.value === (value === null || value === void 0 ? void 0 : value[columns.length - 1]); }) || - options[0]; - if (((_a = currentOption === null || currentOption === void 0 ? void 0 : currentOption.children) === null || _a === void 0 ? void 0 : _a.length) > 0) { - return getColumns(currentOption.children, value, columns); - } - return columns; - }; - return getColumns(options, value); -} -export function getValidValue(value, columns) { - var result = []; - var _loop_1 = function (i) { - if (!columns[i].some(function (v) { return v.value === (value === null || value === void 0 ? void 0 : value[i]); })) { - result.push.apply(result, columns.slice(i).map(function (v) { var _a; return (_a = v[0]) === null || _a === void 0 ? void 0 : _a.value; })); - return "break"; - } - else { - result[i] = value[i]; - } - }; - for (var i = 0; i < columns.length; i++) { - var state_1 = _loop_1(i); - if (state_1 === "break") - break; - } - return result; -} diff --git a/compiled/wechat/src/Picker/index.en.md b/compiled/wechat/src/Picker/index.en.md deleted file mode 100644 index df038488b..000000000 --- a/compiled/wechat/src/Picker/index.en.md +++ /dev/null @@ -1,392 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Picker - -The Picker selector displays a scrollable list of one or more collections of options, providing consistency between the iOS and Android-side experiences compared to native pickers. - -- One or more sets of association options are provided for selection by the user. -- When there are less than 5 options, it is recommended to tile the options directly. Using Radio is a better choice. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-picker": "antd-mini/es/Picker/index", - "ant-cascader-picker": "antd-mini/es/CascaderPicker/index" -#endif -#if WECHAT - "ant-picker": "antd-mini/Picker/index", - "ant-cascader-picker": "antd-mini/CascaderPicker/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - defaultValue: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleDismiss(e) { - console.log('onCancel', e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, -}); -``` - -### Format selected text - -> `onFormat` The function return value is the value of the selected area to be rendered. - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif - }, -#if ALIPAY - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif -}) -``` - -### multi-column selection - -> When complex options appear, but do not need to link between options, you can achieve multi-column selection in the following ways: - -```xml - -``` - -```js -Page({ - data: { - columns: [ - [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - [ - { - label: '上午', - value: 'am', - }, - { - label: '下午', - value: 'pm', - }, - ], - ], -#if WECHAT - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - }, -#endif - }, -#if ALIPAY - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - } -#endif -}) -``` - -### Controlled Mode - -> `value` property and `ok` Events, with the implementation of controlled mode. - -```xml - -Select Shenzhen -Empty -``` - -```js -Page({ - data:{ - value: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleControlledOk(value) { -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif - }, - handleClearControlled() { - this.setData({ - value: '', - }); - }, - handleChangeControlled() { - this.setData({ - value: '深圳', - }); - }, -}) -``` - -### Cascade Picker - -> When more complex options appear, there is a need for linkage between options, which requires the introduction `ant-cascader-picker` Cascade selection components to achieve. The component implements the cascading function by passing in the following tree structure: - -```xml - -``` - -```js -Page({ - data: { - cityList: [ - { - label: '北京', - value: '11', - children: [ - { - label: '北京', - value: '110', - }, - ], - }, - { - label: '河北', - value: '18', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - ], - }, - ], - }, -}); -``` - -## Demo Code - - - -## API - -### Picker - -| 属性 | Description | Type | Default Value | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | --- | -| animationType | 动画Type,可选`transform` `position`, the default is used`transform`Animation performance is better. Due to a bug in the basic library of small programs, the picker-view shadow style in the pop-up window may have style problems under iOS and can be temporarily switched`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | Default Value | string \| number \| Array\ | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| emptyText | 空状态按钮文案 | string | '暂无数据' | -| options | picker 数据,配置每一列的选项 | [PickerColumnItem](#pickercolumnitem)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的Value | string \| number \| Array\ | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中Value的文本显示格式 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem)) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### CascaderPicker - -| 属性 | Description | Type | Default Value | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | --- | -| animationType | 动画Type,可选`transform` `position`, the default is used`transform`Animation performance is better. Due to a bug in the basic library of small programs, the picker-view shadow style in the pop-up window may have style problems under iOS and can be temporarily switched`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的Value | string[] | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| format | 时间格式化显示,格式同[dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| options | 可选数据 | [CascaderOption](#cascaderoption)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的Value | string[] | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中Value的文本显示格式,默认展示 labels.join('') | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[]) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PickerColumnItem - -| Parameters | Description | Type | Default Value | -| ----- | ---- | ---------------- | ------ | -| label | Text | string | - | -| value | Value | string \| number | - | - -### CascaderOption - -| Parameters | Description | Type | Default Value | -| -------- | ---- | ---------------- | ------ | -| label | Text | string | - | -| value | Value | string \| number | - | -| children | Sub Level | CascaderOption[] | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ----------------------------- | -| --picker-item-color |
#333333
|
#c5cad1
| Selector item color | -| --picker-header-action-color |
#1677ff
|
#3086ff
| Selector Head Operation Color | -| --picker-placeholder-color |
#cccccc
|
#474747
| Selector Placeholder Color | -| --picker-header-color |
#eeeeee
|
#2b2b2b
| Selector head color | -| --picker-content-background-color |
#ffffff
|
#1a1a1a
| Selector Content Background Color | -| --picker-mask-bg-faded-95 |
rgba(255, 255, 255, 0.05)
|
rgba(255, 255, 255, 0.02)
| Selector mask background color (95% transparency) | -| --picker-mask-bg-faded-60 |
rgba(255, 255, 255, 0.4)
|
rgba(255, 255, 255, 0.01)
| Selector mask background color (60% transparency) | - -## FAQ - -### Exhibit exception when dynamically changing the number of picker columns - -Due to the limitation of native picker-view, dynamic change of the number of columns is not supported for the time being. diff --git a/compiled/wechat/src/Picker/index.js b/compiled/wechat/src/Picker/index.js deleted file mode 100644 index a65df24a3..000000000 --- a/compiled/wechat/src/Picker/index.js +++ /dev/null @@ -1,282 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { effect } from '@preact/signals-core'; -import mixinValue from '../mixins/value'; -import { ComponentWithSignalStoreImpl, getValueFromProps, triggerEvent, triggerEventOnly, triggerEventValues, } from '../_util/simply'; -import i18nController from '../_util/store'; -import { PickerDefaultProps } from './props'; -import { getMatchedItemByIndex, getMatchedItemByValue, getStrictMatchedItemByValue, } from './utils'; -ComponentWithSignalStoreImpl({ - store: function () { return i18nController; }, - updateHook: effect, - mapState: { - locale: function (_a) { - var store = _a.store; - return store.currentLocale.value; - }, - }, -}, PickerDefaultProps, { - // visible受控判断 - isVisibleControlled: function () { - return getValueFromProps(this, 'visible') !== null; - }, - initData: function () { - var _this = this; - var _a = getValueFromProps(this, [ - 'options', - 'visible', - 'defaultVisible', - ]), options = _a[0], visible = _a[1], defaultVisible = _a[2]; - var columns = this.getterColumns(options); - this.setData({ - columns: columns, - }, function () { - var formatValue = _this.getterFormatText(); - var selectedIndex = _this.getterSelectedIndex(); - _this.setData({ - formatValue: formatValue, - selectedIndex: selectedIndex, - visible: _this.isVisibleControlled() ? visible : defaultVisible, - }); - }); - }, - getterColumns: function (options) { - var columns = []; - if (options.length > 0) { - if (options.every(function (item) { return Array.isArray(item); })) { - this.single = false; - columns = options.slice(); - } - else { - this.single = true; - columns = [options]; - } - } - return columns; - }, - defaultFormat: function (value, column) { - if (Array.isArray(column)) { - return column - .filter(function (c) { return c !== undefined; }) - .map(function (c) { - if (typeof c === 'object') { - return c.label; - } - return c; - }) - .join('-'); - } - return (column && column.label) || column || ''; - }, - getterFormatText: function () { - var _a = getValueFromProps(this, [ - 'onFormat', - 'formattedValueText', - ]), onFormat = _a[0], formattedValueText = _a[1]; - if (typeof formattedValueText === 'string') { - return formattedValueText; - } - var columns = this.data.columns; - var realValue = this.getValue(); - var matchedColumn = getStrictMatchedItemByValue(columns, realValue, this.single).matchedColumn; - var formatValueByProps = onFormat && onFormat(realValue, matchedColumn); - if (formatValueByProps !== undefined && formatValueByProps !== null) { - return formatValueByProps; - } - return this.defaultFormat(realValue, matchedColumn); - }, - getterSelectedIndex: function () { - var selectedIndex = []; - var columns = this.data.columns; - var realValue = this.getValue(); - var value = realValue || []; - if (this.single) { - value = [realValue]; - } - var _loop_1 = function (i) { - var column = columns[i]; - var compareValue = value[i]; - if (compareValue === undefined || compareValue === null) { - selectedIndex[i] = 0; - } - var index = column.findIndex(function (c) { - return c === compareValue || c.value === compareValue; - }); - if (index === -1) { - index = 0; - } - selectedIndex[i] = index; - }; - for (var i = 0; i < columns.length; i++) { - _loop_1(i); - } - return selectedIndex; - }, - onOpen: function () { - var disabled = getValueFromProps(this, 'disabled'); - if (!disabled) { - this.tempSelectedIndex = null; - var selectedIndex = this.getterSelectedIndex(); - this.setData({ - selectedIndex: selectedIndex, - }); - this.triggerPicker(true); - } - }, - triggerPicker: function (visible) { - this.setData({ - visible: visible, - }); - triggerEvent(this, 'visibleChange', visible); - }, - onMaskDismiss: function () { - var maskClosable = getValueFromProps(this, 'maskClosable'); - if (!maskClosable) { - return; - } - this.triggerPicker(false); - triggerEventOnly(this, 'cancel', { detail: { type: 'mask' } }); - }, - onCancel: function () { - this.triggerPicker(false); - triggerEventOnly(this, 'cancel', { detail: { type: 'cancel' } }); - }, - onChange: function (e) { - var selectedIndex = e.detail.value; - this.tempSelectedIndex = selectedIndex; - this.isChangingPickerView = true; - var _a = getMatchedItemByIndex(this.data.columns, this.tempSelectedIndex, this.single), matchedColumn = _a.matchedColumn, matchedValues = _a.matchedValues; - this.setData({ - selectedIndex: selectedIndex, - }); - triggerEventValues(this, 'change', [matchedValues, matchedColumn], e); - }, - onOk: function () { - return __awaiter(this, void 0, void 0, function () { - var result, matchedColumn, matchedValues; - return __generator(this, function (_a) { - if (this.tempSelectedIndex) { - result = getMatchedItemByIndex(this.data.columns, this.tempSelectedIndex, this.single); - } - else { - result = getMatchedItemByValue(this.data.columns, this.getValue(), this.single); - } - matchedColumn = result.matchedColumn, matchedValues = result.matchedValues; - this.triggerPicker(false); - if (!this.isControlled()) { - this.update(matchedValues); - } - triggerEventValues(this, 'ok', [matchedValues, matchedColumn]); - return [2 /*return*/]; - }); - }); - }, -}, { - formatValue: '', - columns: [], - visible: false, - selectedIndex: [], - locale: { - locale: '23123', - global: {}, - }, -}, [ - mixinValue({ - transformValue: function (value) { - return { - needUpdate: true, - value: value === undefined ? [] : value, - }; - }, - }), -], { - tempSelectedIndex: null, - single: false, - isChangingPickerView: false, - created: function () { - this.initData(); - }, - observers: { - 'options': function () { - var _this = this; - var options = getValueFromProps(this, 'options'); - var newColums = this.getterColumns(options); - this.setData({ - columns: newColums, - }, function () { - // 如果是在滚动过程中columns发生变化,以onChange里抛出的selectedIndex为准 - if (!_this.isChangingPickerView) { - _this.tempSelectedIndex = null; - var selectedIndex = _this.getterSelectedIndex(); - _this.setData({ - selectedIndex: selectedIndex, - }); - } - _this.isChangingPickerView = false; - }); - }, - 'value': function () { - var selectedIndex = this.getterSelectedIndex(); - this.tempSelectedIndex = null; - this.setData({ - selectedIndex: selectedIndex, - }); - }, - 'visible': function () { - var visible = getValueFromProps(this, 'visible'); - if (this.data.visible !== visible) { - this.setData({ - visible: visible, - }); - } - }, - 'formattedValueText': function () { - var formattedValueText = getValueFromProps(this, 'formattedValueText'); - this.setData({ - formatValue: formattedValueText, - }); - }, - '**': function () { - var formatValue = this.getterFormatText(); - if (formatValue !== this.data.formatValue) { - this.setData({ - formatValue: formatValue, - }); - } - }, - }, -}); diff --git a/compiled/wechat/src/Picker/index.json b/compiled/wechat/src/Picker/index.json deleted file mode 100644 index e1a7501d8..000000000 --- a/compiled/wechat/src/Picker/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-popup": "../Popup/index" - } -} diff --git a/compiled/wechat/src/Picker/index.md b/compiled/wechat/src/Picker/index.md deleted file mode 100644 index 521c4f5e1..000000000 --- a/compiled/wechat/src/Picker/index.md +++ /dev/null @@ -1,392 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Picker 选择器 - -Picker 选择器显示一个或多个选项集合的可滚动列表,相比于原生 picker,实现了 iOS 与 Android 端体验的一致性。 - -- 提供一组或多组关联选项供用户选择。 -- 当少于 5 个选项时,建议直接将选项平铺,使用 Radio 是更好的选择。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-picker": "antd-mini/es/Picker/index", - "ant-cascader-picker": "antd-mini/es/CascaderPicker/index" -#endif -#if WECHAT - "ant-picker": "antd-mini/Picker/index", - "ant-cascader-picker": "antd-mini/CascaderPicker/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - defaultValue: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleDismiss(e) { - console.log('onCancel', e); - }, - handleTriggerPicker(visible, e) { - console.log('onVisibleChange', visible, e); - }, - handleOk(value, column, e) { - console.log('onOk value', value, 'onOk column', column, e); - }, - handleChange(value, column, e) { - console.log('onChange value', value, 'onChange column', column, e); - }, -}); -``` - -### 格式化已选文本 - -> `onFormat` 函数返回值则是已选区域需要渲染的值。 - -```xml - -``` - -```js -Page({ - data: { -#if WECHAT - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif - }, -#if ALIPAY - onFormat: (value) => { - return `已选择:${value}`; - }, -#endif -}) -``` - -### 多列选择 - -> 当出现复杂选项时,但又不需要选项之间联动,可以通过一下方式实现多列选择: - -```xml - -``` - -```js -Page({ - data: { - columns: [ - [ - { - label: '周一', - value: 'Mon', - }, - { - label: '周二', - value: 'Tues', - }, - { - label: '周三', - value: 'Wed', - }, - { - label: '周四', - value: 'Thur', - }, - { - label: '周五', - value: 'Fri', - }, - ], - [ - { - label: '上午', - value: 'am', - }, - { - label: '下午', - value: 'pm', - }, - ], - ], -#if WECHAT - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - }, -#endif - }, -#if ALIPAY - formatTime: (value) => { - return column.map((c) => c && c.label).join(','); - } -#endif -}) -``` - -### 受控模式 - -> `value` 属性和 `ok` 事件,配合实现受控模式。 - -```xml - -选择深圳 -清空 -``` - -```js -Page({ - data:{ - value: '上海', - list: ['北京', '上海', '深圳', '广州', '南京', '武汉', '无锡', '苏州'], - }, - handleControlledOk(value) { -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif - }, - handleClearControlled() { - this.setData({ - value: '', - }); - }, - handleChangeControlled() { - this.setData({ - value: '深圳', - }); - }, -}) -``` - -### 级联 Picker - -> 当出现更复杂选项时,需要选项之间联动,就需要引入 `ant-cascader-picker` 级联选择组件来实现。该组件通过传入以下的树状结构来实现级联功能: - -```xml - -``` - -```js -Page({ - data: { - cityList: [ - { - label: '北京', - value: '11', - children: [ - { - label: '北京', - value: '110', - }, - ], - }, - { - label: '河北', - value: '18', - children: [ - { - label: '石家庄', - value: '188', - }, - { - label: '唐山', - value: '181', - }, - ], - }, - ], - }, -}); -``` - -## Demo 代码 - - - -## API - -### Picker - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | -| animationType | 动画类型,可选`transform` `position`,默认使用`transform`动画性能更好。由于小程序基础库 bug,弹窗内 picker-view 阴影样式在 iOS 下可能存在样式问题,可暂切换为`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认值 | string \| number \| Array\ | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| emptyText | 空状态按钮文案 | string | '暂无数据' | -| options | picker 数据,配置每一列的选项 | [PickerColumnItem](#pickercolumnitem)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的值 | string \| number \| Array\ | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem)) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: [PickerColumnItem](#pickercolumnitem), column: [PickerColumnItem](#pickercolumnitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### CascaderPicker - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -| animationType | 动画类型,可选`transform` `position`,默认使用`transform`动画性能更好。由于小程序基础库 bug,弹窗内 picker-view 阴影样式在 iOS 下可能存在样式问题,可暂切换为`position`解决 | string | `transform` | -| className | 类名 | string | - | -| defaultValue | 默认选中的值 | string[] | - | -| disabled | 是否禁用 | boolean | false | -| cancelText | 取消文案 | string | '取消' | -| content | 自定义内容插槽 | slot | - | -| format | 时间格式化显示,格式同[dayjs](https://day.js.org/docs/zh-CN/display/format) | string | 'YYYY/MM/DD' | -| indicatorStyle | 选中框样式 | string | - | -| indicatorClassName | 选中框的类名 | string | - | -| maskClassName | 蒙层的类名 | string | - | -| maskClosable | 点击蒙层是否可以关闭 | boolean | true | -| maskStyle | 蒙层的样式 | string | - | -| okText | 确认按钮文案 | string | '确定' | -| options | 可选数据 | [CascaderOption](#cascaderoption)[] | [] | -| placeholder | 提示文案 | string | '请选择' | -| popClassName | 弹出框类名 | string | - | -| popStyle | 弹出框样式 | string | - | -| prefix | 前缀 | slot | - | -| style | 样式 | string | - | -| suffix | 后缀 | slot | - | -| title | 弹出框标题 | string \| slot | - | -| value | 选中的值 | string[] | - | -| visible | 是否显示 | boolean | false | -| defaultVisible | 默认是否显示 | boolean | false | -| onFormat | 选中值的文本显示格式,默认展示 labels.join('') | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[]) => string | - | -| #if ALIPAY onOk | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onCancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onChange | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onVisibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:ok | 点击确定按钮,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:cancel | 点击取消按钮/蒙层,触发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中项发生变化,触发回调 | (value: string[], selectedOptions: [CascaderOption](#cascaderoption)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visibleChange | 弹出框显示/隐藏状态变化触发 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PickerColumnItem - -| 参数 | 说明 | 类型 | 默认值 | -| ----- | ---- | ---------------- | ------ | -| label | 文字 | string | - | -| value | 值 | string \| number | - | - -### CascaderOption - -| 参数 | 说明 | 类型 | 默认值 | -| -------- | ---- | ---------------- | ------ | -| label | 文字 | string | - | -| value | 值 | string \| number | - | -| children | 子级 | CascaderOption[] | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -| --picker-item-color |
#333333
|
#c5cad1
| 选择器项颜色 | -| --picker-header-action-color |
#1677ff
|
#3086ff
| 选择器头部操作颜色 | -| --picker-placeholder-color |
#cccccc
|
#474747
| 选择器占位符颜色 | -| --picker-header-color |
#eeeeee
|
#2b2b2b
| 选择器头部颜色 | -| --picker-content-background-color |
#ffffff
|
#1a1a1a
| 选择器内容背景颜色 | -| --picker-mask-bg-faded-95 |
rgba(255, 255, 255, 0.05)
|
rgba(255, 255, 255, 0.02)
| 选择器遮罩背景色(95%透明度) | -| --picker-mask-bg-faded-60 |
rgba(255, 255, 255, 0.4)
|
rgba(255, 255, 255, 0.01)
| 选择器遮罩背景色(60%透明度) | - -## FAQ - -### 动态改变 picker 列数时展示异常 - -由于原生 picker-view 的限制,暂不支持动态改变列数 diff --git a/compiled/wechat/src/Picker/index.wxml b/compiled/wechat/src/Picker/index.wxml deleted file mode 100644 index 43dd15de7..000000000 --- a/compiled/wechat/src/Picker/index.wxml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - {{formatValue}} - - {{u.isPropsEmpty(placeholder) ? locale.global.placeholder : placeholder}} - - - - - - - {{u.isPropsEmpty(cancelText) ? locale.global.cancelText : cancelText}} - - {{title}} - - {{u.isPropsEmpty(okText) ? locale.global.okText : okText}} - - - - - - - - - {{_sjs.getPickerViewLabel(item)}} - - - - - - - - - - {{u.isPropsEmpty(emptyText) ? locale.global.emptyText : emptyText}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Picker/index.wxs b/compiled/wechat/src/Picker/index.wxs deleted file mode 100644 index b8489d8ff..000000000 --- a/compiled/wechat/src/Picker/index.wxs +++ /dev/null @@ -1,9 +0,0 @@ -function getPickerViewLabel(item) { - if (typeof item === 'object' && typeof item.label === 'string') { - return item.label || ''; - } - return item; -} -module.exports = { - getPickerViewLabel: getPickerViewLabel -}; \ No newline at end of file diff --git a/compiled/wechat/src/Picker/index.wxss b/compiled/wechat/src/Picker/index.wxss deleted file mode 100644 index 06a01ad78..000000000 --- a/compiled/wechat/src/Picker/index.wxss +++ /dev/null @@ -1,75 +0,0 @@ -.ant-picker { - display: inline-flex; - align-items: center; - color: var(--picker-item-color, #333333); -} -.ant-picker-disabled { - color: var(--picker-placeholder-color, #cccccc); -} -.ant-picker-header { - position: relative; - display: flex; - align-items: center; - justify-content: space-between; - padding: 30rpx 24rpx 24rpx; - box-sizing: border-box; -} -.ant-picker-header::after { - content: ''; - position: absolute; - background-color: #e5e5e5; - display: block; - top: auto; - right: 0; - bottom: 0; - left: 0; - height: 1px; - transform: scaleY(0.5); -} -.ant-picker-header-item { - display: flex; - align-items: center; - height: 100%; - white-space: nowrap; - font-size: 30rpx; - color: var(--picker-header-action-color, #1677ff); - box-sizing: border-box; -} -.ant-picker-header-title { - display: flex; - justify-content: center; - overflow: hidden; - -webkit-line-clamp: 1; - box-orient: vertical; - white-space: normal; - color: var(--picker-item-color, #333333); - width: 518rpx; -} -.ant-picker-picker-view { - width: 100%; - height: 460rpx; -} -.ant-picker-picker-view-column { - text-align: center; -} -.ant-picker-content { - background: var(--picker-content-background-color, #ffffff); -} -.ant-picker-content .a-picker-view-picker-item { - color: var(--picker-item-color, #333333); -} -.ant-picker-content .a-picker-view-picker-indicator::before, -.ant-picker-content .a-picker-view-picker-indicator::after { - border-color: var(--picker-header-color, #e5e5e5); -} -.ant-picker-content .a-picker-view-picker-mask { - background-image: linear-gradient(to bottom, var(--picker-mask-bg-faded-95, rgba(255, 255, 255, 0.95)), var(--picker-mask-bg-faded-60, rgba(255, 255, 255, 0.6))), linear-gradient(to top, var(--picker-mask-bg-faded-95, rgba(255, 255, 255, 0.95)), var(--picker-mask-bg-faded-60, rgba(255, 255, 255, 0.6))); - will-change: transform; -} -.ant-picker-value-placeholder:not(:nth-child(1)), -.ant-picker-value-text:not(:nth-child(1)) { - display: none; -} -.ant-picker-value-placeholder { - color: var(--picker-placeholder-color, #cccccc); -} diff --git a/compiled/wechat/src/Picker/props.js b/compiled/wechat/src/Picker/props.js deleted file mode 100644 index ef0d6012d..000000000 --- a/compiled/wechat/src/Picker/props.js +++ /dev/null @@ -1,19 +0,0 @@ -export var PickerDefaultProps = { - formattedValueText: null, - visible: null, - defaultVisible: null, - animationType: 'transform', - value: null, - defaultValue: null, - disabled: false, - title: '', - okText: null, - cancelText: null, - placeholder: null, - options: [], - popClassName: '', - popStyle: '', - maskClosable: true, - onFormat: null, - emptyText: null, -}; diff --git a/compiled/wechat/src/Picker/utils.js b/compiled/wechat/src/Picker/utils.js deleted file mode 100644 index 8da6891c2..000000000 --- a/compiled/wechat/src/Picker/utils.js +++ /dev/null @@ -1,94 +0,0 @@ -function getColumnValue(columnItem) { - if (typeof columnItem === 'object') - return columnItem.value; - return columnItem; -} -export function getStrictMatchedItemByValue(columns, value, single) { - if (single) { - value = [value]; - } - var matchedValues = []; - var matchedColumn = []; - var index = null; - var _loop_1 = function (i) { - var column = columns[i]; - var compareValue = (value || [])[i]; - index = column.findIndex(function (c) { - var columnValue = getColumnValue(c); - return columnValue === compareValue; - }); - matchedColumn[i] = column[index]; - matchedValues[i] = getColumnValue(column[index]); - }; - for (var i = 0; i < columns.length; i++) { - _loop_1(i); - } - return { - matchedColumn: single ? matchedColumn === null || matchedColumn === void 0 ? void 0 : matchedColumn[0] : matchedColumn, - matchedValues: single ? matchedValues === null || matchedValues === void 0 ? void 0 : matchedValues[0] : matchedValues, - }; -} -// 如果找不到value对应的item项目,返回第一项 -export function getMatchedItemByValue(columns, value, single) { - if (single) { - value = [value]; - } - var matchedValues = []; - var matchedColumn = []; - var index = null; - var _loop_2 = function (i) { - var column = columns[i]; - var compareValue = (value || [])[i]; - if (compareValue === undefined || compareValue === null) { - index = 0; - } - else { - index = column.findIndex(function (c) { - var columnValue = getColumnValue(c); - return columnValue === compareValue; - }); - if (index === -1) { - index = 0; - } // 没有找到, 默认选择第一个 - } - matchedColumn[i] = column[index]; - matchedValues[i] = getColumnValue(column[index]); - }; - for (var i = 0; i < columns.length; i++) { - _loop_2(i); - } - return { - matchedColumn: single ? matchedColumn[0] : matchedColumn, - matchedValues: single ? matchedValues[0] : matchedValues, - }; -} -export function getMatchedItemByIndex(columns, selectedIndex, single) { - var _a; - var matchedValues = []; - var matchedColumn = []; - var index = null; - for (var i = 0; i < columns.length; i++) { - var column = columns[i]; - var compareValue = selectedIndex[i]; - index = null; - if (compareValue === undefined || compareValue === null) { - index = 0; - } - else { - index = compareValue; - // 当column变化时, picker-view onChange 里抛出来的selectedIndex有可能不正确 - if (((_a = columns === null || columns === void 0 ? void 0 : columns[i]) === null || _a === void 0 ? void 0 : _a[compareValue]) === undefined) { - index = 0; - } - if (index === -1) { - index = 0; - } // 没有找到, 默认选择第一个 - } - matchedColumn[i] = column[index]; - matchedValues[i] = getColumnValue(column[index]); - } - return { - matchedColumn: single ? matchedColumn[0] : matchedColumn, - matchedValues: single ? matchedValues[0] : matchedValues, - }; -} diff --git a/compiled/wechat/src/Picker/variable.wxss b/compiled/wechat/src/Picker/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Popover/index.en.md b/compiled/wechat/src/Popover/index.en.md deleted file mode 100644 index ecbddbe7f..000000000 --- a/compiled/wechat/src/Popover/index.en.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Popover - -Click on the element to pop up the bubble menu. The bubble menu for navigation functions is evoked, usually used to accommodate functions used at low frequencies. This function can only be activated via the icon on the navigation bar. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-popover": "antd-mini/es/Popover/index" -#endif -#if WECHAT - "ant-popover": "antd-mini/Popover/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - Point me - - -``` - -### Support for pictures and action point buttons - -```xml - - Point me - -``` - -### Custom - -#### Color - -```xml - - Custom Colors - -``` - -#### Slot - -```xml - - Slot - - - -``` - -#### Location - -Optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top`、`right-bottom` - -```xml - - Point me - - -``` - -### Controlled - -```xml - - - Click the button to modify the visible - - - - Change visible - -``` - -```js -Page({ - data: { visible: false }, - handleVisibleChange() { - this.setData({ - visible: !this.data.visible, - }); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | Automatically adjust the position when the bubble is blocked | boolean | true | -| className | Class Name | string | - | -| color | Background Color | string | - | -| contentClassName | content Class Name | string | - | -| contentStyle | content Style | string | - | -| content | Content | string \| slot | - | -| defaultVisible | Display by default | boolean | false | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| placement | Bubble box position, optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` or `right-bottom` | string | top | -| showMask | Whether to show the layer, if true, click the blank to close the Popover. | boolean | true | -| style | Style | string | - | -| visible | Whether to display | boolean | - | -| #if ALIPAY onVisibleChange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapAction | Operation button click callback | () => void | - | -| #if WECHAT bind:visiblechange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapaction | Operation button click callback | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --popover-color-background |
#404040
|
#404040
| Popover default background color | -| --popover-bg |
#ffffff
|
#1a1a1a
| Popover background color | -| --popover-text-color |
#000000
|
#000000
| Popover text color | -| --popover-inner-color |
#ff3141
|
#ff4a58
| Popover internal color | diff --git a/compiled/wechat/src/Popover/index.js b/compiled/wechat/src/Popover/index.js deleted file mode 100644 index e4db005a5..000000000 --- a/compiled/wechat/src/Popover/index.js +++ /dev/null @@ -1,128 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import mixinValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; -import { Component, getValueFromProps, triggerEvent, triggerEventOnly, } from '../_util/simply'; -import { PopoverDefaultProps } from './props'; -import { getPopoverStyle } from './utils'; -Component(PopoverDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - updatePopover: function () { - return __awaiter(this, void 0, void 0, function () { - var _a, placement, autoAdjustOverflow, _b, containerRect, childrenRect, contentRect, systemInfo, _c, popoverContentStyle, adjustedPlacement; - return __generator(this, function (_d) { - switch (_d.label) { - case 0: - _a = getValueFromProps(this, [ - 'placement', - 'autoAdjustOverflow', - ]), placement = _a[0], autoAdjustOverflow = _a[1]; - return [4 /*yield*/, Promise.all([ - getInstanceBoundingClientRect(this.getInstance(), "#ant-popover-children".concat(this.$id ? "-".concat(this.$id) : '')), - getInstanceBoundingClientRect(this.getInstance(), this.$id - ? "#ant-popover-children-".concat(this.$id, " > *") - : "#ant-popover-children-container"), - getInstanceBoundingClientRect(this.getInstance(), this.$id - ? "#ant-popover-content-".concat(this.$id) - : '#ant-popover-content'), - getSystemInfo(), - ])]; - case 1: - _b = _d.sent(), containerRect = _b[0], childrenRect = _b[1], contentRect = _b[2], systemInfo = _b[3]; - _c = getPopoverStyle(placement, autoAdjustOverflow, { - containerRect: containerRect, - childrenRect: childrenRect, - contentRect: contentRect, - systemInfo: systemInfo, - }), popoverContentStyle = _c.popoverContentStyle, adjustedPlacement = _c.adjustedPlacement; - this.setData({ - popoverContentStyle: popoverContentStyle, - adjustedPlacement: adjustedPlacement, - }); - return [2 /*return*/]; - } - }); - }); - }, - onVisibleChange: function (e) { - var value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'visibleChange', value, e); - }, - onTapAction: function () { - this.onVisibleChange(); - triggerEventOnly(this, 'tapAction'); - }, -}, { - adjustedPlacement: '', - popoverContentStyle: '', -}, [ - mixinValue({ - valueKey: 'visible', - defaultValueKey: 'defaultVisible', - transformValue: function (value) { - if (value) { - this.updatePopover(); - } - else { - this.setData({ - adjustedPlacement: '', - }); - } - return { - needUpdate: true, - value: value, - }; - }, - }), -], { - observers: { - 'placement, autoAdjustOverflow, mixin': function () { - if (this.getValue()) { - this.updatePopover(); - } - }, - }, -}); diff --git a/compiled/wechat/src/Popover/index.json b/compiled/wechat/src/Popover/index.json deleted file mode 100644 index 305b48522..000000000 --- a/compiled/wechat/src/Popover/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "image-icon": "../ImageIcon/index", - "ant-mask": "../Mask/index" - } -} diff --git a/compiled/wechat/src/Popover/index.md b/compiled/wechat/src/Popover/index.md deleted file mode 100644 index 82a9917dd..000000000 --- a/compiled/wechat/src/Popover/index.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Popover 气泡 - -点击元素,弹出气泡式的菜单。用于导航功能的气泡菜单唤起,通常用于收纳低频使用的功能。该功能只能通过导航栏上的图标激活。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-popover": "antd-mini/es/Popover/index" -#endif -#if WECHAT - "ant-popover": "antd-mini/Popover/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - 点我 - - -``` - -### 支持图片和行动点按钮 - -```xml - - 点我 - -``` - -### 自定义 - -#### 颜色 - -```xml - - 自定义颜色 - -``` - -#### 插槽 - -```xml - - 插槽 - - - -``` - -#### 位置 - -可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top`、`right-bottom` - -```xml - - 点我 - - -``` - -### 受控 - -```xml - - - 点击按钮修改visible - - - - 更改visible - -``` - -```js -Page({ - data: { visible: false }, - handleVisibleChange() { - this.setData({ - visible: !this.data.visible, - }); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | 气泡被遮挡时的自动调整位置 | boolean | true | -| className | 类名 | string | - | -| color | 背景颜色 | string | - | -| contentClassName | content 类名 | string | - | -| contentStyle | content 样式 | string | - | -| content | 内容 | string \| slot | - | -| defaultVisible | 默认是否显示 | boolean | false | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| placement | 气泡框位置,可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` 或 `right-bottom` | string | top | -| showMask | 是否展示蒙层,为 true 时点击空白处可关闭 Popover | boolean | true | -| style | 样式 | string | - | -| visible | 是否显示 | boolean | - | -| #if ALIPAY onVisibleChange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapAction | 操作按钮点击回调 | () => void | - | -| #if WECHAT bind:visiblechange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapaction | 操作按钮点击回调 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --popover-color-background |
#404040
|
#404040
| Popover 默认底色 | -| --popover-bg |
#ffffff
|
#1a1a1a
| Popover 背景颜色 | -| --popover-text-color |
#000000
|
#000000
| Popover 文字颜色 | -| --popover-inner-color |
#ff3141
|
#ff4a58
| Popover 内部颜色 | diff --git a/compiled/wechat/src/Popover/index.wxml b/compiled/wechat/src/Popover/index.wxml deleted file mode 100644 index a0c39b44c..000000000 --- a/compiled/wechat/src/Popover/index.wxml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Popover/index.wxss b/compiled/wechat/src/Popover/index.wxss deleted file mode 100644 index 3a1e6af77..000000000 --- a/compiled/wechat/src/Popover/index.wxss +++ /dev/null @@ -1,178 +0,0 @@ -.ant-popover { - position: relative; -} -.ant-popover-children { - z-index: 999; -} -.ant-popover-close { - margin-left: 24rpx; - width: 38rpx; - height: 38rpx; -} -.ant-popover-close .ant-popover-close-icon { - position: absolute; - top: 20rpx; - right: 20rpx; -} -.ant-popover-close .ant-popover-close-icon .ant-icon { - color: var(--popover-inner-color, #ffffff); -} -.ant-popover-image { - padding-right: 24rpx; - border-radius: 16rpx; -} -.ant-popover-action { - background: var(--popover-bg, #ffffff); - font-weight: 400; - font-size: 24rpx; - color: var(--popover-text-color, #000000); - padding: 10rpx 20rpx; - line-height: 33rpx; - border-radius: 50vh; - margin-left: 24rpx; -} -.ant-popover-mask { - z-index: 998; - background: none; -} -.ant-popover-content { - position: absolute; - min-width: 64rpx; - max-width: calc(100vw - 48 * 1rpx); - z-index: 999; -} -.ant-popover-inner { - position: relative; - border-radius: 24rpx; - overflow: hidden; - font-size: 28rpx; - background-color: var(--popover-color-background, #404040); - color: var(--popover-inner-color, #ffffff); - padding: 20rpx; - width: max-content; - display: flex; - justify-content: flex-start; - align-items: center; -} -.ant-popover-inner .ant-icon { - color: var(--popover-inner-color, #ffffff); -} -.ant-popover-inner-text { - word-break: break-all; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; - /* 这里是超出几行省略 */ - overflow: hidden; - max-width: 420rpx; - line-height: 40rpx; -} -.ant-popover-inner .ant-popover-image-content-image { - width: 80rpx; - height: 80rpx; -} -.ant-popover-arrow { - position: absolute; - width: 0; - height: 0; - border-left: 18rpx solid transparent; - border-right: 18rpx solid transparent; - border-bottom: 18rpx solid var(--popover-color-background, #404040); -} -.ant-popover-top { - transform: translate(-50%, -100%); -} -.ant-popover-top-arrow { - bottom: 2rpx; - transform: translate(-50%, 100%) rotate(180deg); - left: 50%; -} -.ant-popover-bottom { - transform: translate(-50%, 100%); -} -.ant-popover-bottom-arrow { - top: 2rpx; - transform: translate(-50%, -100%) rotate(0deg); - left: 50%; -} -.ant-popover-left { - transform: translate(-100%, -50%); -} -.ant-popover-left-arrow { - right: 2rpx; - transform: translate(75%, -50%) rotate(90deg); - top: 50%; -} -.ant-popover-right { - transform: translate(100%, -50%); -} -.ant-popover-right-arrow { - left: 2rpx; - transform: translate(-75%, -50%) rotate(-90deg); - top: 50%; -} -.ant-popover-top-left { - transform: translate(0, -100%); -} -.ant-popover-top-left-arrow { - bottom: 2rpx; - transform: translate(0, 100%) rotate(180deg); - left: 24rpx; -} -.ant-popover-top-right { - transform: translate(0, -100%); -} -.ant-popover-top-right-arrow { - bottom: 2rpx; - transform: translate(0, 100%) rotate(180deg); - right: 24rpx; -} -.ant-popover-bottom-left { - transform: translate(0, 100%); -} -.ant-popover-bottom-left-arrow { - top: 2rpx; - transform: translate(0, -100%) rotate(0deg); - left: 24rpx; -} -.ant-popover-bottom-right { - transform: translate(0, 100%); -} -.ant-popover-bottom-right-arrow { - top: 2rpx; - transform: translate(0, -100%) rotate(0deg); - right: 24rpx; -} -.ant-popover-left-top { - transform: translate(-100%, 0); -} -.ant-popover-left-top-arrow { - right: 2rpx; - transform: translate(75%, 0) rotate(90deg); - top: 24rpx; -} -.ant-popover-left-bottom { - transform: translate(-100%, 0); -} -.ant-popover-left-bottom-arrow { - right: 2rpx; - transform: translate(75%, 0) rotate(90deg); - bottom: 24rpx; -} -.ant-popover-right-top { - transform: translate(100%, 0); -} -.ant-popover-right-top-arrow { - left: 2rpx; - transform: translate(-75%, 0) rotate(-90deg); - top: 24rpx; -} -.ant-popover-right-bottom { - transform: translate(100%, 0); -} -.ant-popover-right-bottom-arrow { - left: 2rpx; - transform: translate(-75%, 0) rotate(-90deg); - bottom: 24rpx; -} diff --git a/compiled/wechat/src/Popover/props.js b/compiled/wechat/src/Popover/props.js deleted file mode 100644 index 051ac86bc..000000000 --- a/compiled/wechat/src/Popover/props.js +++ /dev/null @@ -1,19 +0,0 @@ -export var PopoverDefaultProps = { - visible: null, - imageUrl: '', - defaultVisible: false, - destroyOnClose: false, - showCloseIcon: false, - contentClassName: '', - actionText: '', - color: '', - contentStyle: '', - showMask: true, - placement: 'top', - autoAdjustOverflow: true, - maskClassName: '', - maskStyle: '', - content: '', - onVisibleChange: function () { }, - onTapAction: function () { }, -}; diff --git a/compiled/wechat/src/Popover/utils.js b/compiled/wechat/src/Popover/utils.js deleted file mode 100644 index 151d14cf5..000000000 --- a/compiled/wechat/src/Popover/utils.js +++ /dev/null @@ -1,179 +0,0 @@ -export function getPopoverStyle(placement, autoAdjustOverflow, size) { - var containerRect = size.containerRect, childrenRect = size.childrenRect, contentRect = size.contentRect, systemInfo = size.systemInfo; - var left = childrenRect.left - containerRect.left; - var top = childrenRect.top - containerRect.top; - var bottom = containerRect.bottom - childrenRect.bottom; - var right = containerRect.right - childrenRect.right; - var adjustedPlacement = placement; - var arrowMargin = 12; - var contentRectWidth = contentRect.width + arrowMargin; - var contentRectHeight = contentRect.height + arrowMargin; - if (autoAdjustOverflow) { - if (adjustedPlacement === 'top') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = 'bottom'; - } - } - else if (adjustedPlacement === 'bottom') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = 'top'; - } - } - else if (adjustedPlacement === 'left') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = 'right'; - } - } - else if (adjustedPlacement === 'right') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = 'left'; - } - } - else if (adjustedPlacement === 'top-left') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } - else if (adjustedPlacement === 'top-right') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } - else if (adjustedPlacement === 'bottom-left') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } - else if (adjustedPlacement === 'bottom-right') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } - else if (adjustedPlacement === 'left-top') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } - else if (adjustedPlacement === 'left-bottom') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } - else if (adjustedPlacement === 'right-top') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } - else if (adjustedPlacement === 'right-bottom') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } - } - var popoverContentStyle; - if (adjustedPlacement === 'top') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - top: top - arrowMargin, - }); - } - else if (adjustedPlacement === 'bottom') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - bottom: bottom - arrowMargin, - }); - } - else if (adjustedPlacement === 'left') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top: top + childrenRect.height / 2, - }); - } - else if (adjustedPlacement === 'right') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top: top + childrenRect.height / 2, - }); - } - else if (adjustedPlacement === 'top-left') { - popoverContentStyle = getStyle({ - left: left, - top: top - arrowMargin, - }); - } - else if (adjustedPlacement === 'top-right') { - popoverContentStyle = getStyle({ - right: right, - top: top - arrowMargin, - }); - } - else if (adjustedPlacement === 'bottom-left') { - popoverContentStyle = getStyle({ - left: left, - bottom: bottom - arrowMargin, - }); - } - else if (adjustedPlacement === 'bottom-right') { - popoverContentStyle = getStyle({ - right: right, - bottom: bottom - arrowMargin, - }); - } - else if (adjustedPlacement === 'left-top') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top: top, - }); - } - else if (adjustedPlacement === 'left-bottom') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - bottom: bottom, - }); - } - else if (adjustedPlacement === 'right-top') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top: top, - }); - } - else if (adjustedPlacement === 'right-bottom') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - bottom: bottom, - }); - } - return { - popoverContentStyle: popoverContentStyle, - adjustedPlacement: adjustedPlacement, - }; -} -function getStyle(obj) { - return Object.keys(obj) - .map(function (item) { return "".concat(item, ": ").concat(obj[item], "px"); }) - .join(';'); -} diff --git a/compiled/wechat/src/Popover/variable.wxss b/compiled/wechat/src/Popover/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/PopoverList/index.en.md b/compiled/wechat/src/PopoverList/index.en.md deleted file mode 100644 index a4f0c0ef0..000000000 --- a/compiled/wechat/src/PopoverList/index.en.md +++ /dev/null @@ -1,146 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# PopoverList - -Click on the element to pop up the bubble menu. The bubble menu for navigation functions is evoked, usually used to accommodate functions used at low frequencies. This function can only be activated via the icon on the navigation bar. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-popover-list": "antd-mini/es/PopoverList/index" -#endif -#if WECHAT - "ant-popover-list": "antd-mini/PopoverList/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - Point me - -``` - -```js -Page({ - data: { - visible: true, - list: [ - { text: '扫一扫', icon: 'ScanningOutline', showBadge: true, id: 'scan', }, - { text: '付钱/收钱', icon: 'ReceivePaymentOutline', showBadge: false, id: 'pay', }, - { text: '乘车码', icon: 'TransportQRcodeOutline', showBadge: false, id: 'code', }, - { text: '图片', iconImage: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', showBadge: false, id: 'image', }, - ], - }, - handleVisibleChange(visible, e) { - console.log(visible, e); -#if ALIPAY - this.setData({ visible }); -#endif -#if WECHAT - this.setData({ visible: visible.detail }); -#endif - }, - handleTapItem(e, item) { - console.log(e, item); - this.setData({ visible: false }); -#if ALIPAY - my.showToast({ content: '点击列表', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: '点击列表' }); -#endif - }, -}); -``` - -### bubble position adaptive - -> `autoAdjustOverflow` Property to automatically adjust the position of the bubble when it is blocked - -```xml - - bubble position adaptive - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | Automatically adjust the position when the bubble is blocked | boolean | true | -| className | Class Name | string | - | -| color | Background Color | string | - | -| contentClassName | content Class Name | string | - | -| contentStyle | content Style | string | - | -| content | Content | string \| slot | - | -| defaultVisible | Display by default | boolean | false | -| destroyOnClose | Whether to unload content when invisible | boolean | false | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| placement | Bubble box position, optional `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` or `right-bottom` | string | top | -| showMask | Whether to show the layer, if true, click the blank to close the Popover. | boolean | true | -| style | Style | string | - | -| visible | Whether to display | boolean | - | -| #if ALIPAY onVisibleChange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapItem | Callback at the time of visible change | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | Callback at the time of visible change | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapitem | Callback at the time of visible change | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PopoverListItem - -| Property | Description | Type | Default Value | -| --------- | ------------------------------------------------------- | ------- | ------ | -| icon | The icon of the menu | string | - | -| iconImage | The icon picture of the menu is taken first iconImage the icon field is not taken again. | string | - | -| text | Class Name | string | - | -| showBadge | Disable | boolean | false | -| id | Extra right | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover List Content Background Color | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover List Content Color | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover List Badge Color | -| --popover-list-item-bg |
#e5e5e5
|
#444444
| Popover List Content Text Color | diff --git a/compiled/wechat/src/PopoverList/index.js b/compiled/wechat/src/PopoverList/index.js deleted file mode 100644 index 1e5f28e06..000000000 --- a/compiled/wechat/src/PopoverList/index.js +++ /dev/null @@ -1,128 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import mixinValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { PopoverDefaultProps } from './props'; -import { getPopoverStyle } from './utils'; -Component(PopoverDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - onTapItem: function (e) { - var item = e.currentTarget.dataset.item; - triggerEvent(this, 'tapItem', item, e); - }, - updatePopover: function () { - return __awaiter(this, void 0, void 0, function () { - var _a, placement, autoAdjustOverflow, _b, containerRect, childrenRect, contentRect, systemInfo, _c, popoverContentStyle, adjustedPlacement; - return __generator(this, function (_d) { - switch (_d.label) { - case 0: - _a = getValueFromProps(this, [ - 'placement', - 'autoAdjustOverflow', - ]), placement = _a[0], autoAdjustOverflow = _a[1]; - return [4 /*yield*/, Promise.all([ - getInstanceBoundingClientRect(this.getInstance(), "#ant-popover-list-children".concat(this.$id ? "-".concat(this.$id) : '')), - getInstanceBoundingClientRect(this.getInstance(), this.$id - ? "#ant-popover-list-children-".concat(this.$id, " > *") - : "#ant-popover-list-children-container"), - getInstanceBoundingClientRect(this.getInstance(), this.$id - ? "#ant-popover-list-content-".concat(this.$id) - : '#ant-popover-list-content'), - getSystemInfo(), - ])]; - case 1: - _b = _d.sent(), containerRect = _b[0], childrenRect = _b[1], contentRect = _b[2], systemInfo = _b[3]; - _c = getPopoverStyle(placement, autoAdjustOverflow, { - containerRect: containerRect, - childrenRect: childrenRect, - contentRect: contentRect, - systemInfo: systemInfo, - }), popoverContentStyle = _c.popoverContentStyle, adjustedPlacement = _c.adjustedPlacement; - this.setData({ - popoverContentStyle: popoverContentStyle, - adjustedPlacement: adjustedPlacement, - }); - return [2 /*return*/]; - } - }); - }); - }, - onVisibleChange: function (e) { - var value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'visibleChange', value, e); - }, -}, { - adjustedPlacement: '', - popoverContentStyle: '', -}, [ - mixinValue({ - valueKey: 'visible', - defaultValueKey: 'defaultVisible', - transformValue: function (value) { - if (value) { - this.updatePopover(); - } - else { - this.setData({ - adjustedPlacement: '', - }); - } - return { - needUpdate: true, - value: value, - }; - }, - }), -], { - observers: { - 'placement, autoAdjustOverflow, mixin': function () { - if (this.getValue()) { - this.updatePopover(); - } - }, - }, -}); diff --git a/compiled/wechat/src/PopoverList/index.json b/compiled/wechat/src/PopoverList/index.json deleted file mode 100644 index f088a976c..000000000 --- a/compiled/wechat/src/PopoverList/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "ant-mask": "../Mask/index" - } -} diff --git a/compiled/wechat/src/PopoverList/index.md b/compiled/wechat/src/PopoverList/index.md deleted file mode 100644 index cd6dd5452..000000000 --- a/compiled/wechat/src/PopoverList/index.md +++ /dev/null @@ -1,146 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# PopoverList 气泡菜单 - -点击元素,弹出气泡式的菜单。用于导航功能的气泡菜单唤起,通常用于收纳低频使用的功能。该功能只能通过导航栏上的图标激活。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-popover-list": "antd-mini/es/PopoverList/index" -#endif -#if WECHAT - "ant-popover-list": "antd-mini/PopoverList/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - 点我 - -``` - -```js -Page({ - data: { - visible: true, - list: [ - { text: '扫一扫', icon: 'ScanningOutline', showBadge: true, id: 'scan', }, - { text: '付钱/收钱', icon: 'ReceivePaymentOutline', showBadge: false, id: 'pay', }, - { text: '乘车码', icon: 'TransportQRcodeOutline', showBadge: false, id: 'code', }, - { text: '图片', iconImage: 'https://gw.alipayobjects.com/mdn/rms_ce4c6f/afts/img/A*XMCgSYx3f50AAAAAAAAAAABkARQnAQ', showBadge: false, id: 'image', }, - ], - }, - handleVisibleChange(visible, e) { - console.log(visible, e); -#if ALIPAY - this.setData({ visible }); -#endif -#if WECHAT - this.setData({ visible: visible.detail }); -#endif - }, - handleTapItem(e, item) { - console.log(e, item); - this.setData({ visible: false }); -#if ALIPAY - my.showToast({ content: '点击列表', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ title: '点击列表' }); -#endif - }, -}); -``` - -### 气泡位置自适应 - -> `autoAdjustOverflow` 属性,可以让气泡被遮挡时自动调整位置 - -```xml - - 气泡位置自适应 - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------ | -| autoAdjustOverflow | 气泡被遮挡时的自动调整位置 | boolean | true | -| className | 类名 | string | - | -| color | 背景颜色 | string | - | -| contentClassName | content 类名 | string | - | -| contentStyle | content 样式 | string | - | -| content | 内容 | string \| slot | - | -| defaultVisible | 默认是否显示 | boolean | false | -| destroyOnClose | 不可见时是否卸载内容 | boolean | false | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| placement | 气泡框位置,可选 `top`、`top-right`、`top-left`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top` 或 `right-bottom` | string | top | -| showMask | 是否展示蒙层,为 true 时点击空白处可关闭 Popover | boolean | true | -| style | 样式 | string | - | -| visible | 是否显示 | boolean | - | -| #if ALIPAY onVisibleChange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onTapItem | visible 变更时的回调 | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:visiblechange | visible 变更时的回调 | (visible: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:tapitem | visible 变更时的回调 | (item: [PopoverListItem](#popoverlistitem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### PopoverListItem - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ------------------------------------------------------- | ------- | ------ | -| icon | 菜单的 icon | string | - | -| iconImage | 菜单的 icon 的图片, 优先取 iconImage 没有再取 icon 字段 | string | - | -| text | 类名 | string | - | -| showBadge | 是否禁用 | boolean | false | -| id | 右侧额外内容 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover 列表内容背景颜色 | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover 列表内容颜色 | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover 列表徽章颜色 | -| --popover-list-item-bg |
#e5e5e5
|
#444444
| Popover 列表内容文字颜色 | diff --git a/compiled/wechat/src/PopoverList/index.wxml b/compiled/wechat/src/PopoverList/index.wxml deleted file mode 100644 index 6bf053bd3..000000000 --- a/compiled/wechat/src/PopoverList/index.wxml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/PopoverList/index.wxss b/compiled/wechat/src/PopoverList/index.wxss deleted file mode 100644 index 143b19a55..000000000 --- a/compiled/wechat/src/PopoverList/index.wxss +++ /dev/null @@ -1,182 +0,0 @@ -.ant-popover-list { - position: relative; -} -.ant-popover-list-children { - z-index: 999; -} -.ant-popover-list-mask { - z-index: 998; - background: none; -} -.ant-popover-list-content { - position: absolute; - max-width: calc(100vw - 48 * 1rpx); - z-index: 999; - border-radius: 24rpx; - background: var(--popover-list-content-bg, rgba(0, 0, 0, 0.93)); - box-shadow: 0 4rpx 10rpx 0 var(--popover-list-content-bg, rgba(0, 0, 0, 0.93)); - color: var(--popover-list-content-color, #333333); -} -.ant-popover-list-content-arrow { - position: absolute; - width: 0; - height: 0; - border-left: 18rpx solid transparent; - border-right: 18rpx solid transparent; - border-bottom: 18rpx solid var(--popover-list-content-bg, rgba(0, 0, 0, 0.93)); -} -.ant-popover-list-content .ant-popover-list-item::before { - background: var(--popover-list-item-bg, #e5e5e5); -} -.ant-popover-list-item { - padding: 26rpx 24rpx 26rpx 32rpx; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: row; - position: relative; - z-index: 1; -} -.ant-popover-list-item-0::before { - display: none; -} -.ant-popover-list-item::before { - content: ''; - position: absolute; - top: 0; - left: 16rpx; - width: calc(200% - 192rpx); - height: 2rpx; - transform: scale(0.5); - background: var(--popover-list-content-color, #333333); - z-index: 2; -} -.ant-popover-list-item-left { - padding-right: 16rpx; - width: 48rpx; - height: 48rpx; - overflow: hidden; -} -.ant-popover-list-item-left .ant-icon { - font-size: 48rpx; - width: 48rpx; - height: 48rpx; - color: var(--popover-list-content-color, #333333); -} -.ant-popover-list-item-image { - width: 48rpx; - height: 48rpx; -} -.ant-popover-list-item-text { - font-weight: 400; - font-size: 30rpx; - letter-spacing: 0; - white-space: nowrap; - display: flex; - justify-content: flex-start; - align-items: center; - flex-direction: row; -} -.ant-popover-list-item-text-badge { - background: var(--popover-list-badge-color, #ff411c); - width: 20rpx; - border-radius: 50vh; - height: 20rpx; - margin-left: 8rpx; -} -.ant-popover-list-top { - transform: translate(-50%, -100%); -} -.ant-popover-list-top-arrow { - bottom: 2rpx; - transform: translate(-50%, 100%) rotate(180deg); - left: 50%; -} -.ant-popover-list-bottom { - transform: translate(-50%, 100%); -} -.ant-popover-list-bottom-arrow { - top: 2rpx; - transform: translate(-50%, -100%) rotate(0deg); - left: 50%; -} -.ant-popover-list-left { - transform: translate(-100%, -50%); -} -.ant-popover-list-left-arrow { - right: 2rpx; - transform: translate(75%, -50%) rotate(90deg); - top: 50%; -} -.ant-popover-list-right { - transform: translate(100%, -50%); -} -.ant-popover-list-right-arrow { - left: 2rpx; - transform: translate(-75%, -50%) rotate(-90deg); - top: 50%; -} -.ant-popover-list-top-left { - transform: translate(0, -100%); -} -.ant-popover-list-top-left-arrow { - bottom: 2rpx; - transform: translate(0, 100%) rotate(180deg); - left: 24rpx; -} -.ant-popover-list-top-right { - transform: translate(0, -100%); -} -.ant-popover-list-top-right-arrow { - bottom: 2rpx; - transform: translate(0, 100%) rotate(180deg); - right: 24rpx; -} -.ant-popover-list-bottom-left { - transform: translate(0, 100%); -} -.ant-popover-list-bottom-left-arrow { - top: 2rpx; - transform: translate(0, -100%) rotate(0deg); - left: 24rpx; -} -.ant-popover-list-bottom-right { - transform: translate(0, 100%); -} -.ant-popover-list-bottom-right-arrow { - top: 2rpx; - transform: translate(0, -100%) rotate(0deg); - right: 24rpx; -} -.ant-popover-list-left-top { - transform: translate(-100%, 0); -} -.ant-popover-list-left-top-arrow { - right: 2rpx; - transform: translate(75%, 0) rotate(90deg); - top: 24rpx; -} -.ant-popover-list-left-bottom { - transform: translate(-100%, 0); -} -.ant-popover-list-left-bottom-arrow { - right: 2rpx; - transform: translate(75%, 0) rotate(90deg); - bottom: 24rpx; -} -.ant-popover-list-right-top { - transform: translate(100%, 0); -} -.ant-popover-list-right-top-arrow { - left: 2rpx; - transform: translate(-75%, 0) rotate(-90deg); - top: 24rpx; -} -.ant-popover-list-right-bottom { - transform: translate(100%, 0); -} -.ant-popover-list-right-bottom-arrow { - left: 2rpx; - transform: translate(-75%, 0) rotate(-90deg); - bottom: 24rpx; -} diff --git a/compiled/wechat/src/PopoverList/props.js b/compiled/wechat/src/PopoverList/props.js deleted file mode 100644 index 8f4c979b7..000000000 --- a/compiled/wechat/src/PopoverList/props.js +++ /dev/null @@ -1,16 +0,0 @@ -export var PopoverDefaultProps = { - visible: null, - defaultVisible: false, - destroyOnClose: false, - contentClassName: '', - contentStyle: '', - showMask: true, - placement: 'top', - autoAdjustOverflow: true, - maskClassName: '', - maskStyle: '', - content: '', - list: [], - onVisibleChange: function () { }, - onTapItem: function () { }, -}; diff --git a/compiled/wechat/src/PopoverList/utils.js b/compiled/wechat/src/PopoverList/utils.js deleted file mode 100644 index 151d14cf5..000000000 --- a/compiled/wechat/src/PopoverList/utils.js +++ /dev/null @@ -1,179 +0,0 @@ -export function getPopoverStyle(placement, autoAdjustOverflow, size) { - var containerRect = size.containerRect, childrenRect = size.childrenRect, contentRect = size.contentRect, systemInfo = size.systemInfo; - var left = childrenRect.left - containerRect.left; - var top = childrenRect.top - containerRect.top; - var bottom = containerRect.bottom - childrenRect.bottom; - var right = containerRect.right - childrenRect.right; - var adjustedPlacement = placement; - var arrowMargin = 12; - var contentRectWidth = contentRect.width + arrowMargin; - var contentRectHeight = contentRect.height + arrowMargin; - if (autoAdjustOverflow) { - if (adjustedPlacement === 'top') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = 'bottom'; - } - } - else if (adjustedPlacement === 'bottom') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = 'top'; - } - } - else if (adjustedPlacement === 'left') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = 'right'; - } - } - else if (adjustedPlacement === 'right') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = 'left'; - } - } - else if (adjustedPlacement === 'top-left') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } - else if (adjustedPlacement === 'top-right') { - if (childrenRect.top - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } - else if (adjustedPlacement === 'bottom-left') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.left + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - } - else if (adjustedPlacement === 'bottom-right') { - if (childrenRect.bottom + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - if (childrenRect.right - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - } - else if (adjustedPlacement === 'left-top') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } - else if (adjustedPlacement === 'left-bottom') { - if (childrenRect.left - contentRectWidth < 0) { - adjustedPlacement = adjustedPlacement.replace('left', 'right'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } - else if (adjustedPlacement === 'right-top') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.top + contentRectHeight > systemInfo.windowHeight) { - adjustedPlacement = adjustedPlacement.replace('top', 'bottom'); - } - } - else if (adjustedPlacement === 'right-bottom') { - if (childrenRect.right + contentRectWidth > systemInfo.windowWidth) { - adjustedPlacement = adjustedPlacement.replace('right', 'left'); - } - if (childrenRect.bottom - contentRectHeight < 0) { - adjustedPlacement = adjustedPlacement.replace('bottom', 'top'); - } - } - } - var popoverContentStyle; - if (adjustedPlacement === 'top') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - top: top - arrowMargin, - }); - } - else if (adjustedPlacement === 'bottom') { - popoverContentStyle = getStyle({ - left: left + childrenRect.width / 2, - bottom: bottom - arrowMargin, - }); - } - else if (adjustedPlacement === 'left') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top: top + childrenRect.height / 2, - }); - } - else if (adjustedPlacement === 'right') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top: top + childrenRect.height / 2, - }); - } - else if (adjustedPlacement === 'top-left') { - popoverContentStyle = getStyle({ - left: left, - top: top - arrowMargin, - }); - } - else if (adjustedPlacement === 'top-right') { - popoverContentStyle = getStyle({ - right: right, - top: top - arrowMargin, - }); - } - else if (adjustedPlacement === 'bottom-left') { - popoverContentStyle = getStyle({ - left: left, - bottom: bottom - arrowMargin, - }); - } - else if (adjustedPlacement === 'bottom-right') { - popoverContentStyle = getStyle({ - right: right, - bottom: bottom - arrowMargin, - }); - } - else if (adjustedPlacement === 'left-top') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - top: top, - }); - } - else if (adjustedPlacement === 'left-bottom') { - popoverContentStyle = getStyle({ - left: left - arrowMargin, - bottom: bottom, - }); - } - else if (adjustedPlacement === 'right-top') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - top: top, - }); - } - else if (adjustedPlacement === 'right-bottom') { - popoverContentStyle = getStyle({ - right: right - arrowMargin, - bottom: bottom, - }); - } - return { - popoverContentStyle: popoverContentStyle, - adjustedPlacement: adjustedPlacement, - }; -} -function getStyle(obj) { - return Object.keys(obj) - .map(function (item) { return "".concat(item, ": ").concat(obj[item], "px"); }) - .join(';'); -} diff --git a/compiled/wechat/src/PopoverList/variable.wxss b/compiled/wechat/src/PopoverList/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Popup/index.en.md b/compiled/wechat/src/Popup/index.en.md deleted file mode 100644 index b03416432..000000000 --- a/compiled/wechat/src/Popup/index.en.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Popup - -Slides or pops up a custom content area from the screen. It is used to display pop-up windows, information prompts, selection input, switching, and other content. It supports multiple pop-up layers for overlay display. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-popup": "antd-mini/es/Popup/index" -#endif -#if WECHAT - "ant-popup": "antd-mini/Popup/index" -#endif -} -``` - -## Code example - -### Basic use - -> - `ant-popup` Components must pass `visible` Property controls the show/hide state.`position` Specifies the direction of occurrence, optional `top` `bottom` `left` `right`. The contents of the pop-up window are filled in the form of slots. -> - `close` The event will be triggered when the icon is closed by clicking the upper right corner or when the layer is closed by clicking the layer. -> - `clickBack` event is triggered when the top left back button is clicked. - -```xml - - - A custom content area slides out or pops up from the screen to display pop-up windows, information prompts, selection input, switching, etc. - - -``` - -```js -Page({ - data: { - visible: true, - }, - onClickBack() { -#if ALIPAY - my.showToast({ content: 'clicked icon', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ content: 'clicked icon', duration: 1000 }); -#endif - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### Set background map - -> `backgroundImage` property, you can set the background for the entire bullet layer. - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - - -``` - -### Extra Long Content Scrolling - -> If the content in the pop-up window is too long and needs to support scrolling, please use [scroll-view](https://opendocs.alipay.com/mini/component/scroll-view?pathHash=8292073d) component and add the following properties: - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - exercitation consequat laboris ad. Quis ad enim fugiat. - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- | -| animation | Whether to turn on transition animation | boolean | true | -| animationType | Animation type, optional`transform` `position`, the default is used`transform`Animation performance is better. However, when there is a fixed positioning or picker-view element inside the pop-up window, there may be a style problem, which can be switched`position`Solve | string | `transform` | -| className | Class Name | string | - | -| destroyOnClose | Unload content when invisible | boolean | false | -| duration | Transition animation duration, in milliseconds | number | 300 | -| height | height, in position `top` or `bottom` When used, the unit is px. Optional, when not transmitted, it is highly adaptive according to the content area. | number | - | -| maskClassName | Class name of the layer | string | - | -| maskStyle | The style of the layer | string | - | -| position | Pop-up window layout, optional`top` `bottom` `left` `right` | string | `bottom` | -| showMask | Whether to show the layer | boolean | true | -| style | Style | string | - | -| visible | Whether to display | boolean | false | -| width | The width, in position, is `left` or `right` unit px | number | - | -| zIndex | Pop-up Level | number | 998 | -| backgroundImage | Background map of the pop-up box | string | - | -| showClose | Show icon with bullet box closed | boolean | false | -| showBack | Show the icon returned by the bullet box | boolean | false | -| #if ALIPAY onClose | Click the layer to close and trigger the callback. | () => void | - | -| #if ALIPAY onClickBack | Click the back button to trigger the callback | () => void | - | -| #if ALIPAY onAfterShow | Trigger after full display | () => void | - | -| #if ALIPAY onAfterClose | Trigger after full shutdown | () => void | - | -| #if WECHAT bind:close | Click the layer to close and trigger the callback. | () => void | - | -| #if WECHAT bind:clickbackicon | Click the back button to trigger the callback | () => void | - | -| #if WECHAT bind:aftershow | Trigger after full display | () => void | - | -| #if WECHAT bind:afterclose | Trigger after full shutdown | () => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover List Content Background Color | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover List Content Color | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover List Badge Color | -| --popover-list-content-color |
#333333
|
#c5cad1
| Popover List Content Text Color | - -## FAQ - -### After Popup is opened, what if the page behind the layer can scroll? - -Preventing page scrolling after the layer is currently not effective in IDE and emulator, please debug on real machine. - -### Popup internal elements need to support scrolling how to deal? - -If scrolling is required in the pop-up window, use the scroll-view component and add the following attributes: - -```html - - - ...你的内容... - - -``` - -### How to solve the abnormal display of picker-view inside Popup? - -Popup is passed by default. `display:none` Hidden, and picker-view cannot be placed in `display:none` in the components. There are two solutions: - -1. Add attribute on picker-view `a:if="{{popupVisible}}"`, the picker-view is displayed when the Popup is displayed. -2. Set on Popup `destroyOnClose="{{true}}"`to unload content when the Popup is not visible. diff --git a/compiled/wechat/src/Popup/index.js b/compiled/wechat/src/Popup/index.js deleted file mode 100644 index 92f95f9cf..000000000 --- a/compiled/wechat/src/Popup/index.js +++ /dev/null @@ -1,54 +0,0 @@ -import { isOldSDKVersion } from '../_util/platform'; -import { Component, getValueFromProps, triggerEventOnly, } from '../_util/simply'; -import { PopupDefaultProps } from './props'; -var isOldVersion = isOldSDKVersion(); -Component(PopupDefaultProps, { - onClickCloseIcon: function () { - var closing = this.data.closing; - if (closing) { - return; - } - triggerEventOnly(this, 'close'); - }, - onClickBack: function () { - triggerEventOnly(this, 'clickBack'); - }, - onTapMask: function () { - var closing = this.data.closing; - if (closing) { - return; - } - triggerEventOnly(this, 'close'); - }, - onAnimationEnd: function () { - var closing = this.data.closing; - if (closing) { - this.setData({ closing: false }); - } - var _a = getValueFromProps(this, [ - 'visible', - 'duration', - 'animation', - ]), visible = _a[0], duration = _a[1], animation = _a[2]; - var enableAnimation = animation && duration > 0; - if (enableAnimation) { - triggerEventOnly(this, visible ? 'afterShow' : 'afterClose'); - } - }, -}, { - closing: false, - isOldVersion: isOldVersion, -}, undefined, { - observers: { - 'visible': function (nextProps) { - var visible = nextProps.visible, duration = nextProps.duration, animation = nextProps.animation; - var enableAnimation = animation && duration > 0; - if (enableAnimation && !visible && !this.data.closing) { - this.setData({ closing: true }); - } - if (!enableAnimation) { - triggerEventOnly(this, visible ? 'afterShow' : 'afterClose'); - } - }, - }, -}); diff --git a/compiled/wechat/src/Popup/index.json b/compiled/wechat/src/Popup/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Popup/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Popup/index.md b/compiled/wechat/src/Popup/index.md deleted file mode 100644 index 0525a2d16..000000000 --- a/compiled/wechat/src/Popup/index.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Popup 弹出层 - -从屏幕滑出或弹出一块自定义内容区。用于展示弹窗、信息提示、选择输入、切换等内容,支持多个弹出层叠加展示。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-popup": "antd-mini/es/Popup/index" -#endif -#if WECHAT - "ant-popup": "antd-mini/Popup/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> - `ant-popup` 组件必须通过 `visible` 属性控制显示/隐藏状态。`position` 指定出现方向,可选 `top` `bottom` `left` `right`。弹窗中的内容通过插槽的形式填入。 -> - `close` 事件会在点击右上角关闭 icon 或点击蒙层关闭时触发。 -> - `clickBack` 事件会在点击左上角返回按钮时触发。 - -```xml - - - 从屏幕滑出或弹出一块自定义内容区,用于展示弹窗、信息提示、选择输入、切换等内容。 - - -``` - -```js -Page({ - data: { - visible: true, - }, - onClickBack() { -#if ALIPAY - my.showToast({ content: 'clicked icon', duration: 1000 }); -#endif -#if WECHAT - wx.showToast({ content: 'clicked icon', duration: 1000 }); -#endif - }, - handlePopupClose() { - this.setData({ - visible: false, - }); - }, -}); -``` - -### 设置背景图 - -> `backgroundImage` 属性,可以为整个弹层设置背景。 - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - - -``` - -### 超长内容滚动 - -> 如果弹窗内内容过长需要支持滚动,请使用 [scroll-view](https://opendocs.alipay.com/mini/component/scroll-view?pathHash=8292073d) 组件,并添加以下属性: - -```xml - - - Ea consectetur ipsum consequat exercitation laboris excepteur pariatur - excepteur labore dolor cillum tempor esse. Ad adipisicing nostrud fugiat eu - mollit. Proident nisi voluptate sunt ea laboris Lorem ullamco deserunt aute - incididunt cillum tempor duis est. Elit voluptate laboris laborum anim - exercitation consequat laboris ad. Quis ad enim fugiat. - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- | -| animation | 是否开启过渡动画 | boolean | true | -| animationType | 动画类型,可选`transform` `position`,默认使用`transform`动画性能更好。但当弹窗内部存在 fixed 定位或者 picker-view 元素时可能存在样式问题,可切换为`position`解决 | string | `transform` | -| className | 类名 | string | - | -| destroyOnClose | 不可见时卸载内容 | boolean | false | -| duration | 过渡动画时长,单位毫秒 | number | 300 | -| height | 高度,在 position 为 `top` 或 `bottom` 时使用,单位 px。可选,不传时根据内容区高度自适应。 | number | - | -| maskClassName | 蒙层的类名 | string | - | -| maskStyle | 蒙层的样式 | string | - | -| position | 弹窗布局,可选`top` `bottom` `left` `right` | string | `bottom` | -| showMask | 是否展示蒙层 | boolean | true | -| style | 样式 | string | - | -| visible | 是否显示 | boolean | false | -| width | 宽度, 在 position 为 `left` 或 `right` 时使用,单位 px | number | - | -| zIndex | 弹窗层级 | number | 998 | -| backgroundImage | 弹框的背景图 | string | - | -| showClose | 展示弹框关闭的 icon | boolean | false | -| showBack | 展示弹框返回的 icon | boolean | false | -| #if ALIPAY onClose | 点击蒙层关闭,触发回调 | () => void | - | -| #if ALIPAY onClickBack | 点击返回按钮,触发回调 | () => void | - | -| #if ALIPAY onAfterShow | 完全展示后触发 | () => void | - | -| #if ALIPAY onAfterClose | 完全关闭后触发 | () => void | - | -| #if WECHAT bind:close | 点击蒙层关闭,触发回调 | () => void | - | -| #if WECHAT bind:clickbackicon | 点击返回按钮,触发回调 | () => void | - | -| #if WECHAT bind:aftershow | 完全展示后触发 | () => void | - | -| #if WECHAT bind:afterclose | 完全关闭后触发 | () => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --popover-list-content-bg |
rgba(0, 0, 0, 0.93)
|
rgba(0, 0, 0, 0.93)
| Popover 列表内容背景颜色 | -| --popover-list-content-color |
#ffffff
|
#c5cad1
| Popover 列表内容颜色 | -| --popover-list-badge-color |
#ff411c
|
#ff411c
| Popover 列表徽章颜色 | -| --popover-list-content-color |
#333333
|
#c5cad1
| Popover 列表内容文字颜色 | - -## FAQ - -### Popup 打开后,蒙层后面的页面能滚动怎么办? - -阻止蒙层后页面滚动目前在 IDE 和模拟器不生效,请在真机上调试。 - -### Popup 内部元素需要支持滚动怎么处理? - -如果弹窗内需要滚动,请使用 scroll-view 组件,并添加以下属性: - -```html - - - ...你的内容... - - -``` - -### Popup 内部的 picker-view 显示异常怎么解决? - -Popup 默认是通过 `display:none` 隐藏的,而 picker-view 不能放到 `display:none` 的组件里。有以下两种解决方式: - -1. 在 picker-view 上添加属性 `a:if="{{popupVisible}}"`,在 Popup 显示时再显示 picker-view。 -2. 在 Popup 上设置 `destroyOnClose="{{true}}"`,在 Popup 不可见时卸载内容。 diff --git a/compiled/wechat/src/Popup/index.wxml b/compiled/wechat/src/Popup/index.wxml deleted file mode 100644 index 9d5a1ade3..000000000 --- a/compiled/wechat/src/Popup/index.wxml +++ /dev/null @@ -1,53 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/wechat/src/Popup/index.wxs b/compiled/wechat/src/Popup/index.wxs deleted file mode 100644 index 22803ce40..000000000 --- a/compiled/wechat/src/Popup/index.wxs +++ /dev/null @@ -1,20 +0,0 @@ -function getContentStyle(position, animation, duration, width, height) { - var style = ''; - if (animation) { - style += "-webkit-animation-duration:".concat(duration, "ms; animation-duration:").concat(duration, "ms;"); - } - if (position === 'top' || position === 'bottom') { - if (typeof height !== 'undefined' && height !== null) { - style += "height:".concat(height, "px"); - } - } - if (position === 'left' || position === 'right') { - if (typeof width !== 'undefined' && width !== null) { - style += "width:".concat(width, "px"); - } - } - return style; -} -module.exports = { - getContentStyle: getContentStyle -}; \ No newline at end of file diff --git a/compiled/wechat/src/Popup/index.wxss b/compiled/wechat/src/Popup/index.wxss deleted file mode 100644 index 54b341b1d..000000000 --- a/compiled/wechat/src/Popup/index.wxss +++ /dev/null @@ -1,352 +0,0 @@ -.ant-popup { - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 998; - touch-action: none; -} -.ant-popup-top-image { - width: 100%; -} -.ant-popup-mask { - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.55); - animation-fill-mode: forwards; -} -.ant-popup-mask-closing { - animation-name: ant-popup-mask-close; -} -.ant-popup-content { - overflow: hidden; - position: fixed; - background: var(--popup-background, #ffffff); - animation-fill-mode: forwards; - animation-timing-function: ease-out; - color: var(--popup-color, #333333); -} -.ant-popup-content-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: -1; - background-size: cover; - background-repeat: no-repeat; -} -.ant-popup-content-header { - display: flex; - justify-content: center; - align-items: center; - height: 114rpx; - position: relative; -} -.ant-popup-content-header-title { - font-family: 500; - line-height: 50rpx; - font-size: 36rpx; - color: var(--popup-color, #333333); - text-align: center; -} -.ant-popup-content-header-icon { - width: 48rpx; - height: 48rpx; - font-size: 42rpx; - position: absolute; - top: 33rpx; - color: var(--popup-assit-color, #999999); - display: flex; - justify-content: center; - align-items: center; -} -.ant-popup-content-header-icon-back { - left: 24rpx; -} -.ant-popup-content-header-icon-close { - right: 24rpx; -} -.ant-popup-transform-top { - top: 0; - left: 0; - right: 0; - animation-name: ant-popup-transform-top; - border-radius: 0 0 48rpx 48rpx; -} -.ant-popup-transform-top-close { - animation-name: ant-popup-transform-top-close; -} -.ant-popup-transform-right { - top: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-transform-right; -} -.ant-popup-transform-right-close { - animation-name: ant-popup-transform-right-close; -} -.ant-popup-transform-bottom { - left: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-transform-bottom; - border-radius: 48rpx 48rpx 0 0; -} -.ant-popup-transform-bottom-close { - animation-name: ant-popup-transform-bottom-close; -} -.ant-popup-transform-left { - top: 0; - left: 0; - bottom: 0; - animation-name: ant-popup-transform-left; -} -.ant-popup-transform-left-close { - animation-name: ant-popup-transform-left-close; -} -.ant-popup-transform-center { - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - animation-name: ant-popup-transform-center; - border-radius: 48rpx; - background: none; -} -.ant-popup-transform-center-close { - animation-name: ant-popup-transform-center-close; -} -.ant-popup-position-top { - top: 0; - left: 0; - right: 0; - animation-name: ant-popup-position-top; - border-radius: 0 0 48rpx 48rpx; -} -.ant-popup-position-top-close { - animation-name: ant-popup-position-top-close; -} -.ant-popup-position-right { - top: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-position-right; -} -.ant-popup-position-right-close { - animation-name: ant-popup-position-right-close; -} -.ant-popup-position-bottom { - left: 0; - right: 0; - bottom: 0; - animation-name: ant-popup-position-bottom; - border-radius: 48rpx 48rpx 0 0; -} -.ant-popup-position-bottom-close { - animation-name: ant-popup-position-bottom-close; -} -.ant-popup-position-left { - top: 0; - left: 0; - bottom: 0; - animation-name: ant-popup-position-left; -} -.ant-popup-position-left-close { - animation-name: ant-popup-position-left-close; -} -.ant-popup-position-center { - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - animation-name: ant-popup-position-center; - border-radius: 48rpx; - background: none; -} -.ant-popup-position-center-close { - animation-name: ant-popup-position-center-close; -} -@keyframes ant-popup-transform-top { - 0% { - transform: translateY(-100%); - } - 100% { - transform: translateY(0); - } -} -@keyframes ant-popup-transform-bottom { - 0% { - transform: translateY(100%); - } - 100% { - transform: translateY(0); - } -} -@keyframes ant-popup-transform-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -@keyframes ant-popup-transform-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -@keyframes ant-popup-transform-center { - 0% { - transform: translate3d(-50%, -50%, 0) scale(0.1); - opacity: 0; - } - 100% { - transform: translate3d(-50%, -50%, 0) scale(1); - opacity: 1; - } -} -@keyframes ant-popup-transform-top-close { - 0% { - transform: translateY(0); - } - 100% { - transform: translateY(-100%); - } -} -@keyframes ant-popup-transform-bottom-close { - 0% { - transform: translateY(0); - } - 100% { - transform: translateY(100%); - } -} -@keyframes ant-popup-transform-left-close { - 0% { - transform: translateX(0); - } - 100% { - transform: translateX(-100%); - } -} -@keyframes ant-popup-transform-right-close { - 0% { - transform: translateX(0); - } - 100% { - transform: translateX(100%); - } -} -@keyframes ant-popup-transform-center-close { - 0% { - opacity: 1; - transform: translate3d(-50%, -50%, 0) scale(1); - } - 20% { - opacity: 0.8; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } - 100% { - opacity: 0; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } -} -@keyframes ant-popup-position-top { - 0% { - top: -100%; - } - 100% { - top: 0; - } -} -@keyframes ant-popup-position-bottom { - 0% { - bottom: -100%; - } - 100% { - bottom: 0; - } -} -@keyframes ant-popup-position-left { - 0% { - left: -100%; - } - 100% { - left: 0; - } -} -@keyframes ant-popup-position-right { - 0% { - right: -100%; - } - 100% { - right: 0; - } -} -@keyframes ant-popup-position-center { - 0% { - transform: translate3d(-50%, -50%, 0) scale(0.1); - opacity: 0; - } - 100% { - transform: translate3d(-50%, -50%, 0) scale(1); - opacity: 1; - } -} -@keyframes ant-popup-position-top-close { - 0% { - top: 0; - } - 100% { - top: -100%; - } -} -@keyframes ant-popup-position-bottom-close { - 0% { - bottom: 0; - } - 100% { - bottom: -100%; - } -} -@keyframes ant-popup-position-left-close { - 0% { - left: 0; - } - 100% { - left: -100%; - } -} -@keyframes ant-popup-position-right-close { - 0% { - right: 0; - } - 100% { - right: -100%; - } -} -@keyframes ant-popup-position-center-close { - 0% { - opacity: 1; - transform: translate3d(-50%, -50%, 0) scale(1); - } - 20% { - opacity: 0.8; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } - 100% { - opacity: 0; - transform: translate3d(-50%, -50%, 0) scale(0.9); - } -} -@keyframes ant-popup-mask-close { - 0% { - background-color: rgba(0, 0, 0, 0.55); - } - 100% { - background-color: var(--popup-mask-close-bg, rgba(0, 0, 0, 0)); - } -} diff --git a/compiled/wechat/src/Popup/props.js b/compiled/wechat/src/Popup/props.js deleted file mode 100644 index fdc2eab56..000000000 --- a/compiled/wechat/src/Popup/props.js +++ /dev/null @@ -1,22 +0,0 @@ -export var PopupDefaultProps = { - visible: false, - destroyOnClose: false, - backgroundImage: '', - showMask: true, - showClose: false, - showBack: false, - position: 'bottom', - // 是否开启动画 - animation: true, - animationType: 'transform', - // 动画持续时间 - duration: 300, - height: null, - width: null, - maskClassName: '', - maskStyle: '', - // 弹窗层级 - zIndex: 998, - onClickBackIcon: function () { }, - onClickCloseIcon: function () { }, -}; diff --git a/compiled/wechat/src/Popup/variable.wxss b/compiled/wechat/src/Popup/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Progress/index.en.md b/compiled/wechat/src/Progress/index.en.md deleted file mode 100644 index 21b9a07b9..000000000 --- a/compiled/wechat/src/Progress/index.en.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Progress - -Displays the progress of user operations and tasks. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-progress": "antd-mini/es/Progress/index" -#endif -#if WECHAT - "ant-progress": "antd-mini/Progress/index" -#endif -} -``` - -## Code example - -### Basic use - -> The progress bar defaults to a blue bar,`percent` Property to set the current progress. Use `type`Property to set the shape, currently supports bar and ring two forms. - -```xml - - - -``` - -### Semantic progress bar - -> In line mode, semantic status bars for success and failure states are supported by setting `status`Property implementation. - -```xml - - -``` - -### Style Customization - -> `strokeWidth` You can set the thickness of the progress bar,`strokeColor` You can set the color of the progress bar,`trailColor` You can set the track color,`style` The style can be highly customized. - -```xml - - - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------- | ---------------------------------------------------- | ------- | ------ | -| className | Class Name | string | - | -| percent | Percentage | number | 0 | -| status | status, available in line mode only, optional `success` `exception` | string | - | -| strokeColor | Progress bar color | string | - | -| strokeWidth | Width of progress bar, in px | number | 8 | -| style | Style | string | - | -| trailColor | Track Color | string | - | -| type | type, optional `line` `circle` | string | `line` | -| width | Circular progress bar canvas width, in px | number | 100 | -| animation | Whether to turn on transition animation | boolean | true | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| -------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| Main color of progress bar | -| --progress-trail-color |
#f5f5f5
|
#121212
| Progress bar track color | -| --progress-success-color |
#22b35e
|
#34b368
| Progress bar success color | -| --progress-indicator-color |
#333333
|
#c5cad1
| Progress bar indicator color | -| --progress-exception-color |
#ff3141
|
#ff4a58
| Progress bar exception color | -| --progress-assist-color |
#999999
|
#616161
| Progress bar auxiliary color | diff --git a/compiled/wechat/src/Progress/index.js b/compiled/wechat/src/Progress/index.js deleted file mode 100644 index 3ade7e1d3..000000000 --- a/compiled/wechat/src/Progress/index.js +++ /dev/null @@ -1,191 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { Component, getValueFromProps } from '../_util/simply'; -import { ProgressBarDefaultProps } from './props'; -import { createCanvasContext } from '../_util/jsapi/create-canvas-context'; -import { getSystemInfo } from '../_util/jsapi/get-system-info'; -var animationFrameDuration = 16; -Component(ProgressBarDefaultProps, { - requestAnimationFrame: function (fn, duration) { - if (duration === void 0) { duration = animationFrameDuration; } - setTimeout(fn, duration); - }, - getDrawColor: function () { - var _a = getValueFromProps(this, [ - 'strokeColor', - 'trailColor', - ]), strokeColor = _a[0], trailColor = _a[1]; - var drawColor = { - strokeColor: strokeColor || '#1677ff', - trailColor: trailColor || '#F5F5F5', - }; - return drawColor; - }, - getCanvasContext: function () { - return __awaiter(this, void 0, void 0, function () { - var systemInfo, pixelRatio, width, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - if (this.ctx) - return [2 /*return*/]; - return [4 /*yield*/, getSystemInfo()]; - case 1: - systemInfo = _b.sent(); - pixelRatio = systemInfo.pixelRatio; - width = getValueFromProps(this, 'width'); - _a = this; - return [4 /*yield*/, createCanvasContext([this.canvasId, this])]; - case 2: - _a.ctx = _b.sent(); - this.ctx.imageSmoothingEnabled = true; - this.ctx.imageSmoothingQuality = 'high'; - // 微信小程序不支持 CanvasWidth 参数,此时 pixelRatio 默认为 1 - pixelRatio = 1; - this.setData({ - canvasWidth: width * pixelRatio, - }); - return [2 /*return*/]; - } - }); - }); - }, - clearCanvas: function () { - var ctx = this.ctx; - var canvasWidth = this.data.canvasWidth; - ctx.clearRect(0, 0, canvasWidth, canvasWidth); - }, - updateCanvasProgress: function (prev) { - return __awaiter(this, void 0, void 0, function () { - var drawColor, curRad, targetRad, direction, draw; - var _this = this; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - drawColor = this.getDrawColor(); - return [4 /*yield*/, this.getCanvasContext()]; - case 1: - _a.sent(); - curRad = Math.floor((prev / 100) * 360); - targetRad = Math.floor((this.data.curProgress / 100) * 360); - direction = curRad < targetRad ? 1 : -1; - draw = function () { - if (curRad == targetRad) - return; - var _a = getValueFromProps(_this, [ - 'speed', - 'animation', - ]), speed = _a[0], animation = _a[1]; - curRad = direction * speed + curRad; - if (direction == -1) { - curRad = Math.max(curRad, targetRad); - } - else { - curRad = Math.min(curRad, targetRad); - } - _this.clearCanvas(); - _this.drawOrbit(drawColor.trailColor); - _this.drawProgress(drawColor.strokeColor, curRad); - _this.ctx.draw(true); - _this.requestAnimationFrame(draw, animation ? animationFrameDuration : 0); - }; - draw(); - return [2 /*return*/]; - } - }); - }); - }, - drawProgress: function (color, rad) { - var ctx = this.ctx; - var canvasWidth = this.data.canvasWidth; - var strokeWidth = Number(getValueFromProps(this, 'strokeWidth')); - ctx.beginPath(); - ctx.strokeStyle = color; - ctx.lineWidth = strokeWidth; - ctx.setLineCap('round'); - ctx.arc(canvasWidth / 2, canvasWidth / 2, canvasWidth / 2 - strokeWidth, -Math.PI / 2, -Math.PI / 2 + (rad / 360) * 2 * Math.PI, false); - ctx.stroke(); - }, - drawOrbit: function (color) { - var ctx = this.ctx; - var canvasWidth = this.data.canvasWidth; - var strokeWidth = Number(getValueFromProps(this, 'strokeWidth')); - ctx.beginPath(); - ctx.strokeStyle = color; - ctx.lineWidth = strokeWidth; - ctx.arc(canvasWidth / 2, canvasWidth / 2, canvasWidth / 2 - strokeWidth, 0, Math.PI * 2, false); - ctx.stroke(); - }, - calProgress: function () { - var _a = getValueFromProps(this, ['percent', 'type']), p = _a[0], type = _a[1]; - var percent = +p; - if (isNaN(percent)) { - return this.setData({ curProgress: 0 }); - } - var prevProgress = this.data.curProgress; - if (percent === prevProgress) { - return; - } - this.setData({ - curProgress: percent > 100 ? 100 : percent < 0 ? 0 : percent, - }); - if (type === 'circle') { - this.setCanvasId(); - this.updateCanvasProgress(prevProgress); - } - }, - setCanvasId: function () { - this.canvasId = this.$id - ? "ant-progress-canvas-".concat(this.$id) - : "ant-progress-canvas"; - }, -}, { - curProgress: 0, - canvasWidth: 100, -}, undefined, { - ctx: null, - drawColor: null, - canvas: null, - attached: function () { - this.calProgress(); - }, - observers: { - '**': function () { - this.calProgress(); - }, - }, -}); diff --git a/compiled/wechat/src/Progress/index.json b/compiled/wechat/src/Progress/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Progress/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Progress/index.md b/compiled/wechat/src/Progress/index.md deleted file mode 100644 index c624e7e30..000000000 --- a/compiled/wechat/src/Progress/index.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Progress 进度条 - -用于展示用户操作、任务的进度。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-progress": "antd-mini/es/Progress/index" -#endif -#if WECHAT - "ant-progress": "antd-mini/Progress/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> 进度条默认为蓝色条形,`percent` 属性来设置当前进度。使用 `type`属性来设置形状,目前支持条形和环形两种形式。 - -```xml - - - -``` - -### 语义化进度条 - -> line 模式下,支持成功、失败状态的语义化状态条,通过设置 `status`属性实现。 - -```xml - - -``` - -### 样式定制 - -> `strokeWidth` 可以设置进度条的粗细,`strokeColor` 可以设置进度条的颜色,`trailColor` 可以设置轨道颜色,`style` 可以高度定制样式。 - -```xml - - - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ---------------------------------------------------- | ------- | ------ | -| className | 类名 | string | - | -| percent | 百分比 | number | 0 | -| status | 状态,仅限 line 模式可用,可选 `success` `exception` | string | - | -| strokeColor | 进度条颜色 | string | - | -| strokeWidth | 进度条宽度,单位 px | number | 8 | -| style | 样式 | string | - | -| trailColor | 轨道颜色 | string | - | -| type | 类型,可选 `line` `circle` | string | `line` | -| width | 圆形进度条画布宽度,单位 px | number | 100 | -| animation | 是否开启过渡动画 | boolean | true | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| 进度条主颜色 | -| --progress-trail-color |
#f5f5f5
|
#121212
| 进度条轨道颜色 | -| --progress-success-color |
#22b35e
|
#34b368
| 进度条成功颜色 | -| --progress-indicator-color |
#333333
|
#c5cad1
| 进度条指示器颜色 | -| --progress-exception-color |
#ff3141
|
#ff4a58
| 进度条异常颜色 | -| --progress-assist-color |
#999999
|
#616161
| 进度条辅助颜色 | diff --git a/compiled/wechat/src/Progress/index.wxml b/compiled/wechat/src/Progress/index.wxml deleted file mode 100644 index 4b1a23add..000000000 --- a/compiled/wechat/src/Progress/index.wxml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - {{percent}}% - - \ No newline at end of file diff --git a/compiled/wechat/src/Progress/index.wxss b/compiled/wechat/src/Progress/index.wxss deleted file mode 100644 index 330465df0..000000000 --- a/compiled/wechat/src/Progress/index.wxss +++ /dev/null @@ -1,55 +0,0 @@ -.ant-progress-line { - display: flex; - flex-direction: row; - align-items: center; -} -.ant-progress-line .ant-progress-outer { - background-color: var(--progress-trail-color, #f5f5f5); - border-radius: 50vh; - height: 16rpx; - overflow: hidden; - flex: 1; -} -.ant-progress-line .ant-progress-inner { - border-radius: 50vh; - transition: width 0.3s; - height: 100%; - position: relative; - background-color: var(--progress-stroke-color, #1677ff); -} -.ant-progress-line .ant-progress-inner-success { - background-color: var(--progress-success-color, #22b35e); -} -.ant-progress-line .ant-progress-inner-exception { - background-color: var(--progress-exception-color, #ff3141); -} -.ant-progress-line .ant-progress-indicator { - margin-left: 16rpx; - color: var(--progress-assist-color, #999999); - font-size: 26rpx; - height: 37rpx; - display: flex; - align-items: center; -} -.ant-progress-line .ant-progress-status-icon-success { - color: var(--progress-success-color, #22b35e); -} -.ant-progress-line .ant-progress-status-icon-exception { - color: var(--progress-exception-color, #ff3141); -} -.ant-progress-circle { - position: relative; -} -.ant-progress-circle > canvas { - width: 100%; - height: 100%; -} -.ant-progress-circle .ant-progress-indicator { - font-size: 40rpx; - color: var(--progress-indicator-color, #333333); - position: absolute; - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - z-index: 10; -} diff --git a/compiled/wechat/src/Progress/props.js b/compiled/wechat/src/Progress/props.js deleted file mode 100644 index 4ff97ad3e..000000000 --- a/compiled/wechat/src/Progress/props.js +++ /dev/null @@ -1,11 +0,0 @@ -export var ProgressBarDefaultProps = { - percent: 0, - type: 'line', - width: 100, - strokeWidth: 8, - status: null, - strokeColor: '', - trailColor: '', - speed: 6, - animation: true, -}; diff --git a/compiled/wechat/src/Progress/variable.wxss b/compiled/wechat/src/Progress/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Radio/RadioGroup/index.js b/compiled/wechat/src/Radio/RadioGroup/index.js deleted file mode 100644 index 65b6fbc9d..000000000 --- a/compiled/wechat/src/Radio/RadioGroup/index.js +++ /dev/null @@ -1,16 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../../_util/simply'; -import { RadioGroupDefaultProps } from './props'; -import mixinValue from '../../mixins/value'; -Component(RadioGroupDefaultProps, { - onChange: function (_, e) { - var event; - event = _; - var index = event.currentTarget.dataset.index; - var options = getValueFromProps(this, 'options'); - var value = options[index].value; - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, event); - }, -}, null, [mixinValue()]); diff --git a/compiled/wechat/src/Radio/RadioGroup/index.json b/compiled/wechat/src/Radio/RadioGroup/index.json deleted file mode 100644 index 787ac5732..000000000 --- a/compiled/wechat/src/Radio/RadioGroup/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "list": "../../List/index", - "list-item": "../../List/ListItem/index", - "radio": "../index" - } -} diff --git a/compiled/wechat/src/Radio/RadioGroup/index.wxml b/compiled/wechat/src/Radio/RadioGroup/index.wxml deleted file mode 100644 index a270049bf..000000000 --- a/compiled/wechat/src/Radio/RadioGroup/index.wxml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - {{item.label}} - - - - - - - - {{item.label}} - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Radio/RadioGroup/index.wxss b/compiled/wechat/src/Radio/RadioGroup/index.wxss deleted file mode 100644 index eef61a109..000000000 --- a/compiled/wechat/src/Radio/RadioGroup/index.wxss +++ /dev/null @@ -1,34 +0,0 @@ -.ant-radio-group-horizontal .ant-radio-group-body { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} -.ant-radio-group-horizontal .ant-radio-group-body .ant-list-item-line { - padding-right: 0; -} -.ant-radio-group-horizontal .ant-radio-group-body .ant-radio-item { - flex-flow: 0; -} -.ant-radio-group-horizontal .ant-radio-group-body .ant-list-item-line::after { - display: none; -} -.ant-radio-group-header:empty, -.ant-radio-group-footer:empty { - display: none; -} -.ant-radio-group-header, -.ant-radio-group-footer { - display: flex; - align-items: center; - padding: 16rpx 24rpx; - line-height: 1.4; - font-size: 30rpx; - color: var(--radio-header-color, #999999); -} -.ant-radio-group-body { - position: relative; - overflow: hidden; -} -.ant-radio-group-body .ant-radio-item-content .ant-radio-group-item-label-default:not(:nth-child(1)) { - display: none; -} diff --git a/compiled/wechat/src/Radio/RadioGroup/props.js b/compiled/wechat/src/Radio/RadioGroup/props.js deleted file mode 100644 index eada156a6..000000000 --- a/compiled/wechat/src/Radio/RadioGroup/props.js +++ /dev/null @@ -1,9 +0,0 @@ -export var RadioGroupDefaultProps = { - value: null, - defaultValue: null, - name: '', - disabled: false, - color: '', - position: 'vertical', - options: [], -}; diff --git a/compiled/wechat/src/Radio/index.en.md b/compiled/wechat/src/Radio/index.en.md deleted file mode 100644 index da81ef22b..000000000 --- a/compiled/wechat/src/Radio/index.en.md +++ /dev/null @@ -1,183 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Radio - -Single selection from a set of options. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-radio": "antd-mini/es/Radio/index", - "ant-radio-group": "antd-mini/es/Radio/RadioGroup/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Radio/index", - "ant-radio-group": "antd-mini/Radio/RadioGroup/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml -Initial value -Disable button 1 -Custom Colors - - Basic Usage - -``` - -```js -Page({ - onChange(value, e) { - console.log(value, e); - }, -}); -``` - -### Controlled Mode - -```xml - - Controlled Mode - -``` - -```js -Page({ - data: { - checked: false, - }, - handleChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### Radio Group - -```xml - - -``` - -```js -Page({ - data: { - value: 'banana', - options: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'banana', label: '香蕉' }, - ], - }, - handleRadioGroupChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- | ------ | -| checked | Whether selected | boolean | - | -| className | Class Name | string | - | -| disabled | Disable | boolean | false | -| color | Icon Color | string | - | -| defaultChecked | Is selected by default | boolean | false | -| style | Style | string | - | -| value | value carried | string | - | -| #if ALIPAY onChange | Callback when state changes | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | Callback when state changes | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### RadioGroup - -| Property | Description | Type | Default Value | -| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------- | ---------- | -| className | Class Name | string | - | -| color | Icon Color | string | - | -| disabled | Disable | boolean | false | -| defaultValue | Initial value | string | - | -| label | slots, receiving values and indexes | slot | - | -| options | Optional | `{label?: string; value?: string; disabled?: boolean;}[]` | - | -| position | Layout mode | string | `vertical` | -| style | Style | string | - | -| value | Selected value | string | - | -| #if ALIPAY onChange | Callback when state changes | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | Callback when state changes | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| Main color of progress bar | -| --progress-trail-color |
#f5f5f5
|
#121212
| Progress bar track color | -| --progress-success-color |
#22b35e
|
#34b368
| Progress bar success color | -| --progress-indicator-color |
#333333
|
#c5cad1
| Progress bar indicator color | -| --progress-exception-color |
#ff3141
|
#ff4a58
| Progress bar exception color | -| --progress-assist-color |
#999999
|
#616161
| progress bar auxiliary color | diff --git a/compiled/wechat/src/Radio/index.js b/compiled/wechat/src/Radio/index.js deleted file mode 100644 index 57348d3ed..000000000 --- a/compiled/wechat/src/Radio/index.js +++ /dev/null @@ -1,20 +0,0 @@ -import { Component, triggerEvent } from '../_util/simply'; -import { RadioDefaultProps } from './props'; -import mixinValue from '../mixins/value'; -Component(RadioDefaultProps, { - handleTap: function (e) { - // 只能从 false -> true - if (this.getValue()) { - return; - } - if (!this.isControlled()) { - this.update(true); - } - triggerEvent(this, 'change', true, e); - }, -}, null, [ - mixinValue({ - valueKey: 'checked', - defaultValueKey: 'defaultChecked', - }), -]); diff --git a/compiled/wechat/src/Radio/index.json b/compiled/wechat/src/Radio/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Radio/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Radio/index.md b/compiled/wechat/src/Radio/index.md deleted file mode 100644 index 33fc771e4..000000000 --- a/compiled/wechat/src/Radio/index.md +++ /dev/null @@ -1,183 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Radio 单选框 - -在一组可选项中进行单选。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-radio": "antd-mini/es/Radio/index", - "ant-radio-group": "antd-mini/es/Radio/RadioGroup/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Radio/index", - "ant-radio-group": "antd-mini/Radio/RadioGroup/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml -初始值 -禁用按钮1 -自定义颜色 - - 基础用法 - -``` - -```js -Page({ - onChange(value, e) { - console.log(value, e); - }, -}); -``` - -### 受控模式 - -```xml - - 受控模式 - -``` - -```js -Page({ - data: { - checked: false, - }, - handleChange(checked) { -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif -#if ALIPAY - this.setData({ - checked, - }); -#endif - }, -}); -``` - -### Radio 组 - -```xml - - -``` - -```js -Page({ - data: { - value: 'banana', - options: [ - { value: 'apple', label: '苹果' }, - { value: 'orange', label: '橘子' }, - { value: 'banana', label: '香蕉' }, - ], - }, - handleRadioGroupChange(value) { -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- | ------ | -| checked | 是否选中 | boolean | - | -| className | 类名 | string | - | -| disabled | 是否禁用 | boolean | false | -| color | 图标颜色 | string | - | -| defaultChecked | 是否默认选中 | boolean | false | -| style | 样式 | string | - | -| value | 携带的 value 值 | string | - | -| #if ALIPAY onChange | 状态改变时的回调 | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | 状态改变时的回调 | `(checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### RadioGroup - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------- | ---------- | -| className | 类名 | string | - | -| color | 图标颜色 | string | - | -| disabled | 是否禁用 | boolean | false | -| defaultValue | 初始值 | string | - | -| label | 插槽,接收值和索引 | slot | - | -| options | 可选项 | `{label?: string; value?: string; disabled?: boolean;}[]` | - | -| position | 布局方式 | string | `vertical` | -| style | 样式 | string | - | -| value | 选中的值 | string | - | -| #if ALIPAY onChange | 状态改变时的回调 | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | -| #if WECHAT bind:change | 状态改变时的回调 | `(value: string, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| -------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------- | -| --progress-stroke-color |
#1677ff
|
#3086ff
| 进度条主颜色 | -| --progress-trail-color |
#f5f5f5
|
#121212
| 进度条轨道颜色 | -| --progress-success-color |
#22b35e
|
#34b368
| 进度条成功颜色 | -| --progress-indicator-color |
#333333
|
#c5cad1
| 进度条指示器颜色 | -| --progress-exception-color |
#ff3141
|
#ff4a58
| 进度条异常颜色 | -| --progress-assist-color |
#999999
|
#616161
| 进度条辅助颜色 | diff --git a/compiled/wechat/src/Radio/index.wxml b/compiled/wechat/src/Radio/index.wxml deleted file mode 100644 index dadf36307..000000000 --- a/compiled/wechat/src/Radio/index.wxml +++ /dev/null @@ -1,35 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/wechat/src/Radio/index.wxs b/compiled/wechat/src/Radio/index.wxs deleted file mode 100644 index 3bf423100..000000000 --- a/compiled/wechat/src/Radio/index.wxs +++ /dev/null @@ -1,24 +0,0 @@ -function getClassName(checked, disabled) { - if (!checked && !disabled) { - return 'icon'; - } - if (checked && !disabled) { - return 'checkedIcon'; - } - if (!checked && disabled) { - return 'disbaledIcon'; - } - if (checked && disabled) { - return 'disabledCheckedIcon'; - } -} -function getChecked(index, options, value) { - if (options[index].value === value) { - return true; - } - return false; -} -module.exports = { - getClassName: getClassName, - getChecked: getChecked -}; \ No newline at end of file diff --git a/compiled/wechat/src/Radio/index.wxss b/compiled/wechat/src/Radio/index.wxss deleted file mode 100644 index 8e5498deb..000000000 --- a/compiled/wechat/src/Radio/index.wxss +++ /dev/null @@ -1,89 +0,0 @@ -.ant-radio-item { - color: var(--radio-text-color, #333333); - margin-right: 16rpx; - height: 59.6rpx; - line-height: 59.6rpx; - display: inline-block; -} -.ant-radio-item-container { - display: flex; - align-items: center; -} -.ant-radio-item-content { - padding-left: 10rpx; - text-align: left; -} -.ant-radio-item-wrap { - position: relative; - width: 44rpx; - height: 44rpx; - flex: 0 0 44rpx; -} -.ant-radio-item-base { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 2; - opacity: 0; -} -.ant-radio-item-fake { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - overflow: hidden; - pointer-events: none; - display: flex; - justify-content: center; - align-items: center; -} -.ant-radio-item-fake-icon { - background-color: var(--radio-fake-icon-background-color, #ffffff); - border: 2rpx solid var(--radio-border-color, #cccccc); - border-radius: 50vh; - width: 100%; - height: 100%; - box-sizing: border-box; -} -.ant-radio-item-fake-checkedIcon { - border-radius: 50vh; - background-color: var(--radio-background-color, #1677ff); - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; -} -.ant-radio-item-fake-checkedIcon-icon { - color: var(--radio-icon-color, #ffffff); - font-size: 28rpx; -} -.ant-radio-item-fake-disbaledIcon { - box-sizing: border-box; - border: 2rpx solid var(--radio-border-color, #cccccc); - border-radius: 50vh; - width: 100%; - height: 100%; - background-color: var(--radio-disabled-background, #f5f5f5); -} -.ant-radio-item-fake-disabledCheckedIcon { - box-sizing: border-box; - border: 2rpx solid var(--radio-border-color, #cccccc); - background-color: var(--radio-disabled-background, #f5f5f5); - border-radius: 50vh; - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; -} -.ant-radio-item-fake-disabledCheckedIcon-icon { - color: var(--radio-border-color, #cccccc); - font-size: 28rpx; -} -.ant-radio-item-disabled { - opacity: 0.4; -} diff --git a/compiled/wechat/src/Radio/props.js b/compiled/wechat/src/Radio/props.js deleted file mode 100644 index 0b393e374..000000000 --- a/compiled/wechat/src/Radio/props.js +++ /dev/null @@ -1,7 +0,0 @@ -export var RadioDefaultProps = { - value: null, - defaultChecked: null, - color: '', - checked: null, - disabled: false, -}; diff --git a/compiled/wechat/src/Radio/variable.wxss b/compiled/wechat/src/Radio/variable.wxss deleted file mode 100644 index 57400d72a..000000000 --- a/compiled/wechat/src/Radio/variable.wxss +++ /dev/null @@ -1,6 +0,0 @@ -/* size | 大小 */ -/* corner-radius | 圆角 */ -/* border-width | 边框宽度 */ -/* color | 边框颜色 */ -/* color | check状态背景色 */ -/* color | disabled状态背景色 */ diff --git a/compiled/wechat/src/RareWordsKeyboard/constants.js b/compiled/wechat/src/RareWordsKeyboard/constants.js deleted file mode 100644 index 07a635114..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/constants.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 拼音键盘按钮 - */ -export var PINYIN_MAP = [ - // 第一行 - [ - { label: 'Q', value: 'Q' }, - { label: 'W', value: 'W' }, - { label: 'E', value: 'E' }, - { label: 'R', value: 'R' }, - { label: 'T', value: 'T' }, - { label: 'Y', value: 'Y' }, - { label: 'U', value: 'U' }, - { label: 'I', value: 'I' }, - { label: 'O', value: 'O' }, - { label: 'P', value: 'P' }, - ], - // 第二行 - [ - { label: 'A', value: 'A' }, - { label: 'S', value: 'S' }, - { label: 'D', value: 'D' }, - { label: 'F', value: 'F' }, - { label: 'G', value: 'G' }, - { label: 'H', value: 'H' }, - { label: 'J', value: 'J' }, - { label: 'K', value: 'K' }, - { label: 'L', value: 'L' }, - ], - // 第三行 - [ - { label: 'Z', value: 'Z' }, - { label: 'X', value: 'X' }, - { label: 'C', value: 'C' }, - { label: 'V', value: 'V' }, - { label: 'B', value: 'B' }, - { label: 'N', value: 'N' }, - { label: 'M', value: 'M' }, - ], -]; diff --git a/compiled/wechat/src/RareWordsKeyboard/index.en.md b/compiled/wechat/src/RareWordsKeyboard/index.en.md deleted file mode 100644 index b13eeb066..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/index.en.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# RareWordsKeyboard - -The problem of rare characters has always been a difficult point in the society. Due to the development of different standards in different periods, various industries support different Chinese characters, which makes it very difficult to interconnect rare characters and names in Internet business and seriously affects the business handling of rare characters and names personnel. This rare word keyboard can help rare word users solve the problem that they cannot enter their names in the computer world. - -## Tip - -1. Developers can decide for themselves when to evoke a rare word keyboard. -2. After entering a rare word, the input of the rare word will be returned through the callback parameter, and the keyboard will be closed. - -## Code example - -### Basic use - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ------------------------------------- | ------------------------- | ------ | -| visible | Whether visible | boolean | false | -| type | Keyboard type, currently only supported `pinyin`(Pinyin) | string | pinyin | -| showMask | Whether to show background layer | boolean | true | -| safeArea | Whether to keep safe distance | boolean | true | -| #if ALIPAY onClose | Callback triggered when keyboard is closed | `() => void` | - | -| #if ALIPAY onChange | Callback triggered when input completes | `(value: string) => void` | - | -| #if ALIPAY onError | Open the callback that is triggered when the keyboard goes wrong | `(err: Error) => void` | - | -| #if WECHAT bind:close | Callback triggered when keyboard is closed | `() => void` | - | -| #if WECHAT bind:change | Callback triggered when input completes | `(value: string) => void` | - | -| #if WECHAT bind:error | Open the callback that is triggered when the keyboard goes wrong | `(err: Error) => void` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| --rare-words-bg |
rgba(0, 0, 0, 0.45)
|
rgba(0, 0, 0, 0.45)
| Rare word background color | -| --rare-keyboard-bg |
#d8d8d8
|
#4a4a4a
| Rare word keyboard background color | -| --rare-words-keyboard-color |
#333333
|
#c5cad1
| Rare word keyboard text color | -| --rare-words-border-color |
#eeeeee
|
#2b2b2b
| Rare word border color | -| --rare-words-kb-bg |
#f5f5f5
|
#121212
| Rare word keyboard background color | -| --rare-words-pinyin-key-color |
#ffffff
|
#1a1a1a
| Rare word pinyin key color | -| --rare-words-inner-bg |
#cccccc
|
#474747
| Rare word inner background color | -| --rare-words-active-color |
#1677ff
|
#3086ff
| Rare word activation status color | -| --rare-words-pinyin-color |
#f5f5f5
|
#121212
| Rare word pinyin color | -| --rare-words-keyboard-bg |
#4a4a4a
|
#4a4a4a
| Rare word keyboard background color | -| --rare-words-item-tips-color |
#666666
|
#808080
| Rare Word Item Prompt Color | diff --git a/compiled/wechat/src/RareWordsKeyboard/index.js b/compiled/wechat/src/RareWordsKeyboard/index.js deleted file mode 100644 index 075292286..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/index.js +++ /dev/null @@ -1,191 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { Component, triggerEvent, triggerEventOnly } from '../_util/simply'; -import { PINYIN_MAP } from './constants'; -import { RareWordsKeyboardProps } from './props'; -import { formatZDatas, loadFontFace, matchWordsRecommend } from './utils'; -import { ZDATAS } from './zdatas'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -var wordsData = formatZDatas(ZDATAS.datas); -Component(RareWordsKeyboardProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - getBoundingClientRect: function (query) { - return __awaiter(this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), query)]; - case 1: return [2 /*return*/, _a.sent()]; - } - }); - }); - }, - // 隐藏键盘,失去焦点 - handleHide: function () { - this.setData({ - inputValue: [], - matchWordsList: [], - displayStr: '', - showMoreWords: false, - }); - triggerEventOnly(this, 'close'); - }, - // 点击键盘key值 - handleKeyClick: function (e) { - if (this.data.loading) - return; - var _a = e.currentTarget.dataset.value, value = _a === void 0 ? '' : _a; - if (!value) - return; - var inputValue = __spreadArray(__spreadArray([], this.data.inputValue, true), [value], false); - this.setData(__assign({ inputValue: __spreadArray([], inputValue, true) }, this.computeMatchWords(inputValue))); - }, - // 点击删除 - handleDelete: function () { - var inputValue = __spreadArray([], this.data.inputValue, true); - if (this.data.inputValue.length === 0) - return; - inputValue.pop(); - this.setData(__assign({ inputValue: __spreadArray([], inputValue, true) }, this.computeMatchWords(inputValue))); - }, - // 计算展示值和候选字列表 - computeMatchWords: function (inputValue) { - var displayStr = Array.isArray(inputValue) - ? inputValue.join('') - : inputValue; - var curMatchWords = matchWordsRecommend(wordsData, displayStr); - return { - displayStr: displayStr, - matchWordsList: curMatchWords, - }; - }, - // 点击查看更多 - hanleLookMore: function () { - if (this.data.matchWordsList.length <= this.data.maxDisplayNum) { - this.handleHide(); - return; - } - this.setData({ - showMoreWords: !this.data.showMoreWords, - }); - }, - // 计算每行可以展示的最大字数 - computeMaxDisplayNum: function () { - return __awaiter(this, void 0, void 0, function () { - var _a, singleWords, wordsWrap, maxDisplayNumInOneLine; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: return [4 /*yield*/, Promise.all([ - this.getBoundingClientRect('.ant-rare-words-keyboard-match_words_hidden'), - this.getBoundingClientRect('.ant-rare-words-keyboard-match_words_inner'), - ])]; - case 1: - _a = _b.sent(), singleWords = _a[0], wordsWrap = _a[1]; - if (!(wordsWrap === null || wordsWrap === void 0 ? void 0 : wordsWrap.width) || !(singleWords === null || singleWords === void 0 ? void 0 : singleWords.width)) - return [2 /*return*/]; - maxDisplayNumInOneLine = parseInt(((wordsWrap === null || wordsWrap === void 0 ? void 0 : wordsWrap.width) / (singleWords === null || singleWords === void 0 ? void 0 : singleWords.width)).toString(), 10); - this.setData({ maxDisplayNum: maxDisplayNumInOneLine }); - return [2 /*return*/]; - } - }); - }); - }, - // 加载字体 - loadFont: function () { - var _this = this; - this.setData({ - loading: true, - }); - loadFontFace() - .then(function () { - _this.setData({ showErrorPage: false, loading: false }); - }) - .catch(function (err) { - _this.setData({ showErrorPage: true, loading: false }); - triggerEvent(_this, 'error', err); - }); - }, - // 点击重试 - handleRetry: function () { - this.loadFont(); - }, - handleWordClick: function (e) { - var _a = e.currentTarget.dataset.value, value = _a === void 0 ? '' : _a; - if (!value) - return; - triggerEvent(this, 'change', value); - this.handleHide(); - }, -}, { - loading: false, - inputValue: [], - displayStr: '', - matchWordsList: [], - showMoreWords: false, - pinyinMaps: PINYIN_MAP, - maxDisplayNum: 0, - showErrorPage: false, // 是否展示错误页 -}, null, { - attached: function () { - this.loadFont(); - this.computeMaxDisplayNum(); - }, -}); diff --git a/compiled/wechat/src/RareWordsKeyboard/index.json b/compiled/wechat/src/RareWordsKeyboard/index.json deleted file mode 100644 index 57c74c7b7..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "result": "../Result/index", - "button": "../Button/index", - "loading": "../Loading/index" - } -} diff --git a/compiled/wechat/src/RareWordsKeyboard/index.md b/compiled/wechat/src/RareWordsKeyboard/index.md deleted file mode 100644 index fd464f6f6..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/index.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# RareWordsKeyboard 生僻字键盘 - -生僻字问题一直是社会的一个难点,各行业由于不同时期、不同标准的开发,使得支持的汉字字符不一,导致生僻字姓名在互联网业务中的互联互通十分困难,严重影响了生僻字姓名人员的业务办理;此生僻字键盘能够帮助生僻字用户解决在计算机世界中无法输入姓名的问题。 - -## Tip - -1. 开发者可以自己决定何时唤起生僻字键盘。 -2. 输入完成生僻字后,会通过回调参数返回此次输入的生僻字,并关闭键盘。 - -## 代码示例 - -### 基本使用 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ------------------------------------- | ------------------------- | ------ | -| visible | 是否可见 | boolean | false | -| type | 键盘类型,目前只支持 `pinyin`(拼音) | string | pinyin | -| showMask | 是否展示背景蒙层 | boolean | true | -| safeArea | 是否保留安全距离 | boolean | true | -| #if ALIPAY onClose | 关闭键盘时触发的回调 | `() => void` | - | -| #if ALIPAY onChange | 输入完成时触发的回调 | `(value: string) => void` | - | -| #if ALIPAY onError | 打开键盘出错时触发的回调 | `(err: Error) => void` | - | -| #if WECHAT bind:close | 关闭键盘时触发的回调 | `() => void` | - | -| #if WECHAT bind:change | 输入完成时触发的回调 | `(value: string) => void` | - | -| #if WECHAT bind:error | 打开键盘出错时触发的回调 | `(err: Error) => void` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| --rare-words-bg |
rgba(0, 0, 0, 0.45)
|
rgba(0, 0, 0, 0.45)
| 稀有字背景颜色 | -| --rare-keyboard-bg |
#d8d8d8
|
#4a4a4a
| 稀有字键盘背景色 | -| --rare-words-keyboard-color |
#333333
|
#c5cad1
| 稀有字键盘文字颜色 | -| --rare-words-border-color |
#eeeeee
|
#2b2b2b
| 稀有字边框颜色 | -| --rare-words-kb-bg |
#f5f5f5
|
#121212
| 稀有字键盘背景色 | -| --rare-words-pinyin-key-color |
#ffffff
|
#1a1a1a
| 稀有字拼音键颜色 | -| --rare-words-inner-bg |
#cccccc
|
#474747
| 稀有字内部背景色 | -| --rare-words-active-color |
#1677ff
|
#3086ff
| 稀有字激活状态颜色 | -| --rare-words-pinyin-color |
#f5f5f5
|
#121212
| 稀有字拼音颜色 | -| --rare-words-keyboard-bg |
#4a4a4a
|
#4a4a4a
| 稀有字键盘背景色 | -| --rare-words-item-tips-color |
#666666
|
#808080
| 稀有字项目提示颜色 | diff --git a/compiled/wechat/src/RareWordsKeyboard/index.wxml b/compiled/wechat/src/RareWordsKeyboard/index.wxml deleted file mode 100644 index b8f7b34ac..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/index.wxml +++ /dev/null @@ -1,141 +0,0 @@ - - - - - {{displayStr}} - - - - - - - {{item.unicodeChar}} - - - - - - 加载中 - - - - 请输入生僻字对应的拼音 - - 更多生僻字完善中,敬请期待 - - - - - - - - - - - - - - - - - - - - - - - {{item.label}} - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/RareWordsKeyboard/index.wxss b/compiled/wechat/src/RareWordsKeyboard/index.wxss deleted file mode 100644 index 32d8c136f..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/index.wxss +++ /dev/null @@ -1,295 +0,0 @@ -@keyframes number-input-cursor { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } -} -.ant-rare-words-keyboard { - color: var(--rare-words-keyboard-color, #333333); - width: 0; - height: 0; - position: relative; - overflow: hidden; -} -.ant-rare-words-keyboard-modal { - z-index: 998; - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 100vh; - background-color: var(--rare-words-bg, rgba(0, 0, 0, 0.45)); -} -.ant-rare-words-keyboard-modal.hide { - visibility: hidden; -} -.ant-rare-words-keyboard-kb { - background: var(--rare-words-kb-bg, #f5f5f5); - max-height: 1200rpx; - min-width: 100vw; - position: fixed; - bottom: 0; - left: 0; - transition: all 200ms linear; - z-index: 999; -} -.ant-rare-words-keyboard-kb.hide { - transform: translateY(100%); - max-height: 0; -} -.ant-rare-words-keyboard-kb_iphonex-safe { - height: calc(constant(safe-area-inset-bottom) - 20 * 1rpx); - height: calc(env(safe-area-inset-bottom) - 20 * 1rpx); - width: 100%; - background-color: var(--rare-words-kb-bg, #f5f5f5); -} -.ant-rare-words-keyboard_header { - background-color: var(--rare-words-kb-bg, #f5f5f5); -} -.ant-rare-words-keyboard-input_value { - position: absolute; - top: -64rpx; - left: 0; - display: inline-block; - height: 64rpx; - line-height: 64rpx; - border-top-left-radius: 8rpx; - border-top-right-radius: 8rpx; - background-color: var(--rare-words-kb-bg, #f5f5f5); - padding-left: 20rpx; - padding-right: 20rpx; - border: 1rpx solid var(--rare-words-border-color, #e5e5e5); - border-bottom: 0; - letter-spacing: 2rpx; - box-sizing: border-box; - font-size: 24rpx; - color: var(--rare-words-keyboard-color, #333333); -} -.ant-rare-words-keyboard-input_value.hide { - display: none; -} -.ant-rare-words-keyboard-match_words { - display: flex; - flex-flow: row nowrap; - align-items: flex-start; - justify-content: flex-start; - padding: 20rpx 24rpx 20rpx 8rpx; - background: var(--rare-words-kb-bg, #f5f5f5); - overflow: hidden; - font-family: 'rare-words-font'; -} -.ant-rare-words-keyboard-match_words.absolute { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: border-box; - z-index: 10000; - padding-left: 0; - overflow: auto; -} -.ant-rare-words-keyboard-match_words_wrap { - min-height: 96rpx; -} -.ant-rare-words-keyboard-match_words_wrap::before { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - background: var(--rare-words-inner-bg, #cccccc); - width: 100%; - height: 2rpx; - transform: scaleY(0.5); - transform-origin: 0 0; -} -.ant-rare-words-keyboard-match_words_item_tips { - padding-left: 8rpx; - font-size: 28rpx; - color: var(--rare-words-item-tips-color, #666666); - line-height: 34rpx; -} -.ant-rare-words-keyboard-match_words_item_tips.loading { - display: flex; - flex-flow: row nowrap; - align-items: center; -} -.ant-rare-words-keyboard-match_words_inner { - flex: 1; - display: flex; - flex-flow: row wrap; - align-items: center; - justify-content: flex-start; - overflow: hidden; - height: 56rpx; - white-space: nowrap; - box-sizing: border-box; - margin-right: -32rpx; - padding-right: 42rpx; -} -.ant-rare-words-keyboard-match_words_inner.all { - height: auto; - margin-top: -20rpx; - position: relative; - padding-left: 8rpx; - padding-right: 42rpx; -} -.ant-rare-words-keyboard-match_words_inner.all::after { - content: ''; - display: block; - position: absolute; - left: -64rpx; - bottom: 0; - background: var(--rare-words-inner-bg, #cccccc); - width: 100%; - height: 2rpx; - transform: scaleY(0.5); - transform-origin: 0 0; -} -.ant-rare-words-keyboard-match_words_item { - color: var(--rare-words-inner-bg, #cccccc); - width: 73rpx; - padding-left: 16rpx; - padding-right: 16rpx; - box-sizing: border-box; -} -.ant-rare-words-keyboard-match_words_item.all { - padding-top: 20rpx; - padding-bottom: 20rpx; - position: relative; -} -.ant-rare-words-keyboard-match_words_item.all::after { - content: ''; - display: block; - position: absolute; - left: -20rpx; - bottom: 0; - background: var(--rare-words-inner-bg, #cccccc); - width: 100%; - height: 2rpx; - transform: scaleY(0.5); - transform-origin: 0 0; -} -.ant-rare-words-keyboard-match_words_item_text { - font-size: 42rpx; - line-height: 57rpx; - user-select: none; - color: var(--rare-words-keyboard-color, #333333); -} -.ant-rare-words-keyboard-match_words_item_text:active { - color: var(--rare-words-active-color, #1677ff); -} -.ant-rare-words-keyboard-match_words_item_text:hover { - color: var(--rare-words-active-color, #1677ff); -} -.ant-rare-words-keyboard-match_words_hidden { - visibility: hidden; - position: absolute; - top: -19998rpx; - left: -19998rpx; - width: 73rpx; - padding-left: 16rpx; - padding-right: 16rpx; - box-sizing: border-box; -} -.ant-rare-words-keyboard-match_words_right { - width: 48rpx; - height: 48rpx; - display: flex; - flex-flow: row nowrap; - align-items: center; - justify-content: center; - position: relative; - margin-top: 4rpx; - color: var(--rare-words-keyboard-color, #333333); -} -.ant-rare-words-keyboard-match_words_right.sticky { - position: sticky !important; - top: 0 !important; - left: 0 !important; -} -.ant-rare-words-keyboard-match_words_right.overflow::before { - content: ''; - display: block; - width: 10rpx; - height: 100%; - background: linear-gradient(to right, transparent, var(--rare-words-keyboard-bg, #4a4a4a)); - position: absolute; - left: -32rpx; -} -.ant-rare-words-keyboard-loading { - min-height: 34rpx; - margin-right: 12rpx; -} -.ant-rare-words-keyboard_delete { - font-size: 48rpx; -} -.ant-rare-words-keyboard_down { - font-size: 48rpx; -} -.ant-rare-words-keyboard_pinyin { - background: var(--rare-words-pinyin-color, #f5f5f5); - padding-top: 16rpx; - padding-bottom: 16rpx; -} -.ant-rare-words-keyboard_pinyin_row { - display: flex; - flex-flow: row nowrap; - justify-content: center; - background: var(--rare-words-pinyin-color, #f5f5f5); - margin-bottom: 16rpx; -} -.ant-rare-words-keyboard_pinyin_row:last-child { - margin-bottom: 0; -} -.ant-rare-words-keyboard_pinyin_key { - position: relative; - display: flex; - align-items: center; - justify-content: center; - height: 88rpx; - width: 63rpx; - background: var(--rare-words-pinyin-key-color, #ffffff); - font-size: 36rpx; - color: var(--rare-words-keyboard-color, #333333); - box-sizing: border-box; - border-radius: 8rpx; - margin-right: 12rpx; - user-select: none; -} -.ant-rare-words-keyboard_pinyin_key:active { - background: var(--rare-words-active-color, #1677ff); - color: var(--rare-words-pinyin-key-color, #ffffff); -} -.ant-rare-words-keyboard_pinyin_key:last-child { - margin-right: 0; -} -.ant-rare-words-keyboard_pinyin_key.delete { - width: 80rpx; -} -.ant-rare-words-keyboard_error { - background: var(--rare-words-pinyin-color, #f5f5f5); - padding-top: 30rpx; - padding-bottom: 30rpx; -} -.ant-rare-words-keyboard_error .ant-result-main { - background: none; - margin-bottom: 0; - padding-top: 40rpx; - padding-bottom: 40rpx; -} -.ant-rare-words-keyboard_error .ant-result-message { - text-align: center; -} -.ant-rare-words-keyboard_error-btns { - display: flex; - flex-flow: row nowrap; - align-items: center; - justify-content: center; -} diff --git a/compiled/wechat/src/RareWordsKeyboard/props.js b/compiled/wechat/src/RareWordsKeyboard/props.js deleted file mode 100644 index dcb928ce7..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/props.js +++ /dev/null @@ -1,12 +0,0 @@ -export var InputTypes; -(function (InputTypes) { - InputTypes["stroke"] = "stroke"; - InputTypes["pinyin"] = "pinyin"; - InputTypes["handwriting"] = "handwriting"; -})(InputTypes || (InputTypes = {})); -export var RareWordsKeyboardProps = { - visible: false, - type: 'pinyin', - showMask: true, - safeArea: true, -}; diff --git a/compiled/wechat/src/RareWordsKeyboard/utils.js b/compiled/wechat/src/RareWordsKeyboard/utils.js deleted file mode 100644 index 69e351bb6..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/utils.js +++ /dev/null @@ -1,314 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { ZDATAS } from './zdatas'; -import { loadFontFace as loadFontFaceJSAPI } from '../_util/jsapi/load-font-face'; -/** - * json转字符串 - * @param {string} data 需要转json的字符串 - * @return {object} json 字符串 - */ -export function safeJSONparse(data) { - var result; - try { - result = JSON.parse(data); - } - catch (_a) { - result = {}; - } - return result || {}; -} -/** - * 判断数组是否为空 - */ -export function isWordsDataEmpty(arr) { - var _a; - if (!arr) - return true; - if (!Array.isArray(arr)) - return true; - if (arr.length === 0) - return true; - // 数据合法性校验 - if (!((_a = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _a === void 0 ? void 0 : _a.charId)) - return true; - return false; -} -/** - * 清除字符串里的数字 - */ -export function clearNumberInStr(str) { - return str.replace(/[0-9]/gi, ''); -} -/** - * 格式化字库数据 - * @param datas ZDatas 数据 - * @return {IWordsData} 字库 - */ -export function formatZDatas(datas) { - if (datas === void 0) { datas = []; } - return datas.map(function (item) { - return __assign(__assign({}, item), { pinYinChars: item.pinYinChars.map(function (i) { return i.char; }), splitChars: item.splitChars.map(function (i) { return i.char; }) }); - }); -} -/** - * 候选字推荐序函数 - * 考虑两个维度,一个是输入值和生僻字的匹配程度,比如你输入YA 雅是完全匹配,炎是模糊匹配,排列的时候肯定”雅“在前面, - * 如果除了”雅“还有一个”亚“,两个都是完全匹配,这个时候就看哪个字占比高,哪个就排在前面 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @param {string} filterKey 过滤依据的key值 - * @return {IWordsData} 返回符合要求并且排序好的候选项列表 - */ -export function matchWordsRecommend(wordsData, inputValue, filterKey) { - if (wordsData === void 0) { wordsData = []; } - if (inputValue === void 0) { inputValue = ''; } - if (filterKey === void 0) { filterKey = 'all'; } - return wordsSorter(wordsFilter(wordsData, inputValue, filterKey), inputValue, filterKey); -} -/** - * 字库过滤,只挑选符合要求的候选字 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @param {string} filterKey 过滤依据的key值 - * @return {IWordsData} 返回符合要求并且排序好的候选项列表 - */ -export function wordsFilter(wordsData, inputValue, filterKey) { - if (wordsData === void 0) { wordsData = []; } - if (inputValue === void 0) { inputValue = ''; } - if (filterKey === void 0) { filterKey = 'all'; } - // 字库数据为空降级为使用本地数据 - if (!wordsData || isWordsDataEmpty(wordsData)) - wordsData = formatZDatas(ZDATAS.datas); - if (!inputValue) - return []; - switch (filterKey) { - case 'all': - /* eslint-disable-next-line no-case-declarations */ - var matchPinyinArr = filterByPinyin(wordsData, inputValue); - /* eslint-disable-next-line no-case-declarations */ - var matchSplitArr = filterBySplitWord(wordsData, inputValue); - return mergeMatchWordsArr(matchPinyinArr, matchSplitArr); - case 'pinyin': - return filterByPinyin(wordsData, inputValue); - case 'split': - return filterBySplitWord(wordsData, inputValue); - default: - return []; - break; - } -} -/** - * 根据拼音过滤候选项 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function filterByPinyin(wordsData, inputValue) { - if (wordsData === void 0) { wordsData = []; } - if (inputValue === void 0) { inputValue = ''; } - var keyTranslate = inputValue.toUpperCase(); - return wordsData.filter(function (item) { - var pinYinChars = (item === null || item === void 0 ? void 0 : item.pinYinChars) || []; - if (pinYinChars.length === 0) - return false; - return (pinYinChars.filter(function (pinyinItem) { - return pinyinItem.indexOf(keyTranslate) > -1; - }).length > 0); - }); -} -/** - * 根据拆字过滤候选项 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function filterBySplitWord(wordsData, inputValue) { - if (wordsData === void 0) { wordsData = []; } - if (inputValue === void 0) { inputValue = ''; } - return wordsData.filter(function (item) { - var splitChars = item.splitChars || []; - if (splitChars.length === 0) { - return false; - } - return (splitChars.filter(function (splitItem) { - return splitItem.indexOf(inputValue) > -1; - }).length > 0); - }); -} -/** - * 合并多个候选项数组 - * @param {IWordsData} pinyinMatchArr 拼音匹配的候选项 - * @param {IWordsData} splitMatchArr 拼音匹配的候选项 - * @return {IWordsData} 返回合并后的候选项列表 - */ -function mergeMatchWordsArr(pinyinMatchArr, splitMatchArr) { - var unDuplicate = __spreadArray(__spreadArray([], pinyinMatchArr, true), splitMatchArr, true); - if (unDuplicate.length === 0) - return unDuplicate; - var results = []; - unDuplicate.forEach(function (item) { - var findDuplicateWords = results.filter(function (item2) { - return item.unicodeCodePoint === item2.unicodeCodePoint; - }); - if (findDuplicateWords.length === 0) - results.push(item); - }); - return results; -} -/** - * 候选项排序,用户选择可能性高的候选项排在前面 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @param {string} filterKey 过滤依据的key值 - * @return {IWordsData} 返回符合要求并且排序好的候选项列表 - */ -export function wordsSorter(wordsData, inputValue, filterKey) { - if (filterKey === void 0) { filterKey = 'all'; } - switch (filterKey) { - case 'all': - // 当输入值以字母开头使用拼音排序 - if (/^[a-zA-Z0-9]+$/.test(inputValue)) { - return sortByPinyin(wordsData, inputValue); - } - return sortBySplitWord(wordsData, inputValue); - case 'pinyin': - return sortByPinyin(wordsData, inputValue); - case 'split': - return sortBySplitWord(wordsData, inputValue); - default: - return []; - break; - } -} -/** - * 根据拼音给候选项排序 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function sortByPinyin(wordsData, inputValue) { - if (wordsData === void 0) { wordsData = []; } - if (inputValue === void 0) { inputValue = ''; } - var arr = wordsData.slice(); - // 清除输入值中的数字 - var keyTranslate = clearNumberInStr(inputValue.toUpperCase()); - arr.forEach(function (item) { - var sort = 0; - var pinYinChars = (item.pinYinChars || []).map(function (pinyin) { - return clearNumberInStr(pinyin.toUpperCase()); - }); - // 拼音完全匹配 + 10000 - if (pinYinChars.indexOf(keyTranslate) > -1) - sort += 10000; - // 拼音模糊匹配 + 5000 - if (pinYinChars.filter(function (splitKey) { return splitKey.indexOf(keyTranslate) === 0; }) - .length > 0) { - sort += 5000; - } - // 加上当前字的权重 - sort += item.weight || 0; - /* eslint-disable no-param-reassign */ - item.sort = sort; - }); - // 根据最终排序值排序 - arr.sort(function (item1, item2) { return (item2.sort || 0) - (item1.sort || 0); }); - return arr; -} -/** - * 根据拆字给候选项排序 - * @param {IWordsData} wordsData 字库数据 - * @param {string} inputValue 当前输入的值 - * @return {IWordsData} 返回符合要求并候选项列表 - */ -function sortBySplitWord(wordsData, inputValue) { - if (wordsData === void 0) { wordsData = []; } - if (inputValue === void 0) { inputValue = ''; } - var arr = wordsData.slice(); - arr.forEach(function (item) { - var sort = 0; - var p = item.splitChars || []; - // 拆字完全匹配 + 10000 - if (p.indexOf(inputValue) > -1) - sort += 10000; - // 拆字模糊匹配 + 5000 - if (p.filter(function (splitKey) { return splitKey.indexOf(inputValue) === 0; }).length > 0) { - sort += 5000; - } - // 加上当前字的权重 - sort += item.weight || 0; - /* eslint-disable no-param-reassign */ - item.sort = sort; - }); - // 根据最终排序值排序 - arr.sort(function (item1, item2) { return (item2.sort || 0) - (item1.sort || 0); }); - return arr; -} -/** - * 加载远程字体 - */ -export function loadFontFace() { - return __awaiter(this, void 0, void 0, function () { - var fontName; - return __generator(this, function (_a) { - fontName = "url(\"".concat(ZDATAS.fontUrl, "\")"); - return [2 /*return*/, loadFontFaceJSAPI({ - family: 'rare-words-font', - source: fontName, - })]; - }); - }); -} diff --git a/compiled/wechat/src/RareWordsKeyboard/variable.wxss b/compiled/wechat/src/RareWordsKeyboard/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/RareWordsKeyboard/zdatas.js b/compiled/wechat/src/RareWordsKeyboard/zdatas.js deleted file mode 100644 index 778e3ab2a..000000000 --- a/compiled/wechat/src/RareWordsKeyboard/zdatas.js +++ /dev/null @@ -1,5 +0,0 @@ -export var ZDATAS = { - version: '1.0.4', - fontUrl: 'https://mdn.alipayobjects.com/huamei_2fq7mt/afts/file/A*wBbQRYCq_p4AAAAAAAAAAAAADh58AQ/RareWordsFonts.ttf', - datas: [{ "charId": "d88cab", "unicodeChar": "𮧵", "unicodeCodePoint": "2E9F5", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "韦华" }], "weight": "10" }, { "charId": "84c3c9", "unicodeChar": "𬀩", "unicodeCodePoint": "2C029", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "日韦" }], "weight": "10" }, { "charId": "2006a3", "unicodeChar": "𤩽", "unicodeCodePoint": "24A7D", "pinYinChars": [{ "char": "HUAN2" }], "splitChars": [{ "char": "王献" }], "weight": "10" }, { "charId": "b93b09", "unicodeChar": "㑇", "unicodeCodePoint": "3447", "pinYinChars": [{ "char": "ZHOU1" }], "splitChars": [{ "char": "亻刍" }, { "char": "人刍" }], "weight": "10" }, { "charId": "4e9967", "unicodeChar": "𣲗", "unicodeCodePoint": "23C97", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "氵韦" }, { "char": "水韦" }], "weight": "10" }, { "charId": "91f144", "unicodeChar": "𰵞", "unicodeCodePoint": "30D5E", "pinYinChars": [{ "char": "YONG1" }], "splitChars": [{ "char": "讠永" }, { "char": "言永" }], "weight": "10" }, { "charId": "00267b", "unicodeChar": "𠇔", "unicodeCodePoint": "201D4", "pinYinChars": [{ "char": "TUO1" }], "splitChars": [{ "char": "亻毛" }, { "char": "人毛" }], "weight": "10" }, { "charId": "a50d8e", "unicodeChar": "冄", "unicodeCodePoint": "5184", "pinYinChars": [{ "char": "RAN2" }], "splitChars": [], "weight": "8" }, { "charId": "264ae4", "unicodeChar": "䒟", "unicodeCodePoint": "449F", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "艹丹" }, { "char": "草丹" }], "weight": "8" }, { "charId": "0dbd6a", "unicodeChar": "𡛓", "unicodeCodePoint": "216D3", "pinYinChars": [{ "char": "RAN3" }], "splitChars": [{ "char": "女丹" }], "weight": "10" }, { "charId": "bc8447", "unicodeChar": "𡝗", "unicodeCodePoint": "21757", "pinYinChars": [{ "char": "JUN1" }, { "char": "QUN2" }], "splitChars": [{ "char": "女君" }], "weight": "10" }, { "charId": "f6db38", "unicodeChar": "𪻐", "unicodeCodePoint": "2AED0", "pinYinChars": [{ "char": "CONG1" }], "splitChars": [{ "char": "王从" }], "weight": "10" }, { "charId": "4b5c44", "unicodeChar": "𫰡", "unicodeCodePoint": "2BC21", "pinYinChars": [{ "char": "HUA4" }], "splitChars": [{ "char": "女华" }], "weight": "10" }, { "charId": "8ee75e", "unicodeChar": "䴖", "unicodeCodePoint": "4D16", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "青鸟" }], "weight": "10" }, { "charId": "b575d0", "unicodeChar": "𠅤", "unicodeCodePoint": "20164", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "亠思" }, { "char": "二思" }, { "char": "亩心" }], "weight": "10" }, { "charId": "e95ed7", "unicodeChar": "𪨧", "unicodeCodePoint": "2AA27", "pinYinChars": [{ "char": "LUN2" }], "splitChars": [{ "char": "山仑" }], "weight": "10" }, { "charId": "a6819c", "unicodeChar": "𰎝", "unicodeCodePoint": "3039D", "pinYinChars": [{ "char": "JUN1" }, { "char": "HUN2" }], "splitChars": [{ "char": "山军" }], "weight": "10" }, { "charId": "1968a4", "unicodeChar": "𫰍", "unicodeCodePoint": "2BC0D", "pinYinChars": [{ "char": "WEI2" }, { "char": "WEI3" }], "splitChars": [{ "char": "女韦" }], "weight": "10" }, { "charId": "b7232e", "unicodeChar": "㺭", "unicodeCodePoint": "3EAD", "pinYinChars": [{ "char": "ZI3" }], "splitChars": [{ "char": "王子" }], "weight": "10" }, { "charId": "96477d", "unicodeChar": "𬳳", "unicodeCodePoint": "2CCF3", "pinYinChars": [{ "char": "FAN1" }], "splitChars": [{ "char": "马风" }], "weight": "10" }, { "charId": "2930db", "unicodeChar": "𫍽", "unicodeCodePoint": "2B37D", "pinYinChars": [{ "char": "XUAN1" }], "splitChars": [{ "char": "讠睘" }, { "char": "言睘" }], "weight": "10" }, { "charId": "1658b6", "unicodeChar": "禤", "unicodeCodePoint": "79A4", "pinYinChars": [{ "char": "XUAN1" }], "splitChars": [{ "char": "衣四羽" }], "weight": "8" }, { "charId": "c48f08", "unicodeChar": "𮣳", "unicodeCodePoint": "2E8F3", "pinYinChars": [{ "char": "HONG2" }, { "char": "GONG1" }], "splitChars": [{ "char": "钅厷" }, { "char": "金厷" }], "weight": "10" }, { "charId": "ecefb5", "unicodeChar": "晔", "unicodeCodePoint": "6654", "pinYinChars": [{ "char": "YE4" }], "splitChars": [{ "char": "日华" }], "weight": "8" }, { "charId": "4b8f40", "unicodeChar": "堃", "unicodeCodePoint": "5803", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "方方土" }], "weight": "10" }, { "charId": "1fd65a", "unicodeChar": "䜣", "unicodeCodePoint": "4723", "pinYinChars": [{ "char": "XI1" }, { "char": "XIN1" }, { "char": "YIN2" }], "splitChars": [{ "char": "讠斤" }, { "char": "言斤" }], "weight": "10" }, { "charId": "064f5d", "unicodeChar": "𬴂", "unicodeCodePoint": "2CD02", "pinYinChars": [{ "char": "FEI1" }], "splitChars": [{ "char": "马非" }], "weight": "10" }, { "charId": "a74408", "unicodeChar": "𰤕", "unicodeCodePoint": "30915", "pinYinChars": [{ "char": "LI4" }, { "char": "LUO4" }], "splitChars": [{ "char": "白乐" }], "weight": "10" }, { "charId": "b3c669", "unicodeChar": "𬍤", "unicodeCodePoint": "2C364", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "王寻" }], "weight": "10" }, { "charId": "913adc", "unicodeChar": "𪲔", "unicodeCodePoint": "2AC94", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "木丽" }], "weight": "10" }, { "charId": "1ef9de", "unicodeChar": "𬱵", "unicodeCodePoint": "2CC75", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "风韦" }], "weight": "10" }, { "charId": "03e311", "unicodeChar": "𪿖", "unicodeCodePoint": "2AFD6", "pinYinChars": [{ "char": "TAN2" }], "splitChars": [{ "char": "石玄" }], "weight": "10" }, { "charId": "9dc76c", "unicodeChar": "𨭉", "unicodeCodePoint": "28B49", "pinYinChars": [{ "char": "BAN1" }], "splitChars": [{ "char": "斌金" }], "weight": "10" }, { "charId": "9a6923", "unicodeChar": "𰾫", "unicodeCodePoint": "30FAB", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "钅监" }, { "char": "金监" }], "weight": "10" }, { "charId": "d18a6f", "unicodeChar": "㛠", "unicodeCodePoint": "36E0", "pinYinChars": [{ "char": "JIAN1" }, { "char": "XIAN2" }], "splitChars": [{ "char": "女间" }], "weight": "8" }, { "charId": "db6725", "unicodeChar": "𫗇", "unicodeCodePoint": "2B5C7", "pinYinChars": [{ "char": "YU4" }, { "char": "XUE2" }], "splitChars": [{ "char": "风日" }], "weight": "8" }, { "charId": "7b7ee0", "unicodeChar": "𱃚", "unicodeCodePoint": "310DA", "pinYinChars": [{ "char": "XIE2" }, { "char": "LIE4" }, { "char": "LI4" }], "splitChars": [{ "char": "风劦" }], "weight": "8" }, { "charId": "2bce53", "unicodeChar": "㐵", "unicodeCodePoint": "3435", "pinYinChars": [{ "char": "RU2" }], "splitChars": [{ "char": "亻于" }], "weight": "8" }, { "charId": "2c64ee", "unicodeChar": "𬬬", "unicodeCodePoint": "2CB2C", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "钅韦" }, { "char": "金韦" }], "weight": "10" }, { "charId": "62877c", "unicodeChar": "𫢒", "unicodeCodePoint": "2B892", "pinYinChars": [{ "char": "LONG2" }, { "char": "LONG3" }, { "char": "LONG4" }], "splitChars": [{ "char": "亻龙" }], "weight": "8" }, { "charId": "d4153a", "unicodeChar": "𫢸", "unicodeCodePoint": "2B8B8", "pinYinChars": [{ "char": "DAN4" }], "splitChars": [{ "char": "亻单" }], "weight": "8" }, { "charId": "cc2b4b", "unicodeChar": "𱎞", "unicodeCodePoint": "3139E", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "亻卫" }], "weight": "8" }, { "charId": "81998b", "unicodeChar": "㑳", "unicodeCodePoint": "3473", "pinYinChars": [{ "char": "ZHOU4" }], "splitChars": [{ "char": "亻芻" }], "weight": "8" }, { "charId": "d49bf3", "unicodeChar": "𠊟", "unicodeCodePoint": "2029F", "pinYinChars": [{ "char": "MIN3" }], "splitChars": [{ "char": "亻黾" }], "weight": "8" }, { "charId": "b26bb6", "unicodeChar": "㮾", "unicodeCodePoint": "3BBE", "pinYinChars": [{ "char": "LANG3" }], "splitChars": [{ "char": "朗木" }], "weight": "8" }, { "charId": "ddf4aa", "unicodeChar": "𣑮", "unicodeCodePoint": "2346E", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "木舟" }], "weight": "8" }, { "charId": "157d20", "unicodeChar": "𱣉", "unicodeCodePoint": "318C9", "pinYinChars": [{ "char": "CONG1" }, { "char": "ZONG1" }], "splitChars": [{ "char": "木丛" }], "weight": "8" }, { "charId": "d7bc9c", "unicodeChar": "", "unicodeCodePoint": "3190F", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "林林" }], "weight": "8" }, { "charId": "7dee10", "unicodeChar": "𡌶", "unicodeCodePoint": "21336", "pinYinChars": [{ "char": "BAN4" }], "splitChars": [{ "char": "土並" }], "weight": "8" }, { "charId": "da00b5", "unicodeChar": "𱮺", "unicodeCodePoint": "31BBA", "pinYinChars": [{ "char": "TIAN1" }, { "char": "ZHEN1" }], "splitChars": [{ "char": "王贞" }], "weight": "8" }, { "charId": "5e785e", "unicodeChar": "𪛞", "unicodeCodePoint": "2A6DE", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "王荣" }], "weight": "8" }, { "charId": "246507", "unicodeChar": "𬱟", "unicodeCodePoint": "2CC5F", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "危页" }], "weight": "10" }, { "charId": "65fb41", "unicodeChar": "𫞦", "unicodeCodePoint": "2B7A6", "pinYinChars": [{ "char": "JI4" }, { "char": "ZI1" }], "splitChars": [{ "char": "王齐" }], "weight": "8" }, { "charId": "22b6df", "unicodeChar": "㐱", "unicodeCodePoint": "3431", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [], "weight": "8" }, { "charId": "75c1f2", "unicodeChar": "𫖮", "unicodeCodePoint": "2B5AE", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "岂页" }], "weight": "8" }, { "charId": "f97ba6", "unicodeChar": "𫖯", "unicodeCodePoint": "2B5AF", "pinYinChars": [{ "char": "FU3" }, { "char": "TAO1" }, { "char": "TIAO44" }], "splitChars": [{ "char": "兆页" }], "weight": "8" }, { "charId": "997e29", "unicodeChar": "𲊿", "unicodeCodePoint": "322BF", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "显页" }], "weight": "8" }, { "charId": "784534", "unicodeChar": "𱪿", "unicodeCodePoint": "31ABF ", "pinYinChars": [{ "char": "XUN1" }], "splitChars": [{ "char": "动灬" }], "weight": "8" }, { "charId": "7e3793", "unicodeChar": "䓫", "unicodeCodePoint": "44EB", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "艹奇" }], "weight": "8" }, { "charId": "5b55cd", "unicodeChar": "燚", "unicodeCodePoint": "71DA", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "火火火火" }], "weight": "8" }, { "charId": "2337c3", "unicodeChar": "𬎆", "unicodeCodePoint": "2C386", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "王莹" }], "weight": "10" }, { "charId": "95e719", "unicodeChar": "𮭦", "unicodeCodePoint": "2EB66", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "岑鸟" }], "weight": "8" }, { "charId": "4e7341", "unicodeChar": "䴙", "unicodeCodePoint": "4D19", "pinYinChars": [{ "char": "PI4" }], "splitChars": [{ "char": "辟鸟" }], "weight": "8" }, { "charId": "a0c29d", "unicodeChar": "䴔", "unicodeCodePoint": "4D14", "pinYinChars": [{ "char": "JIAO1" }], "splitChars": [{ "char": "交鸟" }], "weight": "8" }, { "charId": "b01882", "unicodeChar": "䝼", "unicodeCodePoint": "477C", "pinYinChars": [{ "char": "QING2" }], "splitChars": [{ "char": "貝青" }, { "char": "贝青" }], "weight": "8" }, { "charId": "b84eaf", "unicodeChar": "𩇕", "unicodeCodePoint": "291D5", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "青彡" }, { "char": "靑彡" }], "weight": "8" }, { "charId": "060dd4", "unicodeChar": "𬘬", "unicodeCodePoint": "2C62C", "pinYinChars": [{ "char": "QING1" }, { "char": "ZHENG1" }], "splitChars": [{ "char": "纟青" }], "weight": "8" }, { "charId": "971908", "unicodeChar": "𰵧", "unicodeCodePoint": "30D67", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "讠志" }], "weight": "8" }, { "charId": "cd0140", "unicodeChar": "𰬫", "unicodeCodePoint": "30B2B", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "纟致" }], "weight": "8" }, { "charId": "9427be", "unicodeChar": "𬀪", "unicodeCodePoint": "2C02A", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "日见" }], "weight": "8" }, { "charId": "012f02", "unicodeChar": "㶥", "unicodeCodePoint": "3DA5", "pinYinChars": [{ "char": "GAN1" }], "splitChars": [{ "char": "火干" }], "weight": "8" }, { "charId": "2efd07", "unicodeChar": "㶲", "unicodeCodePoint": "3DB2", "pinYinChars": [{ "char": "YONG4" }], "splitChars": [{ "char": "火用" }], "weight": "8" }, { "charId": "f0f70c", "unicodeChar": "㷧", "unicodeCodePoint": "3DE7", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "火原" }], "weight": "8" }, { "charId": "7f9254", "unicodeChar": "𤎌", "unicodeCodePoint": "2438C", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "火堂" }], "weight": "8" }, { "charId": "f76202", "unicodeChar": "𪸕", "unicodeCodePoint": "2AE15", "pinYinChars": [{ "char": "XI4" }], "splitChars": [{ "char": "火气" }], "weight": "8" }, { "charId": "0729be", "unicodeChar": "𬊈", "unicodeCodePoint": "2C288", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "火寻" }], "weight": "8" }, { "charId": "b443a7", "unicodeChar": "𬊤", "unicodeCodePoint": "2C2A4", "pinYinChars": [{ "char": "CHAN3" }, { "char": "DAN1" }, { "char": "CHAN4" }], "splitChars": [{ "char": "火单" }], "weight": "8" }, { "charId": "e01b87", "unicodeChar": "𫞡", "unicodeCodePoint": "2B7A1", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "火荣" }], "weight": "8" }, { "charId": "b0f9cb", "unicodeChar": "𤆵", "unicodeCodePoint": "241B5", "pinYinChars": [{ "char": "PA1" }], "splitChars": [{ "char": "火巴" }], "weight": "8" }, { "charId": "c04d91", "unicodeChar": "𫟹", "unicodeCodePoint": "2B7F9", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "钅共" }], "weight": "8" }, { "charId": "c97fbd", "unicodeChar": "𥖄", "unicodeCodePoint": "25584", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "石羡" }], "weight": "10" }, { "charId": "2b2ec1", "unicodeChar": "𨱇", "unicodeCodePoint": "28C47", "pinYinChars": [{ "char": "QIU2" }], "splitChars": [{ "char": "钅求" }], "weight": "8" }, { "charId": "597805", "unicodeChar": "𡵓", "unicodeCodePoint": "21D53", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "山厷" }], "weight": "8" }, { "charId": "4f3c62", "unicodeChar": "竑", "unicodeCodePoint": "7AD1", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "立厷" }], "weight": "8" }, { "charId": "199018", "unicodeChar": "䫺", "unicodeCodePoint": "4AFA", "pinYinChars": [{ "char": "HONG2" }, { "char": "HOU4" }], "splitChars": [{ "char": "厷风" }], "weight": "8" }, { "charId": "7d9ae0", "unicodeChar": "珣", "unicodeCodePoint": "73E3", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "王旬" }], "weight": "8" }, { "charId": "903102", "unicodeChar": "焜", "unicodeCodePoint": "711C", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "火昆" }], "weight": "8" }, { "charId": "0045c0", "unicodeChar": "𤨾", "unicodeCodePoint": "24A3E", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "王山昆" }], "weight": "8" }, { "charId": "e4ca07", "unicodeChar": "㛇", "unicodeCodePoint": "36C7", "pinYinChars": [{ "char": "ZHUANG1" }], "splitChars": [{ "char": "女庄" }], "weight": "8" }, { "charId": "ae78ce", "unicodeChar": "琤", "unicodeCodePoint": "7424", "pinYinChars": [{ "char": "CHENG1" }], "splitChars": [{ "char": "王争" }], "weight": "8" }, { "charId": "81355f", "unicodeChar": "玥", "unicodeCodePoint": "73A5", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "王月" }], "weight": "8" }, { "charId": "5c4e1f", "unicodeChar": "旻", "unicodeCodePoint": "65FB", "pinYinChars": [{ "char": "MIN2" }], "splitChars": [{ "char": "日文" }], "weight": "8" }, { "charId": "5b5ed6", "unicodeChar": "䳟", "unicodeCodePoint": "4CDF", "pinYinChars": [{ "char": "MING2" }], "splitChars": [{ "char": "明鸟" }], "weight": "8" }, { "charId": "fd164b", "unicodeChar": "𬭣", "unicodeCodePoint": "2CB63", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "钅泉" }, { "char": "金泉" }], "weight": "8" }, { "charId": "a70a3a", "unicodeChar": "璟", "unicodeCodePoint": "749F", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "王景" }], "weight": "8" }, { "charId": "5921bf", "unicodeChar": "𨪪", "unicodeCodePoint": "28AAA", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "钅荣" }, { "char": "金荣" }], "weight": "8" }, { "charId": "7cb879", "unicodeChar": "𤧞", "unicodeCodePoint": "249DE", "pinYinChars": [{ "char": "MEI3" }], "splitChars": [{ "char": "王美" }], "weight": "8" }, { "charId": "6b0040", "unicodeChar": "垚", "unicodeCodePoint": "579A", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "土土土" }], "weight": "8" }, { "charId": "0ce2a5", "unicodeChar": "𫘧", "unicodeCodePoint": "2B627", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "马录" }], "weight": "8" }, { "charId": "774a78", "unicodeChar": "㭎", "unicodeCodePoint": "3B4E", "pinYinChars": [{ "char": "GANG1" }], "splitChars": [{ "char": "木冈" }], "weight": "8" }, { "charId": "30b346", "unicodeChar": "㧏", "unicodeCodePoint": "39CF", "pinYinChars": [{ "char": "GANG1" }], "splitChars": [{ "char": "扌冈" }], "weight": "8" }, { "charId": "a37b92", "unicodeChar": "𨓈", "unicodeCodePoint": "284C8", "pinYinChars": [{ "char": "KUO4" }], "splitChars": [], "weight": "8" }, { "charId": "121889", "unicodeChar": "煇", "unicodeCodePoint": "7147", "pinYinChars": [{ "char": "HUI1" }, { "char": "YUN44" }, { "char": "XUN1" }], "splitChars": [{ "char": "火军" }], "weight": "8" }, { "charId": "82846f", "unicodeChar": "㧑", "unicodeCodePoint": "39D1", "pinYinChars": [{ "char": "HUI1" }], "splitChars": [{ "char": "扌为" }], "weight": "8" }, { "charId": "2baf46", "unicodeChar": "彧", "unicodeCodePoint": "5F67", "pinYinChars": [{ "char": "YU4" }], "splitChars": [], "weight": "8" }, { "charId": "72ddd3", "unicodeChar": "𨰻", "unicodeCodePoint": "28C3B", "pinYinChars": [{ "char": "YU4" }, { "char": "BAO3" }], "splitChars": [{ "char": "金金金金" }], "weight": "8" }, { "charId": "dd3cd3", "unicodeChar": "𤰉", "unicodeCodePoint": "24C09", "pinYinChars": [{ "char": "LA2" }, { "char": "YONG1" }], "splitChars": [{ "char": "足用" }], "weight": "8" }, { "charId": "f78a86", "unicodeChar": "𤰙", "unicodeCodePoint": "24C19", "pinYinChars": [{ "char": "LA1" }, { "char": "GE2" }, { "char": "KE1" }], "splitChars": [{ "char": "九田" }], "weight": "8" }, { "charId": "66c867", "unicodeChar": "䶮", "unicodeCodePoint": "4DAE", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "龙天" }], "weight": "10" }, { "charId": "9def2c", "unicodeChar": "𠡠", "unicodeCodePoint": "20860", "pinYinChars": [{ "char": "CHI1" }], "splitChars": [{ "char": "来力" }], "weight": "8" }, { "charId": "dbf23c", "unicodeChar": "𫝫", "unicodeCodePoint": "2B76B", "pinYinChars": [{ "char": "LAI1" }, { "char": "LAI4" }], "splitChars": [{ "char": "女来" }], "weight": "8" }, { "charId": "2da6b3", "unicodeChar": "㙟", "unicodeCodePoint": "365F", "pinYinChars": [{ "char": "LANG3" }], "splitChars": [{ "char": "土朗" }], "weight": "8" }, { "charId": "081b01", "unicodeChar": "𰵝", "unicodeCodePoint": "30D5D", "pinYinChars": [{ "char": "HE2" }], "splitChars": [{ "char": "讠禾" }], "weight": "8" }, { "charId": "2e2e4f", "unicodeChar": "䄻", "unicodeCodePoint": "413B", "pinYinChars": [{ "char": "CHAO2" }, { "char": "TAO2" }, { "char": "ZHAO4" }], "splitChars": [{ "char": "禾兆" }], "weight": "8" }, { "charId": "8eff88", "unicodeChar": "𤧟", "unicodeCodePoint": "249DF", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "王亭" }], "weight": "8" }, { "charId": "7fd1d4", "unicodeChar": "䁎", "unicodeCodePoint": "404E", "pinYinChars": [{ "char": "TING2" }, { "char": "CHENG2" }], "splitChars": [{ "char": "目亭" }], "weight": "8" }, { "charId": "36d00c", "unicodeChar": "㚢", "unicodeCodePoint": "36A2", "pinYinChars": [{ "char": "NV3" }, { "char": "NU2" }, { "char": "WU3" }], "splitChars": [{ "char": "亻女" }], "weight": "8" }, { "charId": "85360b", "unicodeChar": "𫔭", "unicodeCodePoint": "2B52D", "pinYinChars": [{ "char": "KAI1" }], "splitChars": [{ "char": "门开" }], "weight": "8" }, { "charId": "b47214", "unicodeChar": "𬮿", "unicodeCodePoint": "2CBBF", "pinYinChars": [{ "char": "AI2" }, { "char": "QI1" }, { "char": "GAI1" }], "splitChars": [{ "char": "阝岂" }], "weight": "8" }, { "charId": "fa6662", "unicodeChar": "㢨", "unicodeCodePoint": "38A8", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "弓干" }], "weight": "8" }, { "charId": "9bb1f9", "unicodeChar": "𫘛", "unicodeCodePoint": "2B61B", "pinYinChars": [{ "char": "HAN4" }, { "char": "HAN2" }], "splitChars": [{ "char": "马干" }], "weight": "8" }, { "charId": "97fa5d", "unicodeChar": "𤆬", "unicodeCodePoint": "241AC", "pinYinChars": [{ "char": "QU3" }], "splitChars": [{ "char": "毛灬" }], "weight": "8" }, { "charId": "94faf7", "unicodeChar": "𪨰", "unicodeCodePoint": "2AA30", "pinYinChars": [{ "char": "QU1" }], "splitChars": [{ "char": "山曲" }], "weight": "8" }, { "charId": "3b3969", "unicodeChar": "𪜔", "unicodeCodePoint": "2A714", "pinYinChars": [{ "char": "QU3" }], "splitChars": [{ "char": "九曲" }], "weight": "8" }, { "charId": "a5f3cc", "unicodeChar": "𫔀", "unicodeCodePoint": "2B500", "pinYinChars": [{ "char": "LIAN44" }], "splitChars": [{ "char": "钅柬" }, { "char": "金柬" }], "weight": "8" }, { "charId": "d7d7b1", "unicodeChar": "樑", "unicodeCodePoint": "6A11", "pinYinChars": [{ "char": "LIANG1" }], "splitChars": [], "weight": "8" }, { "charId": "17d572", "unicodeChar": "𬴀", "unicodeCodePoint": "2CD00", "pinYinChars": [{ "char": "LIANG2" }], "splitChars": [{ "char": "马良" }], "weight": "8" }, { "charId": "1bf322", "unicodeChar": "𬍛", "unicodeCodePoint": "2C35B", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "王乐" }], "weight": "10" }, { "charId": "f96822", "unicodeChar": "𬤐", "unicodeCodePoint": "2C910", "pinYinChars": [{ "char": "GE1" }], "splitChars": [{ "char": "讠哥" }], "weight": "8" }, { "charId": "d1508c", "unicodeChar": "𱯍", "unicodeCodePoint": "31BCD", "pinYinChars": [{ "char": "GE1" }], "splitChars": [{ "char": "王哥" }], "weight": "8" }, { "charId": "755ea6", "unicodeChar": "𬮤", "unicodeCodePoint": "2CBA4", "pinYinChars": [{ "char": "XIA2" }, { "char": "GE2" }, { "char": "HE2" }], "splitChars": [{ "char": "门合" }], "weight": "8" }, { "charId": "7e4d31", "unicodeChar": "𬮦", "unicodeCodePoint": "2CBA6", "pinYinChars": [{ "char": "GUAN1" }], "splitChars": [{ "char": "门关" }], "weight": "8" }, { "charId": "12f378", "unicodeChar": "𬭚", "unicodeCodePoint": "2CB5A", "pinYinChars": [{ "char": "CHUN2" }], "splitChars": [{ "char": "钅享" }], "weight": "8" }, { "charId": "e0c603", "unicodeChar": "䵍", "unicodeCodePoint": "4D4D", "pinYinChars": [{ "char": "TUN2" }], "splitChars": [{ "char": "黄享" }], "weight": "8" }, { "charId": "6cf248", "unicodeChar": "䴓", "unicodeCodePoint": "4D13", "pinYinChars": [{ "char": "SHI1" }], "splitChars": [{ "char": "帀鸟" }], "weight": "8" }, { "charId": "5552a2", "unicodeChar": "𣛮", "unicodeCodePoint": "236EE", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "木盛" }], "weight": "8" }, { "charId": "f80e2f", "unicodeChar": "𢒉", "unicodeCodePoint": "22489", "pinYinChars": [{ "char": "SHAN3" }], "splitChars": [{ "char": "彡且" }], "weight": "8" }, { "charId": "0b35aa", "unicodeChar": "𬬺", "unicodeCodePoint": "2CB3A", "pinYinChars": [{ "char": "CHU2" }, { "char": "ZU1" }, { "char": "JU3" }, { "char": "XU2" }], "splitChars": [{ "char": "钅且" }], "weight": "8" }, { "charId": "5ab6cf", "unicodeChar": "𬞟", "unicodeCodePoint": "2C79F", "pinYinChars": [{ "char": "PIN2" }, { "char": "PING2" }], "splitChars": [{ "char": "艹频" }], "weight": "8" }, { "charId": "cda910", "unicodeChar": "㛃", "unicodeCodePoint": "36C3", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "㓞女" }], "weight": "10" }, { "charId": "18f13e", "unicodeChar": "𬍡", "unicodeCodePoint": "2C361", "pinYinChars": [{ "char": "DANG4" }], "splitChars": [{ "char": "汤玉" }], "weight": "8" }, { "charId": "61fbef", "unicodeChar": "𱔐", "unicodeCodePoint": "31510", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "啟口" }], "weight": "8" }, { "charId": "57a0a1", "unicodeChar": "𪠽", "unicodeCodePoint": "2A83D", "pinYinChars": [{ "char": "DANG1" }], "splitChars": [{ "char": "口当" }], "weight": "8" }, { "charId": "50d365", "unicodeChar": "㗊", "unicodeCodePoint": "35CA", "pinYinChars": [{ "char": "LEI2" }, { "char": "JI2" }], "splitChars": [], "weight": "8" }, { "charId": "cd99fb", "unicodeChar": "㞧", "unicodeCodePoint": "37A7", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "山乃" }], "weight": "8" }, { "charId": "752b10", "unicodeChar": "㞭", "unicodeCodePoint": "37AD", "pinYinChars": [{ "char": "DAI2" }], "splitChars": [{ "char": "大山" }], "weight": "8" }, { "charId": "daba78", "unicodeChar": "𡷫", "unicodeCodePoint": "21DEB", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "山成" }], "weight": "8" }, { "charId": "593f33", "unicodeChar": "𫵷", "unicodeCodePoint": "2BD77", "pinYinChars": [{ "char": "LAI4" }, { "char": "LI4" }], "splitChars": [{ "char": "山历" }], "weight": "8" }, { "charId": "3796ee", "unicodeChar": "𬱖", "unicodeCodePoint": "2CC56", "pinYinChars": [{ "char": "DI2" }], "splitChars": [{ "char": "由页" }], "weight": "10" }, { "charId": "d98817", "unicodeChar": "𰎠", "unicodeCodePoint": "303A0", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "山严" }], "weight": "8" }, { "charId": "22759d", "unicodeChar": "𪨶", "unicodeCodePoint": "2AA36", "pinYinChars": [{ "char": "SHE1" }], "splitChars": [{ "char": "山大车" }], "weight": "8" }, { "charId": "974f5d", "unicodeChar": "𪩘", "unicodeCodePoint": "2AA58", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "山献" }], "weight": "8" }, { "charId": "278c8f", "unicodeChar": "𬍑", "unicodeCodePoint": "2C351", "pinYinChars": [{ "char": "SHAN1" }], "splitChars": [], "weight": "8" }, { "charId": "c9cc46", "unicodeChar": "𫵳", "unicodeCodePoint": "2BD73", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "山几" }], "weight": "8" }, { "charId": "fa95d0", "unicodeChar": "𡹇", "unicodeCodePoint": "21E47", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "山林" }], "weight": "8" }, { "charId": "24acd3", "unicodeChar": "𰎐", "unicodeCodePoint": "30390", "pinYinChars": [{ "char": "LU2" }], "splitChars": [{ "char": "山卢" }], "weight": "8" }, { "charId": "80d8d5", "unicodeChar": "𡸃", "unicodeCodePoint": "21E03", "pinYinChars": [{ "char": "QIAN1" }], "splitChars": [{ "char": "山佥" }], "weight": "8" }, { "charId": "33ea1d", "unicodeChar": "㳇", "unicodeCodePoint": "3CC7", "pinYinChars": [{ "char": "FU2" }, { "char": "FU4" }], "splitChars": [{ "char": "氵父" }], "weight": "8" }, { "charId": "205583", "unicodeChar": "𣲘", "unicodeCodePoint": "23C98", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "氵无" }], "weight": "8" }, { "charId": "18e173", "unicodeChar": "𬜬", "unicodeCodePoint": "2C72C", "pinYinChars": [{ "char": "MAN4" }], "splitChars": [{ "char": "艹问" }, { "char": "草问" }], "weight": "10" }, { "charId": "1c3f6b", "unicodeChar": "𬇕", "unicodeCodePoint": "2C1D5", "pinYinChars": [{ "char": "WAN4" }, { "char": "MAN4" }], "splitChars": [{ "char": "氵万" }], "weight": "8" }, { "charId": "816ac4", "unicodeChar": "𬇙", "unicodeCodePoint": "2C1D9", "pinYinChars": [{ "char": "PEI4" }], "splitChars": [{ "char": "氵贝" }], "weight": "8" }, { "charId": "2528dd", "unicodeChar": "𰛥", "unicodeCodePoint": "3.06E+07", "pinYinChars": [{ "char": "AI2" }], "splitChars": [{ "char": "氵岂" }], "weight": "8" }, { "charId": "0f89b2", "unicodeChar": "𬇹", "unicodeCodePoint": "2C1F9", "pinYinChars": [{ "char": "GUO2" }], "splitChars": [{ "char": "氵国" }], "weight": "8" }, { "charId": "6e9449", "unicodeChar": "㳠", "unicodeCodePoint": "3CE0", "pinYinChars": [{ "char": "TA4" }], "splitChars": [{ "char": "氵达" }], "weight": "8" }, { "charId": "2fd545", "unicodeChar": "𬈜", "unicodeCodePoint": "2C21C", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "氵荥" }], "weight": "8" }, { "charId": "f87ad0", "unicodeChar": "𤊟", "unicodeCodePoint": "2429F", "pinYinChars": [{ "char": "TING3" }], "splitChars": [{ "char": "火定" }], "weight": "8" }, { "charId": "04abd1", "unicodeChar": "𰞔", "unicodeCodePoint": "30794", "pinYinChars": [{ "char": "MI4" }], "splitChars": [{ "char": "火名" }], "weight": "8" }, { "charId": "1738a3", "unicodeChar": "𬊍", "unicodeCodePoint": "2C28D", "pinYinChars": [{ "char": "CHOU2" }], "splitChars": [{ "char": "火寿" }], "weight": "8" }, { "charId": "185e8f", "unicodeChar": "䦷", "unicodeCodePoint": "49B7", "pinYinChars": [{ "char": "CHUAI4" }], "splitChars": [{ "char": "门坐" }], "weight": "8" }, { "charId": "5f7627", "unicodeChar": "䦶", "unicodeCodePoint": "49B3", "pinYinChars": [{ "char": "ZHENG4" }, { "char": "ZHI4" }], "splitChars": [{ "char": "门争" }], "weight": "8" }, { "charId": "b74cec", "unicodeChar": "㻌", "unicodeCodePoint": "3ECC", "pinYinChars": [{ "char": "TU2" }, { "char": "SHU1" }], "splitChars": [{ "char": "王余" }], "weight": "8" }, { "charId": "52f09e", "unicodeChar": "𫲦", "unicodeCodePoint": "2BCA6", "pinYinChars": [{ "char": "MAN3" }], "splitChars": [{ "char": "子兑" }], "weight": "10" }, { "charId": "44775c", "unicodeChar": "㻑", "unicodeCodePoint": "3ED1", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "王季" }], "weight": "8" }, { "charId": "155a4c", "unicodeChar": "㻴", "unicodeCodePoint": "3EF4", "pinYinChars": [{ "char": "MAN4" }], "splitChars": [{ "char": "王曼" }], "weight": "8" }, { "charId": "796a7e", "unicodeChar": "㻿", "unicodeCodePoint": "3EFF", "pinYinChars": [{ "char": "SHU3" }], "splitChars": [], "weight": "8" }, { "charId": "359bde", "unicodeChar": "𨱎", "unicodeCodePoint": "28C4E", "pinYinChars": [{ "char": "TOU1" }], "splitChars": [{ "char": "钅俞" }], "weight": "8" }, { "charId": "fd1326", "unicodeChar": "𨱑", "unicodeCodePoint": "28C51", "pinYinChars": [{ "char": "HUANG2" }], "splitChars": [{ "char": "钅黄" }], "weight": "8" }, { "charId": "94733c", "unicodeChar": "𰽚", "unicodeCodePoint": "30F5A", "pinYinChars": [{ "char": "KUANG4" }], "splitChars": [{ "char": "钅广" }], "weight": "8" }, { "charId": "f1dd1c", "unicodeChar": "𬬱", "unicodeCodePoint": "2CB31", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "钅斤" }], "weight": "8" }, { "charId": "9b123e", "unicodeChar": "𬬲", "unicodeCodePoint": "2CB32", "pinYinChars": [{ "char": "PI1" }, { "char": "ZHAO1" }], "splitChars": [{ "char": "钅爪" }], "weight": "8" }, { "charId": "72757b", "unicodeChar": "𱂐", "unicodeCodePoint": "31090", "pinYinChars": [{ "char": "YUN4" }], "splitChars": [{ "char": "音员" }], "weight": "10" }, { "charId": "299be8", "unicodeChar": "𰽥", "unicodeCodePoint": "30F65", "pinYinChars": [{ "char": "BING3" }], "splitChars": [{ "char": "钅丙" }], "weight": "8" }, { "charId": "a25c47", "unicodeChar": "𰽦", "unicodeCodePoint": "30F66", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "钅龙" }], "weight": "8" }, { "charId": "4d9080", "unicodeChar": "𲇷", "unicodeCodePoint": "321F7", "pinYinChars": [{ "char": "LIAN4" }], "splitChars": [{ "char": "钅东" }], "weight": "8" }, { "charId": "f610f4", "unicodeChar": "𬬸", "unicodeCodePoint": "2CB38", "pinYinChars": [{ "char": "SHU4" }], "splitChars": [{ "char": "钅术" }], "weight": "8" }, { "charId": "e7a9b2", "unicodeChar": "𬬿", "unicodeCodePoint": "2CB3F", "pinYinChars": [{ "char": "ZHAO1" }], "splitChars": [{ "char": "钅召" }], "weight": "8" }, { "charId": "fd1073", "unicodeChar": "𬭎", "unicodeCodePoint": "92D0", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "钅宏" }], "weight": "8" }, { "charId": "9.97E+31", "unicodeChar": "𲊿", "unicodeCodePoint": "322BF", "pinYinChars": [], "splitChars": [], "weight": "8" }, { "charId": "ef6f47", "unicodeChar": "𲂎", "unicodeCodePoint": "3208E", "pinYinChars": [{ "char": "ZHA3" }], "splitChars": [{ "char": "讠工白" }], "weight": "8" }, { "charId": "9eb748", "unicodeChar": "𡌴", "unicodeCodePoint": "21334", "pinYinChars": [{ "char": "ZHI2" }], "splitChars": [{ "char": "直土" }], "weight": "8" }, { "charId": "531db2", "unicodeChar": "𰙕", "unicodeCodePoint": "30655", "pinYinChars": [{ "char": "LOU4" }], "splitChars": [{ "char": "娄欠" }], "weight": "8" }, { "charId": "1b73f192", "unicodeChar": "㩳", "unicodeCodePoint": "3A73", "pinYinChars": [{ "char": "SONG3" }], "splitChars": [{ "char": "扌雙" }], "weight": 10 }, { "charId": "7d569613", "unicodeChar": "㧟", "unicodeCodePoint": "39DF", "pinYinChars": [{ "char": "KUAI3" }], "splitChars": [{ "char": "扌汇" }], "weight": 10 }, { "charId": "4e3a02fc", "unicodeChar": "㤘", "unicodeCodePoint": "3918", "pinYinChars": [{ "char": "ZHOU4" }], "splitChars": [{ "char": "忄刍" }], "weight": 10 }, { "charId": "07c9da10", "unicodeChar": "㥮", "unicodeCodePoint": "396E", "pinYinChars": [{ "char": "ZHOU4" }], "splitChars": [{ "char": "忄芻" }], "weight": 10 }, { "charId": "7e6ae317", "unicodeChar": "㘎", "unicodeCodePoint": "360E", "pinYinChars": [{ "char": "HAN3" }], "splitChars": [{ "char": "口敢" }], "weight": 10 }, { "charId": "4e929a56", "unicodeChar": "㘚", "unicodeCodePoint": "361A", "pinYinChars": [{ "char": "HAN3" }], "splitChars": [{ "char": "口敢" }], "weight": 10 }, { "charId": "70954621", "unicodeChar": "𠃌", "unicodeCodePoint": "200CC", "pinYinChars": [{ "char": "GUN3" }], "splitChars": [{ "char": "乙" }], "weight": 10 }, { "charId": "8bc0e94c", "unicodeChar": "𠂇", "unicodeCodePoint": "20087", "pinYinChars": [{ "char": "ZUO3" }], "splitChars": [{ "char": "一丿" }], "weight": 10 }, { "charId": "fe470155", "unicodeChar": "䓖", "unicodeCodePoint": "44D6", "pinYinChars": [{ "char": "QIONG" }], "splitChars": [{ "char": "艹穷" }], "weight": 10 }, { "charId": "74aabee4", "unicodeChar": "㧐", "unicodeCodePoint": "39D0", "pinYinChars": [{ "char": "SONG3" }], "splitChars": [{ "char": "扌双" }], "weight": 10 }, { "charId": "7d73c595", "unicodeChar": "䥇", "unicodeCodePoint": "4947", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "金扇" }], "weight": 10 }, { "charId": "4167fbfa", "unicodeChar": "䙡", "unicodeCodePoint": "4661", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "衤貴" }], "weight": 10 }, { "charId": "8caf9937", "unicodeChar": "䁖", "unicodeCodePoint": "4056", "pinYinChars": [{ "char": "LOU2" }], "splitChars": [{ "char": "目娄" }], "weight": 10 }, { "charId": "888d2965", "unicodeChar": "䅟", "unicodeCodePoint": "415F", "pinYinChars": [{ "char": "CAN3" }], "splitChars": [{ "char": "禾参" }], "weight": 10 }, { "charId": "db1153cb", "unicodeChar": "䴘", "unicodeCodePoint": "4D18", "pinYinChars": [{ "char": "TI1" }], "splitChars": [{ "char": "厂鸟" }], "weight": 10 }, { "charId": "345c6d8e", "unicodeChar": "䴗", "unicodeCodePoint": "4D17", "pinYinChars": [{ "char": "JU2" }], "splitChars": [{ "char": "目鸟" }], "weight": 10 }, { "charId": "33db9798", "unicodeChar": "䦃", "unicodeCodePoint": "4983", "pinYinChars": [{ "char": "ZHUO1" }], "splitChars": [{ "char": "钅著" }], "weight": 10 }, { "charId": "9ea994c5", "unicodeChar": "䥽", "unicodeCodePoint": "497D", "pinYinChars": [{ "char": "PO1" }], "splitChars": [{ "char": "钅发" }], "weight": 10 }, { "charId": "c9498569", "unicodeChar": "䱷", "unicodeCodePoint": "4C77", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "虍攵" }], "weight": 10 }, { "charId": "79b36e82", "unicodeChar": "䦟", "unicodeCodePoint": "499F", "pinYinChars": [{ "char": "CHUAI4" }], "splitChars": [{ "char": "門坐" }], "weight": 10 }, { "charId": "243cb32b", "unicodeChar": "䦛", "unicodeCodePoint": "499B", "pinYinChars": [{ "char": "ZHENG4" }], "splitChars": [{ "char": "門争" }], "weight": 10 }, { "charId": "d20b56e0", "unicodeChar": "䏝", "unicodeCodePoint": "43DD", "pinYinChars": [{ "char": "ZHUAN1" }], "splitChars": [{ "char": "月专" }], "weight": 10 }, { "charId": "f5ef5618", "unicodeChar": "䲠", "unicodeCodePoint": "4CA0", "pinYinChars": [{ "char": "CHUN1" }], "splitChars": [{ "char": "鱼春" }], "weight": 10 }, { "charId": "8b68b1ba", "unicodeChar": "䲣", "unicodeCodePoint": "4CA3", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "虍攵" }], "weight": 10 }, { "charId": "585c08a3", "unicodeChar": "䲟", "unicodeCodePoint": "4C9F", "pinYinChars": [{ "char": "YIN4" }], "splitChars": [{ "char": "鱼印" }], "weight": 10 }, { "charId": "8d03da93", "unicodeChar": "𤇾", "unicodeCodePoint": "241FE", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "火冖" }], "weight": 10 }, { "charId": "07ba210c", "unicodeChar": "䴕", "unicodeCodePoint": "4D15", "pinYinChars": [{ "char": "LIE4" }], "splitChars": [{ "char": "列鸟" }], "weight": 10 }, { "charId": "5bc1145e", "unicodeChar": "䲢", "unicodeCodePoint": "4CA2", "pinYinChars": [{ "char": "TENG2" }], "splitChars": [{ "char": "月鱼" }, { "char": "朕鱼" }], "weight": 10 }, { "charId": "d91fcc8d", "unicodeChar": "𠅀", "unicodeCodePoint": "20140", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "幸云" }, { "char": "執云" }], "weight": 10 }, { "charId": "3f8043ef", "unicodeChar": "𠂔", "unicodeCodePoint": "20094", "pinYinChars": [{ "char": "ZI3" }], "splitChars": [{ "char": "丿丿" }], "weight": 10 }, { "charId": "3b6475f4", "unicodeChar": "𠁣", "unicodeCodePoint": "20063", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "丨彐" }], "weight": 10 }, { "charId": "3f8c5a09", "unicodeChar": "𠁭", "unicodeCodePoint": "2006D", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "个个" }], "weight": 10 }, { "charId": "72609326", "unicodeChar": "𠀐", "unicodeCodePoint": "20010", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "中一" }], "weight": 10 }, { "charId": "1bf1318b", "unicodeChar": "𠇁", "unicodeCodePoint": "201C1", "pinYinChars": [{ "char": "YIN3" }], "splitChars": [{ "char": "亻引" }], "weight": 10 }, { "charId": "8897e4a8", "unicodeChar": "𠆧", "unicodeCodePoint": "201A7", "pinYinChars": [{ "char": "REN2" }], "splitChars": [{ "char": "亻人" }], "weight": 10 }, { "charId": "81f7eb3b", "unicodeChar": "𠆫", "unicodeCodePoint": "201AB", "pinYinChars": [{ "char": "CAI2" }], "splitChars": [{ "char": "亻才" }], "weight": 10 }, { "charId": "897ed12f", "unicodeChar": "𠅯", "unicodeCodePoint": "2016F", "pinYinChars": [{ "char": "HE4" }], "splitChars": [{ "char": "亦亦" }], "weight": 10 }, { "charId": "90905dc5", "unicodeChar": "𠎄", "unicodeCodePoint": "20384", "pinYinChars": [{ "char": "DUN1" }], "splitChars": [{ "char": "亻敦" }], "weight": 10 }, { "charId": "078bd327", "unicodeChar": "𠋈", "unicodeCodePoint": "202C8", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "亻奕" }], "weight": 10 }, { "charId": "c3f335f7", "unicodeChar": "𠋄", "unicodeCodePoint": "202C4", "pinYinChars": [{ "char": "JIANG1" }], "splitChars": [{ "char": "亻姜" }], "weight": 10 }, { "charId": "347d0d36", "unicodeChar": "𠋆", "unicodeCodePoint": "202C6", "pinYinChars": [{ "char": "CHEN4" }], "splitChars": [{ "char": "亻亲" }], "weight": 10 }, { "charId": "85b5db1e", "unicodeChar": "𠉏", "unicodeCodePoint": "2024F", "pinYinChars": [{ "char": "FENG1" }], "splitChars": [{ "char": "亻夆" }], "weight": 10 }, { "charId": "9009a5a9", "unicodeChar": "𠉍", "unicodeCodePoint": "2024D", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "亻困" }], "weight": 10 }, { "charId": "d27b8973", "unicodeChar": "𠈗", "unicodeCodePoint": "20217", "pinYinChars": [{ "char": "GENG4" }], "splitChars": [{ "char": "亻亘" }], "weight": 10 }, { "charId": "9e300520", "unicodeChar": "𠇷", "unicodeCodePoint": "201F7", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "亻生" }], "weight": 10 }, { "charId": "d11ec51c", "unicodeChar": "𠇟", "unicodeCodePoint": "201DF", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "亻永" }], "weight": 10 }, { "charId": "d0b56608", "unicodeChar": "𠇆", "unicodeCodePoint": "201C6", "pinYinChars": [{ "char": "YANG3" }], "splitChars": [{ "char": "亻帀" }], "weight": 10 }, { "charId": "dd17057d", "unicodeChar": "𠏋", "unicodeCodePoint": "203CB", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "亻愚" }], "weight": 10 }, { "charId": "d0609815", "unicodeChar": "𠎠", "unicodeCodePoint": "203A0", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "亻景" }], "weight": 10 }, { "charId": "e431c42c", "unicodeChar": "𠎉", "unicodeCodePoint": "20389", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "亻雲" }], "weight": 10 }, { "charId": "1a37d843", "unicodeChar": "𠘱", "unicodeCodePoint": "20631", "pinYinChars": [{ "char": "ZHEN3" }], "splitChars": [{ "char": "几彡" }], "weight": 10 }, { "charId": "41079cda", "unicodeChar": "𠘳", "unicodeCodePoint": "20633", "pinYinChars": [{ "char": "YOU1" }], "splitChars": [{ "char": "几山" }], "weight": 10 }, { "charId": "dc3cbe10", "unicodeChar": "𠘖", "unicodeCodePoint": "20616", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "冫質" }], "weight": 10 }, { "charId": "2ea42b2f", "unicodeChar": "𠘰", "unicodeCodePoint": "20630", "pinYinChars": [{ "char": "CHU4" }], "splitChars": [{ "char": "几乂" }], "weight": 10 }, { "charId": "6580ed28", "unicodeChar": "𠘎", "unicodeCodePoint": "2060E", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "冫會" }], "weight": 10 }, { "charId": "949c9fc3", "unicodeChar": "𠗚", "unicodeCodePoint": "205DA", "pinYinChars": [{ "char": "CUI4" }], "splitChars": [{ "char": "冫卒" }], "weight": 10 }, { "charId": "263348f4", "unicodeChar": "𠘂", "unicodeCodePoint": "20602", "pinYinChars": [{ "char": "SOU1" }], "splitChars": [{ "char": "冫欠" }], "weight": 10 }, { "charId": "7d54417c", "unicodeChar": "𠖓", "unicodeCodePoint": "20593", "pinYinChars": [{ "char": "SI1" }], "splitChars": [{ "char": "冖思" }], "weight": 10 }, { "charId": "4c0d9343", "unicodeChar": "𠗕", "unicodeCodePoint": "205D5", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "冫夋" }], "weight": 10 }, { "charId": "5f5eb1c0", "unicodeChar": "𠊰", "unicodeCodePoint": "202B0", "pinYinChars": [{ "char": "GUA1" }], "splitChars": [{ "char": "亻咼" }], "weight": 10 }, { "charId": "0d5b5d69", "unicodeChar": "𠊙", "unicodeCodePoint": "20299", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "亻宜" }], "weight": 10 }, { "charId": "29a1bfb9", "unicodeChar": "𠉛", "unicodeCodePoint": "2025B", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "亻成" }], "weight": 10 }, { "charId": "d70c90e7", "unicodeChar": "𠒼", "unicodeCodePoint": "204BC", "pinYinChars": [{ "char": "HUANG4" }], "splitChars": [{ "char": "光晃" }], "weight": 10 }, { "charId": "559c009a", "unicodeChar": "𠓙", "unicodeCodePoint": "204D9", "pinYinChars": [{ "char": "XIONG4" }], "splitChars": [{ "char": "先先" }], "weight": 10 }, { "charId": "fdcba676", "unicodeChar": "𠑰", "unicodeCodePoint": "20470", "pinYinChars": [{ "char": "XIN1" }], "splitChars": [{ "char": "舍舍" }], "weight": 10 }, { "charId": "9f93c9ac", "unicodeChar": "𠒒", "unicodeCodePoint": "20492", "pinYinChars": [{ "char": "YIN3" }], "splitChars": [{ "char": "先引" }], "weight": 10 }, { "charId": "35814e86", "unicodeChar": "𠑐", "unicodeCodePoint": "20450", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "倉倉" }], "weight": 10 }, { "charId": "06a82d27", "unicodeChar": "𠪙", "unicodeCodePoint": "20A99", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "厂異" }], "weight": 10 }, { "charId": "d002dceb", "unicodeChar": "𠙦", "unicodeCodePoint": "20666", "pinYinChars": [{ "char": "QIONG2" }], "splitChars": [{ "char": "𤇾凡" }], "weight": 10 }, { "charId": "2e45be5b", "unicodeChar": "𠭦", "unicodeCodePoint": "20B66", "pinYinChars": [{ "char": "BAO4" }], "splitChars": [{ "char": "八叟" }], "weight": 10 }, { "charId": "e8bacb02", "unicodeChar": "𠝳", "unicodeCodePoint": "20773", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "宣刂" }], "weight": 10 }, { "charId": "03f31cc9", "unicodeChar": "𠔼", "unicodeCodePoint": "2053C", "pinYinChars": [{ "char": "MAO1" }], "splitChars": [{ "char": "冂一" }], "weight": 10 }, { "charId": "e70fbb0d", "unicodeChar": "𠻨", "unicodeCodePoint": "20EE8", "pinYinChars": [{ "char": "QIN3" }], "splitChars": [{ "char": "口堇" }], "weight": 10 }, { "charId": "632029e3", "unicodeChar": "𠔑", "unicodeCodePoint": "20511", "pinYinChars": [{ "char": "HAI4" }], "splitChars": [{ "char": "分分" }], "weight": 10 }, { "charId": "ae84f763", "unicodeChar": "𠔳", "unicodeCodePoint": "20533", "pinYinChars": [{ "char": "LIAN2" }], "splitChars": [{ "char": "产兼" }], "weight": 10 }, { "charId": "24c1cce7", "unicodeChar": "𠓾", "unicodeCodePoint": "204FE", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "全全" }], "weight": 10 }, { "charId": "3bb6c5ab", "unicodeChar": "𠣉", "unicodeCodePoint": "208C9", "pinYinChars": [{ "char": "WAN4" }], "splitChars": [{ "char": "需勉" }], "weight": 10 }, { "charId": "8d5eee4c", "unicodeChar": "𠢃", "unicodeCodePoint": "20883", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "昜力" }], "weight": 10 }, { "charId": "63e80bbf", "unicodeChar": "𠡇", "unicodeCodePoint": "20847", "pinYinChars": [{ "char": "TAI2" }], "splitChars": [{ "char": "台力" }], "weight": 10 }, { "charId": "68649b74", "unicodeChar": "𠞭", "unicodeCodePoint": "207AD", "pinYinChars": [{ "char": "LOU2" }], "splitChars": [{ "char": "婁刂" }], "weight": 10 }, { "charId": "51ba2cb3", "unicodeChar": "𠳤", "unicodeCodePoint": "20CE4", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "口步" }], "weight": 10 }, { "charId": "692f1947", "unicodeChar": "𠳇", "unicodeCodePoint": "20CC7", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "听口" }], "weight": 10 }, { "charId": "6b897d0f", "unicodeChar": "𠯦", "unicodeCodePoint": "20BE6", "pinYinChars": [{ "char": "QIE1" }], "splitChars": [{ "char": "口切" }], "weight": 10 }, { "charId": "02a2ba00", "unicodeChar": "𠯫", "unicodeCodePoint": "20BEB", "pinYinChars": [{ "char": "GE1" }], "splitChars": [{ "char": "口戈" }], "weight": 10 }, { "charId": "345ffae2", "unicodeChar": "𠯆", "unicodeCodePoint": "20BC6", "pinYinChars": [{ "char": "NV3" }], "splitChars": [{ "char": "口女" }], "weight": 10 }, { "charId": "d313071e", "unicodeChar": "𠳿", "unicodeCodePoint": "20CFF", "pinYinChars": [{ "char": "WEI1" }], "splitChars": [{ "char": "口尾" }], "weight": 10 }, { "charId": "c689288d", "unicodeChar": "𠴇", "unicodeCodePoint": "20D07", "pinYinChars": [{ "char": "BIN1" }], "splitChars": [{ "char": "口兵" }], "weight": 10 }, { "charId": "78db9d6c", "unicodeChar": "𠳼", "unicodeCodePoint": "20CFC", "pinYinChars": [{ "char": "SONG4" }], "splitChars": [{ "char": "口宋" }], "weight": 10 }, { "charId": "e2e25b66", "unicodeChar": "𠳭", "unicodeCodePoint": "20CED", "pinYinChars": [{ "char": "KE4" }], "splitChars": [{ "char": "口克" }], "weight": 10 }, { "charId": "1505eb03", "unicodeChar": "𠰑", "unicodeCodePoint": "20C11", "pinYinChars": [{ "char": "PO3" }], "splitChars": [{ "char": "口干" }], "weight": 10 }, { "charId": "a10ecc3f", "unicodeChar": "𠰚", "unicodeCodePoint": "20C1A", "pinYinChars": [{ "char": "SHI4" }], "splitChars": [{ "char": "口尔" }], "weight": 10 }, { "charId": "a6e6cc48", "unicodeChar": "𠧚", "unicodeCodePoint": "209DA", "pinYinChars": [{ "char": "CHI4" }], "splitChars": [{ "char": "占人" }], "weight": 10 }, { "charId": "cc21d3f9", "unicodeChar": "𠣖", "unicodeCodePoint": "208D6", "pinYinChars": [{ "char": "XUAN2" }], "splitChars": [{ "char": "勹玄" }], "weight": 10 }, { "charId": "11ece514", "unicodeChar": "𠤏", "unicodeCodePoint": "2090F", "pinYinChars": [{ "char": "BAO3" }], "splitChars": [{ "char": "匕十" }], "weight": 10 }, { "charId": "bf027d27", "unicodeChar": "𠮵", "unicodeCodePoint": "20BB5", "pinYinChars": [{ "char": "MANG4" }], "splitChars": [{ "char": "口上" }], "weight": 10 }, { "charId": "6daae90d", "unicodeChar": "𠲍", "unicodeCodePoint": "20C8D", "pinYinChars": [{ "char": "DIU1" }], "splitChars": [{ "char": "口丢" }], "weight": 10 }, { "charId": "c0a14dbc", "unicodeChar": "𠰻", "unicodeCodePoint": "20C3B", "pinYinChars": [{ "char": "WAI4" }], "splitChars": [{ "char": "口外" }], "weight": 10 }, { "charId": "11c27279", "unicodeChar": "𠰼", "unicodeCodePoint": "20C3C", "pinYinChars": [{ "char": "PO1" }], "splitChars": [{ "char": "口巿" }], "weight": 10 }, { "charId": "54a9cdc2", "unicodeChar": "𠰧", "unicodeCodePoint": "20C27", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "口玉" }], "weight": 10 }, { "charId": "b4eb4fe4", "unicodeChar": "𠰮", "unicodeCodePoint": "20C2E", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "口生" }], "weight": 10 }, { "charId": "b642a941", "unicodeChar": "𠵖", "unicodeCodePoint": "20D56", "pinYinChars": [{ "char": "JIAN1" }], "splitChars": [{ "char": "口戔" }], "weight": 10 }, { "charId": "993a410e", "unicodeChar": "𠵕", "unicodeCodePoint": "20D55", "pinYinChars": [{ "char": "MU4" }], "splitChars": [{ "char": "口坴" }], "weight": 10 }, { "charId": "5908d88a", "unicodeChar": "𠷶", "unicodeCodePoint": "20DF6", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "口生" }], "weight": 10 }, { "charId": "d5dae330", "unicodeChar": "𠷺", "unicodeCodePoint": "20DFA", "pinYinChars": [{ "char": "BO2" }], "splitChars": [{ "char": "口勃" }], "weight": 10 }, { "charId": "16e8a1ef", "unicodeChar": "𠷨", "unicodeCodePoint": "20DE8", "pinYinChars": [{ "char": "BIAN3" }], "splitChars": [{ "char": "口扁" }], "weight": 10 }, { "charId": "7eb01c21", "unicodeChar": "𠷯", "unicodeCodePoint": "20DEF", "pinYinChars": [{ "char": "MEI2" }], "splitChars": [{ "char": "口眉" }], "weight": 10 }, { "charId": "ed8c466f", "unicodeChar": "𠶗", "unicodeCodePoint": "20D97", "pinYinChars": [{ "char": "ZHI2" }], "splitChars": [{ "char": "口直" }], "weight": 10 }, { "charId": "94ac68b3", "unicodeChar": "𠵻", "unicodeCodePoint": "20D7B", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "口宗" }], "weight": 10 }, { "charId": "09243c21", "unicodeChar": "𠵼", "unicodeCodePoint": "20D7C", "pinYinChars": [{ "char": "MENG1" }], "splitChars": [{ "char": "口孟" }], "weight": 10 }, { "charId": "8d0edf08", "unicodeChar": "𠲮", "unicodeCodePoint": "20CAE", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "口巠" }], "weight": 10 }, { "charId": "9f30ebf2", "unicodeChar": "𠴢", "unicodeCodePoint": "20D22", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "口声" }], "weight": 10 }, { "charId": "3553b4a1", "unicodeChar": "𠴱", "unicodeCodePoint": "20D31", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "口固" }], "weight": 10 }, { "charId": "6449e176", "unicodeChar": "𠷥", "unicodeCodePoint": "20DE5", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "口亭" }], "weight": 10 }, { "charId": "ab3ba5e8", "unicodeChar": "𠷋", "unicodeCodePoint": "20DCB", "pinYinChars": [{ "char": "HOU4" }], "splitChars": [{ "char": "口厚" }], "weight": 10 }, { "charId": "5478f58d", "unicodeChar": "𠷁", "unicodeCodePoint": "20DC1", "pinYinChars": [{ "char": "QIAN2" }], "splitChars": [{ "char": "口前" }], "weight": 10 }, { "charId": "5ec32402", "unicodeChar": "𠷈", "unicodeCodePoint": "20DC8", "pinYinChars": [{ "char": "LV4" }], "splitChars": [{ "char": "口律" }], "weight": 10 }, { "charId": "933e6916", "unicodeChar": "𠸂", "unicodeCodePoint": "20E02", "pinYinChars": [{ "char": "TU1" }], "splitChars": [{ "char": "口突" }], "weight": 10 }, { "charId": "e92194a2", "unicodeChar": "𠺕", "unicodeCodePoint": "20E95", "pinYinChars": [{ "char": "LIU1" }], "splitChars": [{ "char": "口留" }], "weight": 10 }, { "charId": "98128a48", "unicodeChar": "𠺋", "unicodeCodePoint": "20E8B", "pinYinChars": [{ "char": "QUE1" }], "splitChars": [{ "char": "口缺" }], "weight": 10 }, { "charId": "c6f7193e", "unicodeChar": "𠹔", "unicodeCodePoint": "20E54", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "口唐" }], "weight": 10 }, { "charId": "d17d57c1", "unicodeChar": "𠹖", "unicodeCodePoint": "20E56", "pinYinChars": [{ "char": "CHAN3" }], "splitChars": [{ "char": "口展" }], "weight": 10 }, { "charId": "e68d6314", "unicodeChar": "𠹌", "unicodeCodePoint": "20E4C", "pinYinChars": [{ "char": "NENG3" }], "splitChars": [{ "char": "口能" }], "weight": 10 }, { "charId": "34e5d968", "unicodeChar": "𠸍", "unicodeCodePoint": "20E0D", "pinYinChars": [{ "char": "MEI3" }], "splitChars": [{ "char": "口美" }], "weight": 10 }, { "charId": "713cdca6", "unicodeChar": "𠸸", "unicodeCodePoint": "20E38", "pinYinChars": [{ "char": "CHUN2" }], "splitChars": [{ "char": "口唇" }], "weight": 10 }, { "charId": "e7c28dae", "unicodeChar": "𠸄", "unicodeCodePoint": "20E04", "pinYinChars": [{ "char": "YING1" }], "splitChars": [{ "char": "口英" }], "weight": 10 }, { "charId": "202a72fb", "unicodeChar": "𡊼", "unicodeCodePoint": "212BC", "pinYinChars": [{ "char": "GONG3" }], "splitChars": [{ "char": "巩土" }], "weight": 10 }, { "charId": "58cffe22", "unicodeChar": "𡊟", "unicodeCodePoint": "2129F", "pinYinChars": [{ "char": "PO1" }], "splitChars": [{ "char": "土目" }], "weight": 10 }, { "charId": "da84b1c6", "unicodeChar": "𡊵", "unicodeCodePoint": "212B5", "pinYinChars": [{ "char": "TUO2" }], "splitChars": [{ "char": "石土" }], "weight": 10 }, { "charId": "1eebb15c", "unicodeChar": "𡊔", "unicodeCodePoint": "21294", "pinYinChars": [{ "char": "SHI4" }], "splitChars": [{ "char": "土市" }], "weight": 10 }, { "charId": "37d31fa7", "unicodeChar": "𡊛", "unicodeCodePoint": "2129B", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "土去" }], "weight": 10 }, { "charId": "790035ce", "unicodeChar": "𡊍", "unicodeCodePoint": "2128D", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "土术" }], "weight": 10 }, { "charId": "e875a183", "unicodeChar": "𡉺", "unicodeCodePoint": "2127A", "pinYinChars": [{ "char": "ZUAN1" }], "splitChars": [{ "char": "土水" }], "weight": 10 }, { "charId": "86c6b346", "unicodeChar": "𡉼", "unicodeCodePoint": "2127C", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "升土" }], "weight": 10 }, { "charId": "9c1b1b3f", "unicodeChar": "𡉁", "unicodeCodePoint": "21241", "pinYinChars": [{ "char": "DONG" }], "splitChars": [{ "char": "土乃" }], "weight": 10 }, { "charId": "63cde096", "unicodeChar": "𡉀", "unicodeCodePoint": "21240", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "八土" }], "weight": 10 }, { "charId": "d45445f9", "unicodeChar": "𡇷", "unicodeCodePoint": "211F7", "pinYinChars": [{ "char": "TAI4" }], "splitChars": [{ "char": "八各" }], "weight": 10 }, { "charId": "7c4e2a2c", "unicodeChar": "𡄻", "unicodeCodePoint": "2113B", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "壹咨" }], "weight": 10 }, { "charId": "51a3b2e4", "unicodeChar": "𡁠", "unicodeCodePoint": "21060", "pinYinChars": [{ "char": "ER3" }], "splitChars": [{ "char": "口爾" }], "weight": 10 }, { "charId": "84185f5f", "unicodeChar": "𡂠", "unicodeCodePoint": "210A0", "pinYinChars": [{ "char": "QIE4" }], "splitChars": [{ "char": "口蔡" }], "weight": 10 }, { "charId": "34c5bea6", "unicodeChar": "𡀂", "unicodeCodePoint": "21002", "pinYinChars": [{ "char": "LEI2" }], "splitChars": [{ "char": "口雷" }], "weight": 10 }, { "charId": "a756cb44", "unicodeChar": "𡀃", "unicodeCodePoint": "21003", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [{ "char": "口斟" }], "weight": 10 }, { "charId": "28b37eda", "unicodeChar": "𠿟", "unicodeCodePoint": "20FDF", "pinYinChars": [{ "char": "WO4" }], "splitChars": [{ "char": "臼口" }], "weight": 10 }, { "charId": "9a2acf98", "unicodeChar": "𠻤", "unicodeCodePoint": "20EE4", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "口寅" }], "weight": 10 }, { "charId": "907c67aa", "unicodeChar": "𠻜", "unicodeCodePoint": "20EDC", "pinYinChars": [{ "char": "CUI4" }], "splitChars": [{ "char": "口率" }], "weight": 10 }, { "charId": "de6a0f6a", "unicodeChar": "𠻞", "unicodeCodePoint": "20EDE", "pinYinChars": [{ "char": "KANG3" }], "splitChars": [{ "char": "口康" }], "weight": 10 }, { "charId": "8cd8e759", "unicodeChar": "𠺝", "unicodeCodePoint": "20E9D", "pinYinChars": [{ "char": "GE1" }], "splitChars": [{ "char": "口格" }], "weight": 10 }, { "charId": "58706eb9", "unicodeChar": "𠺖", "unicodeCodePoint": "20E96", "pinYinChars": [{ "char": "MU3" }], "splitChars": [{ "char": "口畝" }], "weight": 10 }, { "charId": "d3014b6c", "unicodeChar": "𠺗", "unicodeCodePoint": "20E97", "pinYinChars": [{ "char": "MI2" }], "splitChars": [{ "char": "口迷" }], "weight": 10 }, { "charId": "5730c633", "unicodeChar": "𡓕", "unicodeCodePoint": "214D5", "pinYinChars": [{ "char": "XUN1" }], "splitChars": [{ "char": "土勳" }], "weight": 10 }, { "charId": "28d8593a", "unicodeChar": "𡑭", "unicodeCodePoint": "2146D", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "土會" }], "weight": 10 }, { "charId": "391e556f", "unicodeChar": "𡒇", "unicodeCodePoint": "21487", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "土𡕰" }], "weight": 10 }, { "charId": "57757f79", "unicodeChar": "𡐋", "unicodeCodePoint": "2140B", "pinYinChars": [{ "char": "ZAO1" }], "splitChars": [{ "char": "土曹" }], "weight": 10 }, { "charId": "f71d23d7", "unicodeChar": "𡐤", "unicodeCodePoint": "21424", "pinYinChars": [{ "char": "QI4" }], "splitChars": [{ "char": "土絜" }], "weight": 10 }, { "charId": "1b05dcc1", "unicodeChar": "𡘪", "unicodeCodePoint": "2162A", "pinYinChars": [{ "char": "MANG2" }], "splitChars": [{ "char": "大身" }], "weight": 10 }, { "charId": "bf9781ce", "unicodeChar": "𡚌", "unicodeCodePoint": "2168C", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "天天" }], "weight": 10 }, { "charId": "c9e72325", "unicodeChar": "𡏛", "unicodeCodePoint": "213DB", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "土奚" }], "weight": 10 }, { "charId": "15ac9947", "unicodeChar": "𡏒", "unicodeCodePoint": "213D2", "pinYinChars": [{ "char": "GEN1" }], "splitChars": [{ "char": "根土" }], "weight": 10 }, { "charId": "9f090547", "unicodeChar": "𡏅", "unicodeCodePoint": "213C5", "pinYinChars": [{ "char": "LANG2" }], "splitChars": [{ "char": "郎土" }], "weight": 10 }, { "charId": "e3066ad5", "unicodeChar": "𡎆", "unicodeCodePoint": "21386", "pinYinChars": [{ "char": "DUN1" }], "splitChars": [{ "char": "土盾" }], "weight": 10 }, { "charId": "a85bdf86", "unicodeChar": "𡌼", "unicodeCodePoint": "2133C", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "放土" }], "weight": 10 }, { "charId": "4a396ee4", "unicodeChar": "𡍆", "unicodeCodePoint": "21346", "pinYinChars": [{ "char": "FEN1" }], "splitChars": [{ "char": "土芬" }], "weight": 10 }, { "charId": "3e9ae2f5", "unicodeChar": "𡌭", "unicodeCodePoint": "2132D", "pinYinChars": [{ "char": "DUO1" }], "splitChars": [{ "char": "叕土" }], "weight": 10 }, { "charId": "bb501fd8", "unicodeChar": "𡋭", "unicodeCodePoint": "212ED", "pinYinChars": [{ "char": "BEI4" }], "splitChars": [{ "char": "北土" }], "weight": 10 }, { "charId": "8854234e", "unicodeChar": "𡋯", "unicodeCodePoint": "212EF", "pinYinChars": [{ "char": "BO2" }], "splitChars": [{ "char": "土孛" }], "weight": 10 }, { "charId": "5a06919b", "unicodeChar": "𡋣", "unicodeCodePoint": "212E3", "pinYinChars": [{ "char": "WA1" }], "splitChars": [{ "char": "土圭" }], "weight": 10 }, { "charId": "99d4e007", "unicodeChar": "𡛈", "unicodeCodePoint": "216C8", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "女升" }], "weight": 10 }, { "charId": "31d1a853", "unicodeChar": "𡛥", "unicodeCodePoint": "216E5", "pinYinChars": [{ "char": "CHA4" }], "splitChars": [{ "char": "女它" }], "weight": 10 }, { "charId": "b21af7bc", "unicodeChar": "𡛙", "unicodeCodePoint": "216D9", "pinYinChars": [{ "char": "YAO3" }], "splitChars": [{ "char": "女幼" }], "weight": 10 }, { "charId": "e2e61ad3", "unicodeChar": "𡛅", "unicodeCodePoint": "216C5", "pinYinChars": [{ "char": "YIN3" }], "splitChars": [{ "char": "女引" }], "weight": 10 }, { "charId": "44121cdc", "unicodeChar": "𡚽", "unicodeCodePoint": "216BD", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "丑女" }], "weight": 10 }, { "charId": "bbfa8744", "unicodeChar": "𡚸", "unicodeCodePoint": "216B8", "pinYinChars": [{ "char": "YAO1" }], "splitChars": [{ "char": "女么" }], "weight": 10 }, { "charId": "6a01cf22", "unicodeChar": "𡚳", "unicodeCodePoint": "216B3", "pinYinChars": [{ "char": "DU4" }], "splitChars": [{ "char": "女土" }], "weight": 10 }, { "charId": "54ee7232", "unicodeChar": "𡚴", "unicodeCodePoint": "216B4", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "山女" }], "weight": 10 }, { "charId": "82088914", "unicodeChar": "𡗩", "unicodeCodePoint": "215E9", "pinYinChars": [{ "char": "ZHUAN4" }], "splitChars": [{ "char": "火大" }], "weight": 10 }, { "charId": "c4b05080", "unicodeChar": "𡖞", "unicodeCodePoint": "2159E", "pinYinChars": [{ "char": "CHAN1" }], "splitChars": [{ "char": "多占" }], "weight": 10 }, { "charId": "6b44c996", "unicodeChar": "𡕷", "unicodeCodePoint": "21577", "pinYinChars": [{ "char": "XIONG4" }], "splitChars": [{ "char": "刀夂" }], "weight": 10 }, { "charId": "69300089", "unicodeChar": "𫫌", "unicodeCodePoint": "2BACC", "pinYinChars": [{ "char": "SHAO2" }], "splitChars": [{ "char": "咅召" }], "weight": 10 }, { "charId": "279d50c5", "unicodeChar": "𭇻", "unicodeCodePoint": "2D1FB", "pinYinChars": [{ "char": "MI3" }], "splitChars": [{ "char": "口芋" }], "weight": 10 }, { "charId": "ba32e663", "unicodeChar": "𫭗", "unicodeCodePoint": "2BB57", "pinYinChars": [{ "char": "PA4" }], "splitChars": [{ "char": "土八" }], "weight": 10 }, { "charId": "c730487e", "unicodeChar": "𪠋", "unicodeCodePoint": "2A80B", "pinYinChars": [{ "char": "ZHI2" }], "splitChars": [{ "char": "厂直" }], "weight": 10 }, { "charId": "530868eb", "unicodeChar": "𪠸", "unicodeCodePoint": "2A838", "pinYinChars": [{ "char": "YO" }], "splitChars": [{ "char": "口乐" }], "weight": 10 }, { "charId": "24b5380f", "unicodeChar": "𪠵", "unicodeCodePoint": "2A835", "pinYinChars": [{ "char": "TUAN" }], "splitChars": [{ "char": "口仑" }], "weight": 10 }, { "charId": "13adcae0", "unicodeChar": "𪣯", "unicodeCodePoint": "2A8EF", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "土宜" }], "weight": 10 }, { "charId": "58c33376", "unicodeChar": "𫭾", "unicodeCodePoint": "2BB7E", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "土金" }], "weight": 10 }, { "charId": "646f3517", "unicodeChar": "𫭴", "unicodeCodePoint": "2BB74", "pinYinChars": [{ "char": "LI" }], "splitChars": [{ "char": "利土" }], "weight": 10 }, { "charId": "01208af5", "unicodeChar": "𪣕", "unicodeCodePoint": "2A8D5", "pinYinChars": [{ "char": "KE4" }], "splitChars": [{ "char": "土克" }], "weight": 10 }, { "charId": "af5aafa8", "unicodeChar": "𦏷", "unicodeCodePoint": "263F7", "pinYinChars": [{ "char": "XIAO1" }], "splitChars": [{ "char": "大羽" }], "weight": 10 }, { "charId": "929d6c17", "unicodeChar": "𪢲", "unicodeCodePoint": "2A8B2", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "土又" }], "weight": 10 }, { "charId": "8e56bc01", "unicodeChar": "𪥢", "unicodeCodePoint": "2A962", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "火大" }], "weight": 10 }, { "charId": "8111f357", "unicodeChar": "𫮪", "unicodeCodePoint": "2BBAA", "pinYinChars": [{ "char": "WO1" }], "splitChars": [{ "char": "土窝" }], "weight": 10 }, { "charId": "978f2e5b", "unicodeChar": "𪤖", "unicodeCodePoint": "2A916", "pinYinChars": [{ "char": "QIANG3" }], "splitChars": [{ "char": "土將" }], "weight": 10 }, { "charId": "1f46414a", "unicodeChar": "𪣹", "unicodeCodePoint": "2A8F9", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "土亭" }], "weight": 10 }, { "charId": "6853fc5f", "unicodeChar": "𫱭", "unicodeCodePoint": "2BC6D", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "女雯" }], "weight": 10 }, { "charId": "6730271b", "unicodeChar": "𫱡", "unicodeCodePoint": "2BC61", "pinYinChars": [{ "char": "ZHUANG1" }], "splitChars": [{ "char": "女莊" }], "weight": 10 }, { "charId": "c3517797", "unicodeChar": "𫱛", "unicodeCodePoint": "2BC5B", "pinYinChars": [{ "char": "YANG4" }], "splitChars": [{ "char": "女恙" }], "weight": 10 }, { "charId": "c53bbab7", "unicodeChar": "𪦈", "unicodeCodePoint": "2A988", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "女匽" }], "weight": 10 }, { "charId": "a3e946ed", "unicodeChar": "𪦀", "unicodeCodePoint": "2A980", "pinYinChars": [{ "char": "FANG1" }], "splitChars": [{ "char": "女芳" }], "weight": 10 }, { "charId": "3001f9a0", "unicodeChar": "𫰯", "unicodeCodePoint": "2BC2F", "pinYinChars": [{ "char": "KUN4" }], "splitChars": [{ "char": "女困" }], "weight": 10 }, { "charId": "c25191ce", "unicodeChar": "𫰭", "unicodeCodePoint": "2BC2D", "pinYinChars": [{ "char": "CE4" }], "splitChars": [{ "char": "女赤" }], "weight": 10 }, { "charId": "0ea898f8", "unicodeChar": "𫰤", "unicodeCodePoint": "2BC24", "pinYinChars": [{ "char": "MI3" }], "splitChars": [{ "char": "女米" }], "weight": 10 }, { "charId": "63faa5f1", "unicodeChar": "𦫚", "unicodeCodePoint": "26ADA", "pinYinChars": [{ "char": "KU" }], "splitChars": [{ "char": "夸色" }], "weight": 10 }, { "charId": "dd995f4e", "unicodeChar": "𪥳", "unicodeCodePoint": "2A973", "pinYinChars": [{ "char": "DIAO4" }], "splitChars": [{ "char": "女吊" }], "weight": 10 }, { "charId": "9f8eab17", "unicodeChar": "𫰞", "unicodeCodePoint": "2BC1E", "pinYinChars": [{ "char": "LIE4" }], "splitChars": [{ "char": "女列" }], "weight": 10 }, { "charId": "1febe4ee", "unicodeChar": "𫰝", "unicodeCodePoint": "2BC1D", "pinYinChars": [{ "char": "ZAI4" }], "splitChars": [{ "char": "女再" }], "weight": 10 }, { "charId": "e3402c2c", "unicodeChar": "𭖂", "unicodeCodePoint": "2D582", "pinYinChars": [{ "char": "WU1" }], "splitChars": [{ "char": "山于" }], "weight": 10 }, { "charId": "af4b8cef", "unicodeChar": "𪧷", "unicodeCodePoint": "2A9F7", "pinYinChars": [{ "char": "LE4" }], "splitChars": [{ "char": "夕寸" }], "weight": 10 }, { "charId": "71d5217a", "unicodeChar": "𫲘", "unicodeCodePoint": "2BC98", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "女龍" }], "weight": 10 }, { "charId": "17c475c8", "unicodeChar": "𪦬", "unicodeCodePoint": "2A9AC", "pinYinChars": [{ "char": "XIAN2" }], "splitChars": [{ "char": "女賢" }], "weight": 10 }, { "charId": "7a0960b9", "unicodeChar": "𫲊", "unicodeCodePoint": "2BC8A", "pinYinChars": [{ "char": "XUN1" }], "splitChars": [{ "char": "女熏" }], "weight": 10 }, { "charId": "102febae", "unicodeChar": "𪦫", "unicodeCodePoint": "2A9AB", "pinYinChars": [{ "char": "GE2" }], "splitChars": [{ "char": "女閣" }], "weight": 10 }, { "charId": "6dba6c84", "unicodeChar": "𫲇", "unicodeCodePoint": "2BC87", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "女蓉" }], "weight": 10 }, { "charId": "61cb8b66", "unicodeChar": "𫱵", "unicodeCodePoint": "2BC75", "pinYinChars": [{ "char": "ZUN1" }], "splitChars": [{ "char": "女尊" }], "weight": 10 }, { "charId": "ca89b753", "unicodeChar": "𫵻", "unicodeCodePoint": "2BD7B", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "山安" }], "weight": 10 }, { "charId": "6ff1507e", "unicodeChar": "𪨯", "unicodeCodePoint": "2AA2F", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "成山" }], "weight": 10 }, { "charId": "68ef83b3", "unicodeChar": "𭖑", "unicodeCodePoint": "2D591", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "山必" }], "weight": 10 }, { "charId": "8dac89dd", "unicodeChar": "𡜱", "unicodeCodePoint": "21731", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "女忌" }], "weight": 10 }, { "charId": "9badcf9c", "unicodeChar": "𡜬", "unicodeCodePoint": "2172C", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "女伊" }], "weight": 10 }, { "charId": "59c90e7e", "unicodeChar": "𡜦", "unicodeCodePoint": "21726", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "卉女" }], "weight": 10 }, { "charId": "20e533a6", "unicodeChar": "𡛺", "unicodeCodePoint": "216FA", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "矛女" }], "weight": 10 }, { "charId": "a52a5091", "unicodeChar": "𡝚", "unicodeCodePoint": "2175A", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "女呈" }], "weight": 10 }, { "charId": "9a7f1405", "unicodeChar": "𡝐", "unicodeCodePoint": "21750", "pinYinChars": [{ "char": "CHA2" }], "splitChars": [{ "char": "女余" }], "weight": 10 }, { "charId": "ed851bec", "unicodeChar": "𡛰", "unicodeCodePoint": "216F0", "pinYinChars": [{ "char": "ZHI3" }], "splitChars": [{ "char": "女只" }], "weight": 10 }, { "charId": "101e5137", "unicodeChar": "𡛯", "unicodeCodePoint": "216EF", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "女弗" }], "weight": 10 }, { "charId": "0e440def", "unicodeChar": "𡛮", "unicodeCodePoint": "216EE", "pinYinChars": [{ "char": "YOU4" }], "splitChars": [{ "char": "女右" }], "weight": 10 }, { "charId": "7553fdf2", "unicodeChar": "𡞻", "unicodeCodePoint": "217BB", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "女土" }], "weight": 10 }, { "charId": "0f899955", "unicodeChar": "𡞹", "unicodeCodePoint": "217B9", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "女建" }], "weight": 10 }, { "charId": "626d349e", "unicodeChar": "𬁎", "unicodeCodePoint": "2C04E", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "日容" }], "weight": 10 }, { "charId": "989715a9", "unicodeChar": "𡠀", "unicodeCodePoint": "21800", "pinYinChars": [{ "char": "GAO3" }], "splitChars": [{ "char": "女高" }], "weight": 10 }, { "charId": "6dc595e0", "unicodeChar": "𡟾", "unicodeCodePoint": "217FE", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "女庭" }], "weight": 10 }, { "charId": "7d38fb80", "unicodeChar": "𡡡", "unicodeCodePoint": "21861", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "女景" }], "weight": 10 }, { "charId": "7ac0cc84", "unicodeChar": "𡡠", "unicodeCodePoint": "21860", "pinYinChars": [{ "char": "CHE4" }], "splitChars": [{ "char": "女攵" }], "weight": 10 }, { "charId": "f331e11f", "unicodeChar": "𡡒", "unicodeCodePoint": "21852", "pinYinChars": [{ "char": "SI1" }], "splitChars": [{ "char": "女斯" }], "weight": 10 }, { "charId": "403ae7e2", "unicodeChar": "𡡑", "unicodeCodePoint": "21851", "pinYinChars": [{ "char": "ZENG1" }], "splitChars": [{ "char": "女曾" }], "weight": 10 }, { "charId": "653a74e8", "unicodeChar": "𡟇", "unicodeCodePoint": "217C7", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "女彖" }], "weight": 10 }, { "charId": "2aaf47d1", "unicodeChar": "𡟄", "unicodeCodePoint": "217C4", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "女昱" }], "weight": 10 }, { "charId": "8613c583", "unicodeChar": "𡜾", "unicodeCodePoint": "2173E", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "女序" }], "weight": 10 }, { "charId": "8d7d1ced", "unicodeChar": "𡜲", "unicodeCodePoint": "21732", "pinYinChars": [{ "char": "GAO4" }], "splitChars": [{ "char": "女告" }], "weight": 10 }, { "charId": "14243b0f", "unicodeChar": "𪰕", "unicodeCodePoint": "2AC15", "pinYinChars": [{ "char": "SHUN4" }], "splitChars": [{ "char": "日矢" }], "weight": 10 }, { "charId": "ab831c12", "unicodeChar": "𡞫", "unicodeCodePoint": "217AB", "pinYinChars": [{ "char": "NAI4" }], "splitChars": [{ "char": "女柰" }], "weight": 10 }, { "charId": "cb8a8e3b", "unicodeChar": "𡞙", "unicodeCodePoint": "21799", "pinYinChars": [{ "char": "MIE4" }], "splitChars": [{ "char": "女盲" }], "weight": 10 }, { "charId": "a71df32e", "unicodeChar": "𡞇", "unicodeCodePoint": "21787", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "女朋" }], "weight": 10 }, { "charId": "f783f1b5", "unicodeChar": "𡞀", "unicodeCodePoint": "21780", "pinYinChars": [{ "char": "CHANG2" }], "splitChars": [{ "char": "女尚" }], "weight": 10 }, { "charId": "fa6b9fbf", "unicodeChar": "𡟥", "unicodeCodePoint": "217E5", "pinYinChars": [{ "char": "QU3" }], "splitChars": [{ "char": "女禹" }], "weight": 10 }, { "charId": "4c0a609c", "unicodeChar": "𡟟", "unicodeCodePoint": "217DF", "pinYinChars": [{ "char": "CONG1" }], "splitChars": [{ "char": "女怱" }], "weight": 10 }, { "charId": "75a45a26", "unicodeChar": "𡟚", "unicodeCodePoint": "217DA", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "女盈" }], "weight": 10 }, { "charId": "5095e2f2", "unicodeChar": "𡟊", "unicodeCodePoint": "217CA", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "女秋" }], "weight": 10 }, { "charId": "8a84edde", "unicodeChar": "𡝍", "unicodeCodePoint": "2174D", "pinYinChars": [{ "char": "QIE4" }], "splitChars": [{ "char": "女豕" }], "weight": 10 }, { "charId": "b9a86d84", "unicodeChar": "𪰡", "unicodeCodePoint": "2AC21", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "日全" }], "weight": 10 }, { "charId": "34266e8e", "unicodeChar": "𡝆", "unicodeCodePoint": "21746", "pinYinChars": [{ "char": "JIONG3" }], "splitChars": [{ "char": "女冏" }], "weight": 10 }, { "charId": "0a56fae1", "unicodeChar": "𡝃", "unicodeCodePoint": "21743", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "女步" }], "weight": 10 }, { "charId": "3651aec3", "unicodeChar": "𡢾", "unicodeCodePoint": "218BE", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "女禁" }], "weight": 10 }, { "charId": "2db7d78b", "unicodeChar": "𡢨", "unicodeCodePoint": "218A8", "pinYinChars": [{ "char": "CHENG1" }], "splitChars": [{ "char": "女聖" }], "weight": 10 }, { "charId": "1ab997f7", "unicodeChar": "𡢒", "unicodeCodePoint": "21892", "pinYinChars": [{ "char": "JU3" }], "splitChars": [{ "char": "女豆" }], "weight": 10 }, { "charId": "acc57b8f", "unicodeChar": "𬃧", "unicodeCodePoint": "2C0E7", "pinYinChars": [{ "char": "GUAN1" }], "splitChars": [{ "char": "木冠" }], "weight": 10 }, { "charId": "006806a2", "unicodeChar": "𡢄", "unicodeCodePoint": "21884", "pinYinChars": [{ "char": "MIN3" }], "splitChars": [{ "char": "女閔" }], "weight": 10 }, { "charId": "c415bbca", "unicodeChar": "𬃡", "unicodeCodePoint": "2C0E1", "pinYinChars": [{ "char": "WEN3" }], "splitChars": [{ "char": "木急" }], "weight": 10 }, { "charId": "bfbe8db9", "unicodeChar": "𬃠", "unicodeCodePoint": "2C0E0", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "木盆" }], "weight": 10 }, { "charId": "eb229dc8", "unicodeChar": "𡤕", "unicodeCodePoint": "21915", "pinYinChars": [{ "char": "XIA2" }], "splitChars": [{ "char": "女霞" }], "weight": 10 }, { "charId": "c3c73d31", "unicodeChar": "𡣺", "unicodeCodePoint": "218FA", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "女慧" }], "weight": 10 }, { "charId": "8d059ad6", "unicodeChar": "𪲀", "unicodeCodePoint": "2AC80", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "木丘" }], "weight": 10 }, { "charId": "bce7e919", "unicodeChar": "𡱌", "unicodeCodePoint": "21C4C", "pinYinChars": [{ "char": "HUAN2" }], "splitChars": [{ "char": "尸亘" }], "weight": 10 }, { "charId": "07713fc4", "unicodeChar": "𬃟", "unicodeCodePoint": "2C0DF", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "木苹" }], "weight": 10 }, { "charId": "c16ac70e", "unicodeChar": "𬃝", "unicodeCodePoint": "2C0DD", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "木苗" }], "weight": 10 }, { "charId": "510bafba", "unicodeChar": "𡫀", "unicodeCodePoint": "21AC0", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "宀敫" }], "weight": 10 }, { "charId": "0939883e", "unicodeChar": "𬃆", "unicodeCodePoint": "2C0C6", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "木岳" }], "weight": 10 }, { "charId": "2e74609b", "unicodeChar": "𡩯", "unicodeCodePoint": "21A6F", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "宀电" }], "weight": 10 }, { "charId": "a54f6ec3", "unicodeChar": "𡠧", "unicodeCodePoint": "21827", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "其女" }], "weight": 10 }, { "charId": "4ef12afa", "unicodeChar": "𬂫", "unicodeCodePoint": "2C0AB", "pinYinChars": [{ "char": "CHUI2" }], "splitChars": [{ "char": "𠂤木" }], "weight": 10 }, { "charId": "8c45569d", "unicodeChar": "𡠤", "unicodeCodePoint": "21824", "pinYinChars": [{ "char": "QIANG2" }], "splitChars": [{ "char": "女强" }], "weight": 10 }, { "charId": "1e1975d3", "unicodeChar": "𪲉", "unicodeCodePoint": "2AC89", "pinYinChars": [{ "char": "HOU4" }], "splitChars": [{ "char": "木后" }], "weight": 10 }, { "charId": "a2672076", "unicodeChar": "𪲇", "unicodeCodePoint": "2AC87", "pinYinChars": [{ "char": "QU1" }], "splitChars": [{ "char": "木曲" }], "weight": 10 }, { "charId": "c6def8c2", "unicodeChar": "𡡶", "unicodeCodePoint": "21876", "pinYinChars": [{ "char": "WAN3" }], "splitChars": [{ "char": "女宛" }], "weight": 10 }, { "charId": "28744e23", "unicodeChar": "𡡬", "unicodeCodePoint": "2186C", "pinYinChars": [{ "char": "DUN1" }], "splitChars": [{ "char": "女敦" }], "weight": 10 }, { "charId": "faf8e6a9", "unicodeChar": "𡡥", "unicodeCodePoint": "21865", "pinYinChars": [{ "char": "QU2" }], "splitChars": [{ "char": "女渠" }], "weight": 10 }, { "charId": "295cc2d2", "unicodeChar": "𡣮", "unicodeCodePoint": "218EE", "pinYinChars": [{ "char": "CAI4" }], "splitChars": [{ "char": "女蔡" }], "weight": 10 }, { "charId": "d412c51f", "unicodeChar": "𪱻", "unicodeCodePoint": "2AC7B", "pinYinChars": [{ "char": "BEN3" }], "splitChars": [{ "char": "木本" }], "weight": 10 }, { "charId": "c31bb229", "unicodeChar": "𡣝", "unicodeCodePoint": "218DD", "pinYinChars": [{ "char": "CUI4" }], "splitChars": [{ "char": "女翠" }], "weight": 10 }, { "charId": "e250287d", "unicodeChar": "𡣗", "unicodeCodePoint": "218D7", "pinYinChars": [{ "char": "JIA1" }], "splitChars": [{ "char": "女嘉" }], "weight": 10 }, { "charId": "36cee484", "unicodeChar": "𡣈", "unicodeCodePoint": "218C8", "pinYinChars": [{ "char": "SHU4" }], "splitChars": [{ "char": "女署" }], "weight": 10 }, { "charId": "2e73457d", "unicodeChar": "𡢿", "unicodeCodePoint": "218BF", "pinYinChars": [{ "char": "NONG2" }], "splitChars": [{ "char": "女農" }], "weight": 10 }, { "charId": "76eb31c2", "unicodeChar": "𪲖", "unicodeCodePoint": "2AC96", "pinYinChars": [{ "char": "BAO3" }], "splitChars": [{ "char": "木呆" }], "weight": 10 }, { "charId": "1a42ef55", "unicodeChar": "𡠭", "unicodeCodePoint": "2182D", "pinYinChars": [{ "char": "XUE3" }], "splitChars": [{ "char": "女雪" }], "weight": 10 }, { "charId": "81b9b288", "unicodeChar": "𬈂", "unicodeCodePoint": "2C202", "pinYinChars": [{ "char": "MENG4" }], "splitChars": [{ "char": "氵孟" }], "weight": 10 }, { "charId": "e1d0ce89", "unicodeChar": "𡵖", "unicodeCodePoint": "21D56", "pinYinChars": [{ "char": "SE4" }], "splitChars": [{ "char": "山火" }], "weight": 10 }, { "charId": "b773f141", "unicodeChar": "𪶐", "unicodeCodePoint": "2AD90", "pinYinChars": [{ "char": "AN4" }], "splitChars": [{ "char": "氵岸" }], "weight": 10 }, { "charId": "adbb54ff", "unicodeChar": "𡳞", "unicodeCodePoint": "21CDE", "pinYinChars": [{ "char": "LIN4" }], "splitChars": [{ "char": "尸粦" }], "weight": 10 }, { "charId": "789129fb", "unicodeChar": "𡱝", "unicodeCodePoint": "21C5D", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "尸羊" }], "weight": 10 }, { "charId": "a0596a55", "unicodeChar": "𡱘", "unicodeCodePoint": "21C58", "pinYinChars": [{ "char": "GUANG1" }], "splitChars": [{ "char": "尸光" }], "weight": 10 }, { "charId": "3903a0fa", "unicodeChar": "𡸔", "unicodeCodePoint": "21E14", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "山圭" }], "weight": 10 }, { "charId": "db2d74f5", "unicodeChar": "𡸌", "unicodeCodePoint": "21E0C", "pinYinChars": [{ "char": "ZHU4" }], "splitChars": [{ "char": "山住" }], "weight": 10 }, { "charId": "82e72eb1", "unicodeChar": "𡷰", "unicodeCodePoint": "21DF0", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "山辰" }], "weight": 10 }, { "charId": "76ac853f", "unicodeChar": "𡷥", "unicodeCodePoint": "21DE5", "pinYinChars": [{ "char": "GAO4" }], "splitChars": [{ "char": "告山" }], "weight": 10 }, { "charId": "ab37627d", "unicodeChar": "𡷗", "unicodeCodePoint": "21DD7", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "山完" }], "weight": 10 }, { "charId": "ef24aec8", "unicodeChar": "𡷖", "unicodeCodePoint": "21DD6", "pinYinChars": [{ "char": "CHE1" }], "splitChars": [{ "char": "山車" }], "weight": 10 }, { "charId": "b0ed461b", "unicodeChar": "𪵬", "unicodeCodePoint": "2AD6C", "pinYinChars": [{ "char": "FAN4" }], "splitChars": [{ "char": "氵几" }, { "char": "氵凢" }], "weight": 10 }, { "charId": "fdcf6944", "unicodeChar": "𡥘", "unicodeCodePoint": "21958", "pinYinChars": [{ "char": "HAO3" }], "splitChars": [{ "char": "母子" }], "weight": 10 }, { "charId": "abd04ccd", "unicodeChar": "𪵘", "unicodeCodePoint": "2AD58", "pinYinChars": [{ "char": "HUO3" }], "splitChars": [{ "char": "毛火" }], "weight": 10 }, { "charId": "4586c981", "unicodeChar": "𬆿", "unicodeCodePoint": "2C1BF", "pinYinChars": [{ "char": "WU4" }], "splitChars": [{ "char": "毛勿" }], "weight": 10 }, { "charId": "a619d549", "unicodeChar": "𡤭", "unicodeCodePoint": "2192D", "pinYinChars": [{ "char": "DANG3" }], "splitChars": [{ "char": "女黨" }], "weight": 10 }, { "charId": "712dc80c", "unicodeChar": "𡤜", "unicodeCodePoint": "2191C", "pinYinChars": [{ "char": "ZI1" }], "splitChars": [{ "char": "壹姿" }], "weight": 10 }, { "charId": "8d099996", "unicodeChar": "𬆭", "unicodeCodePoint": "2C1AD", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "士冖示殳" }], "weight": 10 }, { "charId": "99491513", "unicodeChar": "𡤙", "unicodeCodePoint": "21919", "pinYinChars": [{ "char": "NA4" }], "splitChars": [{ "char": "女聶" }], "weight": 10 }, { "charId": "e11a5430", "unicodeChar": "𡶏", "unicodeCodePoint": "21D8F", "pinYinChars": [{ "char": "KU1" }], "splitChars": [{ "char": "山出" }], "weight": 10 }, { "charId": "c4cd0683", "unicodeChar": "𬄿", "unicodeCodePoint": "2C13F", "pinYinChars": [{ "char": "CONG2" }], "splitChars": [{ "char": "木取" }], "weight": 10 }, { "charId": "2fd4fcd7", "unicodeChar": "𭬎", "unicodeCodePoint": "2DB0E", "pinYinChars": [{ "char": "YONG1" }], "splitChars": [{ "char": "木雍" }], "weight": 10 }, { "charId": "6b663564", "unicodeChar": "𡵻", "unicodeCodePoint": "21D7B", "pinYinChars": [{ "char": "KANG1" }], "splitChars": [{ "char": "山亢" }], "weight": 10 }, { "charId": "acae6209", "unicodeChar": "𪳶", "unicodeCodePoint": "2ACF6", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "木寒" }], "weight": 10 }, { "charId": "7b5f45a7", "unicodeChar": "𡵬", "unicodeCodePoint": "21D6C", "pinYinChars": [{ "char": "MU4" }], "splitChars": [{ "char": "山木" }], "weight": 10 }, { "charId": "b8f4f89c", "unicodeChar": "𡵚", "unicodeCodePoint": "21D5A", "pinYinChars": [{ "char": "JIE4" }], "splitChars": [{ "char": "山介" }], "weight": 10 }, { "charId": "504e504b", "unicodeChar": "𪸙", "unicodeCodePoint": "2AE19", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "火未" }], "weight": 10 }, { "charId": "8b3c287c", "unicodeChar": "𬉼", "unicodeCodePoint": "2C27C", "pinYinChars": [{ "char": "OU1" }], "splitChars": [{ "char": "火区" }], "weight": 10 }, { "charId": "47de99ea", "unicodeChar": "𪸒", "unicodeCodePoint": "2AE12", "pinYinChars": [{ "char": "HU4" }], "splitChars": [{ "char": "火互" }], "weight": 10 }, { "charId": "413c14d2", "unicodeChar": "𪸑", "unicodeCodePoint": "2AE11", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "火元" }], "weight": 10 }, { "charId": "f3f17ada", "unicodeChar": "𡸮", "unicodeCodePoint": "21E2E", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "山录" }], "weight": 10 }, { "charId": "be26f832", "unicodeChar": "𪸀", "unicodeCodePoint": "2AE00", "pinYinChars": [{ "char": "XIA2" }], "splitChars": [{ "char": "氵霞" }], "weight": 10 }, { "charId": "90f662bb", "unicodeChar": "𪷸", "unicodeCodePoint": "2ADF8", "pinYinChars": [{ "char": "QING4" }], "splitChars": [{ "char": "氵慶" }], "weight": 10 }, { "charId": "6284d947", "unicodeChar": "𢁂", "unicodeCodePoint": "22042", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "其巳" }], "weight": 10 }, { "charId": "7fec1fa8", "unicodeChar": "𪷱", "unicodeCodePoint": "2ADF1", "pinYinChars": [{ "char": "SAI4" }], "splitChars": [{ "char": "氵赛" }], "weight": 10 }, { "charId": "6cb5a4f7", "unicodeChar": "𡾱", "unicodeCodePoint": "21FB1", "pinYinChars": [{ "char": "MI2" }], "splitChars": [{ "char": "山彌" }], "weight": 10 }, { "charId": "da10a47e", "unicodeChar": "𡽜", "unicodeCodePoint": "21F5C", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "山言" }], "weight": 10 }, { "charId": "8ce5ba4d", "unicodeChar": "𡽌", "unicodeCodePoint": "21F4C", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "鼓山" }], "weight": 10 }, { "charId": "68fa9b0a", "unicodeChar": "𡽂", "unicodeCodePoint": "21F42", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "山鼓" }], "weight": 10 }, { "charId": "dac8a512", "unicodeChar": "𡷑", "unicodeCodePoint": "21DD1", "pinYinChars": [{ "char": "CI4" }], "splitChars": [{ "char": "山次" }], "weight": 10 }, { "charId": "9714ac3b", "unicodeChar": "𡷎", "unicodeCodePoint": "21DCE", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "山宇" }], "weight": 10 }, { "charId": "b20079a9", "unicodeChar": "𪷖", "unicodeCodePoint": "2ADD6", "pinYinChars": [{ "char": "RAN2" }], "splitChars": [{ "char": "氵然" }], "weight": 10 }, { "charId": "80afeb41", "unicodeChar": "𡶵", "unicodeCodePoint": "21DB5", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "山共" }], "weight": 10 }, { "charId": "3e403df3", "unicodeChar": "𬈳", "unicodeCodePoint": "2C233", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "氵雯" }], "weight": 10 }, { "charId": "87ab5176", "unicodeChar": "𬈲", "unicodeCodePoint": "2C232", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "氵琪" }], "weight": 10 }, { "charId": "f39a46e6", "unicodeChar": "𡶑", "unicodeCodePoint": "21D91", "pinYinChars": [{ "char": "GAN1" }], "splitChars": [{ "char": "山甘" }], "weight": 10 }, { "charId": "d7e8c06d", "unicodeChar": "𡶐", "unicodeCodePoint": "21D90", "pinYinChars": [{ "char": "QIE2" }], "splitChars": [{ "char": "山加" }], "weight": 10 }, { "charId": "4df91204", "unicodeChar": "𪶹", "unicodeCodePoint": "2ADB9", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "氵庭" }], "weight": 10 }, { "charId": "2cc55639", "unicodeChar": "𬈠", "unicodeCodePoint": "2C220", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "氵畐" }], "weight": 10 }, { "charId": "9ad3cfff", "unicodeChar": "𡺨", "unicodeCodePoint": "21EA8", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "山韋" }], "weight": 10 }, { "charId": "c1bc3ffb", "unicodeChar": "𡺠", "unicodeCodePoint": "21EA0", "pinYinChars": [{ "char": "HUN2" }], "splitChars": [{ "char": "山軍" }], "weight": 10 }, { "charId": "18e6a788", "unicodeChar": "𪶦", "unicodeCodePoint": "2ADA6", "pinYinChars": [{ "char": "GUN3" }], "splitChars": [{ "char": "氵哀" }], "weight": 10 }, { "charId": "cc825d9b", "unicodeChar": "𡺑", "unicodeCodePoint": "21E91", "pinYinChars": [{ "char": "DIE2" }], "splitChars": [{ "char": "山枼" }], "weight": 10 }, { "charId": "04ece4ed", "unicodeChar": "𡺍", "unicodeCodePoint": "21E8D", "pinYinChars": [{ "char": "ZHONG1" }], "splitChars": [{ "char": "山重" }], "weight": 10 }, { "charId": "490ddc88", "unicodeChar": "𡺀", "unicodeCodePoint": "21E80", "pinYinChars": [{ "char": "KE4" }], "splitChars": [{ "char": "山客" }], "weight": 10 }, { "charId": "2edaf42e", "unicodeChar": "𡹾", "unicodeCodePoint": "21E7E", "pinYinChars": [{ "char": "BING3" }], "splitChars": [{ "char": "山丙" }], "weight": 10 }, { "charId": "5da5645b", "unicodeChar": "𡹬", "unicodeCodePoint": "21E6C", "pinYinChars": [{ "char": "TUO2" }], "splitChars": [{ "char": "山咼" }], "weight": 10 }, { "charId": "16523ac7", "unicodeChar": "𪹊", "unicodeCodePoint": "2AE4A", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "火俞" }], "weight": 10 }, { "charId": "f009338b", "unicodeChar": "𢄈", "unicodeCodePoint": "22108", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "巾音" }], "weight": 10 }, { "charId": "16c313d3", "unicodeChar": "𪹁", "unicodeCodePoint": "2AE41", "pinYinChars": [{ "char": "MENG3" }], "splitChars": [{ "char": "火孟" }], "weight": 10 }, { "charId": "90fdbbf7", "unicodeChar": "𪸼", "unicodeCodePoint": "2AE3C", "pinYinChars": [{ "char": "ZHOU1" }], "splitChars": [{ "char": "火周" }], "weight": 10 }, { "charId": "c2bb4237", "unicodeChar": "𢃡", "unicodeCodePoint": "220E1", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "巾易" }], "weight": 10 }, { "charId": "031c266c", "unicodeChar": "𬊝", "unicodeCodePoint": "2C29D", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "火金" }], "weight": 10 }, { "charId": "8912316f", "unicodeChar": "𢃇", "unicodeCodePoint": "220C7", "pinYinChars": [{ "char": "LI3" }], "splitChars": [{ "char": "巾里" }], "weight": 10 }, { "charId": "4aa3eea8", "unicodeChar": "𢂔", "unicodeCodePoint": "22094", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "巾共" }], "weight": 10 }, { "charId": "e9bb02af", "unicodeChar": "𢁾", "unicodeCodePoint": "2207E", "pinYinChars": [{ "char": "CHAO1" }], "splitChars": [{ "char": "巾召" }], "weight": 10 }, { "charId": "e2a30084", "unicodeChar": "𪸵", "unicodeCodePoint": "2AE35", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "火武" }], "weight": 10 }, { "charId": "d5b30b6c", "unicodeChar": "𪸴", "unicodeCodePoint": "2AE34", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "火奇" }], "weight": 10 }, { "charId": "d4887948", "unicodeChar": "𬊑", "unicodeCodePoint": "2C291", "pinYinChars": [{ "char": "CHUAN4" }], "splitChars": [{ "char": "火串" }], "weight": 10 }, { "charId": "a34fa601", "unicodeChar": "𡼪", "unicodeCodePoint": "21F2A", "pinYinChars": [{ "char": "DA2" }], "splitChars": [{ "char": "山答" }], "weight": 10 }, { "charId": "e8cf5b53", "unicodeChar": "𬊌", "unicodeCodePoint": "2C28C", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "火志" }], "weight": 10 }, { "charId": "3a8c1bb2", "unicodeChar": "𡻯", "unicodeCodePoint": "21EEF", "pinYinChars": [{ "char": "QIANG3" }], "splitChars": [{ "char": "山爽" }], "weight": 10 }, { "charId": "549b5021", "unicodeChar": "𬊋", "unicodeCodePoint": "2C28B", "pinYinChars": [{ "char": "QIU2" }], "splitChars": [{ "char": "火求" }], "weight": 10 }, { "charId": "1dd59445", "unicodeChar": "𡺸", "unicodeCodePoint": "21EB8", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "山耆" }], "weight": 10 }, { "charId": "9fc5bde4", "unicodeChar": "𪸫", "unicodeCodePoint": "2AE2B", "pinYinChars": [{ "char": "GENG1" }], "splitChars": [{ "char": "火更" }], "weight": 10 }, { "charId": "f95fdf8a", "unicodeChar": "𡺯", "unicodeCodePoint": "21EAF", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "山䍃" }], "weight": 10 }, { "charId": "0533cb78", "unicodeChar": "𡺭", "unicodeCodePoint": "21EAD", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "山貢" }], "weight": 10 }, { "charId": "3536992f", "unicodeChar": "𪸥", "unicodeCodePoint": "2AE25", "pinYinChars": [{ "char": "ER3" }], "splitChars": [{ "char": "火耳" }], "weight": 10 }, { "charId": "2d683ac7", "unicodeChar": "𪸞", "unicodeCodePoint": "2AE1E", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "火尔" }], "weight": 10 }, { "charId": "5a4dfa7b", "unicodeChar": "𪸛", "unicodeCodePoint": "2AE1B", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "火玉" }], "weight": 10 }, { "charId": "cd085af2", "unicodeChar": "𬊱", "unicodeCodePoint": "2C2B1", "pinYinChars": [{ "char": "DI4" }], "splitChars": [{ "char": "火帝" }], "weight": 10 }, { "charId": "5b136f5f", "unicodeChar": "𪹏", "unicodeCodePoint": "2AE4F", "pinYinChars": [{ "char": "MEI3" }], "splitChars": [{ "char": "火美" }], "weight": 10 }, { "charId": "0c69e0de", "unicodeChar": "𫵿", "unicodeCodePoint": "2BD7F", "pinYinChars": [{ "char": "XIU4" }], "splitChars": [{ "char": "山秀" }], "weight": 10 }, { "charId": "da0e0a17", "unicodeChar": "𪩚", "unicodeCodePoint": "2AA5A", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "山會" }], "weight": 10 }, { "charId": "bcffe4ff", "unicodeChar": "𪩉", "unicodeCodePoint": "2AA49", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "山尃" }], "weight": 10 }, { "charId": "97c2d7cb", "unicodeChar": "𪩂", "unicodeCodePoint": "2AA42", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "山南" }], "weight": 10 }, { "charId": "1a6baec6", "unicodeChar": "𫷋", "unicodeCodePoint": "2BDCB", "pinYinChars": [{ "char": "KAI3" }], "splitChars": [{ "char": "巾豈" }], "weight": 10 }, { "charId": "1c14a76e", "unicodeChar": "𪫍", "unicodeCodePoint": "2AACD", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "彳志" }], "weight": 10 }, { "charId": "21baab2b", "unicodeChar": "𪫋", "unicodeCodePoint": "2AACB", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "彳文" }], "weight": 10 }, { "charId": "88172759", "unicodeChar": "𫶣", "unicodeCodePoint": "2BDA3", "pinYinChars": [{ "char": "HENG2" }], "splitChars": [{ "char": "山衡" }], "weight": 10 }, { "charId": "2e9e37fb", "unicodeChar": "𪫧", "unicodeCodePoint": "2AAE7", "pinYinChars": [{ "char": "KE3" }], "splitChars": [{ "char": "忄可" }], "weight": 10 }, { "charId": "d96da2ad", "unicodeChar": "𪭤", "unicodeCodePoint": "2AB64", "pinYinChars": [{ "char": "ZHENG4" }], "splitChars": [{ "char": "扌正" }], "weight": 10 }, { "charId": "46b95487", "unicodeChar": "𫼚", "unicodeCodePoint": "2BF1A", "pinYinChars": [{ "char": "LA1" }], "splitChars": [{ "char": "扌六" }], "weight": 10 }, { "charId": "5953e029", "unicodeChar": "𫼖", "unicodeCodePoint": "2BF16", "pinYinChars": [{ "char": "JIU3" }], "splitChars": [{ "char": "扌久" }], "weight": 10 }, { "charId": "a2458e86", "unicodeChar": "𫻑", "unicodeCodePoint": "2BED1", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "忄匱" }], "weight": 10 }, { "charId": "ad218451", "unicodeChar": "𫷷", "unicodeCodePoint": "2BDF7", "pinYinChars": [{ "char": "XIN1" }], "splitChars": [{ "char": "广钦" }], "weight": 10 }, { "charId": "1c2c7f57", "unicodeChar": "𪪎", "unicodeCodePoint": "2AA8E", "pinYinChars": [{ "char": "ZHENG4" }], "splitChars": [{ "char": "广正" }], "weight": 10 }, { "charId": "8dd4a5a9", "unicodeChar": "𪬃", "unicodeCodePoint": "2AB03", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "忄宜" }], "weight": 10 }, { "charId": "5bafa81f", "unicodeChar": "𪫹", "unicodeCodePoint": "2AAF9", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "忄谷" }], "weight": 10 }, { "charId": "e989ddc1", "unicodeChar": "𪫷", "unicodeCodePoint": "2AAF7", "pinYinChars": [{ "char": "CHOU2" }], "splitChars": [{ "char": "寿心" }], "weight": 10 }, { "charId": "94588bb9", "unicodeChar": "𪫮", "unicodeCodePoint": "2AAEE", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "忄百" }], "weight": 10 }, { "charId": "ce104446", "unicodeChar": "𪭶", "unicodeCodePoint": "2AB76", "pinYinChars": [{ "char": "CHUAN4" }], "splitChars": [{ "char": "扌串" }], "weight": 10 }, { "charId": "e362bfb6", "unicodeChar": "𫼯", "unicodeCodePoint": "2BF2F", "pinYinChars": [{ "char": "BIAN1" }], "splitChars": [{ "char": "扌边" }], "weight": 10 }, { "charId": "2ed8a23b", "unicodeChar": "𪯢", "unicodeCodePoint": "2ABE2", "pinYinChars": [{ "char": "HUAN1" }], "splitChars": [{ "char": "文文" }], "weight": 10 }, { "charId": "b91d7b9d", "unicodeChar": "𫾪", "unicodeCodePoint": "2BFAA", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "吉攵" }], "weight": 10 }, { "charId": "637c0bfa", "unicodeChar": "𪮾", "unicodeCodePoint": "2ABBE", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "扌木" }], "weight": 10 }, { "charId": "21311a3d", "unicodeChar": "𪰌", "unicodeCodePoint": "2AC0C", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "日毛" }], "weight": 10 }, { "charId": "ecf3f718", "unicodeChar": "𢬶", "unicodeCodePoint": "22B36", "pinYinChars": [{ "char": "JIN4" }], "splitChars": [{ "char": "扌𠬶" }], "weight": 10 }, { "charId": "409f2a74", "unicodeChar": "𢬢", "unicodeCodePoint": "22B22", "pinYinChars": [{ "char": "DIAO4" }], "splitChars": [{ "char": "扌吊" }], "weight": 10 }, { "charId": "15109578", "unicodeChar": "𢬐", "unicodeCodePoint": "22B10", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "扌旭" }], "weight": 10 }, { "charId": "19c300dd", "unicodeChar": "𢫓", "unicodeCodePoint": "22AD3", "pinYinChars": [{ "char": "NU3" }], "splitChars": [{ "char": "扌奴" }], "weight": 10 }, { "charId": "1e5455c1", "unicodeChar": "𢪧", "unicodeCodePoint": "22AA7", "pinYinChars": [{ "char": "YE4" }], "splitChars": [{ "char": "扌牛" }], "weight": 10 }, { "charId": "4dae1a99", "unicodeChar": "𢳀", "unicodeCodePoint": "22CC0", "pinYinChars": [{ "char": "MO2" }], "splitChars": [{ "char": "扌麻" }], "weight": 10 }, { "charId": "29c9f679", "unicodeChar": "𢲡", "unicodeCodePoint": "22CA1", "pinYinChars": [{ "char": "NA2" }], "splitChars": [{ "char": "扌拿" }], "weight": 10 }, { "charId": "53c82736", "unicodeChar": "𢱍", "unicodeCodePoint": "22C4D", "pinYinChars": [{ "char": "WAN3" }], "splitChars": [{ "char": "扌勉" }], "weight": 10 }, { "charId": "0ebfa06b", "unicodeChar": "𢱈", "unicodeCodePoint": "22C48", "pinYinChars": [{ "char": "JIA4" }], "splitChars": [{ "char": "扌叚" }], "weight": 10 }, { "charId": "29ee6122", "unicodeChar": "𢩱", "unicodeCodePoint": "22A71", "pinYinChars": [{ "char": "BANG4" }], "splitChars": [{ "char": "扌才" }], "weight": 10 }, { "charId": "d8f8a44c", "unicodeChar": "𢸔", "unicodeCodePoint": "22E14", "pinYinChars": [{ "char": "PAN2" }], "splitChars": [{ "char": "扌盤" }], "weight": 10 }, { "charId": "a4e51b0e", "unicodeChar": "𢾑", "unicodeCodePoint": "22F91", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "音攴" }], "weight": 10 }, { "charId": "6698974a", "unicodeChar": "𣅮", "unicodeCodePoint": "2316E", "pinYinChars": [{ "char": "SHENG1" }], "splitChars": [{ "char": "日升" }], "weight": 10 }, { "charId": "47524fb7", "unicodeChar": "𣅡", "unicodeCodePoint": "23161", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "日夬" }], "weight": 10 }, { "charId": "0bcfb6b0", "unicodeChar": "𣅟", "unicodeCodePoint": "2315F", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "日冘" }], "weight": 10 }, { "charId": "f05c1b3f", "unicodeChar": "𣄿", "unicodeCodePoint": "2313F", "pinYinChars": [{ "char": "TING3" }], "splitChars": [{ "char": "日丁" }], "weight": 10 }, { "charId": "6abce19c", "unicodeChar": "𬒔", "unicodeCodePoint": "2C494", "pinYinChars": [{ "char": "GENG3" }], "splitChars": [{ "char": "石肯" }], "weight": 10 }, { "charId": "ce52f786", "unicodeChar": "𢸍", "unicodeCodePoint": "22E0D", "pinYinChars": [{ "char": "ZHEN4" }], "splitChars": [{ "char": "扌震" }], "weight": 10 }, { "charId": "ec193bcf", "unicodeChar": "𢷪", "unicodeCodePoint": "22DEA", "pinYinChars": [{ "char": "KUI2" }], "splitChars": [{ "char": "扌魁" }], "weight": 10 }, { "charId": "98f69656", "unicodeChar": "𢶉", "unicodeCodePoint": "22D89", "pinYinChars": [{ "char": "PO4" }], "splitChars": [{ "char": "扌雹" }], "weight": 10 }, { "charId": "1f62e500", "unicodeChar": "𢳧", "unicodeCodePoint": "22CE7", "pinYinChars": [{ "char": "KANG3" }], "splitChars": [{ "char": "扌康" }], "weight": 10 }, { "charId": "0f9100db", "unicodeChar": "𢾄", "unicodeCodePoint": "22F84", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "俞攵" }], "weight": 10 }, { "charId": "cfbdcda4", "unicodeChar": "𢼣", "unicodeCodePoint": "22F23", "pinYinChars": [{ "char": "QIA4" }], "splitChars": [{ "char": "吉攴" }], "weight": 10 }, { "charId": "ebf236e7", "unicodeChar": "𢰸", "unicodeCodePoint": "22C38", "pinYinChars": [{ "char": "GUO1" }], "splitChars": [{ "char": "扌咼" }], "weight": 10 }, { "charId": "2606fc29", "unicodeChar": "𢰲", "unicodeCodePoint": "22C32", "pinYinChars": [{ "char": "MEI2" }], "splitChars": [{ "char": "扌眉" }], "weight": 10 }, { "charId": "f5cedd13", "unicodeChar": "𣇋", "unicodeCodePoint": "231CB", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "日兑" }], "weight": 10 }, { "charId": "d1c0c19b", "unicodeChar": "𣆳", "unicodeCodePoint": "231B3", "pinYinChars": [{ "char": "GENG3" }], "splitChars": [{ "char": "日更" }], "weight": 10 }, { "charId": "a82e3bcc", "unicodeChar": "𫁪", "unicodeCodePoint": "2B06A", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "立立" }], "weight": 10 }, { "charId": "9ac604be", "unicodeChar": "𣆲", "unicodeCodePoint": "231B2", "pinYinChars": [{ "char": "QIN4" }], "splitChars": [{ "char": "日𠬶" }], "weight": 10 }, { "charId": "e5cb37ad", "unicodeChar": "𣆟", "unicodeCodePoint": "2319F", "pinYinChars": [{ "char": "XIE1" }], "splitChars": [{ "char": "此旦" }], "weight": 10 }, { "charId": "2264667e", "unicodeChar": "𣉥", "unicodeCodePoint": "23265", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "日殷" }], "weight": 10 }, { "charId": "ea57c009", "unicodeChar": "𣎅", "unicodeCodePoint": "23385", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "月曷" }], "weight": 10 }, { "charId": "4f32b6d3", "unicodeChar": "𣍾", "unicodeCodePoint": "2337E", "pinYinChars": [{ "char": "LIANG3" }], "splitChars": [{ "char": "月雨" }], "weight": 10 }, { "charId": "6d19eeb7", "unicodeChar": "𬓤", "unicodeCodePoint": "2C4E4", "pinYinChars": [{ "char": "CHI3" }], "splitChars": [{ "char": "禾尺" }], "weight": 10 }, { "charId": "7f5fa2b2", "unicodeChar": "𮂱", "unicodeCodePoint": "2E0B1", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "禾尤" }], "weight": 10 }, { "charId": "b701f9ac", "unicodeChar": "𣍆", "unicodeCodePoint": "23346", "pinYinChars": [{ "char": "NING2" }], "splitChars": [{ "char": "殸曰" }], "weight": 10 }, { "charId": "b227c361", "unicodeChar": "𣌸", "unicodeCodePoint": "23338", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "日即" }], "weight": 10 }, { "charId": "54c2671c", "unicodeChar": "𫁵", "unicodeCodePoint": "2B075", "pinYinChars": [{ "char": "DOU3" }], "splitChars": [{ "char": "竹斗" }], "weight": 10 }, { "charId": "98a63877", "unicodeChar": "𬔱", "unicodeCodePoint": "2C531", "pinYinChars": [{ "char": "ZHI1" }], "splitChars": [{ "char": "竹之" }], "weight": 10 }, { "charId": "fffd6cc5", "unicodeChar": "𬒺", "unicodeCodePoint": "2C4BA", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "礻足" }], "weight": 10 }, { "charId": "f23abfd9", "unicodeChar": "𫀊", "unicodeCodePoint": "2B00A", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "礻衣" }], "weight": 10 }, { "charId": "046ddbbb", "unicodeChar": "𬒮", "unicodeCodePoint": "2C4AE", "pinYinChars": [{ "char": "MEI4" }], "splitChars": [{ "char": "礻夬" }], "weight": 10 }, { "charId": "2a2f39c3", "unicodeChar": "𪿢", "unicodeCodePoint": "2AFE2", "pinYinChars": [{ "char": "PI4" }], "splitChars": [{ "char": "石辛" }], "weight": 10 }, { "charId": "6ae66a85", "unicodeChar": "𣅾", "unicodeCodePoint": "2317E", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "冉日" }], "weight": 10 }, { "charId": "f255c200", "unicodeChar": "𣈥", "unicodeCodePoint": "23225", "pinYinChars": [{ "char": "TU2" }], "splitChars": [{ "char": "日俞" }], "weight": 10 }, { "charId": "5d53a28c", "unicodeChar": "𬒙", "unicodeCodePoint": "2C499", "pinYinChars": [{ "char": "MEI3" }], "splitChars": [{ "char": "石美" }], "weight": 10 }, { "charId": "279e1e8b", "unicodeChar": "𣈇", "unicodeCodePoint": "23207", "pinYinChars": [{ "char": "AN4" }], "splitChars": [{ "char": "不明" }], "weight": 10 }, { "charId": "985eff13", "unicodeChar": "𣈄", "unicodeCodePoint": "23204", "pinYinChars": [{ "char": "CAI3" }], "splitChars": [{ "char": "日采" }], "weight": 10 }, { "charId": "0d9c4474", "unicodeChar": "𣇼", "unicodeCodePoint": "231FC", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "日宗" }], "weight": 10 }, { "charId": "1b90243b", "unicodeChar": "𬓉", "unicodeCodePoint": "2C4C9", "pinYinChars": [{ "char": "CHUANG1" }], "splitChars": [{ "char": "礻春" }], "weight": 10 }, { "charId": "3ca8a3df", "unicodeChar": "𬘓", "unicodeCodePoint": "2C613", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "纟川" }], "weight": 10 }, { "charId": "40b86fb4", "unicodeChar": "𣏾", "unicodeCodePoint": "233FE", "pinYinChars": [{ "char": "GE1" }], "splitChars": [{ "char": "木戈" }], "weight": 10 }, { "charId": "2a9511ff", "unicodeChar": "𫃻", "unicodeCodePoint": "2B0FB", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "糹容" }], "weight": 10 }, { "charId": "10625797", "unicodeChar": "𣏪", "unicodeCodePoint": "233EA", "pinYinChars": [{ "char": "SHU" }], "splitChars": [{ "char": "木双" }], "weight": 10 }, { "charId": "e4e0400f", "unicodeChar": "𫃥", "unicodeCodePoint": "2B0E5", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "糹足" }], "weight": 10 }, { "charId": "a69971f5", "unicodeChar": "𬖴", "unicodeCodePoint": "2C5B4", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "米祭" }], "weight": 10 }, { "charId": "2221132e", "unicodeChar": "𣐿", "unicodeCodePoint": "2343F", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "木衣" }], "weight": 10 }, { "charId": "2a9fa533", "unicodeChar": "𣔌", "unicodeCodePoint": "2350C", "pinYinChars": [{ "char": "TI" }], "splitChars": [{ "char": "木条" }], "weight": 10 }, { "charId": "f6c1e36c", "unicodeChar": "𬖔", "unicodeCodePoint": "2C594", "pinYinChars": [{ "char": "ZU1" }], "splitChars": [{ "char": "米术" }], "weight": 10 }, { "charId": "baffc347", "unicodeChar": "𣓉", "unicodeCodePoint": "234C9", "pinYinChars": [{ "char": "SHA4" }], "splitChars": [{ "char": "木疌" }], "weight": 10 }, { "charId": "f18ee9f1", "unicodeChar": "𣓃", "unicodeCodePoint": "234C3", "pinYinChars": [{ "char": "NEI4" }], "splitChars": [{ "char": "木芮" }], "weight": 10 }, { "charId": "faaf3340", "unicodeChar": "𫂕", "unicodeCodePoint": "2B095", "pinYinChars": [{ "char": "BEI4" }], "splitChars": [{ "char": "竹倍" }], "weight": 10 }, { "charId": "229ace1a", "unicodeChar": "𣌓", "unicodeCodePoint": "23313", "pinYinChars": [{ "char": "HUAN1" }], "splitChars": [{ "char": "日雚" }], "weight": 10 }, { "charId": "df427b6e", "unicodeChar": "𫂇", "unicodeCodePoint": "2B087", "pinYinChars": [{ "char": "DI1" }], "splitChars": [{ "char": "竹的" }], "weight": 10 }, { "charId": "28ba7a62", "unicodeChar": "𣋄", "unicodeCodePoint": "232C4", "pinYinChars": [{ "char": "TUN1" }], "splitChars": [{ "char": "昔享" }], "weight": 10 }, { "charId": "2fda6c1a", "unicodeChar": "𬕅", "unicodeCodePoint": "2C545", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "竹位" }], "weight": 10 }, { "charId": "6c62d4c5", "unicodeChar": "𣎴", "unicodeCodePoint": "233B4", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "一个" }], "weight": 10 }, { "charId": "2ad809e1", "unicodeChar": "𫀷", "unicodeCodePoint": "2B037", "pinYinChars": [{ "char": "REN3" }], "splitChars": [{ "char": "禾忍" }], "weight": 10 }, { "charId": "c551064c", "unicodeChar": "𣐯", "unicodeCodePoint": "2342F", "pinYinChars": [{ "char": "CHONG2" }], "splitChars": [{ "char": "出木" }], "weight": 10 }, { "charId": "8199b361", "unicodeChar": "𬔴", "unicodeCodePoint": "2C534", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "竹未" }], "weight": 10 }, { "charId": "96aeaa88", "unicodeChar": "𣐎", "unicodeCodePoint": "2340E", "pinYinChars": [{ "char": "WA3" }], "splitChars": [{ "char": "木瓦" }], "weight": 10 }, { "charId": "02187ef4", "unicodeChar": "𣐋", "unicodeCodePoint": "2340B", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "木戉" }], "weight": 10 }, { "charId": "3c0b0672", "unicodeChar": "𣐅", "unicodeCodePoint": "23405", "pinYinChars": [{ "char": "REN4" }], "splitChars": [{ "char": "木壬" }], "weight": 10 }, { "charId": "3cdfff75", "unicodeChar": "𫂡", "unicodeCodePoint": "2B0A1", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "竹棘" }], "weight": 10 }, { "charId": "17193775", "unicodeChar": "𫅧", "unicodeCodePoint": "2B167", "pinYinChars": [{ "char": "XIANG2" }], "splitChars": [{ "char": "羽羊" }], "weight": 10 }, { "charId": "2a47d6d7", "unicodeChar": "𫅦", "unicodeCodePoint": "2B166", "pinYinChars": [{ "char": "XIANG2" }], "splitChars": [{ "char": "屰羽" }], "weight": 10 }, { "charId": "d2a30a49", "unicodeChar": "𫄻", "unicodeCodePoint": "2B13B", "pinYinChars": [{ "char": "DUI4" }], "splitChars": [{ "char": "缶隹" }], "weight": 10 }, { "charId": "b19fbe8e", "unicodeChar": "𫄷", "unicodeCodePoint": "2B137", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "纟意" }], "weight": 10 }, { "charId": "169be139", "unicodeChar": "𣔯", "unicodeCodePoint": "2352F", "pinYinChars": [{ "char": "ZHU3" }], "splitChars": [{ "char": "木雨" }], "weight": 10 }, { "charId": "953c287e", "unicodeChar": "𬘱", "unicodeCodePoint": "2C631", "pinYinChars": [{ "char": "YAO1" }], "splitChars": [{ "char": "纟要" }], "weight": 10 }, { "charId": "670030de", "unicodeChar": "𣝡", "unicodeCodePoint": "23761", "pinYinChars": [{ "char": "YANG3" }], "splitChars": [{ "char": "木養" }], "weight": 10 }, { "charId": "332b8d7f", "unicodeChar": "𣜯", "unicodeCodePoint": "2372F", "pinYinChars": [{ "char": "XU" }], "splitChars": [{ "char": "木萱" }], "weight": 10 }, { "charId": "c767a21a", "unicodeChar": "𫄨", "unicodeCodePoint": "2B128", "pinYinChars": [{ "char": "CHI1" }], "splitChars": [{ "char": "纟希" }], "weight": 10 }, { "charId": "0c1a8f93", "unicodeChar": "𫄧", "unicodeCodePoint": "2B127", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "纟延" }], "weight": 10 }, { "charId": "b7e05d52", "unicodeChar": "𣚺", "unicodeCodePoint": "236BA", "pinYinChars": [{ "char": "XIANG4" }], "splitChars": [{ "char": "未母" }], "weight": 10 }, { "charId": "c8af1cdf", "unicodeChar": "𬘩", "unicodeCodePoint": "2C629", "pinYinChars": [{ "char": "TING1" }], "splitChars": [{ "char": "纟廷" }], "weight": 10 }, { "charId": "71f854c4", "unicodeChar": "𣒖", "unicodeCodePoint": "23496", "pinYinChars": [{ "char": "KE4" }], "splitChars": [{ "char": "木克" }], "weight": 10 }, { "charId": "f3adce28", "unicodeChar": "𬘨", "unicodeCodePoint": "2C628", "pinYinChars": [{ "char": "ZHI1" }], "splitChars": [{ "char": "纟志" }], "weight": 10 }, { "charId": "f265f52b", "unicodeChar": "𣑬", "unicodeCodePoint": "2346C", "pinYinChars": [{ "char": "ZAO3" }], "splitChars": [{ "char": "木早" }], "weight": 10 }, { "charId": "80752b0d", "unicodeChar": "𬘟", "unicodeCodePoint": "2C61F", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "纟西" }], "weight": 10 }, { "charId": "37e09f3b", "unicodeChar": "𣘚", "unicodeCodePoint": "2361A", "pinYinChars": [{ "char": "SHUAI4" }], "splitChars": [{ "char": "木率" }], "weight": 10 }, { "charId": "77fb7488", "unicodeChar": "𣘎", "unicodeCodePoint": "2360E", "pinYinChars": [{ "char": "QI" }], "splitChars": [{ "char": "木羌" }], "weight": 10 }, { "charId": "b418c7ef", "unicodeChar": "𣗼", "unicodeCodePoint": "235FC", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "木員" }], "weight": 10 }, { "charId": "af0d120b", "unicodeChar": "𣗹", "unicodeCodePoint": "235F9", "pinYinChars": [{ "char": "YANG4" }], "splitChars": [{ "char": "木恙" }], "weight": 10 }, { "charId": "ed9e7382", "unicodeChar": "𮉡", "unicodeCodePoint": "2E261", "pinYinChars": [{ "char": "LU1" }], "splitChars": [{ "char": "纟卢" }], "weight": 10 }, { "charId": "f9eba5c0", "unicodeChar": "𣖮", "unicodeCodePoint": "235AE", "pinYinChars": [{ "char": "ANG4" }], "splitChars": [{ "char": "木盎" }], "weight": 10 }, { "charId": "7d164d9b", "unicodeChar": "𫈄", "unicodeCodePoint": "2B204", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "艹似" }], "weight": 10 }, { "charId": "7b2b566e", "unicodeChar": "𣢹", "unicodeCodePoint": "238B9", "pinYinChars": [{ "char": "QIAN4" }], "splitChars": [{ "char": "耒欠" }], "weight": 10 }, { "charId": "b92d0e0f", "unicodeChar": "𫇱", "unicodeCodePoint": "2B1F1", "pinYinChars": [{ "char": "ZI3" }], "splitChars": [{ "char": "艹仔" }], "weight": 10 }, { "charId": "6c432180", "unicodeChar": "𬜦", "unicodeCodePoint": "2C726", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "艹卉" }], "weight": 10 }, { "charId": "5c58154f", "unicodeChar": "𬜢", "unicodeCodePoint": "2C722", "pinYinChars": [{ "char": "JIU3" }], "splitChars": [{ "char": "艹久" }], "weight": 10 }, { "charId": "e7293124", "unicodeChar": "𬜡", "unicodeCodePoint": "2C721", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "艹山" }], "weight": 10 }, { "charId": "8cfedfd0", "unicodeChar": "𫆣", "unicodeCodePoint": "2B1A3", "pinYinChars": [{ "char": "GU4" }], "splitChars": [{ "char": "月固" }], "weight": 10 }, { "charId": "6401db77", "unicodeChar": "𬚟", "unicodeCodePoint": "2C69F", "pinYinChars": [{ "char": "YA3" }], "splitChars": [{ "char": "耳隹" }], "weight": 10 }, { "charId": "11353011", "unicodeChar": "𫆅", "unicodeCodePoint": "2B185", "pinYinChars": [{ "char": "SHENG4" }], "splitChars": [{ "char": "耳呈" }], "weight": 10 }, { "charId": "4e86caab", "unicodeChar": "𢏫", "unicodeCodePoint": "223EB", "pinYinChars": [{ "char": "TAO1" }], "splitChars": [{ "char": "弓支" }], "weight": 10 }, { "charId": "ec9c2253", "unicodeChar": "𢏤", "unicodeCodePoint": "223E4", "pinYinChars": [{ "char": "XUN4" }], "splitChars": [{ "char": "弓夋" }], "weight": 10 }, { "charId": "5f19643b", "unicodeChar": "𢎪", "unicodeCodePoint": "223AA", "pinYinChars": [{ "char": "DAN4" }], "splitChars": [{ "char": "弓几" }], "weight": 10 }, { "charId": "12d3743b", "unicodeChar": "𢎘", "unicodeCodePoint": "22398", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "乙乙" }], "weight": 10 }, { "charId": "20596b72", "unicodeChar": "𢍂", "unicodeCodePoint": "22342", "pinYinChars": [{ "char": "BI2" }], "splitChars": [{ "char": "自廾" }], "weight": 10 }, { "charId": "ec94d0a1", "unicodeChar": "𢌜", "unicodeCodePoint": "2231C", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "廴手" }], "weight": 10 }, { "charId": "7c0b4272", "unicodeChar": "𢌚", "unicodeCodePoint": "2231A", "pinYinChars": [{ "char": "CHAN1" }], "splitChars": [{ "char": "廴山" }], "weight": 10 }, { "charId": "19f4ba1b", "unicodeChar": "𢋄", "unicodeCodePoint": "222C4", "pinYinChars": [{ "char": "JUAN3" }], "splitChars": [{ "char": "广雋" }], "weight": 10 }, { "charId": "fa081e11", "unicodeChar": "𬊸", "unicodeCodePoint": "2C2B8", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "火昱" }], "weight": 10 }, { "charId": "c6c858a3", "unicodeChar": "𢒰", "unicodeCodePoint": "224B0", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "有或" }], "weight": 10 }, { "charId": "22999c40", "unicodeChar": "𢈚", "unicodeCodePoint": "2221A", "pinYinChars": [{ "char": "LV3" }], "splitChars": [{ "char": "广吕" }], "weight": 10 }, { "charId": "c1ca93b6", "unicodeChar": "𢈇", "unicodeCodePoint": "22207", "pinYinChars": [{ "char": "SHEN3" }], "splitChars": [{ "char": "广先" }], "weight": 10 }, { "charId": "8c0aaa4a", "unicodeChar": "𢆶", "unicodeCodePoint": "221B6", "pinYinChars": [{ "char": "YOU1" }], "splitChars": [{ "char": "幺幺" }], "weight": 10 }, { "charId": "da14aab0", "unicodeChar": "𢄏", "unicodeCodePoint": "2210F", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "宀巾" }], "weight": 10 }, { "charId": "ff099da9", "unicodeChar": "𢊯", "unicodeCodePoint": "222AF", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "广爲" }], "weight": 10 }, { "charId": "4c1ea390", "unicodeChar": "𢉦", "unicodeCodePoint": "22266", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "广軍" }], "weight": 10 }, { "charId": "b711f736", "unicodeChar": "𢈻", "unicodeCodePoint": "2223B", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "广疌" }], "weight": 10 }, { "charId": "3d249ce8", "unicodeChar": "𬍒", "unicodeCodePoint": "2C352", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "王云" }], "weight": 10 }, { "charId": "14104119", "unicodeChar": "𢙇", "unicodeCodePoint": "22647", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "忄衣" }], "weight": 10 }, { "charId": "5e9b0edf", "unicodeChar": "𢙅", "unicodeCodePoint": "22645", "pinYinChars": [{ "char": "XI2" }], "splitChars": [{ "char": "合心" }], "weight": 10 }, { "charId": "7baa5a17", "unicodeChar": "𢘝", "unicodeCodePoint": "2261D", "pinYinChars": [{ "char": "NI3" }], "splitChars": [{ "char": "忄尔" }], "weight": 10 }, { "charId": "75f80b3b", "unicodeChar": "𢘅", "unicodeCodePoint": "22605", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "矛心" }], "weight": 10 }, { "charId": "a7332cd7", "unicodeChar": "𪻛", "unicodeCodePoint": "2AEDB", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "王同" }], "weight": 10 }, { "charId": "6994940f", "unicodeChar": "𪻘", "unicodeCodePoint": "2AED8", "pinYinChars": [{ "char": "GEN4" }], "splitChars": [{ "char": "王亘" }], "weight": 10 }, { "charId": "63edc3c8", "unicodeChar": "𢗨", "unicodeCodePoint": "225E8", "pinYinChars": [{ "char": "DUAN3" }], "splitChars": [{ "char": "水心" }], "weight": 10 }, { "charId": "0bb4cf7e", "unicodeChar": "𬍬", "unicodeCodePoint": "2C36C", "pinYinChars": [{ "char": "XING4" }], "splitChars": [{ "char": "王幸" }], "weight": 10 }, { "charId": "bb62b7e2", "unicodeChar": "𢗦", "unicodeCodePoint": "225E6", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "木心" }], "weight": 10 }, { "charId": "98ad7662", "unicodeChar": "𬍫", "unicodeCodePoint": "2C36B", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "王疌" }], "weight": 10 }, { "charId": "f86a380f", "unicodeChar": "𢗝", "unicodeCodePoint": "225DD", "pinYinChars": [{ "char": "HENG2" }], "splitChars": [{ "char": "忄互" }], "weight": 10 }, { "charId": "c84d6c3a", "unicodeChar": "𪻧", "unicodeCodePoint": "2AEE7", "pinYinChars": [{ "char": "MU4" }], "splitChars": [{ "char": "王坴" }], "weight": 10 }, { "charId": "4c429bbb", "unicodeChar": "𪻦", "unicodeCodePoint": "2AEE6", "pinYinChars": [{ "char": "NAI4" }], "splitChars": [{ "char": "王奈" }], "weight": 10 }, { "charId": "82e5e7ae", "unicodeChar": "𢖵", "unicodeCodePoint": "225B5", "pinYinChars": [{ "char": "RU4" }], "splitChars": [{ "char": "忄女" }], "weight": 10 }, { "charId": "7a1c1886", "unicodeChar": "𢖳", "unicodeCodePoint": "225B3", "pinYinChars": [{ "char": "XU1" }], "splitChars": [{ "char": "忄于" }], "weight": 10 }, { "charId": "2bf71963", "unicodeChar": "𢚁", "unicodeCodePoint": "22681", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "忄忌" }], "weight": 10 }, { "charId": "4473318b", "unicodeChar": "𢚀", "unicodeCodePoint": "22680", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "忄延" }], "weight": 10 }, { "charId": "428db1db", "unicodeChar": "𢕻", "unicodeCodePoint": "2257B", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "彳詹" }], "weight": 10 }, { "charId": "ebd9bb33", "unicodeChar": "𢔪", "unicodeCodePoint": "2252A", "pinYinChars": [{ "char": "ZHU1" }], "splitChars": [{ "char": "彳者" }], "weight": 10 }, { "charId": "66043034", "unicodeChar": "𢓵", "unicodeCodePoint": "224F5", "pinYinChars": [{ "char": "XIU4" }], "splitChars": [{ "char": "彳秀" }], "weight": 10 }, { "charId": "368e87c0", "unicodeChar": "𢓱", "unicodeCodePoint": "224F1", "pinYinChars": [{ "char": "FENG1" }], "splitChars": [{ "char": "彳夆" }], "weight": 10 }, { "charId": "ba5467f5", "unicodeChar": "𢓰", "unicodeCodePoint": "224F0", "pinYinChars": [{ "char": "TUO3" }], "splitChars": [{ "char": "彳妥" }], "weight": 10 }, { "charId": "19bb8fae", "unicodeChar": "𢎎", "unicodeCodePoint": "2238E", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "厶式" }], "weight": 10 }, { "charId": "71ce3984", "unicodeChar": "𪹯", "unicodeCodePoint": "2AE6F", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "火集" }], "weight": 10 }, { "charId": "bbed61e2", "unicodeChar": "𢓨", "unicodeCodePoint": "224E8", "pinYinChars": [{ "char": "YE4" }], "splitChars": [{ "char": "彳因" }], "weight": 10 }, { "charId": "f087fbd0", "unicodeChar": "𢓥", "unicodeCodePoint": "224E5", "pinYinChars": [{ "char": "HUANG3" }], "splitChars": [{ "char": "彳光" }], "weight": 10 }, { "charId": "ff449199", "unicodeChar": "𢓕", "unicodeCodePoint": "224D5", "pinYinChars": [{ "char": "YIN2" }], "splitChars": [{ "char": "彳占" }], "weight": 10 }, { "charId": "419e6630", "unicodeChar": "𢓆", "unicodeCodePoint": "224C6", "pinYinChars": [{ "char": "WAN2" }], "splitChars": [{ "char": "彳元" }], "weight": 10 }, { "charId": "69a0b1f8", "unicodeChar": "𪻕", "unicodeCodePoint": "2AED5", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "王古" }], "weight": 10 }, { "charId": "a8b4ef1b", "unicodeChar": "𪻓", "unicodeCodePoint": "2AED3", "pinYinChars": [{ "char": "HUO3" }], "splitChars": [{ "char": "王火" }], "weight": 10 }, { "charId": "abdc3284", "unicodeChar": "𪻎", "unicodeCodePoint": "2AECE", "pinYinChars": [{ "char": "JUN2" }], "splitChars": [{ "char": "王匀" }], "weight": 10 }, { "charId": "42772831", "unicodeChar": "𢖠", "unicodeCodePoint": "225A0", "pinYinChars": [{ "char": "YING1" }], "splitChars": [{ "char": "彳嬰" }], "weight": 10 }, { "charId": "d0f90cbe", "unicodeChar": "𢖝", "unicodeCodePoint": "2259D", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "彳韭" }], "weight": 10 }, { "charId": "26432991", "unicodeChar": "𢖏", "unicodeCodePoint": "2258F", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "彳賣" }], "weight": 10 }, { "charId": "171e448b", "unicodeChar": "𢦤", "unicodeCodePoint": "229A4", "pinYinChars": [{ "char": "ZANG1" }], "splitChars": [{ "char": "片戈" }], "weight": 10 }, { "charId": "1e1c4237", "unicodeChar": "𪻳", "unicodeCodePoint": "2AEF3", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "王南" }], "weight": 10 }, { "charId": "8efc70df", "unicodeChar": "𢥘", "unicodeCodePoint": "22958", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "忄冏(巂)" }], "weight": 10 }, { "charId": "8be4d031", "unicodeChar": "𢥏", "unicodeCodePoint": "2294F", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "忄營" }], "weight": 10 }, { "charId": "43c3d797", "unicodeChar": "𪻱", "unicodeCodePoint": "2AEF1", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "王函" }], "weight": 10 }, { "charId": "ea7a9aa8", "unicodeChar": "𢤲", "unicodeCodePoint": "22932", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "龍心" }], "weight": 10 }, { "charId": "84887a51", "unicodeChar": "𪻬", "unicodeCodePoint": "2AEEC", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "王岳" }], "weight": 10 }, { "charId": "b7a2d4fd", "unicodeChar": "𢣤", "unicodeCodePoint": "228E4", "pinYinChars": [{ "char": "CHUANG2" }], "splitChars": [{ "char": "忄熏" }], "weight": 10 }, { "charId": "57d1f714", "unicodeChar": "𢣐", "unicodeCodePoint": "228D0", "pinYinChars": [{ "char": "BIN1" }], "splitChars": [{ "char": "忄賓" }], "weight": 10 }, { "charId": "fa37c668", "unicodeChar": "𪼄", "unicodeCodePoint": "2AF04", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "王袁" }], "weight": 10 }, { "charId": "97d8b461", "unicodeChar": "𢡁", "unicodeCodePoint": "22841", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "忄羽(翕)" }], "weight": 10 }, { "charId": "168097e1", "unicodeChar": "𬎌", "unicodeCodePoint": "2C38C", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "王雲" }], "weight": 10 }, { "charId": "223bc65c", "unicodeChar": "𪼕", "unicodeCodePoint": "2AF15", "pinYinChars": [{ "char": "ZU2" }], "splitChars": [{ "char": "王族" }], "weight": 10 }, { "charId": "673cd07d", "unicodeChar": "𭹰", "unicodeCodePoint": "2DE70", "pinYinChars": [{ "char": "QU2" }], "splitChars": [{ "char": "王處" }], "weight": 10 }, { "charId": "f2e62a16", "unicodeChar": "𢠘", "unicodeCodePoint": "22818", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "林(夕)心" }], "weight": 10 }, { "charId": "10cdabe0", "unicodeChar": "𪼑", "unicodeCodePoint": "2AF11", "pinYinChars": [{ "char": "JIAN1" }], "splitChars": [{ "char": "王堅" }], "weight": 10 }, { "charId": "7bb7a5e7", "unicodeChar": "𬎅", "unicodeCodePoint": "2C385", "pinYinChars": [{ "char": "XUE3" }], "splitChars": [{ "char": "王雪" }], "weight": 10 }, { "charId": "b3266425", "unicodeChar": "𪼐", "unicodeCodePoint": "2AF10", "pinYinChars": [{ "char": "SHUANG3" }], "splitChars": [{ "char": "王爽" }], "weight": 10 }, { "charId": "2b43dc64", "unicodeChar": "𢝜", "unicodeCodePoint": "2275C", "pinYinChars": [{ "char": "TING3" }], "splitChars": [{ "char": "忄亭" }], "weight": 10 }, { "charId": "2b56e679", "unicodeChar": "𬍣", "unicodeCodePoint": "2C363", "pinYinChars": [{ "char": "RU2" }], "splitChars": [{ "char": "王如" }], "weight": 10 }, { "charId": "2f45c4ba", "unicodeChar": "𢝆", "unicodeCodePoint": "22746", "pinYinChars": [{ "char": "ZHONG4" }], "splitChars": [{ "char": "忄重" }], "weight": 10 }, { "charId": "3fe5bf23", "unicodeChar": "𢝁", "unicodeCodePoint": "22741", "pinYinChars": [{ "char": "HONG1" }], "splitChars": [{ "char": "忄言" }], "weight": 10 }, { "charId": "378070c8", "unicodeChar": "𢜽", "unicodeCodePoint": "2273D", "pinYinChars": [{ "char": "KUI2" }], "splitChars": [{ "char": "忄癸" }], "weight": 10 }, { "charId": "6e7d06c9", "unicodeChar": "𬍠", "unicodeCodePoint": "2C360", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "王衣" }], "weight": 10 }, { "charId": "13d1e9b7", "unicodeChar": "𢜱", "unicodeCodePoint": "22731", "pinYinChars": [{ "char": "QI4" }], "splitChars": [{ "char": "忄耳" }], "weight": 10 }, { "charId": "85920848", "unicodeChar": "𢜛", "unicodeCodePoint": "2271B", "pinYinChars": [{ "char": "XIN1" }], "splitChars": [{ "char": "欣心" }], "weight": 10 }, { "charId": "4f652721", "unicodeChar": "𪻪", "unicodeCodePoint": "2AEEA", "pinYinChars": [{ "char": "MING2" }], "splitChars": [{ "char": "王明" }], "weight": 10 }, { "charId": "d1feb714", "unicodeChar": "𪼃", "unicodeCodePoint": "2AF03", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "王泰" }], "weight": 10 }, { "charId": "102285c0", "unicodeChar": "𪻿", "unicodeCodePoint": "2AEFF", "pinYinChars": [{ "char": "DU4" }], "splitChars": [{ "char": "王度" }], "weight": 10 }, { "charId": "275c118a", "unicodeChar": "𢛵", "unicodeCodePoint": "226F5", "pinYinChars": [{ "char": "ZANG2" }], "splitChars": [{ "char": "忄争" }], "weight": 10 }, { "charId": "de7ad002", "unicodeChar": "𪻾", "unicodeCodePoint": "2AEFE", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "王彦" }], "weight": 10 }, { "charId": "f6db47ea", "unicodeChar": "𢛔", "unicodeCodePoint": "226D4", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "忄東" }], "weight": 10 }, { "charId": "13e842dd", "unicodeChar": "𢚢", "unicodeCodePoint": "226A2", "pinYinChars": [{ "char": "GAI3" }], "splitChars": [{ "char": "改心" }], "weight": 10 }, { "charId": "9858e0c4", "unicodeChar": "𪻷", "unicodeCodePoint": "2AEF7", "pinYinChars": [{ "char": "RUO4" }], "splitChars": [{ "char": "王若" }], "weight": 10 }, { "charId": "1a929807", "unicodeChar": "𬍴", "unicodeCodePoint": "2C374", "pinYinChars": [{ "char": "ZOU4" }], "splitChars": [{ "char": "王奏" }], "weight": 10 }, { "charId": "377105fe", "unicodeChar": "𪼥", "unicodeCodePoint": "2AF25", "pinYinChars": [{ "char": "LIAN2" }], "splitChars": [{ "char": "王廉" }], "weight": 10 }, { "charId": "d02f632e", "unicodeChar": "𪼤", "unicodeCodePoint": "2AF24", "pinYinChars": [{ "char": "ZHAN1" }], "splitChars": [{ "char": "王詹" }], "weight": 10 }, { "charId": "47aeb205", "unicodeChar": "𪼣", "unicodeCodePoint": "2AF23", "pinYinChars": [{ "char": "AO4" }], "splitChars": [{ "char": "王奥" }], "weight": 10 }, { "charId": "4fd20bd2", "unicodeChar": "𬎃", "unicodeCodePoint": "2C383", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "王益" }], "weight": 10 }, { "charId": "838fed41", "unicodeChar": "𬍽", "unicodeCodePoint": "2C37D", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "王員" }], "weight": 10 }, { "charId": "072e3b52", "unicodeChar": "𢨮", "unicodeCodePoint": "22A2E", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "户千" }], "weight": 10 }, { "charId": "68f5e46b", "unicodeChar": "𢧇", "unicodeCodePoint": "229C7", "pinYinChars": [{ "char": "SHU2" }], "splitChars": [{ "char": "𢦏八夊" }], "weight": 10 }, { "charId": "c4fe61f6", "unicodeChar": "𢧂", "unicodeCodePoint": "229C2", "pinYinChars": [{ "char": "POU3" }], "splitChars": [{ "char": "咅戈" }], "weight": 10 }, { "charId": "3aafa5f4", "unicodeChar": "𪼬", "unicodeCodePoint": "2AF2C", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "王霖" }], "weight": 10 }, { "charId": "3ee41be6", "unicodeChar": "𤊻", "unicodeCodePoint": "242BB", "pinYinChars": [{ "char": "FOU1" }], "splitChars": [{ "char": "火冒" }], "weight": 10 }, { "charId": "558d77b2", "unicodeChar": "𤊴", "unicodeCodePoint": "242B4", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "火石" }], "weight": 10 }, { "charId": "d7a0aa12", "unicodeChar": "𤈍", "unicodeCodePoint": "2420D", "pinYinChars": [{ "char": "XI" }], "splitChars": [{ "char": "火向" }], "weight": 10 }, { "charId": "8d42ec70", "unicodeChar": "𤌭", "unicodeCodePoint": "2432D", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "火真" }], "weight": 10 }, { "charId": "de00ee24", "unicodeChar": "𤌧", "unicodeCodePoint": "24327", "pinYinChars": [{ "char": "SANG1" }], "splitChars": [{ "char": "火桑" }], "weight": 10 }, { "charId": "8913c2a1", "unicodeChar": "𫐼", "unicodeCodePoint": "2B43C", "pinYinChars": [{ "char": "PANG2" }], "splitChars": [{ "char": "辶旁" }], "weight": 10 }, { "charId": "3c325687", "unicodeChar": "𤐶", "unicodeCodePoint": "24436", "pinYinChars": [{ "char": "HAO2" }], "splitChars": [{ "char": "火豪" }], "weight": 10 }, { "charId": "2907c8f7", "unicodeChar": "𤏻", "unicodeCodePoint": "243FB", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "辛又" }], "weight": 10 }, { "charId": "a3f3ed7e", "unicodeChar": "𤏸", "unicodeCodePoint": "243F8", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "火著" }], "weight": 10 }, { "charId": "4c2ec65e", "unicodeChar": "𤘧", "unicodeCodePoint": "24627", "pinYinChars": [{ "char": "GUI3" }], "splitChars": [{ "char": "牛牛" }], "weight": 10 }, { "charId": "f037ecb0", "unicodeChar": "𤗜", "unicodeCodePoint": "245DC", "pinYinChars": [{ "char": "JIA3" }], "splitChars": [{ "char": "片叚" }], "weight": 10 }, { "charId": "84f618e3", "unicodeChar": "𤔣", "unicodeCodePoint": "24523", "pinYinChars": [{ "char": "BAO4" }], "splitChars": [{ "char": "爪叟" }], "weight": 10 }, { "charId": "2d2b0944", "unicodeChar": "𫑳", "unicodeCodePoint": "2B473", "pinYinChars": [{ "char": "WAN2" }], "splitChars": [{ "char": "酉丸" }], "weight": 10 }, { "charId": "8fff98f8", "unicodeChar": "𤌷", "unicodeCodePoint": "24337", "pinYinChars": [{ "char": "XI4" }], "splitChars": [{ "char": "火心(恚)" }], "weight": 10 }, { "charId": "ff793509", "unicodeChar": "𫑡", "unicodeCodePoint": "2B461", "pinYinChars": [{ "char": "MENG2" }], "splitChars": [{ "char": "黾阝" }], "weight": 10 }, { "charId": "87b34aa9", "unicodeChar": "𤌴", "unicodeCodePoint": "24334", "pinYinChars": [{ "char": "JI" }], "splitChars": [{ "char": "火桀" }], "weight": 10 }, { "charId": "b873746c", "unicodeChar": "𫑟", "unicodeCodePoint": "2B45F", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "言阝" }], "weight": 10 }, { "charId": "d23c0d1e", "unicodeChar": "𫐐", "unicodeCodePoint": "2B410", "pinYinChars": [{ "char": "NI2" }], "splitChars": [{ "char": "车兒" }], "weight": 10 }, { "charId": "23d2516a", "unicodeChar": "𤌙", "unicodeCodePoint": "24319", "pinYinChars": [{ "char": "TA1" }], "splitChars": [{ "char": "火塌𦐇" }], "weight": 10 }, { "charId": "1670c696", "unicodeChar": "𤋙", "unicodeCodePoint": "242D9", "pinYinChars": [{ "char": "MIAO2" }], "splitChars": [{ "char": "火苗" }], "weight": 10 }, { "charId": "301be90c", "unicodeChar": "𤎥", "unicodeCodePoint": "243A5", "pinYinChars": [{ "char": "TAN3" }], "splitChars": [{ "char": "帛炎" }], "weight": 10 }, { "charId": "84729ef3", "unicodeChar": "𤍓", "unicodeCodePoint": "24353", "pinYinChars": [{ "char": "SHU4" }], "splitChars": [{ "char": "野火" }], "weight": 10 }, { "charId": "84a4b23f", "unicodeChar": "𫐣", "unicodeCodePoint": "2B423", "pinYinChars": [{ "char": "BING3" }], "splitChars": [{ "char": "辶丙" }], "weight": 10 }, { "charId": "315a4ced", "unicodeChar": "㐷", "unicodeCodePoint": "3437", "pinYinChars": [{ "char": "MA4" }], "splitChars": [{ "char": "亻马" }], "weight": 10 }, { "charId": "70451245", "unicodeChar": "𤣰", "unicodeCodePoint": "248F0", "pinYinChars": [{ "char": "BU3" }], "splitChars": [{ "char": "王土" }], "weight": 10 }, { "charId": "ba674aba", "unicodeChar": "𬬹", "unicodeCodePoint": "2CB39", "pinYinChars": [{ "char": "SHEN2" }], "splitChars": [{ "char": "钅申" }], "weight": 10 }, { "charId": "4468bacb", "unicodeChar": "㐸", "unicodeCodePoint": "3438", "pinYinChars": [{ "char": "CI4" }], "splitChars": [{ "char": "亻欠" }], "weight": 10 }, { "charId": "b3ccb855", "unicodeChar": "㐨", "unicodeCodePoint": "3428", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "予予" }], "weight": 10 }, { "charId": "5f09b2dc", "unicodeChar": "𬬵", "unicodeCodePoint": "2CB35", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "钅冘" }], "weight": 10 }, { "charId": "48752227", "unicodeChar": "𤞶", "unicodeCodePoint": "247B6", "pinYinChars": [{ "char": "HAN1" }], "splitChars": [{ "char": "犭罕" }], "weight": 10 }, { "charId": "4932bdfd", "unicodeChar": "𬬭", "unicodeCodePoint": "2CB2D", "pinYinChars": [{ "char": "LUN2" }], "splitChars": [{ "char": "钅仑" }], "weight": 10 }, { "charId": "9ed44dd3", "unicodeChar": "㐅", "unicodeCodePoint": "3405", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "丿丶" }], "weight": 10 }, { "charId": "0a4d7fcb", "unicodeChar": "𤤥", "unicodeCodePoint": "24925", "pinYinChars": [{ "char": "TI" }], "splitChars": [{ "char": "王失" }], "weight": 10 }, { "charId": "6ede676c", "unicodeChar": "𬫯", "unicodeCodePoint": "2CAEF", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "金茂" }], "weight": 10 }, { "charId": "108c838b", "unicodeChar": "𫒩", "unicodeCodePoint": "2B4A9", "pinYinChars": [{ "char": "BANG3" }], "splitChars": [{ "char": "金奉" }], "weight": 10 }, { "charId": "8467e965", "unicodeChar": "𤥢", "unicodeCodePoint": "24962", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "王告" }], "weight": 10 }, { "charId": "f9266de0", "unicodeChar": "𤥒", "unicodeCodePoint": "24952", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "王西" }], "weight": 10 }, { "charId": "a372f1c7", "unicodeChar": "𬬩", "unicodeCodePoint": "2CB29", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "钅弋" }], "weight": 10 }, { "charId": "7758f333", "unicodeChar": "𤥇", "unicodeCodePoint": "24947", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "王至" }], "weight": 10 }, { "charId": "d2bfccc8", "unicodeChar": "㑎", "unicodeCodePoint": "344E", "pinYinChars": [{ "char": "NAO3" }], "splitChars": [{ "char": "亻山" }], "weight": 10 }, { "charId": "03ade7f3", "unicodeChar": "㐾", "unicodeCodePoint": "343E", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "亻元" }], "weight": 10 }, { "charId": "bb987d1b", "unicodeChar": "𤣹", "unicodeCodePoint": "248F9", "pinYinChars": [{ "char": "FA3" }], "splitChars": [{ "char": "王尹" }], "weight": 10 }, { "charId": "a177f783", "unicodeChar": "𬬻", "unicodeCodePoint": "2CB3B", "pinYinChars": [{ "char": "LU2" }], "splitChars": [{ "char": "钅卢" }], "weight": 10 }, { "charId": "d2314db6", "unicodeChar": "𤞞", "unicodeCodePoint": "2479E", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "犭谷" }], "weight": 10 }, { "charId": "7e7d6bba", "unicodeChar": "𤝲", "unicodeCodePoint": "24772", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "犭吴" }], "weight": 10 }, { "charId": "be317725", "unicodeChar": "𤛱", "unicodeCodePoint": "246F1", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "臼牛" }], "weight": 10 }, { "charId": "131cba72", "unicodeChar": "𤤛", "unicodeCodePoint": "2491B", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "王主" }], "weight": 10 }, { "charId": "cc4e4b4c", "unicodeChar": "𫒞", "unicodeCodePoint": "2B49E", "pinYinChars": [{ "char": "JIE4" }], "splitChars": [{ "char": "金戒" }], "weight": 10 }, { "charId": "abea88bd", "unicodeChar": "𤤌", "unicodeCodePoint": "2490C", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "王冗" }], "weight": 10 }, { "charId": "76136498", "unicodeChar": "𫒝", "unicodeCodePoint": "2B49D", "pinYinChars": [{ "char": "GENG1" }], "splitChars": [{ "char": "金更" }], "weight": 10 }, { "charId": "368657ff", "unicodeChar": "𤤄", "unicodeCodePoint": "24904", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "王殳" }], "weight": 10 }, { "charId": "ba9cdb1e", "unicodeChar": "𤤂", "unicodeCodePoint": "24902", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "王予" }], "weight": 10 }, { "charId": "c4bce773", "unicodeChar": "𤔅", "unicodeCodePoint": "24505", "pinYinChars": [{ "char": "DI" }], "splitChars": [{ "char": "爪失" }], "weight": 10 }, { "charId": "db0e147b", "unicodeChar": "𬬔", "unicodeCodePoint": "2CB14", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "金疑" }], "weight": 10 }, { "charId": "080aea3f", "unicodeChar": "𫓔", "unicodeCodePoint": "2B4D4", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "金義" }], "weight": 10 }, { "charId": "eca34e9f", "unicodeChar": "𫓐", "unicodeCodePoint": "2B4D0", "pinYinChars": [{ "char": "LI3" }], "splitChars": [{ "char": "金豊(豆)" }], "weight": 10 }, { "charId": "8fb71ebf", "unicodeChar": "㙞", "unicodeCodePoint": "365E", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "土臬" }], "weight": 10 }, { "charId": "5331e9ca", "unicodeChar": "𬭝", "unicodeCodePoint": "2CB5D", "pinYinChars": [{ "char": "SAN3" }], "splitChars": [{ "char": "钅参" }], "weight": 10 }, { "charId": "db09dfed", "unicodeChar": "㙍", "unicodeCodePoint": "364D", "pinYinChars": [{ "char": "DUO1" }], "splitChars": [{ "char": "土叕" }], "weight": 10 }, { "charId": "02d8433f", "unicodeChar": "𬭛", "unicodeCodePoint": "2CB5B", "pinYinChars": [{ "char": "BO1" }], "splitChars": [{ "char": "钅波" }], "weight": 10 }, { "charId": "72b58059", "unicodeChar": "㙘", "unicodeCodePoint": "3658", "pinYinChars": [{ "char": "YAO1" }], "splitChars": [{ "char": "土要" }], "weight": 10 }, { "charId": "1d454d7c", "unicodeChar": "𤦃", "unicodeCodePoint": "24983", "pinYinChars": [{ "char": "LAI2" }], "splitChars": [{ "char": "來玉" }], "weight": 10 }, { "charId": "60376967", "unicodeChar": "𤥿", "unicodeCodePoint": "2497F", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "王夜" }], "weight": 10 }, { "charId": "b6c786c6", "unicodeChar": "𤨖", "unicodeCodePoint": "24A16", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "王邑" }], "weight": 10 }, { "charId": "e84cc369", "unicodeChar": "𬭓", "unicodeCodePoint": "2CB53", "pinYinChars": [{ "char": "TIAN3" }], "splitChars": [{ "char": "钅典" }], "weight": 10 }, { "charId": "283f173b", "unicodeChar": "㘰", "unicodeCodePoint": "3630", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [{ "char": "土斗" }], "weight": 10 }, { "charId": "cba2bed7", "unicodeChar": "㗑", "unicodeCodePoint": "35D1", "pinYinChars": [{ "char": "BEI" }], "splitChars": [{ "char": "口拜" }], "weight": 10 }, { "charId": "1560ef85", "unicodeChar": "𤧶", "unicodeCodePoint": "249F6", "pinYinChars": [{ "char": "XIA4" }], "splitChars": [{ "char": "王夏" }], "weight": 10 }, { "charId": "139a8c1a", "unicodeChar": "𫓷", "unicodeCodePoint": "2B4F7", "pinYinChars": [{ "char": "XUAN2" }], "splitChars": [{ "char": "钅疋" }], "weight": 10 }, { "charId": "fde800e1", "unicodeChar": "𤧴", "unicodeCodePoint": "249F4", "pinYinChars": [{ "char": "GONG3" }], "splitChars": [{ "char": "王恭" }], "weight": 10 }, { "charId": "e8cd81cf", "unicodeChar": "𤧥", "unicodeCodePoint": "249E5", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "珀玉" }], "weight": 10 }, { "charId": "127e7677", "unicodeChar": "𤧛", "unicodeCodePoint": "249DB", "pinYinChars": [{ "char": "DI4" }], "splitChars": [{ "char": "王帝" }], "weight": 10 }, { "charId": "1ec35745", "unicodeChar": "㙦", "unicodeCodePoint": "3666", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "斜土" }], "weight": 10 }, { "charId": "c2b26223", "unicodeChar": "㙩", "unicodeCodePoint": "3669", "pinYinChars": [{ "char": "LIAO2" }], "splitChars": [{ "char": "土尞" }], "weight": 10 }, { "charId": "cd90313c", "unicodeChar": "㕊", "unicodeCodePoint": "354A", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "厂甫" }], "weight": 10 }, { "charId": "44a8737c", "unicodeChar": "𬭋", "unicodeCodePoint": "2CB4B", "pinYinChars": [{ "char": "JIE4" }], "splitChars": [{ "char": "钅戒" }], "weight": 10 }, { "charId": "24fc84d0", "unicodeChar": "㕤", "unicodeCodePoint": "3564", "pinYinChars": [{ "char": "QUI2" }], "splitChars": [{ "char": "口九" }], "weight": 10 }, { "charId": "8589bcb7", "unicodeChar": "𤤸", "unicodeCodePoint": "24938", "pinYinChars": [{ "char": "DUO4" }], "splitChars": [{ "char": "王朵" }], "weight": 10 }, { "charId": "e603a027", "unicodeChar": "鿏", "unicodeCodePoint": "9FCF", "pinYinChars": [{ "char": "MAI4" }], "splitChars": [{ "char": "钅麦" }], "weight": 10 }, { "charId": "81a681fe", "unicodeChar": "㕅", "unicodeCodePoint": "3545", "pinYinChars": [{ "char": "JIA2" }], "splitChars": [{ "char": "厂甲" }], "weight": 10 }, { "charId": "0509ff0b", "unicodeChar": "𤤧", "unicodeCodePoint": "24927", "pinYinChars": [{ "char": "YOU2" }], "splitChars": [{ "char": "王由" }], "weight": 10 }, { "charId": "d9ad0f75", "unicodeChar": "𤤦", "unicodeCodePoint": "24926", "pinYinChars": [{ "char": "TIAN2" }], "splitChars": [{ "char": "王田" }], "weight": 10 }, { "charId": "f91b62c6", "unicodeChar": "㓦", "unicodeCodePoint": "34E6", "pinYinChars": [{ "char": "BAI1" }], "splitChars": [{ "char": "百刂" }], "weight": 10 }, { "charId": "3ccb9c1f", "unicodeChar": "𤥴", "unicodeCodePoint": "24974", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "王志" }], "weight": 10 }, { "charId": "9efc15c3", "unicodeChar": "𤥰", "unicodeCodePoint": "24970", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "王皃" }], "weight": 10 }, { "charId": "16792336", "unicodeChar": "𤥨", "unicodeCodePoint": "24968", "pinYinChars": [{ "char": "ZHU" }], "splitChars": [{ "char": "王豕" }], "weight": 10 }, { "charId": "fc26929e", "unicodeChar": "𤦬", "unicodeCodePoint": "249AC", "pinYinChars": [{ "char": "NI" }], "splitChars": [{ "char": "王念" }], "weight": 10 }, { "charId": "6b7e41b4", "unicodeChar": "㑲", "unicodeCodePoint": "3472", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "亻南" }], "weight": 10 }, { "charId": "9e413e9e", "unicodeChar": "㑗", "unicodeCodePoint": "3457", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "亻身" }], "weight": 10 }, { "charId": "bf55cc36", "unicodeChar": "㑚", "unicodeCodePoint": "345A", "pinYinChars": [{ "char": "NUO2" }], "splitChars": [{ "char": "亻那" }], "weight": 10 }, { "charId": "2e9373d9", "unicodeChar": "𤦤", "unicodeCodePoint": "249A4", "pinYinChars": [{ "char": "NI2" }], "splitChars": [{ "char": "王兒" }], "weight": 10 }, { "charId": "0a065d47", "unicodeChar": "𤦎", "unicodeCodePoint": "2498E", "pinYinChars": [{ "char": "LUN2" }], "splitChars": [{ "char": "王侖" }], "weight": 10 }, { "charId": "3ad71770", "unicodeChar": "㗄", "unicodeCodePoint": "35C4", "pinYinChars": [{ "char": "MAN4" }], "splitChars": [{ "char": "口方" }], "weight": 10 }, { "charId": "71fa3852", "unicodeChar": "𫓶", "unicodeCodePoint": "2B4F6", "pinYinChars": [{ "char": "XUAN1" }], "splitChars": [{ "char": "钅肙" }], "weight": 10 }, { "charId": "9dc154aa", "unicodeChar": "㕸", "unicodeCodePoint": "3578", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "口立" }], "weight": 10 }, { "charId": "501ecfc7", "unicodeChar": "㖒", "unicodeCodePoint": "3592", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "口弟" }], "weight": 10 }, { "charId": "5fc3f8da", "unicodeChar": "㜬", "unicodeCodePoint": "372C", "pinYinChars": [{ "char": "ZHAN1" }], "splitChars": [{ "char": "女詹" }], "weight": 10 }, { "charId": "9a45ebcb", "unicodeChar": "𫔻", "unicodeCodePoint": "2B53B", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "阝文" }], "weight": 10 }, { "charId": "a58c5227", "unicodeChar": "㜊", "unicodeCodePoint": "370A", "pinYinChars": [{ "char": "ZHAN3" }], "splitChars": [{ "char": "女展" }], "weight": 10 }, { "charId": "a9770070", "unicodeChar": "㜣", "unicodeCodePoint": "3723", "pinYinChars": [{ "char": "RAN3" }], "splitChars": [{ "char": "女然" }], "weight": 10 }, { "charId": "4c995a74", "unicodeChar": "㛾", "unicodeCodePoint": "36FE", "pinYinChars": [{ "char": "XIAN2" }], "splitChars": [{ "char": "女咸" }], "weight": 10 }, { "charId": "f2573af4", "unicodeChar": "㜁", "unicodeCodePoint": "3701", "pinYinChars": [{ "char": "ZHA1" }], "splitChars": [{ "char": "女查" }], "weight": 10 }, { "charId": "13d9b2b2", "unicodeChar": "𤨧", "unicodeCodePoint": "24A27", "pinYinChars": [{ "char": "PIAO4" }], "splitChars": [{ "char": "王票" }], "weight": 10 }, { "charId": "d542e144", "unicodeChar": "㛦", "unicodeCodePoint": "36E6", "pinYinChars": [{ "char": "LAN2" }], "splitChars": [{ "char": "女林" }], "weight": 10 }, { "charId": "b7f3f283", "unicodeChar": "𬮇", "unicodeCodePoint": "2CB87", "pinYinChars": [{ "char": "LU1" }], "splitChars": [{ "char": "門犬" }], "weight": 10 }, { "charId": "37288121", "unicodeChar": "㛫", "unicodeCodePoint": "36EB", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "女易" }], "weight": 10 }, { "charId": "0e341def", "unicodeChar": "𤫁", "unicodeCodePoint": "24AC1", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "王螢" }], "weight": 10 }, { "charId": "50050a60", "unicodeChar": "㛡", "unicodeCodePoint": "36E1", "pinYinChars": [{ "char": "WAN2" }], "splitChars": [{ "char": "女完" }], "weight": 10 }, { "charId": "36a31957", "unicodeChar": "𤪼", "unicodeCodePoint": "24ABC", "pinYinChars": [{ "char": "LIAN2" }], "splitChars": [{ "char": "王蓮" }], "weight": 10 }, { "charId": "42390e76", "unicodeChar": "𫔎", "unicodeCodePoint": "2B50E", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "钅矞" }], "weight": 10 }, { "charId": "ebfe587a", "unicodeChar": "㛢", "unicodeCodePoint": "36E2", "pinYinChars": [{ "char": "XIU4" }], "splitChars": [{ "char": "女秀" }], "weight": 10 }, { "charId": "00af8f00", "unicodeChar": "𬭼", "unicodeCodePoint": "2CB7C", "pinYinChars": [{ "char": "SUI4" }], "splitChars": [{ "char": "钅遂" }], "weight": 10 }, { "charId": "c7f417cb", "unicodeChar": "𤪺", "unicodeCodePoint": "24ABA", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "王審" }], "weight": 10 }, { "charId": "bd7bcc6e", "unicodeChar": "𤪤", "unicodeCodePoint": "24AA4", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "王榮" }], "weight": 10 }, { "charId": "aabbaccd", "unicodeChar": "㛚", "unicodeCodePoint": "36DA", "pinYinChars": [{ "char": "TONG3" }], "splitChars": [{ "char": "女甬" }], "weight": 10 }, { "charId": "f144e836", "unicodeChar": "𤪟", "unicodeCodePoint": "24A9F", "pinYinChars": [{ "char": "PU2" }], "splitChars": [{ "char": "王僕" }], "weight": 10 }, { "charId": "bbd5385f", "unicodeChar": "𤪌", "unicodeCodePoint": "24A8C", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "王糸" }], "weight": 10 }, { "charId": "b3dea7ca", "unicodeChar": "㝋", "unicodeCodePoint": "374B", "pinYinChars": [{ "char": "LIAO3" }], "splitChars": [{ "char": "宀了" }], "weight": 10 }, { "charId": "4a16ed6d", "unicodeChar": "㛈", "unicodeCodePoint": "36C8", "pinYinChars": [{ "char": "KAO3" }], "splitChars": [{ "char": "女考" }], "weight": 10 }, { "charId": "f715daf2", "unicodeChar": "㛉", "unicodeCodePoint": "36C9", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "女西" }], "weight": 10 }, { "charId": "2a7721d1", "unicodeChar": "𬭩", "unicodeCodePoint": "2CB69", "pinYinChars": [{ "char": "WENG1" }], "splitChars": [{ "char": "钅翁" }], "weight": 10 }, { "charId": "04ece3df", "unicodeChar": "㛅", "unicodeCodePoint": "36C5", "pinYinChars": [{ "char": "ER4" }], "splitChars": [{ "char": "女耳" }], "weight": 10 }, { "charId": "c6266887", "unicodeChar": "㛄", "unicodeCodePoint": "36C4", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "女衣" }], "weight": 10 }, { "charId": "39663f1e", "unicodeChar": "㚵", "unicodeCodePoint": "36B5", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "女冬" }], "weight": 10 }, { "charId": "ec78e73f", "unicodeChar": "𤦹", "unicodeCodePoint": "249B9", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [{ "char": "王貞" }], "weight": 10 }, { "charId": "4d4469f8", "unicodeChar": "㘵", "unicodeCodePoint": "3635", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "土布" }], "weight": 10 }, { "charId": "3de36186", "unicodeChar": "㚱", "unicodeCodePoint": "36B1", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "女丘" }], "weight": 10 }, { "charId": "01846104", "unicodeChar": "㚴", "unicodeCodePoint": "36B4", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "女布" }], "weight": 10 }, { "charId": "cbf4ec8a", "unicodeChar": "㚬", "unicodeCodePoint": "36AC", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "女匀" }], "weight": 10 }, { "charId": "ef1c0e8a", "unicodeChar": "𤩥", "unicodeCodePoint": "24A65", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "王舜" }], "weight": 10 }, { "charId": "35061cd3", "unicodeChar": "㚰", "unicodeCodePoint": "36B0", "pinYinChars": [{ "char": "PEI1" }], "splitChars": [{ "char": "女丕" }], "weight": 10 }, { "charId": "4ba59e32", "unicodeChar": "𤩢", "unicodeCodePoint": "24A62", "pinYinChars": [{ "char": "GAO1" }], "splitChars": [{ "char": "王十" }], "weight": 10 }, { "charId": "5a17d078", "unicodeChar": "𤩝", "unicodeCodePoint": "24A5D", "pinYinChars": [{ "char": "QI" }], "splitChars": [{ "char": "王喬" }], "weight": 10 }, { "charId": "725495a6", "unicodeChar": "㚥", "unicodeCodePoint": "36A5", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "女于" }], "weight": 10 }, { "charId": "a6d68337", "unicodeChar": "𤩛", "unicodeCodePoint": "24A5B", "pinYinChars": [{ "char": "SUI4" }], "splitChars": [{ "char": "王最" }], "weight": 10 }, { "charId": "4fbf373d", "unicodeChar": "𤩊", "unicodeCodePoint": "24A4A", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "王堯" }], "weight": 10 }, { "charId": "9b94ad56", "unicodeChar": "𤩄", "unicodeCodePoint": "24A44", "pinYinChars": [{ "char": "ZHUAN4" }], "splitChars": [{ "char": "王巽" }], "weight": 10 }, { "charId": "32b03aca", "unicodeChar": "㛓", "unicodeCodePoint": "36D3", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "女希" }], "weight": 10 }, { "charId": "b1139738", "unicodeChar": "㛖", "unicodeCodePoint": "36D6", "pinYinChars": [{ "char": "SUO1" }], "splitChars": [{ "char": "女夋" }], "weight": 10 }, { "charId": "2506967b", "unicodeChar": "㭠", "unicodeCodePoint": "3B60", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "木先" }], "weight": 10 }, { "charId": "aaae2b60", "unicodeChar": "𬱣", "unicodeCodePoint": "2CC63", "pinYinChars": [{ "char": "CEN2" }], "splitChars": [{ "char": "山(岑)页" }], "weight": 10 }, { "charId": "71ac1eb3", "unicodeChar": "㬳", "unicodeCodePoint": "3B33", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "月午" }], "weight": 10 }, { "charId": "d292fefd", "unicodeChar": "㭁", "unicodeCodePoint": "3B41", "pinYinChars": [{ "char": "RENG1" }], "splitChars": [{ "char": "木乃" }], "weight": 10 }, { "charId": "7eda61bb", "unicodeChar": "𤫞", "unicodeCodePoint": "24ADE", "pinYinChars": [{ "char": "TIAN2" }], "splitChars": [{ "char": "王寶(寳)" }], "weight": 10 }, { "charId": "dfff0f1e", "unicodeChar": "㬊", "unicodeCodePoint": "3B0A", "pinYinChars": [{ "char": "HUAN3" }], "splitChars": [{ "char": "日爰" }], "weight": 10 }, { "charId": "ef33c162", "unicodeChar": "𤫉", "unicodeCodePoint": "24AC9", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "王燮" }], "weight": 10 }, { "charId": "8fa02248", "unicodeChar": "㫃", "unicodeCodePoint": "3AC3", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "方人" }], "weight": 10 }, { "charId": "b010f3c6", "unicodeChar": "㩄", "unicodeCodePoint": "3A44", "pinYinChars": [{ "char": "SHAI1" }], "splitChars": [{ "char": "扌思" }], "weight": 10 }, { "charId": "1618dda4", "unicodeChar": "㧥", "unicodeCodePoint": "39E5", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "扌先" }], "weight": 10 }, { "charId": "67078107", "unicodeChar": "㥔", "unicodeCodePoint": "3954", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "忄育" }], "weight": 10 }, { "charId": "e349640a", "unicodeChar": "𫕻", "unicodeCodePoint": "2B57B", "pinYinChars": [{ "char": "QING1" }], "splitChars": [{ "char": "青青" }], "weight": 10 }, { "charId": "12aba12d", "unicodeChar": "𨛍", "unicodeCodePoint": "286CD", "pinYinChars": [{ "char": "SHAO4" }], "splitChars": [{ "char": "肖阝" }], "weight": 10 }, { "charId": "83be24aa", "unicodeChar": "𫕴", "unicodeCodePoint": "2B574", "pinYinChars": [{ "char": "AI3" }], "splitChars": [{ "char": "雨竭" }], "weight": 10 }, { "charId": "b2de90f2", "unicodeChar": "𫕩", "unicodeCodePoint": "2B569", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "雨虹" }], "weight": 10 }, { "charId": "cae35725", "unicodeChar": "㤏", "unicodeCodePoint": "390F", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "忄冬" }], "weight": 10 }, { "charId": "6bd43aa9", "unicodeChar": "㢍", "unicodeCodePoint": "388D", "pinYinChars": [{ "char": "YING3" }], "splitChars": [{ "char": "广英" }], "weight": 10 }, { "charId": "95474864", "unicodeChar": "𬯼", "unicodeCodePoint": "2CBFC", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "雨利" }], "weight": 10 }, { "charId": "744636f5", "unicodeChar": "㢀", "unicodeCodePoint": "3880", "pinYinChars": [{ "char": "CI4" }], "splitChars": [{ "char": "广朿" }], "weight": 10 }, { "charId": "b866998d", "unicodeChar": "𤩼", "unicodeCodePoint": "24A7C", "pinYinChars": [{ "char": "SU" }], "splitChars": [{ "char": "王月(遀)" }], "weight": 10 }, { "charId": "5b030383", "unicodeChar": "𫕠", "unicodeCodePoint": "2B560", "pinYinChars": [{ "char": "BA1" }], "splitChars": [{ "char": "雨巴" }], "weight": 10 }, { "charId": "a0ce305d", "unicodeChar": "㠉", "unicodeCodePoint": "3809", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "山童" }], "weight": 10 }, { "charId": "f1025eee", "unicodeChar": "𤩶", "unicodeCodePoint": "24A76", "pinYinChars": [{ "char": "PU2" }], "splitChars": [{ "char": "王業" }], "weight": 10 }, { "charId": "cdbee1a2", "unicodeChar": "㟤", "unicodeCodePoint": "37E4", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "山录" }], "weight": 10 }, { "charId": "9fc91272", "unicodeChar": "𤩲", "unicodeCodePoint": "24A72", "pinYinChars": [{ "char": "GE2" }], "splitChars": [{ "char": "王葛" }], "weight": 10 }, { "charId": "f63a7e15", "unicodeChar": "𫕛", "unicodeCodePoint": "2B55B", "pinYinChars": [{ "char": "GUA1" }], "splitChars": [{ "char": "舌隹" }], "weight": 10 }, { "charId": "0d216ffa", "unicodeChar": "㟪", "unicodeCodePoint": "37EA", "pinYinChars": [{ "char": "WEI1" }], "splitChars": [{ "char": "山畏" }], "weight": 10 }, { "charId": "7e3ae3c4", "unicodeChar": "𤩱", "unicodeCodePoint": "24A71", "pinYinChars": [{ "char": "DIAN4" }], "splitChars": [{ "char": "殿玉" }], "weight": 10 }, { "charId": "265f91eb", "unicodeChar": "𬉦", "unicodeCodePoint": "2C266", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "氵俞" }], "weight": 10 }, { "charId": "93b166e5", "unicodeChar": "㟏", "unicodeCodePoint": "37CF", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "山含" }], "weight": 10 }, { "charId": "84aa6f34", "unicodeChar": "𤩭", "unicodeCodePoint": "24A6D", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "王號" }], "weight": 10 }, { "charId": "49758563", "unicodeChar": "㟖", "unicodeCodePoint": "37D6", "pinYinChars": [{ "char": "LONG4" }], "splitChars": [{ "char": "山弄" }], "weight": 10 }, { "charId": "9c750514", "unicodeChar": "㟍", "unicodeCodePoint": "37CD", "pinYinChars": [{ "char": "LANG2" }], "splitChars": [{ "char": "山良" }], "weight": 10 }, { "charId": "8257bbe6", "unicodeChar": "𬯀", "unicodeCodePoint": "2CBC0", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "阝齐" }], "weight": 10 }, { "charId": "5a91a187", "unicodeChar": "㞩", "unicodeCodePoint": "37A9", "pinYinChars": [{ "char": "LAN2" }], "splitChars": [{ "char": "山凡" }], "weight": 10 }, { "charId": "be9ae7dc", "unicodeChar": "㵿", "unicodeCodePoint": "3D7F", "pinYinChars": [{ "char": "XIAO4" }], "splitChars": [{ "char": "氵白" }], "weight": 10 }, { "charId": "516caab0", "unicodeChar": "㵘", "unicodeCodePoint": "3D58", "pinYinChars": [{ "char": "MAN4" }], "splitChars": [{ "char": "水水" }], "weight": 10 }, { "charId": "e67a98c4", "unicodeChar": "㴓", "unicodeCodePoint": "3D13", "pinYinChars": [{ "char": "SHAI1" }], "splitChars": [{ "char": "氵思" }], "weight": 10 }, { "charId": "383476b0", "unicodeChar": "㳱", "unicodeCodePoint": "3CF1", "pinYinChars": [{ "char": "YANG2" }], "splitChars": [{ "char": "氵阳" }], "weight": 10 }, { "charId": "135ab1ba", "unicodeChar": "㳯", "unicodeCodePoint": "3CEF", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "氵辛" }], "weight": 10 }, { "charId": "92b94c87", "unicodeChar": "㳋", "unicodeCodePoint": "3CCB", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "氵丘" }], "weight": 10 }, { "charId": "8fdf8107", "unicodeChar": "㳍", "unicodeCodePoint": "3CCD", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "氵布" }], "weight": 10 }, { "charId": "7e13db85", "unicodeChar": "㱔", "unicodeCodePoint": "3C54", "pinYinChars": [{ "char": "XIE1" }], "splitChars": [{ "char": "此夕" }], "weight": 10 }, { "charId": "604b7acd", "unicodeChar": "㯎", "unicodeCodePoint": "3BCE", "pinYinChars": [{ "char": "NEN4" }], "splitChars": [{ "char": "林言" }], "weight": 10 }, { "charId": "35f1728a", "unicodeChar": "㯝", "unicodeCodePoint": "3BDD", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "木路" }], "weight": 10 }, { "charId": "cead8e5d", "unicodeChar": "㯌", "unicodeCodePoint": "3BCC", "pinYinChars": [{ "char": "CHUAN2" }], "splitChars": [{ "char": "木逐" }], "weight": 10 }, { "charId": "cd6bdc13", "unicodeChar": "㮩", "unicodeCodePoint": "3BA9", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "木息" }], "weight": 10 }, { "charId": "16958bce", "unicodeChar": "㮟", "unicodeCodePoint": "3B9F", "pinYinChars": [{ "char": "NIAN3" }], "splitChars": [{ "char": "林石" }], "weight": 10 }, { "charId": "ad585e0f", "unicodeChar": "㮊", "unicodeCodePoint": "3B8A", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "林予" }], "weight": 10 }, { "charId": "f88a3d48", "unicodeChar": "㭪", "unicodeCodePoint": "3B6A", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "木甫" }], "weight": 10 }, { "charId": "3f87ea77", "unicodeChar": "㭫", "unicodeCodePoint": "3B6B", "pinYinChars": [{ "char": "CUO2" }], "splitChars": [{ "char": "木坐" }], "weight": 10 }, { "charId": "080b3451", "unicodeChar": "㻍", "unicodeCodePoint": "3ECD", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "王吴" }], "weight": 10 }, { "charId": "4fc57d5b", "unicodeChar": "㻇", "unicodeCodePoint": "3EC7", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "王全" }], "weight": 10 }, { "charId": "b6239716", "unicodeChar": "㻂", "unicodeCodePoint": "3EC2", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "王并" }], "weight": 10 }, { "charId": "c952af40", "unicodeChar": "㹧", "unicodeCodePoint": "3E67", "pinYinChars": [{ "char": "YANG1" }], "splitChars": [{ "char": "犭央" }], "weight": 10 }, { "charId": "f00362ec", "unicodeChar": "㷬", "unicodeCodePoint": "3DEC", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "火莫" }], "weight": 10 }, { "charId": "c1613bd1", "unicodeChar": "㷒", "unicodeCodePoint": "3DD2", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "火禺" }], "weight": 10 }, { "charId": "6bdb9397", "unicodeChar": "㶿", "unicodeCodePoint": "3DBF", "pinYinChars": [{ "char": "BO2" }], "splitChars": [{ "char": "火孛" }], "weight": 10 }, { "charId": "015380ca", "unicodeChar": "㶴", "unicodeCodePoint": "3DB4", "pinYinChars": [{ "char": "CHI3" }], "splitChars": [{ "char": "火多" }], "weight": 10 }, { "charId": "cbeaec32", "unicodeChar": "㶬", "unicodeCodePoint": "3DAC", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "火末" }], "weight": 10 }, { "charId": "fd556233", "unicodeChar": "𣳤", "unicodeCodePoint": "23CE4", "pinYinChars": [{ "char": "ZHAN4" }], "splitChars": [{ "char": "氵土" }], "weight": 10 }, { "charId": "02abe87c", "unicodeChar": "𣳃", "unicodeCodePoint": "23CC3", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "氵士" }], "weight": 10 }, { "charId": "30381d62", "unicodeChar": "𣲭", "unicodeCodePoint": "23CAD", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "氵毛" }], "weight": 10 }, { "charId": "c785e6ef", "unicodeChar": "𣱼", "unicodeCodePoint": "23C7C", "pinYinChars": [{ "char": "LE4" }], "splitChars": [{ "char": "氵刀" }], "weight": 10 }, { "charId": "73b8f8ae", "unicodeChar": "龿", "unicodeCodePoint": "9FBF", "pinYinChars": [{ "char": "JIA1" }], "splitChars": [{ "char": "艹佳" }], "weight": 10 }, { "charId": "ddae9cf4", "unicodeChar": "𣭠", "unicodeCodePoint": "23B60", "pinYinChars": [{ "char": "RU2" }], "splitChars": [{ "char": "如毛" }], "weight": 10 }, { "charId": "7a2c907c", "unicodeChar": "𫈒", "unicodeCodePoint": "2B212", "pinYinChars": [{ "char": "BIAO3" }], "splitChars": [{ "char": "艹表" }], "weight": 10 }, { "charId": "f9551b77", "unicodeChar": "𣴙", "unicodeCodePoint": "23D19", "pinYinChars": [{ "char": "CHI4" }], "splitChars": [{ "char": "氵多" }], "weight": 10 }, { "charId": "54ada9c8", "unicodeChar": "𣴓", "unicodeCodePoint": "23D13", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "氵件" }], "weight": 10 }, { "charId": "e0c0cb3c", "unicodeChar": "𣣣", "unicodeCodePoint": "238E3", "pinYinChars": [{ "char": "DIAN4" }], "splitChars": [{ "char": "尸欠" }], "weight": 10 }, { "charId": "d577bd39", "unicodeChar": "𣬂", "unicodeCodePoint": "23B02", "pinYinChars": [{ "char": "GUAN4" }], "splitChars": [{ "char": "比干" }], "weight": 10 }, { "charId": "2ed6bd3c", "unicodeChar": "𫉃", "unicodeCodePoint": "2B243", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "艹利(浰)" }], "weight": 10 }, { "charId": "04c6b0ae", "unicodeChar": "𬝚", "unicodeCodePoint": "2C75A", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "艹素" }], "weight": 10 }, { "charId": "fc374b54", "unicodeChar": "𣸥", "unicodeCodePoint": "23E25", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "氵彦" }], "weight": 10 }, { "charId": "950114e6", "unicodeChar": "𬞸", "unicodeCodePoint": "2C7B8", "pinYinChars": [{ "char": "KUAN1" }], "splitChars": [{ "char": "艹見" }], "weight": 10 }, { "charId": "3f1f1507", "unicodeChar": "𫉯", "unicodeCodePoint": "2B26F", "pinYinChars": [{ "char": "HUO4" }], "splitChars": [{ "char": "艹()又" }], "weight": 10 }, { "charId": "64004476", "unicodeChar": "𣵡", "unicodeCodePoint": "23D61", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "氵旱" }], "weight": 10 }, { "charId": "f12f479e", "unicodeChar": "𬞦", "unicodeCodePoint": "2C7A6", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "艹()廾" }], "weight": 10 }, { "charId": "d11fd3b1", "unicodeChar": "𣷿", "unicodeCodePoint": "23DFF", "pinYinChars": [{ "char": "TUO3" }], "splitChars": [{ "char": "氵月" }], "weight": 10 }, { "charId": "b8d3ea33", "unicodeChar": "𣻼", "unicodeCodePoint": "23EFC", "pinYinChars": [{ "char": "HAO2" }], "splitChars": [{ "char": "氵毫" }], "weight": 10 }, { "charId": "b161ffad", "unicodeChar": "𣻐", "unicodeCodePoint": "23ED0", "pinYinChars": [{ "char": "JU1" }], "splitChars": [{ "char": "氵且" }], "weight": 10 }, { "charId": "e8581502", "unicodeChar": "𣶶", "unicodeCodePoint": "23DB6", "pinYinChars": [{ "char": "CAI3" }], "splitChars": [{ "char": "氵采" }], "weight": 10 }, { "charId": "adece15f", "unicodeChar": "𣶏", "unicodeCodePoint": "23D8F", "pinYinChars": [{ "char": "JIE1" }], "splitChars": [{ "char": "氵疌" }], "weight": 10 }, { "charId": "2426e8f9", "unicodeChar": "𣶋", "unicodeCodePoint": "23D8B", "pinYinChars": [{ "char": "ZHE4" }], "splitChars": [{ "char": "氵炙" }], "weight": 10 }, { "charId": "e0df76d2", "unicodeChar": "𬝒", "unicodeCodePoint": "2C752", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "艹俐" }], "weight": 10 }, { "charId": "c7e8e945", "unicodeChar": "𬝎", "unicodeCodePoint": "2C74E", "pinYinChars": [{ "char": "RUI4" }], "splitChars": [{ "char": "艹皿" }], "weight": 10 }, { "charId": "a250af4b", "unicodeChar": "𣲒", "unicodeCodePoint": "23C92", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "氵力" }], "weight": 10 }, { "charId": "16ec05be", "unicodeChar": "𣱽", "unicodeCodePoint": "23C7D", "pinYinChars": [{ "char": "ZHEN3" }], "splitChars": [{ "char": "氵乃" }], "weight": 10 }, { "charId": "ce838ac0", "unicodeChar": "𣴥", "unicodeCodePoint": "23D25", "pinYinChars": [{ "char": "KUANG2" }], "splitChars": [{ "char": "氵狂" }], "weight": 10 }, { "charId": "6d3b2a2b", "unicodeChar": "𫉟", "unicodeCodePoint": "2B25F", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "艹鈞" }], "weight": 10 }, { "charId": "2ae31a32", "unicodeChar": "𣴞", "unicodeCodePoint": "23D1E", "pinYinChars": [{ "char": "BEN4" }], "splitChars": [{ "char": "氵土" }], "weight": 10 }, { "charId": "06ac3028", "unicodeChar": "𫉔", "unicodeCodePoint": "2B254", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "艹偉" }], "weight": 10 }, { "charId": "f3a0027b", "unicodeChar": "𣷫", "unicodeCodePoint": "23DEB", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "氵放" }], "weight": 10 }, { "charId": "47641682", "unicodeChar": "𬢲", "unicodeCodePoint": "2C8B2", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "言函" }], "weight": 10 }, { "charId": "d1b1e1c5", "unicodeChar": "𫌶", "unicodeCodePoint": "2B336", "pinYinChars": [{ "char": "PI1" }], "splitChars": [{ "char": "言丕" }], "weight": 10 }, { "charId": "dfc9b4fd", "unicodeChar": "𤆞", "unicodeCodePoint": "2419E", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "火勿" }], "weight": 10 }, { "charId": "dd8da4d0", "unicodeChar": "𤆃", "unicodeCodePoint": "24183", "pinYinChars": [{ "char": "TAI2" }], "splitChars": [{ "char": "厶火" }], "weight": 10 }, { "charId": "e29e3508", "unicodeChar": "𤄖", "unicodeCodePoint": "24116", "pinYinChars": [{ "char": "CA1" }], "splitChars": [{ "char": "氵雜" }], "weight": 10 }, { "charId": "15be9b20", "unicodeChar": "𬤕", "unicodeCodePoint": "2C915", "pinYinChars": [{ "char": "TA1" }], "splitChars": [{ "char": "讠塌𦐇" }], "weight": 10 }, { "charId": "b0c3e545", "unicodeChar": "𤃈", "unicodeCodePoint": "240C8", "pinYinChars": [{ "char": "NANG3" }], "splitChars": [{ "char": "氵囊" }], "weight": 10 }, { "charId": "46e25891", "unicodeChar": "𫍲", "unicodeCodePoint": "2B372", "pinYinChars": [{ "char": "XIAO3" }], "splitChars": [{ "char": "讠叟" }], "weight": 10 }, { "charId": "2f6a53f6", "unicodeChar": "𤁪", "unicodeCodePoint": "2406A", "pinYinChars": [{ "char": "HUA2" }], "splitChars": [{ "char": "活頁" }], "weight": 10 }, { "charId": "d6a5cac8", "unicodeChar": "𫊉", "unicodeCodePoint": "2B289", "pinYinChars": [{ "char": "SE4" }], "splitChars": [{ "char": "艹止(澁)" }], "weight": 10 }, { "charId": "3e55f031", "unicodeChar": "𬟇", "unicodeCodePoint": "2C7C7", "pinYinChars": [{ "char": "YUN4" }], "splitChars": [{ "char": "艹昷" }], "weight": 10 }, { "charId": "7bc8e33a", "unicodeChar": "𣾜", "unicodeCodePoint": "23F9C", "pinYinChars": [{ "char": "MI" }], "splitChars": [{ "char": "氵淼" }], "weight": 10 }, { "charId": "48e46ea8", "unicodeChar": "𫋳", "unicodeCodePoint": "2B2F3", "pinYinChars": [{ "char": "FANG1" }], "splitChars": [{ "char": "衤方" }], "weight": 10 }, { "charId": "c860cd76", "unicodeChar": "𣽸", "unicodeCodePoint": "23F78", "pinYinChars": [{ "char": "JIAO4" }], "splitChars": [{ "char": "氵窖" }], "weight": 10 }, { "charId": "94e83b2b", "unicodeChar": "𬣡", "unicodeCodePoint": "2C8E1", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "讠戋" }], "weight": 10 }, { "charId": "476f10d3", "unicodeChar": "𣽛", "unicodeCodePoint": "23F5B", "pinYinChars": [{ "char": "ZHA2" }], "splitChars": [{ "char": "氵答" }], "weight": 10 }, { "charId": "ed68fd7e", "unicodeChar": "𤂶", "unicodeCodePoint": "240B6", "pinYinChars": [{ "char": "LIN4" }], "splitChars": [{ "char": "氵隹" }], "weight": 10 }, { "charId": "cb5b0386", "unicodeChar": "𬤊", "unicodeCodePoint": "2C90A", "pinYinChars": [{ "char": "SHI4" }], "splitChars": [{ "char": "讠是" }], "weight": 10 }, { "charId": "558f201b", "unicodeChar": "𬤇", "unicodeCodePoint": "2C907", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "讠土" }], "weight": 10 }, { "charId": "63394b64", "unicodeChar": "𬤁", "unicodeCodePoint": "2C901", "pinYinChars": [{ "char": "TAO2" }], "splitChars": [{ "char": "讠匋" }], "weight": 10 }, { "charId": "07fa0f9d", "unicodeChar": "𬨎", "unicodeCodePoint": "2CA0E", "pinYinChars": [{ "char": "YOU2" }], "splitChars": [{ "char": "车酋" }], "weight": 10 }, { "charId": "d9f56bc2", "unicodeChar": "𫏴", "unicodeCodePoint": "2B3F4", "pinYinChars": [{ "char": "JU2" }], "splitChars": [{ "char": "車白" }], "weight": 10 }, { "charId": "66f28728", "unicodeChar": "𫏬", "unicodeCodePoint": "2B3EC", "pinYinChars": [{ "char": "LIA1" }], "splitChars": [{ "char": "身身" }], "weight": 10 }, { "charId": "d0a0e396", "unicodeChar": "𤇕", "unicodeCodePoint": "241D5", "pinYinChars": [{ "char": "QI" }], "splitChars": [{ "char": "禾灬" }], "weight": 10 }, { "charId": "9526caad", "unicodeChar": "𬦈", "unicodeCodePoint": "2C988", "pinYinChars": [{ "char": "TU1" }], "splitChars": [{ "char": "走月" }], "weight": 10 }, { "charId": "c66cd1b1", "unicodeChar": "𥛢", "unicodeCodePoint": "256E2", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "礻崇" }], "weight": 10 }, { "charId": "b5bf03d7", "unicodeChar": "𥛚", "unicodeCodePoint": "256DA", "pinYinChars": [{ "char": "DI2" }], "splitChars": [{ "char": "礻啇" }], "weight": 10 }, { "charId": "dbb2c74e", "unicodeChar": "𥚷", "unicodeCodePoint": "256B7", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "礻胃" }], "weight": 10 }, { "charId": "d6706128", "unicodeChar": "𥚊", "unicodeCodePoint": "2568A", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "礻坴" }], "weight": 10 }, { "charId": "5f135f61", "unicodeChar": "𥙹", "unicodeCodePoint": "25679", "pinYinChars": [{ "char": "QI" }], "splitChars": [{ "char": "礻求" }], "weight": 10 }, { "charId": "60902a1c", "unicodeChar": "𥘺", "unicodeCodePoint": "2563A", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "礻正" }], "weight": 10 }, { "charId": "74179b15", "unicodeChar": "𥘮", "unicodeCodePoint": "2562E", "pinYinChars": [{ "char": "JU1" }], "splitChars": [{ "char": "礻句" }], "weight": 10 }, { "charId": "c28c67da", "unicodeChar": "𥜴", "unicodeCodePoint": "25734", "pinYinChars": [{ "char": "QIAN1" }], "splitChars": [{ "char": "礻馬" }], "weight": 10 }, { "charId": "6ec6f635", "unicodeChar": "𥘫", "unicodeCodePoint": "2562B", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "礻可" }], "weight": 10 }, { "charId": "8da97f1a", "unicodeChar": "𥞧", "unicodeCodePoint": "257A7", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "禾行" }], "weight": 10 }, { "charId": "433f9293", "unicodeChar": "𥣳", "unicodeCodePoint": "258F3", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "禾審" }], "weight": 10 }, { "charId": "9294352e", "unicodeChar": "𥣩", "unicodeCodePoint": "258E9", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "禾戈" }], "weight": 10 }, { "charId": "b3a2751c", "unicodeChar": "𥢹", "unicodeCodePoint": "258B9", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "禾敫" }], "weight": 10 }, { "charId": "1e84e324", "unicodeChar": "𥫝", "unicodeCodePoint": "25ADD", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "竹弋" }], "weight": 10 }, { "charId": "b2366802", "unicodeChar": "𥪀", "unicodeCodePoint": "25A80", "pinYinChars": [{ "char": "BU1" }], "splitChars": [{ "char": "立甫" }], "weight": 10 }, { "charId": "bfa873f2", "unicodeChar": "𥟠", "unicodeCodePoint": "257E0", "pinYinChars": [{ "char": "JIE1" }], "splitChars": [{ "char": "禾皆" }], "weight": 10 }, { "charId": "fe3ba49e", "unicodeChar": "𮥍", "unicodeCodePoint": "2E94D", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "阝昆" }], "weight": 10 }, { "charId": "86ba3810", "unicodeChar": "𥟍", "unicodeCodePoint": "257CD", "pinYinChars": [{ "char": "FEI3" }], "splitChars": [{ "char": "禾非" }], "weight": 10 }, { "charId": "a26e4046", "unicodeChar": "𥞚", "unicodeCodePoint": "2579A", "pinYinChars": [{ "char": "RU2" }], "splitChars": [{ "char": "禾如" }], "weight": 10 }, { "charId": "4cd822cc", "unicodeChar": "𥞊", "unicodeCodePoint": "2578A", "pinYinChars": [{ "char": "MEI4" }], "splitChars": [{ "char": "禾未" }], "weight": 10 }, { "charId": "f7362fc1", "unicodeChar": "𥞃", "unicodeCodePoint": "25783", "pinYinChars": [{ "char": "CHUI4" }], "splitChars": [{ "char": "禾出" }], "weight": 10 }, { "charId": "dad32926", "unicodeChar": "𥝴", "unicodeCodePoint": "25774", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "禾冘" }], "weight": 10 }, { "charId": "604a130b", "unicodeChar": "𥝦", "unicodeCodePoint": "25766", "pinYinChars": [{ "char": "NIU3" }], "splitChars": [{ "char": "禾丑" }], "weight": 10 }, { "charId": "84e4104a", "unicodeChar": "𥝥", "unicodeCodePoint": "25765", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "禾及" }], "weight": 10 }, { "charId": "bf7ef6e9", "unicodeChar": "𥡅", "unicodeCodePoint": "25845", "pinYinChars": [{ "char": "GAO1" }], "splitChars": [{ "char": "禾本" }], "weight": 10 }, { "charId": "435449a9", "unicodeChar": "𥠅", "unicodeCodePoint": "25805", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "禾奂" }], "weight": 10 }, { "charId": "02374d38", "unicodeChar": "𥛷", "unicodeCodePoint": "256F7", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "礻粦" }], "weight": 10 }, { "charId": "0d2237e7", "unicodeChar": "𫣅", "unicodeCodePoint": "2B8C5", "pinYinChars": [{ "char": "KUI2" }], "splitChars": [{ "char": "亻豈" }], "weight": 10 }, { "charId": "835baeb8", "unicodeChar": "𥛯", "unicodeCodePoint": "256EF", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "礻矞" }], "weight": 10 }, { "charId": "4e004ef1", "unicodeChar": "𠊄", "unicodeCodePoint": "20284", "pinYinChars": [{ "char": "QIN2" }], "splitChars": [{ "char": "亻金" }], "weight": 10 }, { "charId": "15c0d4f2", "unicodeChar": "𥮤", "unicodeCodePoint": "25BA4", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "竹隶" }], "weight": 10 }, { "charId": "8d6b0bfb", "unicodeChar": "𠋥", "unicodeCodePoint": "202E5", "pinYinChars": [{ "char": "MEI2" }], "splitChars": [{ "char": "亻眉" }], "weight": 10 }, { "charId": "d4ad9c85", "unicodeChar": "𬝌", "unicodeCodePoint": "2C74C", "pinYinChars": [{ "char": "BO1" }], "splitChars": [{ "char": "艹柏" }], "weight": 10 }, { "charId": "22a78759", "unicodeChar": "𠉄", "unicodeCodePoint": "20244", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "亻辛" }], "weight": 10 }, { "charId": "657f0a2d", "unicodeChar": "𥭡", "unicodeCodePoint": "25B61", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "竹志" }], "weight": 10 }, { "charId": "28cd2a64", "unicodeChar": "𥳾", "unicodeCodePoint": "25CFE", "pinYinChars": [{ "char": "GOU1" }], "splitChars": [{ "char": "竹鈞" }], "weight": 10 }, { "charId": "cd456a73", "unicodeChar": "𥳕", "unicodeCodePoint": "25CD5", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "竹舒" }], "weight": 10 }, { "charId": "f09bed47", "unicodeChar": "𥳇", "unicodeCodePoint": "25CC7", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "竹复" }], "weight": 10 }, { "charId": "cf3132a5", "unicodeChar": "𥲑", "unicodeCodePoint": "25C91", "pinYinChars": [{ "char": "MAN2" }], "splitChars": [{ "char": "竹曼" }], "weight": 10 }, { "charId": "b284c94b", "unicodeChar": "𥿩", "unicodeCodePoint": "25FE9", "pinYinChars": [{ "char": "ZI4" }], "splitChars": [{ "char": "次糸" }], "weight": 10 }, { "charId": "f9432202", "unicodeChar": "𥿝", "unicodeCodePoint": "25FDD", "pinYinChars": [{ "char": "DAI4" }], "splitChars": [{ "char": "代糸" }], "weight": 10 }, { "charId": "e51d4d38", "unicodeChar": "𥾋", "unicodeCodePoint": "25F8B", "pinYinChars": [{ "char": "RENG2" }], "splitChars": [{ "char": "糹乃" }], "weight": 10 }, { "charId": "2f26278f", "unicodeChar": "𥽬", "unicodeCodePoint": "25F6C", "pinYinChars": [{ "char": "NIANG4" }], "splitChars": [{ "char": "米襄" }], "weight": 10 }, { "charId": "0468ab75", "unicodeChar": "𥼁", "unicodeCodePoint": "25F01", "pinYinChars": [{ "char": "LV3" }], "splitChars": [{ "char": "米率" }], "weight": 10 }, { "charId": "025b7200", "unicodeChar": "𠒣", "unicodeCodePoint": "204A3", "pinYinChars": [{ "char": "XING2" }], "splitChars": [{ "char": "先行" }], "weight": 10 }, { "charId": "ea04f94d", "unicodeChar": "𠓰", "unicodeCodePoint": "204F0", "pinYinChars": [{ "char": "SHUANG1" }], "splitChars": [{ "char": "全双" }], "weight": 10 }, { "charId": "37ad6590", "unicodeChar": "𥯔", "unicodeCodePoint": "25BD4", "pinYinChars": [{ "char": "JU3" }], "splitChars": [{ "char": "竹禹" }], "weight": 10 }, { "charId": "37e4b763", "unicodeChar": "𠍐", "unicodeCodePoint": "20350", "pinYinChars": [{ "char": "LENG2" }], "splitChars": [{ "char": "令狐" }], "weight": 10 }, { "charId": "f0c4ea8b", "unicodeChar": "𠎶", "unicodeCodePoint": "203B6", "pinYinChars": [{ "char": "ZAI3" }], "splitChars": [{ "char": "未人" }], "weight": 10 }, { "charId": "72052fa1", "unicodeChar": "𥮬", "unicodeCodePoint": "25BAC", "pinYinChars": [{ "char": "XI4" }], "splitChars": [{ "char": "竹易" }], "weight": 10 }, { "charId": "73e93c56", "unicodeChar": "𥦨", "unicodeCodePoint": "259A8", "pinYinChars": [{ "char": "KE4" }], "splitChars": [{ "char": "穴金" }], "weight": 10 }, { "charId": "b5796fa7", "unicodeChar": "𥭞", "unicodeCodePoint": "25B5E", "pinYinChars": [{ "char": "YUAN4" }], "splitChars": [{ "char": "竹肙" }], "weight": 10 }, { "charId": "33b3121b", "unicodeChar": "𥬯", "unicodeCodePoint": "25B2F", "pinYinChars": [{ "char": "KAO3" }], "splitChars": [{ "char": "竹考" }], "weight": 10 }, { "charId": "3ef193fa", "unicodeChar": "𥬝", "unicodeCodePoint": "25B1D", "pinYinChars": [{ "char": "BAI2" }], "splitChars": [{ "char": "竹白" }], "weight": 10 }, { "charId": "0f553876", "unicodeChar": "𥬉", "unicodeCodePoint": "25B09", "pinYinChars": [{ "char": "GOU1" }], "splitChars": [{ "char": "竹勾" }], "weight": 10 }, { "charId": "cf8631f0", "unicodeChar": "𥫸", "unicodeCodePoint": "25AF8", "pinYinChars": [{ "char": "SHUI3" }], "splitChars": [{ "char": "竹水" }], "weight": 10 }, { "charId": "31155e2d", "unicodeChar": "𥱤", "unicodeCodePoint": "25C64", "pinYinChars": [{ "char": "XIU1" }], "splitChars": [{ "char": "竹修" }], "weight": 10 }, { "charId": "4c12f20c", "unicodeChar": "𥯪", "unicodeCodePoint": "25BEA", "pinYinChars": [{ "char": "SOU4" }], "splitChars": [{ "char": "竹奏" }], "weight": 10 }, { "charId": "e7c50a58", "unicodeChar": "𥯤", "unicodeCodePoint": "25BE4", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "竹韋" }], "weight": 10 }, { "charId": "e9124c18", "unicodeChar": "𥯕", "unicodeCodePoint": "25BD5", "pinYinChars": [{ "char": "DANG4" }], "splitChars": [{ "char": "竹昜" }], "weight": 10 }, { "charId": "60598c64", "unicodeChar": "𥧓", "unicodeCodePoint": "259D3", "pinYinChars": [{ "char": "MA3" }], "splitChars": [{ "char": "穴馬" }], "weight": 10 }, { "charId": "c5d13461", "unicodeChar": "𥧏", "unicodeCodePoint": "259CF", "pinYinChars": [{ "char": "CEN3" }], "splitChars": [{ "char": "穴者" }], "weight": 10 }, { "charId": "c7225acf", "unicodeChar": "𡊰", "unicodeCodePoint": "212B0", "pinYinChars": [{ "char": "TIAN2" }], "splitChars": [{ "char": "土田" }], "weight": 10 }, { "charId": "230e9390", "unicodeChar": "𦁤", "unicodeCodePoint": "26064", "pinYinChars": [{ "char": "NIAN4" }], "splitChars": [{ "char": "糹念" }], "weight": 10 }, { "charId": "f2f0cb65", "unicodeChar": "𡊤", "unicodeCodePoint": "212A4", "pinYinChars": [{ "char": "YING4" }], "splitChars": [{ "char": "土用" }], "weight": 10 }, { "charId": "3127a7e7", "unicodeChar": "𡊚", "unicodeCodePoint": "2129A", "pinYinChars": [{ "char": "PO1" }], "splitChars": [{ "char": "土白" }], "weight": 10 }, { "charId": "7a21016f", "unicodeChar": "𠛼", "unicodeCodePoint": "206FC", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "并刂" }], "weight": 10 }, { "charId": "873fd6d2", "unicodeChar": "𦆆", "unicodeCodePoint": "26186", "pinYinChars": [{ "char": "LIAN2" }], "splitChars": [{ "char": "糹廉" }], "weight": 10 }, { "charId": "79971a53", "unicodeChar": "𠚵", "unicodeCodePoint": "206B5", "pinYinChars": [{ "char": "JU4" }], "splitChars": [{ "char": "及刂" }], "weight": 10 }, { "charId": "f95f5f4f", "unicodeChar": "𦅼", "unicodeCodePoint": "2617C", "pinYinChars": [{ "char": "DAN4" }], "splitChars": [{ "char": "糹詹" }], "weight": 10 }, { "charId": "c1ae2ed6", "unicodeChar": "𠛀", "unicodeCodePoint": "206C0", "pinYinChars": [{ "char": "ZHONG1" }], "splitChars": [{ "char": "公刂" }], "weight": 10 }, { "charId": "8979fe2f", "unicodeChar": "𦅣", "unicodeCodePoint": "26163", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "糹攵" }], "weight": 10 }, { "charId": "1ec4bec7", "unicodeChar": "𡉦", "unicodeCodePoint": "21266", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "土午" }], "weight": 10 }, { "charId": "0f553b11", "unicodeChar": "𦏸", "unicodeCodePoint": "263F8", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "羽也" }], "weight": 10 }, { "charId": "a6454840", "unicodeChar": "𡉫", "unicodeCodePoint": "2126B", "pinYinChars": [{ "char": "TUN2" }], "splitChars": [{ "char": "屯土" }], "weight": 10 }, { "charId": "d8c2ce68", "unicodeChar": "𡉑", "unicodeCodePoint": "21251", "pinYinChars": [{ "char": "DA1" }], "splitChars": [{ "char": "土大" }], "weight": 10 }, { "charId": "984259b6", "unicodeChar": "𡉥", "unicodeCodePoint": "21265", "pinYinChars": [{ "char": "CHONG1" }], "splitChars": [{ "char": "土中" }], "weight": 10 }, { "charId": "02d7191b", "unicodeChar": "𦌊", "unicodeCodePoint": "2630A", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "四欠" }], "weight": 10 }, { "charId": "167bf169", "unicodeChar": "𦋅", "unicodeCodePoint": "262C5", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "四圭" }], "weight": 10 }, { "charId": "7b52c12a", "unicodeChar": "𡊿", "unicodeCodePoint": "212BF", "pinYinChars": [{ "char": "CHONG1" }], "splitChars": [{ "char": "土充" }], "weight": 10 }, { "charId": "897190ab", "unicodeChar": "𡋎", "unicodeCodePoint": "212CE", "pinYinChars": [{ "char": "LAO3" }], "splitChars": [{ "char": "土老" }], "weight": 10 }, { "charId": "111d848a", "unicodeChar": "𡊱", "unicodeCodePoint": "212B1", "pinYinChars": [{ "char": "ZHAO1" }], "splitChars": [{ "char": "土召" }], "weight": 10 }, { "charId": "bfc25cbc", "unicodeChar": "𡊻", "unicodeCodePoint": "212BB", "pinYinChars": [{ "char": "LIE4" }], "splitChars": [{ "char": "土列" }], "weight": 10 }, { "charId": "f247007a", "unicodeChar": "𦂄", "unicodeCodePoint": "26084", "pinYinChars": [{ "char": "KAI1" }], "splitChars": [{ "char": "糹皆" }], "weight": 10 }, { "charId": "3e0e47eb", "unicodeChar": "𠰉", "unicodeCodePoint": "20C09", "pinYinChars": [{ "char": "CHAO1" }], "splitChars": [{ "char": "口召" }], "weight": 10 }, { "charId": "a81c8b47", "unicodeChar": "𥵧", "unicodeCodePoint": "25D67", "pinYinChars": [{ "char": "QIN3" }], "splitChars": [{ "char": "竹盡" }], "weight": 10 }, { "charId": "f094f733", "unicodeChar": "𠰩", "unicodeCodePoint": "20C29", "pinYinChars": [{ "char": "YONG4" }], "splitChars": [{ "char": "口用" }], "weight": 10 }, { "charId": "8cf9f693", "unicodeChar": "𥵞", "unicodeCodePoint": "25D5E", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "竹截" }], "weight": 10 }, { "charId": "7c8c57ed", "unicodeChar": "𠱐", "unicodeCodePoint": "20C50", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "口吴" }], "weight": 10 }, { "charId": "44d9bff9", "unicodeChar": "𠡒", "unicodeCodePoint": "20852", "pinYinChars": [{ "char": "DUI3" }], "splitChars": [{ "char": "𠂤力" }], "weight": 10 }, { "charId": "dc161582", "unicodeChar": "𦀕", "unicodeCodePoint": "26015", "pinYinChars": [{ "char": "YE4" }], "splitChars": [{ "char": "糹邑" }], "weight": 10 }, { "charId": "1a31488b", "unicodeChar": "𠕽", "unicodeCodePoint": "2057D", "pinYinChars": [{ "char": "LAN" }], "splitChars": [{ "char": "冖水" }], "weight": 10 }, { "charId": "dd60f313", "unicodeChar": "𠙶", "unicodeCodePoint": "20676", "pinYinChars": [{ "char": "OU3" }], "splitChars": [{ "char": "了凵" }], "weight": 10 }, { "charId": "28cae6af", "unicodeChar": "𦅘", "unicodeCodePoint": "26158", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "糹間" }], "weight": 10 }, { "charId": "90f8c65e", "unicodeChar": "𠕇", "unicodeCodePoint": "20547", "pinYinChars": [{ "char": "DIAN4" }], "splitChars": [{ "char": "冇丶" }], "weight": 10 }, { "charId": "eeb08818", "unicodeChar": "𦄢", "unicodeCodePoint": "26122", "pinYinChars": [{ "char": "YONG1" }], "splitChars": [{ "char": "糹庸" }], "weight": 10 }, { "charId": "2688dc17", "unicodeChar": "𦂕", "unicodeCodePoint": "26095", "pinYinChars": [{ "char": "OU2" }], "splitChars": [{ "char": "糹禺" }], "weight": 10 }, { "charId": "013f4f6d", "unicodeChar": "𠵌", "unicodeCodePoint": "20D4C", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "口宜" }], "weight": 10 }, { "charId": "c046b80a", "unicodeChar": "𠼟", "unicodeCodePoint": "20F1F", "pinYinChars": [{ "char": "LUE4" }], "splitChars": [{ "char": "口面" }], "weight": 10 }, { "charId": "16599511", "unicodeChar": "𠳐", "unicodeCodePoint": "20CD0", "pinYinChars": [{ "char": "BANG1" }], "splitChars": [{ "char": "口邦" }], "weight": 10 }, { "charId": "e742cc25", "unicodeChar": "𡛕", "unicodeCodePoint": "216D5", "pinYinChars": [{ "char": "TAI4" }], "splitChars": [{ "char": "女太" }], "weight": 10 }, { "charId": "2521b859", "unicodeChar": "𡛩", "unicodeCodePoint": "216E9", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "女立" }], "weight": 10 }, { "charId": "119dbcb9", "unicodeChar": "𡘧", "unicodeCodePoint": "21627", "pinYinChars": [{ "char": "QIA2" }], "splitChars": [{ "char": "大步" }], "weight": 10 }, { "charId": "1f8161ef", "unicodeChar": "𦑍", "unicodeCodePoint": "2644D", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "或羽" }], "weight": 10 }, { "charId": "3d1ffe61", "unicodeChar": "𦑋", "unicodeCodePoint": "2644B", "pinYinChars": [{ "char": "ZU2" }], "splitChars": [{ "char": "卒羽" }], "weight": 10 }, { "charId": "79c4efaf", "unicodeChar": "𡑒", "unicodeCodePoint": "21452", "pinYinChars": [{ "char": "GAN3" }], "splitChars": [{ "char": "土敢" }], "weight": 10 }, { "charId": "d088b558", "unicodeChar": "𡘙", "unicodeCodePoint": "21619", "pinYinChars": [{ "char": "TAI4" }], "splitChars": [{ "char": "大大" }], "weight": 10 }, { "charId": "e7af4bfd", "unicodeChar": "𦑁", "unicodeCodePoint": "26441", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "羽夋" }], "weight": 10 }, { "charId": "a8a9dd30", "unicodeChar": "𡐹", "unicodeCodePoint": "21439", "pinYinChars": [{ "char": "EN3" }], "splitChars": [{ "char": "土景" }], "weight": 10 }, { "charId": "437adc36", "unicodeChar": "𡑄", "unicodeCodePoint": "21444", "pinYinChars": [{ "char": "ZHANG3" }], "splitChars": [{ "char": "土掌" }], "weight": 10 }, { "charId": "e14bd9a4", "unicodeChar": "𦒘", "unicodeCodePoint": "26498", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "西羽" }], "weight": 10 }, { "charId": "df0a05d6", "unicodeChar": "𡏼", "unicodeCodePoint": "213FC", "pinYinChars": [{ "char": "AO2" }], "splitChars": [{ "char": "土敖" }], "weight": 10 }, { "charId": "9d2c8865", "unicodeChar": "𦗭", "unicodeCodePoint": "265ED", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "彭耳" }], "weight": 10 }, { "charId": "cc4415a9", "unicodeChar": "𡐓", "unicodeCodePoint": "21413", "pinYinChars": [{ "char": "KANG1" }], "splitChars": [{ "char": "土康" }], "weight": 10 }, { "charId": "727d39af", "unicodeChar": "𦖽", "unicodeCodePoint": "265BD", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "𤇾耳" }], "weight": 10 }, { "charId": "0a84e91c", "unicodeChar": "𡏞", "unicodeCodePoint": "213DE", "pinYinChars": [{ "char": "JIANG3" }], "splitChars": [{ "char": "土冓" }], "weight": 10 }, { "charId": "39825c6d", "unicodeChar": "𦖵", "unicodeCodePoint": "265B5", "pinYinChars": [{ "char": "NU" }], "splitChars": [{ "char": "耳爰" }], "weight": 10 }, { "charId": "fb1c038b", "unicodeChar": "𡎜", "unicodeCodePoint": "2139C", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "土南" }], "weight": 10 }, { "charId": "0209ec94", "unicodeChar": "𦕠", "unicodeCodePoint": "26560", "pinYinChars": [{ "char": "JU4" }], "splitChars": [{ "char": "耳共" }], "weight": 10 }, { "charId": "19aab38d", "unicodeChar": "𡏊", "unicodeCodePoint": "213CA", "pinYinChars": [{ "char": "QIAN1" }], "splitChars": [{ "char": "土兼" }], "weight": 10 }, { "charId": "1e3047c2", "unicodeChar": "𦔿", "unicodeCodePoint": "2653F", "pinYinChars": [{ "char": "TIAN4" }], "splitChars": [{ "char": "耳天" }], "weight": 10 }, { "charId": "3b880b68", "unicodeChar": "𡛻", "unicodeCodePoint": "216FB", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "女永" }], "weight": 10 }, { "charId": "cf218bc5", "unicodeChar": "𡛼", "unicodeCodePoint": "216FC", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "女玉" }], "weight": 10 }, { "charId": "8f6919a9", "unicodeChar": "𡍲", "unicodeCodePoint": "21372", "pinYinChars": [{ "char": "DA1" }], "splitChars": [{ "char": "土耳(耷)" }], "weight": 10 }, { "charId": "9f72934d", "unicodeChar": "𦊓", "unicodeCodePoint": "26293", "pinYinChars": [{ "char": "LING3" }], "splitChars": [{ "char": "四令" }], "weight": 10 }, { "charId": "148177e7", "unicodeChar": "𡍹", "unicodeCodePoint": "21379", "pinYinChars": [{ "char": "BAI3" }], "splitChars": [{ "char": "土拜" }], "weight": 10 }, { "charId": "9838998d", "unicodeChar": "𡌢", "unicodeCodePoint": "21322", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "土含" }], "weight": 10 }, { "charId": "ba3fb09d", "unicodeChar": "𡌚", "unicodeCodePoint": "2131A", "pinYinChars": [{ "char": "CHA3" }], "splitChars": [{ "char": "土坐" }], "weight": 10 }, { "charId": "d141c630", "unicodeChar": "𦆴", "unicodeCodePoint": "261B4", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "糹絲(" }], "weight": 10 }, { "charId": "631a4dda", "unicodeChar": "𦐹", "unicodeCodePoint": "26439", "pinYinChars": [{ "char": "SHEN2" }], "splitChars": [{ "char": "羽辛" }], "weight": 10 }, { "charId": "884cff8d", "unicodeChar": "𡉽", "unicodeCodePoint": "2127D", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "土六" }], "weight": 10 }, { "charId": "c65f2029", "unicodeChar": "𦐄", "unicodeCodePoint": "26404", "pinYinChars": [{ "char": "HANG2" }], "splitChars": [{ "char": "亢羽" }], "weight": 10 }, { "charId": "5da25476", "unicodeChar": "𡋟", "unicodeCodePoint": "212DF", "pinYinChars": [{ "char": "GAO4" }], "splitChars": [{ "char": "土交" }], "weight": 10 }, { "charId": "48a1feda", "unicodeChar": "𦒑", "unicodeCodePoint": "26491", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "矛(矞)羽" }], "weight": 10 }, { "charId": "3f732993", "unicodeChar": "𡋗", "unicodeCodePoint": "212D7", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "土会" }], "weight": 10 }, { "charId": "c4fc542b", "unicodeChar": "𦒍", "unicodeCodePoint": "2648D", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "童羽" }], "weight": 10 }, { "charId": "680b66e3", "unicodeChar": "𡋙", "unicodeCodePoint": "212D9", "pinYinChars": [{ "char": "HUI2" }], "splitChars": [{ "char": "土回" }], "weight": 10 }, { "charId": "b0c446ab", "unicodeChar": "𦑹", "unicodeCodePoint": "26479", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "臼羽" }], "weight": 10 }, { "charId": "0a2a0c02", "unicodeChar": "𡋕", "unicodeCodePoint": "212D5", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "土旬" }], "weight": 10 }, { "charId": "a43d1fb3", "unicodeChar": "𦑡", "unicodeCodePoint": "26461", "pinYinChars": [{ "char": "CHI2" }], "splitChars": [{ "char": "是羽" }], "weight": 10 }, { "charId": "98221421", "unicodeChar": "𦑠", "unicodeCodePoint": "26460", "pinYinChars": [{ "char": "HONG1" }], "splitChars": [{ "char": "羽皇" }], "weight": 10 }, { "charId": "ff65932b", "unicodeChar": "𦑝", "unicodeCodePoint": "2645D", "pinYinChars": [{ "char": "CHONG3" }], "splitChars": [{ "char": "重羽" }], "weight": 10 }, { "charId": "5172e189", "unicodeChar": "𦑘", "unicodeCodePoint": "26458", "pinYinChars": [{ "char": "XIAN2" }], "splitChars": [{ "char": "咸羽" }], "weight": 10 }, { "charId": "77b048b7", "unicodeChar": "𡎚", "unicodeCodePoint": "2139A", "pinYinChars": [{ "char": "PIAN3" }], "splitChars": [{ "char": "土扁" }], "weight": 10 }, { "charId": "110fa7fb", "unicodeChar": "𡍼", "unicodeCodePoint": "2137C", "pinYinChars": [{ "char": "TU2" }], "splitChars": [{ "char": "涂土" }], "weight": 10 }, { "charId": "c1389c03", "unicodeChar": "𡎑", "unicodeCodePoint": "21391", "pinYinChars": [{ "char": "AN4" }], "splitChars": [{ "char": "土彦" }], "weight": 10 }, { "charId": "9661230e", "unicodeChar": "𢆓", "unicodeCodePoint": "22193", "pinYinChars": [{ "char": "BA1" }], "splitChars": [{ "char": "不平" }], "weight": 10 }, { "charId": "df9a9cc9", "unicodeChar": "𡺎", "unicodeCodePoint": "21E8E", "pinYinChars": [{ "char": "CHAN2" }], "splitChars": [{ "char": "山丶" }], "weight": 10 }, { "charId": "13f39cd7", "unicodeChar": "𡼎", "unicodeCodePoint": "21F0E", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "山喜" }], "weight": 10 }, { "charId": "d8974245", "unicodeChar": "𦙮", "unicodeCodePoint": "2666E", "pinYinChars": [{ "char": "JU2" }], "splitChars": [{ "char": "月穴" }], "weight": 10 }, { "charId": "dd056e7b", "unicodeChar": "𦙀", "unicodeCodePoint": "26640", "pinYinChars": [{ "char": "PAN4" }], "splitChars": [{ "char": "月反" }], "weight": 10 }, { "charId": "b407fb8b", "unicodeChar": "𡷀", "unicodeCodePoint": "21DC0", "pinYinChars": [{ "char": "GUANG1" }], "splitChars": [{ "char": "光山" }], "weight": 10 }, { "charId": "26549899", "unicodeChar": "𡷈", "unicodeCodePoint": "21DC8", "pinYinChars": [{ "char": "SHI4" }], "splitChars": [{ "char": "山山" }], "weight": 10 }, { "charId": "9e5d9e69", "unicodeChar": "𦘪", "unicodeCodePoint": "2662A", "pinYinChars": [{ "char": "CHI4" }], "splitChars": [{ "char": "月匕" }], "weight": 10 }, { "charId": "d26749c9", "unicodeChar": "𡶦", "unicodeCodePoint": "21DA6", "pinYinChars": [{ "char": "YA4" }], "splitChars": [{ "char": "山丘" }], "weight": 10 }, { "charId": "2fe6a6cd", "unicodeChar": "𡶄", "unicodeCodePoint": "21D84", "pinYinChars": [{ "char": "BAO1" }], "splitChars": [{ "char": "山包" }], "weight": 10 }, { "charId": "2e38a6ed", "unicodeChar": "𡵅", "unicodeCodePoint": "21D45", "pinYinChars": [{ "char": "LA4" }], "splitChars": [{ "char": "山川" }], "weight": 10 }, { "charId": "b11f4931", "unicodeChar": "𡴭", "unicodeCodePoint": "21D2D", "pinYinChars": [{ "char": "YA4" }], "splitChars": [{ "char": "山乙" }], "weight": 10 }, { "charId": "6ada8e8e", "unicodeChar": "𡥧", "unicodeCodePoint": "21967", "pinYinChars": [{ "char": "JIN4" }], "splitChars": [{ "char": "子尽" }], "weight": 10 }, { "charId": "7cbb4a9f", "unicodeChar": "𦔖", "unicodeCodePoint": "26516", "pinYinChars": [{ "char": "LIAN2" }], "splitChars": [{ "char": "耒連" }], "weight": 10 }, { "charId": "4af77b09", "unicodeChar": "𦓱", "unicodeCodePoint": "264F1", "pinYinChars": [{ "char": "GE4" }], "splitChars": [{ "char": "耒各" }], "weight": 10 }, { "charId": "f38e218c", "unicodeChar": "𡟛", "unicodeCodePoint": "217DB", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "女屏" }], "weight": 10 }, { "charId": "0e4a1fc0", "unicodeChar": "𦓰", "unicodeCodePoint": "264F0", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "耒全" }], "weight": 10 }, { "charId": "d9ac7e4a", "unicodeChar": "𡟯", "unicodeCodePoint": "217EF", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "女恩" }], "weight": 10 }, { "charId": "981d3f69", "unicodeChar": "𦓔", "unicodeCodePoint": "264D4", "pinYinChars": [{ "char": "ER2" }], "splitChars": [{ "char": "而而" }], "weight": 10 }, { "charId": "f4643434", "unicodeChar": "𡟃", "unicodeCodePoint": "217C3", "pinYinChars": [{ "char": "YUAN4" }], "splitChars": [{ "char": "女苑" }], "weight": 10 }, { "charId": "3ad428e5", "unicodeChar": "𦓎", "unicodeCodePoint": "264CE", "pinYinChars": [{ "char": "NAI4" }], "splitChars": [{ "char": "而刂" }], "weight": 10 }, { "charId": "57c22bc8", "unicodeChar": "𡝹", "unicodeCodePoint": "21779", "pinYinChars": [{ "char": "MENG4" }], "splitChars": [{ "char": "女孟" }], "weight": 10 }, { "charId": "f00f7ef8", "unicodeChar": "𡜿", "unicodeCodePoint": "2173F", "pinYinChars": [{ "char": "MU3" }], "splitChars": [{ "char": "女亩" }], "weight": 10 }, { "charId": "c84ee4df", "unicodeChar": "𡜵", "unicodeCodePoint": "21735", "pinYinChars": [{ "char": "PU1" }], "splitChars": [{ "char": "女甫" }], "weight": 10 }, { "charId": "386bb786", "unicodeChar": "𣗬", "unicodeCodePoint": "235EC", "pinYinChars": [{ "char": "QIU3" }], "splitChars": [{ "char": "木臭" }], "weight": 10 }, { "charId": "997c7d01", "unicodeChar": "𣗁", "unicodeCodePoint": "235C1", "pinYinChars": [{ "char": "QIA4" }], "splitChars": [{ "char": "石木" }], "weight": 10 }, { "charId": "227ca19e", "unicodeChar": "𣒍", "unicodeCodePoint": "2348D", "pinYinChars": [{ "char": "HE2" }], "splitChars": [{ "char": "木何" }], "weight": 10 }, { "charId": "224e157b", "unicodeChar": "𣔙", "unicodeCodePoint": "23519", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "木欣" }], "weight": 10 }, { "charId": "3f66fff8", "unicodeChar": "𣑯", "unicodeCodePoint": "2346F", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "木兆" }], "weight": 10 }, { "charId": "5298d1e2", "unicodeChar": "𣍏", "unicodeCodePoint": "2334F", "pinYinChars": [{ "char": "CHA4" }], "splitChars": [{ "char": "更差" }], "weight": 10 }, { "charId": "d97ec019", "unicodeChar": "𣊭", "unicodeCodePoint": "232AD", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "昌昌" }], "weight": 10 }, { "charId": "c2aa8b93", "unicodeChar": "𣍇", "unicodeCodePoint": "23347", "pinYinChars": [{ "char": "JU4" }], "splitChars": [{ "char": "更取" }], "weight": 10 }, { "charId": "73da2473", "unicodeChar": "𣈅", "unicodeCodePoint": "23205", "pinYinChars": [{ "char": "CAO2" }], "splitChars": [{ "char": "林日" }], "weight": 10 }, { "charId": "086d6d03", "unicodeChar": "𣊐", "unicodeCodePoint": "23290", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "日晨" }], "weight": 10 }, { "charId": "9f28db70", "unicodeChar": "𣁦", "unicodeCodePoint": "23066", "pinYinChars": [{ "char": "PAN2" }], "splitChars": [{ "char": "斌全" }], "weight": 10 }, { "charId": "4a63b8f2", "unicodeChar": "𣁚", "unicodeCodePoint": "2305A", "pinYinChars": [{ "char": "QING1" }], "splitChars": [{ "char": "文即" }], "weight": 10 }, { "charId": "f8b4f9ce", "unicodeChar": "𢬑", "unicodeCodePoint": "22B11", "pinYinChars": [{ "char": "QU1" }], "splitChars": [{ "char": "扌曲" }], "weight": 10 }, { "charId": "2605b5aa", "unicodeChar": "𢭪", "unicodeCodePoint": "22B6A", "pinYinChars": [{ "char": "KE1" }], "splitChars": [{ "char": "扌克" }], "weight": 10 }, { "charId": "59b12a6a", "unicodeChar": "𢠖", "unicodeCodePoint": "22816", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "林(女)心" }], "weight": 10 }, { "charId": "921d4e76", "unicodeChar": "𢛜", "unicodeCodePoint": "226DC", "pinYinChars": [{ "char": "NI4" }], "splitChars": [{ "char": "泥心" }], "weight": 10 }, { "charId": "a3ed0ccd", "unicodeChar": "𢔁", "unicodeCodePoint": "22501", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "彳夌" }], "weight": 10 }, { "charId": "85a56786", "unicodeChar": "𢌷", "unicodeCodePoint": "22337", "pinYinChars": [{ "char": "QU1" }], "splitChars": [{ "char": "内廾" }], "weight": 10 }, { "charId": "d9d102c6", "unicodeChar": "𢈍", "unicodeCodePoint": "2220D", "pinYinChars": [{ "char": "SHI3" }], "splitChars": [{ "char": "广米" }], "weight": 10 }, { "charId": "ec925908", "unicodeChar": "𣸣", "unicodeCodePoint": "23E23", "pinYinChars": [{ "char": "FEN2" }], "splitChars": [{ "char": "氵贲" }], "weight": 10 }, { "charId": "a7788900", "unicodeChar": "𣵜", "unicodeCodePoint": "23D5C", "pinYinChars": [{ "char": "AO4" }], "splitChars": [{ "char": "氵山" }], "weight": 10 }, { "charId": "0056e363", "unicodeChar": "𣵛", "unicodeCodePoint": "23D5B", "pinYinChars": [{ "char": "XIU4" }], "splitChars": [{ "char": "氵秀" }], "weight": 10 }, { "charId": "906fc1f2", "unicodeChar": "𣳑", "unicodeCodePoint": "23CD1", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "氵申" }], "weight": 10 }, { "charId": "364c75bc", "unicodeChar": "𣲲", "unicodeCodePoint": "23CB2", "pinYinChars": [{ "char": "NI4" }], "splitChars": [{ "char": "氵禾" }], "weight": 10 }, { "charId": "ebc3657a", "unicodeChar": "𣲾", "unicodeCodePoint": "23CBE", "pinYinChars": [{ "char": "GUAI4" }], "splitChars": [{ "char": "氵圣" }], "weight": 10 }, { "charId": "ae8f38a4", "unicodeChar": "𣲥", "unicodeCodePoint": "23CA5", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "氵丹" }], "weight": 10 }, { "charId": "ee23feaf", "unicodeChar": "𣭲", "unicodeCodePoint": "23B72", "pinYinChars": [{ "char": "RONG3" }], "splitChars": [{ "char": "甬毛" }], "weight": 10 }, { "charId": "98627846", "unicodeChar": "𣬛", "unicodeCodePoint": "23B1B", "pinYinChars": [{ "char": "SAN1" }], "splitChars": [{ "char": "丿七" }], "weight": 10 }, { "charId": "5a9fadce", "unicodeChar": "𣚭", "unicodeCodePoint": "236AD", "pinYinChars": [{ "char": "JU2" }], "splitChars": [{ "char": "木菊" }], "weight": 10 }, { "charId": "8c5122ea", "unicodeChar": "𤲞", "unicodeCodePoint": "24C9E", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "人田" }], "weight": 10 }, { "charId": "13c342c7", "unicodeChar": "𤱧", "unicodeCodePoint": "24C67", "pinYinChars": [{ "char": "TUO3" }], "splitChars": [{ "char": "田朵" }], "weight": 10 }, { "charId": "6e6403bf", "unicodeChar": "𤴻", "unicodeCodePoint": "24D3B", "pinYinChars": [{ "char": "TAO2" }], "splitChars": [{ "char": "疒犬" }], "weight": 10 }, { "charId": "6056afc1", "unicodeChar": "𤳖", "unicodeCodePoint": "24CD6", "pinYinChars": [{ "char": "BAN1" }], "splitChars": [{ "char": "番去" }], "weight": 10 }, { "charId": "132ec342", "unicodeChar": "𤫫", "unicodeCodePoint": "24AEB", "pinYinChars": [{ "char": "BAN1" }], "splitChars": [{ "char": "分瓜" }], "weight": 10 }, { "charId": "67d606f3", "unicodeChar": "𮪒", "unicodeCodePoint": "2EA92", "pinYinChars": [{ "char": "YING1" }], "splitChars": [{ "char": "馬英" }], "weight": 10 }, { "charId": "d34d2c7b", "unicodeChar": "𥇦", "unicodeCodePoint": "251E6", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "目析" }], "weight": 10 }, { "charId": "198ade85", "unicodeChar": "𥇖", "unicodeCodePoint": "251D6", "pinYinChars": [{ "char": "FEI1" }], "splitChars": [{ "char": "非目" }], "weight": 10 }, { "charId": "16f4cb09", "unicodeChar": "𤽈", "unicodeCodePoint": "24F48", "pinYinChars": [{ "char": "GAO3" }], "splitChars": [{ "char": "白火" }], "weight": 10 }, { "charId": "3674590b", "unicodeChar": "𬊣", "unicodeCodePoint": "2C2A3", "pinYinChars": [{ "char": "CHUN1" }], "splitChars": [{ "char": "火京" }], "weight": 10 }, { "charId": "0aa7ca4b", "unicodeChar": "𥅉", "unicodeCodePoint": "25149", "pinYinChars": [{ "char": "MEI2" }], "splitChars": [{ "char": "丿冒" }], "weight": 10 }, { "charId": "dd6dbd8e", "unicodeChar": "𥅅", "unicodeCodePoint": "25145", "pinYinChars": [{ "char": "MU4" }], "splitChars": [{ "char": "目击" }], "weight": 10 }, { "charId": "7ced85cb", "unicodeChar": "𥊧", "unicodeCodePoint": "252A7", "pinYinChars": [{ "char": "KOU4" }], "splitChars": [{ "char": "声(殸)目" }], "weight": 10 }, { "charId": "2e1f19ad", "unicodeChar": "𥉐", "unicodeCodePoint": "25250", "pinYinChars": [{ "char": "QI1" }], "splitChars": [{ "char": "目奚" }], "weight": 10 }, { "charId": "8f83e05e", "unicodeChar": "𫘘", "unicodeCodePoint": "2B618", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "路馬" }], "weight": 10 }, { "charId": "96181621", "unicodeChar": "𥈨", "unicodeCodePoint": "25228", "pinYinChars": [{ "char": "DU" }], "splitChars": [{ "char": "目段" }], "weight": 10 }, { "charId": "0b6bc938", "unicodeChar": "龭", "unicodeCodePoint": "9FAD", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "馬異" }], "weight": 10 }, { "charId": "813b92b8", "unicodeChar": "𤽹", "unicodeCodePoint": "24F79", "pinYinChars": [{ "char": "BAI4" }], "splitChars": [{ "char": "白卑" }], "weight": 10 }, { "charId": "d2305a9c", "unicodeChar": "𫗧", "unicodeCodePoint": "2B5E7", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "饣束" }], "weight": 10 }, { "charId": "701ff451", "unicodeChar": "𤰼", "unicodeCodePoint": "24C3C", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "田牛" }], "weight": 10 }, { "charId": "8cb5963c", "unicodeChar": "𬲯", "unicodeCodePoint": "2CCAF", "pinYinChars": [{ "char": "GOU1" }], "splitChars": [{ "char": "饣句" }], "weight": 10 }, { "charId": "80f72228", "unicodeChar": "𤷍", "unicodeCodePoint": "24DCD", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "疒其" }], "weight": 10 }, { "charId": "d630cba1", "unicodeChar": "𤵐", "unicodeCodePoint": "24D50", "pinYinChars": [{ "char": "WU4" }], "splitChars": [{ "char": "疒勿" }], "weight": 10 }, { "charId": "e95d4812", "unicodeChar": "龮", "unicodeCodePoint": "9FAE", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "馬翼" }], "weight": 10 }, { "charId": "da5b10a5", "unicodeChar": "𥄟", "unicodeCodePoint": "2511F", "pinYinChars": [{ "char": "SHAN3" }], "splitChars": [{ "char": "分目" }], "weight": 10 }, { "charId": "44dfd3c0", "unicodeChar": "𥕥", "unicodeCodePoint": "25565", "pinYinChars": [{ "char": "OU1" }], "splitChars": [{ "char": "石區" }], "weight": 10 }, { "charId": "ed3066a6", "unicodeChar": "𬶐", "unicodeCodePoint": "2CD90", "pinYinChars": [{ "char": "ZHAO4" }], "splitChars": [{ "char": "鱼兆" }], "weight": 10 }, { "charId": "baf4f381", "unicodeChar": "𬶍", "unicodeCodePoint": "2CD8D", "pinYinChars": [{ "char": "TUO2" }], "splitChars": [{ "char": "鱼它" }], "weight": 10 }, { "charId": "febd8476", "unicodeChar": "𥔿", "unicodeCodePoint": "2553F", "pinYinChars": [{ "char": "TAO1" }], "splitChars": [{ "char": "石舀" }], "weight": 10 }, { "charId": "c54f1a3c", "unicodeChar": "𥓒", "unicodeCodePoint": "254D2", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "石臽" }], "weight": 10 }, { "charId": "c58049a1", "unicodeChar": "㻞", "unicodeCodePoint": "3EDE", "pinYinChars": [{ "char": "BIN1" }], "splitChars": [{ "char": "王扁" }], "weight": 10 }, { "charId": "aec84bbc", "unicodeChar": "𬷕", "unicodeCodePoint": "2CDD5", "pinYinChars": [{ "char": "BU1" }], "splitChars": [{ "char": "甫鸟" }], "weight": 10 }, { "charId": "52c9edef", "unicodeChar": "㻢", "unicodeCodePoint": "3EE2", "pinYinChars": [{ "char": "SHI1" }], "splitChars": [{ "char": "王施" }], "weight": 10 }, { "charId": "2e9a93e8", "unicodeChar": "𥐚", "unicodeCodePoint": "2541A", "pinYinChars": [{ "char": "PU3" }], "splitChars": [{ "char": "石卜" }], "weight": 10 }, { "charId": "0332a471", "unicodeChar": "䃅", "unicodeCodePoint": "40C5", "pinYinChars": [{ "char": "DI1" }], "splitChars": [{ "char": "石单" }], "weight": 10 }, { "charId": "596a12d0", "unicodeChar": "𥒰", "unicodeCodePoint": "254B0", "pinYinChars": [{ "char": "FU3" }], "splitChars": [{ "char": "石甫" }], "weight": 10 }, { "charId": "941139db", "unicodeChar": "䂼", "unicodeCodePoint": "40BC", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "石念" }], "weight": 10 }, { "charId": "1613a738", "unicodeChar": "𥒞", "unicodeCodePoint": "2549E", "pinYinChars": [{ "char": "YANG2" }], "splitChars": [{ "char": "石羊" }], "weight": 10 }, { "charId": "75d1aa98", "unicodeChar": "䃂", "unicodeCodePoint": "40C2", "pinYinChars": [{ "char": "GUN3" }], "splitChars": [{ "char": "石昆" }], "weight": 10 }, { "charId": "65ae24c5", "unicodeChar": "䂬", "unicodeCodePoint": "40AC", "pinYinChars": [{ "char": "GONG3" }], "splitChars": [{ "char": "巩石" }], "weight": 10 }, { "charId": "caa9891c", "unicodeChar": "𥑸", "unicodeCodePoint": "25478", "pinYinChars": [{ "char": "ZHOU1" }], "splitChars": [{ "char": "石舟" }], "weight": 10 }, { "charId": "48e9428a", "unicodeChar": "䂭", "unicodeCodePoint": "40AD", "pinYinChars": [{ "char": "QIAO1" }], "splitChars": [{ "char": "石交" }], "weight": 10 }, { "charId": "be13ddb3", "unicodeChar": "𥑮", "unicodeCodePoint": "2546E", "pinYinChars": [{ "char": "GU" }], "splitChars": [{ "char": "石古" }], "weight": 10 }, { "charId": "20081b6a", "unicodeChar": "䀹", "unicodeCodePoint": "4039", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "目夾" }], "weight": 10 }, { "charId": "3c5cdfe0", "unicodeChar": "𥖁", "unicodeCodePoint": "25581", "pinYinChars": [{ "char": "ZUN1" }], "splitChars": [{ "char": "石尊" }], "weight": 10 }, { "charId": "875ca36e", "unicodeChar": "𥕵", "unicodeCodePoint": "25575", "pinYinChars": [{ "char": "GAN3" }], "splitChars": [{ "char": "石敢" }], "weight": 10 }, { "charId": "5c5b99ed", "unicodeChar": "𥑇", "unicodeCodePoint": "25447", "pinYinChars": [{ "char": "DIE2" }], "splitChars": [{ "char": "石失" }], "weight": 10 }, { "charId": "d74c3300", "unicodeChar": "𬴃", "unicodeCodePoint": "2CD03", "pinYinChars": [{ "char": "HUO1" }], "splitChars": [{ "char": "马石" }], "weight": 10 }, { "charId": "d1a1bab1", "unicodeChar": "𥐸", "unicodeCodePoint": "25438", "pinYinChars": [{ "char": "YIN3" }], "splitChars": [{ "char": "石允" }], "weight": 10 }, { "charId": "e66d29f8", "unicodeChar": "𥐱", "unicodeCodePoint": "25431", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "石冗" }], "weight": 10 }, { "charId": "13dc0299", "unicodeChar": "𥐯", "unicodeCodePoint": "2542F", "pinYinChars": [{ "char": "TAN2" }], "splitChars": [{ "char": "石云" }], "weight": 10 }, { "charId": "53f366f0", "unicodeChar": "𥐩", "unicodeCodePoint": "25429", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "石匀" }], "weight": 10 }, { "charId": "d668149a", "unicodeChar": "𥐜", "unicodeCodePoint": "2541C", "pinYinChars": [{ "char": "JI" }], "splitChars": [{ "char": "石九" }], "weight": 10 }, { "charId": "c1a0bdc9", "unicodeChar": "𥆡", "unicodeCodePoint": "251A1", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "目含" }], "weight": 10 }, { "charId": "58762bf5", "unicodeChar": "𥅽", "unicodeCodePoint": "2517D", "pinYinChars": [{ "char": "JI" }], "splitChars": [{ "char": "合目" }], "weight": 10 }, { "charId": "9920db9f", "unicodeChar": "㻚", "unicodeCodePoint": "3EDA", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "王朋" }], "weight": 10 }, { "charId": "183f28cd", "unicodeChar": "𥏜", "unicodeCodePoint": "253DC", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "矢奇" }], "weight": 10 }, { "charId": "efa02c03", "unicodeChar": "𬷈", "unicodeCodePoint": "2CDC8", "pinYinChars": [{ "char": "DAI4" }], "splitChars": [{ "char": "代鳥" }], "weight": 10 }, { "charId": "2674e8aa", "unicodeChar": "㻖", "unicodeCodePoint": "3ED6", "pinYinChars": [{ "char": "DAI4" }], "splitChars": [{ "char": "王隶" }], "weight": 10 }, { "charId": "006ef067", "unicodeChar": "㻙", "unicodeCodePoint": "3ED9", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "王育" }], "weight": 10 }, { "charId": "4bd43dd9", "unicodeChar": "㻐", "unicodeCodePoint": "3ED0", "pinYinChars": [{ "char": "QUN1" }], "splitChars": [{ "char": "王夋" }], "weight": 10 }, { "charId": "e7f1acea", "unicodeChar": "𥋆", "unicodeCodePoint": "252C6", "pinYinChars": [{ "char": "DUN1" }], "splitChars": [{ "char": "目敦" }], "weight": 10 }, { "charId": "e77f3a72", "unicodeChar": "𥑘", "unicodeCodePoint": "25458", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "石未" }], "weight": 10 }, { "charId": "32c65965", "unicodeChar": "䄸", "unicodeCodePoint": "4138", "pinYinChars": [{ "char": "PO4" }], "splitChars": [{ "char": "禾白" }], "weight": 10 }, { "charId": "4894fbec", "unicodeChar": "䄓", "unicodeCodePoint": "4113", "pinYinChars": [{ "char": "HUANG2" }], "splitChars": [{ "char": "礻皇" }], "weight": 10 }, { "charId": "d2526164", "unicodeChar": "䄙", "unicodeCodePoint": "4119", "pinYinChars": [{ "char": "MING2" }], "splitChars": [{ "char": "礻冥" }], "weight": 10 }, { "charId": "b8e8f672", "unicodeChar": "𬸦", "unicodeCodePoint": "2CE26", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "族鸟" }], "weight": 10 }, { "charId": "e0a7ebdc", "unicodeChar": "䃿", "unicodeCodePoint": "40FF", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "礻夫" }], "weight": 10 }, { "charId": "7c02b4d3", "unicodeChar": "䉪", "unicodeCodePoint": "426A", "pinYinChars": [{ "char": "LEI4" }], "splitChars": [{ "char": "竹田" }], "weight": 10 }, { "charId": "31d5923c", "unicodeChar": "𡷟", "unicodeCodePoint": "21DDF", "pinYinChars": [{ "char": "LONG4" }], "splitChars": [{ "char": "山弄" }], "weight": 10 }, { "charId": "91b4c504", "unicodeChar": "䓶", "unicodeCodePoint": "44F6", "pinYinChars": [{ "char": "LAI4" }], "splitChars": [{ "char": "艹剌" }], "weight": 10 }, { "charId": "c082c948", "unicodeChar": "䔉", "unicodeCodePoint": "4509", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "艹禾" }], "weight": 10 }, { "charId": "c29fa156", "unicodeChar": "䓂", "unicodeCodePoint": "44C2", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "艹言" }], "weight": 10 }, { "charId": "ecaaca71", "unicodeChar": "䓊", "unicodeCodePoint": "44CA", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "艹吾" }], "weight": 10 }, { "charId": "a211bd18", "unicodeChar": "䒩", "unicodeCodePoint": "44A9", "pinYinChars": [{ "char": "HE2" }], "splitChars": [{ "char": "艹禾" }], "weight": 10 }, { "charId": "91fbf221", "unicodeChar": "䒵", "unicodeCodePoint": "44B5", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "艹好" }], "weight": 10 }, { "charId": "bf771498", "unicodeChar": "䒕", "unicodeCodePoint": "4495", "pinYinChars": [{ "char": "XIAO3" }], "splitChars": [{ "char": "艹小" }], "weight": 10 }, { "charId": "9969a951", "unicodeChar": "㽘", "unicodeCodePoint": "3F58", "pinYinChars": [{ "char": "GANG3" }], "splitChars": [{ "char": "田亢" }], "weight": 10 }, { "charId": "618f9e2c", "unicodeChar": "㿠", "unicodeCodePoint": "3FE0", "pinYinChars": [{ "char": "HUANG4" }], "splitChars": [{ "char": "白光" }], "weight": 10 }, { "charId": "4c6f2244", "unicodeChar": "㽏", "unicodeCodePoint": "3F4F", "pinYinChars": [{ "char": "GAN4" }], "splitChars": [{ "char": "洽甘" }], "weight": 10 }, { "charId": "3047febb", "unicodeChar": "䃥", "unicodeCodePoint": "40E5", "pinYinChars": [{ "char": "CHUANG2" }], "splitChars": [{ "char": "石童" }], "weight": 10 }, { "charId": "835ce8af", "unicodeChar": "䃎", "unicodeCodePoint": "40CE", "pinYinChars": [{ "char": "ZHA4" }], "splitChars": [{ "char": "石多" }], "weight": 10 }, { "charId": "8256df09", "unicodeChar": "䃗", "unicodeCodePoint": "40D7", "pinYinChars": [{ "char": "BO1" }], "splitChars": [{ "char": "石剥" }], "weight": 10 }, { "charId": "ddcd38af", "unicodeChar": "𬸘", "unicodeCodePoint": "2CE18", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "匚(匽)鸟" }], "weight": 10 }, { "charId": "34b7523b", "unicodeChar": "䇯", "unicodeCodePoint": "41EF", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "竹耳" }], "weight": 10 }, { "charId": "b0e71023", "unicodeChar": "䇛", "unicodeCodePoint": "41DB", "pinYinChars": [{ "char": "ZHI3" }], "splitChars": [{ "char": "竹止" }], "weight": 10 }, { "charId": "bf29cfae", "unicodeChar": "䇭", "unicodeCodePoint": "41ED", "pinYinChars": [{ "char": "LAO3" }], "splitChars": [{ "char": "竹老" }], "weight": 10 }, { "charId": "74f0560b", "unicodeChar": "䅼", "unicodeCodePoint": "417C", "pinYinChars": [{ "char": "MAN2" }], "splitChars": [{ "char": "禾曼" }], "weight": 10 }, { "charId": "dc4de4f2", "unicodeChar": "𥘏", "unicodeCodePoint": "2560F", "pinYinChars": [{ "char": "GAN3" }], "splitChars": [{ "char": "礻干" }], "weight": 10 }, { "charId": "1e640f62", "unicodeChar": "䆔", "unicodeCodePoint": "4194", "pinYinChars": [{ "char": "CHONG1" }], "splitChars": [{ "char": "穴中" }], "weight": 10 }, { "charId": "da834d6f", "unicodeChar": "𥗝", "unicodeCodePoint": "255DD", "pinYinChars": [{ "char": "RANG3" }], "splitChars": [{ "char": "石襄" }], "weight": 10 }, { "charId": "2c1022d1", "unicodeChar": "𥖏", "unicodeCodePoint": "2558F", "pinYinChars": [{ "char": "GU" }], "splitChars": [{ "char": "石貫" }], "weight": 10 }, { "charId": "ac660c3d", "unicodeChar": "𨑾", "unicodeCodePoint": "2847E", "pinYinChars": [{ "char": "NANG2" }], "splitChars": [{ "char": "辶水" }], "weight": 10 }, { "charId": "6668cdef", "unicodeChar": "䝞", "unicodeCodePoint": "475E", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "豸虎" }], "weight": 10 }, { "charId": "8c1fc523", "unicodeChar": "䕕", "unicodeCodePoint": "4555", "pinYinChars": [{ "char": "MAN4" }], "splitChars": [{ "char": "艹曼" }], "weight": 10 }, { "charId": "176e39d5", "unicodeChar": "䖑", "unicodeCodePoint": "4591", "pinYinChars": [{ "char": "MI4" }], "splitChars": [{ "char": "虎日" }], "weight": 10 }, { "charId": "17da41bb", "unicodeChar": "䔧", "unicodeCodePoint": "4527", "pinYinChars": [{ "char": "LI2" }], "splitChars": [{ "char": "艹梨" }], "weight": 10 }, { "charId": "a4731e78", "unicodeChar": "䔽", "unicodeCodePoint": "453D", "pinYinChars": [{ "char": "DU2" }], "splitChars": [{ "char": "艹渴" }], "weight": 10 }, { "charId": "9043f109", "unicodeChar": "䵚", "unicodeCodePoint": "4D5A", "pinYinChars": [{ "char": "TAO3" }], "splitChars": [{ "char": "黍舀" }], "weight": 10 }, { "charId": "49688874", "unicodeChar": "𫝴", "unicodeCodePoint": "2B774", "pinYinChars": [{ "char": "HOU4" }], "splitChars": [{ "char": "山后" }], "weight": 10 }, { "charId": "b9bcfd14", "unicodeChar": "𫟭", "unicodeCodePoint": "2B7ED", "pinYinChars": [{ "char": "KE4" }], "splitChars": [{ "char": "客阝" }], "weight": 10 }, { "charId": "e705b56c", "unicodeChar": "䑩", "unicodeCodePoint": "4469", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "舟古" }], "weight": 10 }, { "charId": "e80d4dce", "unicodeChar": "䑣", "unicodeCodePoint": "4463", "pinYinChars": [{ "char": "CHEN1" }], "splitChars": [{ "char": "舟彡" }], "weight": 10 }, { "charId": "4192199d", "unicodeChar": "䌹", "unicodeCodePoint": "4339", "pinYinChars": [{ "char": "JIONG1" }], "splitChars": [{ "char": "纟冋" }], "weight": 10 }, { "charId": "e8077171", "unicodeChar": "䔟", "unicodeCodePoint": "451F", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "艹移" }], "weight": 10 }, { "charId": "b1f2dab2", "unicodeChar": "䧄", "unicodeCodePoint": "49C4", "pinYinChars": [{ "char": "GE4" }], "splitChars": [{ "char": "阝各" }], "weight": 10 }, { "charId": "d52addaa", "unicodeChar": "䢺", "unicodeCodePoint": "48BA", "pinYinChars": [{ "char": "CHU1" }], "splitChars": [{ "char": "出阝" }], "weight": 10 }, { "charId": "bfa9f573", "unicodeChar": "䤰", "unicodeCodePoint": "4930", "pinYinChars": [{ "char": "YONG2" }], "splitChars": [{ "char": "坎金" }], "weight": 10 }, { "charId": "60356310", "unicodeChar": "𠇱", "unicodeCodePoint": "201F1", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "亻末" }], "weight": 10 }, { "charId": "bc3fad5a", "unicodeChar": "𠆩", "unicodeCodePoint": "201A9", "pinYinChars": [{ "char": "FAN4" }], "splitChars": [{ "char": "亻凡" }], "weight": 10 }, { "charId": "87946de4", "unicodeChar": "𠃝", "unicodeCodePoint": "200DD", "pinYinChars": [{ "char": "NIU4" }], "splitChars": [{ "char": "乙小" }], "weight": 10 }, { "charId": "335898c1", "unicodeChar": "䨝", "unicodeCodePoint": "4A1D", "pinYinChars": [{ "char": "QING1" }], "splitChars": [{ "char": "雨青" }], "weight": 10 }, { "charId": "0905c7a3", "unicodeChar": "䨒", "unicodeCodePoint": "4A12", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "雨羽" }], "weight": 10 }, { "charId": "74b21c0a", "unicodeChar": "𦸁", "unicodeCodePoint": "26E01", "pinYinChars": [{ "char": "TAN1" }], "splitChars": [{ "char": "艹淡" }], "weight": 10 }, { "charId": "87946312", "unicodeChar": "𦷪", "unicodeCodePoint": "26DEA", "pinYinChars": [{ "char": "SU" }], "splitChars": [{ "char": "艹妥" }], "weight": 10 }, { "charId": "aec913d8", "unicodeChar": "𧁃", "unicodeCodePoint": "27043", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "艹畜" }], "weight": 10 }, { "charId": "a7ba295d", "unicodeChar": "𧀺", "unicodeCodePoint": "2703A", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "艹頁" }], "weight": 10 }, { "charId": "66cc4d64", "unicodeChar": "𧀮", "unicodeCodePoint": "2702E", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "艹敷" }], "weight": 10 }, { "charId": "d83dc590", "unicodeChar": "𧀠", "unicodeCodePoint": "27020", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "艹是" }], "weight": 10 }, { "charId": "c1f03b12", "unicodeChar": "𧄁", "unicodeCodePoint": "27101", "pinYinChars": [{ "char": "XI" }], "splitChars": [{ "char": "艹霞" }], "weight": 10 }, { "charId": "5a2f8eba", "unicodeChar": "𧃸", "unicodeCodePoint": "270F8", "pinYinChars": [{ "char": "HUI1" }], "splitChars": [{ "char": "艹徽" }], "weight": 10 }, { "charId": "01d441bc", "unicodeChar": "𦽎", "unicodeCodePoint": "26F4E", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "艹禄" }], "weight": 10 }, { "charId": "54993cdc", "unicodeChar": "𦼊", "unicodeCodePoint": "26F0A", "pinYinChars": [{ "char": "LENG2" }], "splitChars": [{ "char": "艹棱" }], "weight": 10 }, { "charId": "ee0869d7", "unicodeChar": "𦺷", "unicodeCodePoint": "26EB7", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "艹先" }], "weight": 10 }, { "charId": "0d29df7b", "unicodeChar": "𦺦", "unicodeCodePoint": "26EA6", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "艹寒" }], "weight": 10 }, { "charId": "ef943c74", "unicodeChar": "𦺖", "unicodeCodePoint": "26E96", "pinYinChars": [{ "char": "JU2" }], "splitChars": [{ "char": "艹矞" }], "weight": 10 }, { "charId": "60a7c972", "unicodeChar": "𦺓", "unicodeCodePoint": "26E93", "pinYinChars": [{ "char": "ZHAO4" }], "splitChars": [{ "char": "艹朝" }], "weight": 10 }, { "charId": "9df2cd3d", "unicodeChar": "𦺊", "unicodeCodePoint": "26E8A", "pinYinChars": [{ "char": "GUAN1" }], "splitChars": [{ "char": "艹完" }], "weight": 10 }, { "charId": "ce3a42e7", "unicodeChar": "𦾿", "unicodeCodePoint": "26FBF", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "艹精" }], "weight": 10 }, { "charId": "d4a1142b", "unicodeChar": "𦹔", "unicodeCodePoint": "26E54", "pinYinChars": [{ "char": "KU" }], "splitChars": [{ "char": "艹欵" }], "weight": 10 }, { "charId": "c3bb4665", "unicodeChar": "𦸗", "unicodeCodePoint": "26E17", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "艹戚" }], "weight": 10 }, { "charId": "b162f21a", "unicodeChar": "𦸐", "unicodeCodePoint": "26E10", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "艹陸" }], "weight": 10 }, { "charId": "16867771", "unicodeChar": "𦸂", "unicodeCodePoint": "26E02", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "艹深" }], "weight": 10 }, { "charId": "5def3398", "unicodeChar": "𥚛", "unicodeCodePoint": "2569B", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "礻昆" }], "weight": 10 }, { "charId": "989ff229", "unicodeChar": "𧉟", "unicodeCodePoint": "2725F", "pinYinChars": [{ "char": "TAI1" }], "splitChars": [{ "char": "虫台" }], "weight": 10 }, { "charId": "ce67688b", "unicodeChar": "𥚉", "unicodeCodePoint": "25689", "pinYinChars": [{ "char": "ZI1" }], "splitChars": [{ "char": "礻甾" }], "weight": 10 }, { "charId": "44272d7f", "unicodeChar": "𧕖", "unicodeCodePoint": "27556", "pinYinChars": [{ "char": "XI" }], "splitChars": [{ "char": "虫霞" }], "weight": 10 }, { "charId": "758e2a9c", "unicodeChar": "𧒽", "unicodeCodePoint": "274BD", "pinYinChars": [{ "char": "LEI2" }], "splitChars": [{ "char": "虫雷" }], "weight": 10 }, { "charId": "53eb1588", "unicodeChar": "𧎚", "unicodeCodePoint": "2739A", "pinYinChars": [{ "char": "DU" }], "splitChars": [{ "char": "虫段" }], "weight": 10 }, { "charId": "218300b4", "unicodeChar": "𧙣", "unicodeCodePoint": "27663", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "衤夷" }], "weight": 10 }, { "charId": "1be778f7", "unicodeChar": "𧙝", "unicodeCodePoint": "2765D", "pinYinChars": [{ "char": "CHE4" }], "splitChars": [{ "char": "衤斥" }], "weight": 10 }, { "charId": "e346f1d1", "unicodeChar": "𥥧", "unicodeCodePoint": "25967", "pinYinChars": [{ "char": "XIONG4" }], "splitChars": [{ "char": "穴老" }], "weight": 10 }, { "charId": "080a86d1", "unicodeChar": "𥥅", "unicodeCodePoint": "25945", "pinYinChars": [{ "char": "KONG3" }], "splitChars": [{ "char": "穴孔" }], "weight": 10 }, { "charId": "70aa4041", "unicodeChar": "𧊂", "unicodeCodePoint": "27282", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "虫冬" }], "weight": 10 }, { "charId": "d2f133b8", "unicodeChar": "𧉽", "unicodeCodePoint": "2727D", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "虫市" }], "weight": 10 }, { "charId": "72077674", "unicodeChar": "𥞍", "unicodeCodePoint": "2578D", "pinYinChars": [{ "char": "KE2" }], "splitChars": [{ "char": "禾可" }], "weight": 10 }, { "charId": "c289b117", "unicodeChar": "𥤺", "unicodeCodePoint": "2593A", "pinYinChars": [{ "char": "WA1" }], "splitChars": [{ "char": "穴手" }], "weight": 10 }, { "charId": "368e5882", "unicodeChar": "𧉣", "unicodeCodePoint": "27263", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "虫玉" }], "weight": 10 }, { "charId": "bb8f94c1", "unicodeChar": "𧄠", "unicodeCodePoint": "27120", "pinYinChars": [{ "char": "ZHA2" }], "splitChars": [{ "char": "艹枼" }], "weight": 10 }, { "charId": "5cc5c0f4", "unicodeChar": "𧌊", "unicodeCodePoint": "2730A", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "虫夜" }], "weight": 10 }, { "charId": "1aeab96e", "unicodeChar": "𧊬", "unicodeCodePoint": "272AC", "pinYinChars": [{ "char": "HE4" }], "splitChars": [{ "char": "艹虫" }], "weight": 10 }, { "charId": "85433d1b", "unicodeChar": "𧂨", "unicodeCodePoint": "270A8", "pinYinChars": [{ "char": "DI4" }], "splitChars": [{ "char": "艹(蒂)足" }], "weight": 10 }, { "charId": "eef56fe1", "unicodeChar": "𧂈", "unicodeCodePoint": "27088", "pinYinChars": [{ "char": "JIAO3" }], "splitChars": [{ "char": "艹操" }], "weight": 10 }, { "charId": "202400f8", "unicodeChar": "𧁜", "unicodeCodePoint": "2705C", "pinYinChars": [{ "char": "HU" }], "splitChars": [{ "char": "艹慧" }], "weight": 10 }, { "charId": "a4c3835b", "unicodeChar": "𧛀", "unicodeCodePoint": "276C0", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "林衣" }], "weight": 10 }, { "charId": "a08c36fe", "unicodeChar": "𦸪", "unicodeCodePoint": "26E2A", "pinYinChars": [{ "char": "PEI2" }], "splitChars": [{ "char": "艹非" }], "weight": 10 }, { "charId": "4db76229", "unicodeChar": "𧚫", "unicodeCodePoint": "276AB", "pinYinChars": [{ "char": "QIAN4" }], "splitChars": [{ "char": "衤青" }], "weight": 10 }, { "charId": "2a425f24", "unicodeChar": "𧚨", "unicodeCodePoint": "276A8", "pinYinChars": [{ "char": "QI4" }], "splitChars": [{ "char": "衤疌" }], "weight": 10 }, { "charId": "48089003", "unicodeChar": "𦊫", "unicodeCodePoint": "262AB", "pinYinChars": [{ "char": "GONG1" }], "splitChars": [{ "char": "四光" }], "weight": 10 }, { "charId": "acfa5850", "unicodeChar": "𧟄", "unicodeCodePoint": "277C4", "pinYinChars": [{ "char": "RANG2" }], "splitChars": [{ "char": "衤襄" }], "weight": 10 }, { "charId": "be2a79ea", "unicodeChar": "𧞏", "unicodeCodePoint": "2778F", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "衤與" }], "weight": 10 }, { "charId": "b92532c0", "unicodeChar": "𦬎", "unicodeCodePoint": "26B0E", "pinYinChars": [{ "char": "YE2" }], "splitChars": [{ "char": "艹也" }], "weight": 10 }, { "charId": "3e1ebc52", "unicodeChar": "𧦞", "unicodeCodePoint": "2799E", "pinYinChars": [{ "char": "PU4" }], "splitChars": [{ "char": "言布" }], "weight": 10 }, { "charId": "e362cb9d", "unicodeChar": "𦭜", "unicodeCodePoint": "26B5C", "pinYinChars": [{ "char": "ZHI1" }], "splitChars": [{ "char": "艹只" }], "weight": 10 }, { "charId": "f933e33b", "unicodeChar": "𦬅", "unicodeCodePoint": "26B05", "pinYinChars": [{ "char": "KOU1" }], "splitChars": [{ "char": "艹口" }], "weight": 10 }, { "charId": "abac21b1", "unicodeChar": "𧥣", "unicodeCodePoint": "27963", "pinYinChars": [{ "char": "KOU4" }], "splitChars": [{ "char": "言口" }], "weight": 10 }, { "charId": "0e18ad32", "unicodeChar": "𧣖", "unicodeCodePoint": "278D6", "pinYinChars": [{ "char": "TUO2" }], "splitChars": [{ "char": "角它" }], "weight": 10 }, { "charId": "466774f9", "unicodeChar": "𧊅", "unicodeCodePoint": "27285", "pinYinChars": [{ "char": "GUAI3" }], "splitChars": [{ "char": "虫另" }], "weight": 10 }, { "charId": "53132173", "unicodeChar": "𧈢", "unicodeCodePoint": "27222", "pinYinChars": [{ "char": "BA1" }], "splitChars": [{ "char": "虫八" }], "weight": 10 }, { "charId": "f5b4dac5", "unicodeChar": "𧉀", "unicodeCodePoint": "27240", "pinYinChars": [{ "char": "CHI3" }], "splitChars": [{ "char": "虫止" }], "weight": 10 }, { "charId": "0770ea6c", "unicodeChar": "𧛟", "unicodeCodePoint": "276DF", "pinYinChars": [{ "char": "XING1" }], "splitChars": [{ "char": "衤星" }], "weight": 10 }, { "charId": "b85cfc40", "unicodeChar": "𧆺", "unicodeCodePoint": "271BA", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "令虎" }], "weight": 10 }, { "charId": "de1a386a", "unicodeChar": "𦓐", "unicodeCodePoint": "264D0", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "丿丨" }], "weight": 10 }, { "charId": "fe10e7be", "unicodeChar": "𧗠", "unicodeCodePoint": "275E0", "pinYinChars": [{ "char": "AO" }], "splitChars": [{ "char": "行冫" }], "weight": 10 }, { "charId": "5b2a9dba", "unicodeChar": "𦖠", "unicodeCodePoint": "265A0", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "耳炎" }], "weight": 10 }, { "charId": "d30d7c94", "unicodeChar": "𧚉", "unicodeCodePoint": "27689", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "衤夋" }], "weight": 10 }, { "charId": "ba10f1cd", "unicodeChar": "𫟼", "unicodeCodePoint": "2B7FC", "pinYinChars": [{ "char": "DA2" }], "splitChars": [{ "char": "钅达" }], "weight": 10 }, { "charId": "494d3c22", "unicodeChar": "𧚀", "unicodeCodePoint": "27680", "pinYinChars": [{ "char": "MU4" }], "splitChars": [{ "char": "衤每" }], "weight": 10 }, { "charId": "687462ea", "unicodeChar": "𥸱", "unicodeCodePoint": "25E31", "pinYinChars": [{ "char": "GU1" }], "splitChars": [{ "char": "米几(凢)" }], "weight": 10 }, { "charId": "2ff69fb5", "unicodeChar": "𧜧", "unicodeCodePoint": "27727", "pinYinChars": [{ "char": "CHUANG1" }], "splitChars": [{ "char": "衤舂" }], "weight": 10 }, { "charId": "0adc9788", "unicodeChar": "𧜊", "unicodeCodePoint": "2770A", "pinYinChars": [{ "char": "LV3" }], "splitChars": [{ "char": "衣日" }], "weight": 10 }, { "charId": "cc8a537c", "unicodeChar": "𧛭", "unicodeCodePoint": "276ED", "pinYinChars": [{ "char": "RUO4" }], "splitChars": [{ "char": "衤若" }], "weight": 10 }, { "charId": "3e941c77", "unicodeChar": "𮃇", "unicodeCodePoint": "2E0C7", "pinYinChars": [{ "char": "QIAN4" }], "splitChars": [{ "char": "禾青" }], "weight": 10 }, { "charId": "a8a159c4", "unicodeChar": "𦥏", "unicodeCodePoint": "2694F", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "至至" }], "weight": 10 }, { "charId": "d8f66fd6", "unicodeChar": "𧘏", "unicodeCodePoint": "2760F", "pinYinChars": [{ "char": "GONG1" }], "splitChars": [{ "char": "衤弓" }], "weight": 10 }, { "charId": "20d1d034", "unicodeChar": "𧘍", "unicodeCodePoint": "2760D", "pinYinChars": [{ "char": "JIANG1" }], "splitChars": [{ "char": "衤工" }], "weight": 10 }, { "charId": "e4d322eb", "unicodeChar": "𧨳", "unicodeCodePoint": "27A33", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "言卓" }], "weight": 10 }, { "charId": "c2b10e9e", "unicodeChar": "𨥖", "unicodeCodePoint": "28956", "pinYinChars": [{ "char": "SHU" }], "splitChars": [{ "char": "金双" }], "weight": 10 }, { "charId": "0ad4d0b1", "unicodeChar": "𧨡", "unicodeCodePoint": "27A21", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "言君" }], "weight": 10 }, { "charId": "c08f1956", "unicodeChar": "𨚗", "unicodeCodePoint": "28697", "pinYinChars": [{ "char": "NA4" }], "splitChars": [{ "char": "冉阝" }], "weight": 10 }, { "charId": "8b021324", "unicodeChar": "𧧾", "unicodeCodePoint": "279FE", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "言貝" }], "weight": 10 }, { "charId": "6ccd5cfc", "unicodeChar": "𨟠", "unicodeCodePoint": "287E0", "pinYinChars": [{ "char": "QUE4" }], "splitChars": [{ "char": "瞿阝" }], "weight": 10 }, { "charId": "80f6e4ab", "unicodeChar": "𨓨", "unicodeCodePoint": "284E8", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "辶角" }], "weight": 10 }, { "charId": "6e51643a", "unicodeChar": "𧧸", "unicodeCodePoint": "279F8", "pinYinChars": [{ "char": "BIE2" }], "splitChars": [{ "char": "言别" }], "weight": 10 }, { "charId": "73c49457", "unicodeChar": "𧧕", "unicodeCodePoint": "279D5", "pinYinChars": [{ "char": "ZI4" }], "splitChars": [{ "char": "言字" }], "weight": 10 }, { "charId": "39c0adcb", "unicodeChar": "𠽠", "unicodeCodePoint": "20F60", "pinYinChars": [{ "char": "DUAN4" }], "splitChars": [{ "char": "古段" }], "weight": 10 }, { "charId": "bd3ce554", "unicodeChar": "𧙖", "unicodeCodePoint": "27656", "pinYinChars": [{ "char": "GU1" }], "splitChars": [{ "char": "衤古" }], "weight": 10 }, { "charId": "4fcb0a82", "unicodeChar": "𧪦", "unicodeCodePoint": "27AA6", "pinYinChars": [{ "char": "TA1" }], "splitChars": [{ "char": "訁𦐇" }], "weight": 10 }, { "charId": "2d2611d6", "unicodeChar": "𧬌", "unicodeCodePoint": "27B0C", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "言山" }], "weight": 10 }, { "charId": "4c65e913", "unicodeChar": "𨐒", "unicodeCodePoint": "28412", "pinYinChars": [{ "char": "GU1" }], "splitChars": [{ "char": "古辛" }], "weight": 10 }, { "charId": "e5929084", "unicodeChar": "𧬆", "unicodeCodePoint": "27B06", "pinYinChars": [{ "char": "ZHAN3" }], "splitChars": [{ "char": "言善" }], "weight": 10 }, { "charId": "afe1eccc", "unicodeChar": "𨑥", "unicodeCodePoint": "28465", "pinYinChars": [{ "char": "WU4" }], "splitChars": [{ "char": "辶勿" }], "weight": 10 }, { "charId": "5062372c", "unicodeChar": "𧬂", "unicodeCodePoint": "27B02", "pinYinChars": [{ "char": "HE4" }], "splitChars": [{ "char": "言賀" }], "weight": 10 }, { "charId": "681a3a18", "unicodeChar": "𬭤", "unicodeCodePoint": "2CB64", "pinYinChars": [{ "char": "HOU2" }], "splitChars": [{ "char": "钅侯" }], "weight": 10 }, { "charId": "1307e744", "unicodeChar": "𨈘", "unicodeCodePoint": "28218", "pinYinChars": [{ "char": "SHAO3" }], "splitChars": [{ "char": "身少" }], "weight": 10 }, { "charId": "fa918320", "unicodeChar": "𧫿", "unicodeCodePoint": "27AFF", "pinYinChars": [{ "char": "TAN3" }], "splitChars": [{ "char": "言尋" }], "weight": 10 }, { "charId": "e9ebd213", "unicodeChar": "𧫱", "unicodeCodePoint": "27AF1", "pinYinChars": [{ "char": "ZHANG1" }], "splitChars": [{ "char": "言章" }], "weight": 10 }, { "charId": "9eb64a46", "unicodeChar": "𧫥", "unicodeCodePoint": "27AE5", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "言庵" }], "weight": 10 }, { "charId": "7cadb65c", "unicodeChar": "𨦮", "unicodeCodePoint": "289AE", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "氵金" }], "weight": 10 }, { "charId": "77c65e3f", "unicodeChar": "𠃛", "unicodeCodePoint": "200DB", "pinYinChars": [{ "char": "YA4" }], "splitChars": [{ "char": "彑(彐)乙" }], "weight": 10 }, { "charId": "bc2bcc39", "unicodeChar": "𧺫", "unicodeCodePoint": "27EAB", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "走尺" }], "weight": 10 }, { "charId": "fef5bd0c", "unicodeChar": "𧡤", "unicodeCodePoint": "27864", "pinYinChars": [{ "char": "PIAN1" }], "splitChars": [{ "char": "扁見" }], "weight": 10 }, { "charId": "5570c1d0", "unicodeChar": "𧻢", "unicodeCodePoint": "27EE2", "pinYinChars": [{ "char": "HU" }], "splitChars": [{ "char": "走回" }], "weight": 10 }, { "charId": "fccb3cbd", "unicodeChar": "𧠯", "unicodeCodePoint": "2782F", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "吉見" }], "weight": 10 }, { "charId": "df0b8aaa", "unicodeChar": "𧠪", "unicodeCodePoint": "2782A", "pinYinChars": [{ "char": "QI1" }], "splitChars": [{ "char": "上(尗)見" }], "weight": 10 }, { "charId": "a8f7e33c", "unicodeChar": "𧲧", "unicodeCodePoint": "27CA7", "pinYinChars": [{ "char": "BA1" }], "splitChars": [{ "char": "豸巴" }], "weight": 10 }, { "charId": "b5b784fa", "unicodeChar": "𧠩", "unicodeCodePoint": "27829", "pinYinChars": [{ "char": "HU1" }], "splitChars": [{ "char": "共見" }], "weight": 10 }, { "charId": "e287e1f0", "unicodeChar": "𧠆", "unicodeCodePoint": "27806", "pinYinChars": [{ "char": "WAN3" }], "splitChars": [{ "char": "自儿" }], "weight": 10 }, { "charId": "ff4caf2d", "unicodeChar": "𧝁", "unicodeCodePoint": "27741", "pinYinChars": [{ "char": "XUAN1" }], "splitChars": [{ "char": "衤羽" }], "weight": 10 }, { "charId": "3eb705e9", "unicodeChar": "𦰡", "unicodeCodePoint": "26C21", "pinYinChars": [{ "char": "NA4" }], "splitChars": [{ "char": "艹那" }], "weight": 10 }, { "charId": "db352ff0", "unicodeChar": "𧧏", "unicodeCodePoint": "279CF", "pinYinChars": [{ "char": "RE4" }], "splitChars": [{ "char": "如言" }], "weight": 10 }, { "charId": "0f161093", "unicodeChar": "𦭳", "unicodeCodePoint": "26B73", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "艹羽" }], "weight": 10 }, { "charId": "f1f70098", "unicodeChar": "𦯿", "unicodeCodePoint": "26BFF", "pinYinChars": [{ "char": "GU" }], "splitChars": [{ "char": "艹寸" }], "weight": 10 }, { "charId": "765913dd", "unicodeChar": "𧪚", "unicodeCodePoint": "27A9A", "pinYinChars": [{ "char": "AI2" }], "splitChars": [{ "char": "言豈" }], "weight": 10 }, { "charId": "a536fe00", "unicodeChar": "𧪕", "unicodeCodePoint": "27A95", "pinYinChars": [{ "char": "XIA1" }], "splitChars": [{ "char": "言叚" }], "weight": 10 }, { "charId": "d8cc97c7", "unicodeChar": "𧐔", "unicodeCodePoint": "27414", "pinYinChars": [{ "char": "XI2" }], "splitChars": [{ "char": "虫習" }], "weight": 10 }, { "charId": "78547a89", "unicodeChar": "𧩦", "unicodeCodePoint": "27A66", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "言亟" }], "weight": 10 }, { "charId": "0cf5a5d5", "unicodeChar": "𧨿", "unicodeCodePoint": "27A3F", "pinYinChars": [{ "char": "ZHA3" }], "splitChars": [{ "char": "言白" }], "weight": 10 }, { "charId": "bf10e51d", "unicodeChar": "𨈓", "unicodeCodePoint": "28213", "pinYinChars": [{ "char": "LENG2" }], "splitChars": [{ "char": "身小" }], "weight": 10 }, { "charId": "773a2a28", "unicodeChar": "𧼯", "unicodeCodePoint": "27F2F", "pinYinChars": [{ "char": "SHU4" }], "splitChars": [{ "char": "走俞" }], "weight": 10 }, { "charId": "26eb040d", "unicodeChar": "𬽦", "unicodeCodePoint": "2CF66", "pinYinChars": [{ "char": "ZHI" }], "splitChars": [{ "char": "亻丸" }], "weight": 10 }, { "charId": "2c3b0938", "unicodeChar": "𧮞", "unicodeCodePoint": "27B9E", "pinYinChars": [{ "char": "XUE4" }], "splitChars": [{ "char": "言矍" }], "weight": 10 }, { "charId": "6dc72b3f", "unicodeChar": "𧭮", "unicodeCodePoint": "27B6E", "pinYinChars": [{ "char": "MIAN2" }], "splitChars": [{ "char": "言方" }], "weight": 10 }, { "charId": "a918555a", "unicodeChar": "𧭜", "unicodeCodePoint": "27B5C", "pinYinChars": [{ "char": "LV4" }], "splitChars": [{ "char": "言慮" }], "weight": 10 }, { "charId": "55f504ef", "unicodeChar": "𬽬", "unicodeCodePoint": "2CF6C", "pinYinChars": [{ "char": "GU4" }], "splitChars": [{ "char": "亻户" }], "weight": 10 }, { "charId": "daf75e80", "unicodeChar": "𧫤", "unicodeCodePoint": "27AE4", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "言畢" }], "weight": 10 }, { "charId": "f7d124fd", "unicodeChar": "𨿅", "unicodeCodePoint": "28FC5", "pinYinChars": [{ "char": "MING2" }], "splitChars": [{ "char": "名隹" }], "weight": 10 }, { "charId": "345810fa", "unicodeChar": "𧫜", "unicodeCodePoint": "27ADC", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "既言" }], "weight": 10 }, { "charId": "71761895", "unicodeChar": "𨹓", "unicodeCodePoint": "28E53", "pinYinChars": [{ "char": "HAN" }], "splitChars": [{ "char": "阝巾" }], "weight": 10 }, { "charId": "095d6446", "unicodeChar": "𧫕", "unicodeCodePoint": "27AD5", "pinYinChars": [{ "char": "QIE4" }], "splitChars": [{ "char": "言祭" }], "weight": 10 }, { "charId": "d167ce71", "unicodeChar": "𨻧", "unicodeCodePoint": "28EE7", "pinYinChars": [{ "char": "LIU2" }], "splitChars": [{ "char": "阝留" }], "weight": 10 }, { "charId": "50cb8f48", "unicodeChar": "𧫓", "unicodeCodePoint": "27AD3", "pinYinChars": [{ "char": "LU3" }], "splitChars": [{ "char": "言鹵" }], "weight": 10 }, { "charId": "56715809", "unicodeChar": "𩡝", "unicodeCodePoint": "2985D", "pinYinChars": [{ "char": "TAN2" }], "splitChars": [{ "char": "香覃" }], "weight": 10 }, { "charId": "5f95ddd7", "unicodeChar": "𤦵", "unicodeCodePoint": "249B5", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "王妟(匽)" }], "weight": 10 }, { "charId": "345140b1", "unicodeChar": "𪢼", "unicodeCodePoint": "2A8BC", "pinYinChars": [{ "char": "WA2" }], "splitChars": [{ "char": "土化" }], "weight": 10 }, { "charId": "7266aacd", "unicodeChar": "𪢻", "unicodeCodePoint": "2A8BB", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "土月" }], "weight": 10 }, { "charId": "ff17a032", "unicodeChar": "𫭟", "unicodeCodePoint": "2BB5F", "pinYinChars": [{ "char": "OU1" }], "splitChars": [{ "char": "土区" }], "weight": 10 }, { "charId": "fe0ba937", "unicodeChar": "𫭝", "unicodeCodePoint": "2BB5D", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "土夫" }], "weight": 10 }, { "charId": "b939f632", "unicodeChar": "𪢹", "unicodeCodePoint": "2A8B9", "pinYinChars": [{ "char": "PAN4" }], "splitChars": [{ "char": "土冇" }], "weight": 10 }, { "charId": "ea620e97", "unicodeChar": "𪢸", "unicodeCodePoint": "2A8B8", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "土无" }], "weight": 10 }, { "charId": "5f01d64a", "unicodeChar": "𪢫", "unicodeCodePoint": "2A8AB", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "囗車" }], "weight": 10 }, { "charId": "97978e15", "unicodeChar": "𪟝", "unicodeCodePoint": "2A7DD", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "责力" }], "weight": 10 }, { "charId": "cb1db5d4", "unicodeChar": "𪞤", "unicodeCodePoint": "2A7A4", "pinYinChars": [{ "char": "NIAN4" }], "splitChars": [{ "char": "冫念" }], "weight": 10 }, { "charId": "1e650623", "unicodeChar": "𫥆", "unicodeCodePoint": "2B946", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "冫永" }], "weight": 10 }, { "charId": "a4bf28dc", "unicodeChar": "𭖊", "unicodeCodePoint": "2D58A", "pinYinChars": [{ "char": "LONG" }], "splitChars": [{ "char": "冖(" }], "weight": 10 }, { "charId": "6f3dfd6f", "unicodeChar": "𪝆", "unicodeCodePoint": "2A746", "pinYinChars": [{ "char": "FANG1" }], "splitChars": [{ "char": "亻芳" }], "weight": 10 }, { "charId": "10dff3f6", "unicodeChar": "𫮉", "unicodeCodePoint": "2BB89", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "土苹" }], "weight": 10 }, { "charId": "04838e6a", "unicodeChar": "𪣤", "unicodeCodePoint": "2A8E4", "pinYinChars": [{ "char": "CUO4" }], "splitChars": [{ "char": "土昔" }], "weight": 10 }, { "charId": "21425c2a", "unicodeChar": "𪣟", "unicodeCodePoint": "2A8DF", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "土罕" }], "weight": 10 }, { "charId": "c080c2db", "unicodeChar": "𪣜", "unicodeCodePoint": "2A8DC", "pinYinChars": [{ "char": "XIU4" }], "splitChars": [{ "char": "土秀" }], "weight": 10 }, { "charId": "051ded75", "unicodeChar": "𪣑", "unicodeCodePoint": "2A8D1", "pinYinChars": [{ "char": "NONG2" }], "splitChars": [{ "char": "土农" }], "weight": 10 }, { "charId": "3b3cae45", "unicodeChar": "鿍", "unicodeCodePoint": "9FCD", "pinYinChars": [{ "char": "GANG4" }], "splitChars": [{ "char": "土夅" }], "weight": 10 }, { "charId": "cfd95724", "unicodeChar": "𪣉", "unicodeCodePoint": "2A8C9", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "土永" }], "weight": 10 }, { "charId": "d5210e72", "unicodeChar": "𦤎", "unicodeCodePoint": "2690E", "pinYinChars": [{ "char": "GAO3" }], "splitChars": [{ "char": "自本" }], "weight": 10 }, { "charId": "73761138", "unicodeChar": "𦣦", "unicodeCodePoint": "268E6", "pinYinChars": [{ "char": "WANG2" }], "splitChars": [{ "char": "臣臣" }], "weight": 10 }, { "charId": "194c6f43", "unicodeChar": "𪻏", "unicodeCodePoint": "2AECF", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "王及" }], "weight": 10 }, { "charId": "ebaa61bd", "unicodeChar": "𦨴", "unicodeCodePoint": "26A34", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "舟同" }], "weight": 10 }, { "charId": "628bcda9", "unicodeChar": "𦨤", "unicodeCodePoint": "26A24", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "永舟" }], "weight": 10 }, { "charId": "b7c22172", "unicodeChar": "𦨢", "unicodeCodePoint": "26A22", "pinYinChars": [{ "char": "DI4" }], "splitChars": [{ "char": "舟氐" }], "weight": 10 }, { "charId": "1bb99ad4", "unicodeChar": "𦨍", "unicodeCodePoint": "26A0D", "pinYinChars": [{ "char": "DING1" }], "splitChars": [{ "char": "舟丁" }], "weight": 10 }, { "charId": "7f890755", "unicodeChar": "𦨉", "unicodeCodePoint": "26A09", "pinYinChars": [{ "char": "WU4" }], "splitChars": [{ "char": "舟刂" }], "weight": 10 }, { "charId": "c3ad299f", "unicodeChar": "𦙶", "unicodeCodePoint": "26676", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "月古" }], "weight": 10 }, { "charId": "b73070d2", "unicodeChar": "𦛋", "unicodeCodePoint": "266CB", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "月吉" }], "weight": 10 }, { "charId": "aa378c7a", "unicodeChar": "𦚱", "unicodeCodePoint": "266B1", "pinYinChars": [{ "char": "LAO3" }], "splitChars": [{ "char": "月老" }], "weight": 10 }, { "charId": "127d5e65", "unicodeChar": "𦚧", "unicodeCodePoint": "266A7", "pinYinChars": [{ "char": "CHUN3" }], "splitChars": [{ "char": "月旬" }], "weight": 10 }, { "charId": "008a5531", "unicodeChar": "𦚔", "unicodeCodePoint": "26694", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "月召" }], "weight": 10 }, { "charId": "9e38b345", "unicodeChar": "𦮛", "unicodeCodePoint": "26B9B", "pinYinChars": [{ "char": "JI" }], "splitChars": [{ "char": "艹久" }], "weight": 10 }, { "charId": "d726da0c", "unicodeChar": "𦭻", "unicodeCodePoint": "26B7B", "pinYinChars": [{ "char": "JIU4" }], "splitChars": [{ "char": "艹臼" }], "weight": 10 }, { "charId": "9b174539", "unicodeChar": "𦭶", "unicodeCodePoint": "26B76", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "艹先" }], "weight": 10 }, { "charId": "51b03cc1", "unicodeChar": "𦭰", "unicodeCodePoint": "26B70", "pinYinChars": [{ "char": "RU2" }], "splitChars": [{ "char": "艹汝" }], "weight": 10 }, { "charId": "397c4b6f", "unicodeChar": "𦩠", "unicodeCodePoint": "26A60", "pinYinChars": [{ "char": "XING1" }], "splitChars": [{ "char": "舟星" }], "weight": 10 }, { "charId": "0df5a92b", "unicodeChar": "𦩘", "unicodeCodePoint": "26A58", "pinYinChars": [{ "char": "DING4" }], "splitChars": [{ "char": "舟定" }], "weight": 10 }, { "charId": "27945642", "unicodeChar": "𦩏", "unicodeCodePoint": "26A4F", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "舟隹" }], "weight": 10 }, { "charId": "48aa6e63", "unicodeChar": "𦩌", "unicodeCodePoint": "26A4C", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "舟疌" }], "weight": 10 }, { "charId": "fa304920", "unicodeChar": "𦭑", "unicodeCodePoint": "26B51", "pinYinChars": [{ "char": "TING1" }], "splitChars": [{ "char": "艹丁" }], "weight": 10 }, { "charId": "cf0b4907", "unicodeChar": "𦮹", "unicodeCodePoint": "26BB9", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "艹巴" }], "weight": 10 }, { "charId": "ed2af285", "unicodeChar": "𦮶", "unicodeCodePoint": "26BB6", "pinYinChars": [{ "char": "WEN3" }], "splitChars": [{ "char": "艹吻" }], "weight": 10 }, { "charId": "3f880bdc", "unicodeChar": "𦮭", "unicodeCodePoint": "26BAD", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "艹水" }], "weight": 10 }, { "charId": "5b355964", "unicodeChar": "𦬁", "unicodeCodePoint": "26B01", "pinYinChars": [{ "char": "CAI2" }], "splitChars": [{ "char": "艹才" }], "weight": 10 }, { "charId": "cf8b8e14", "unicodeChar": "𦪙", "unicodeCodePoint": "26A99", "pinYinChars": [{ "char": "TA4" }], "splitChars": [{ "char": "舟羽(翕)" }], "weight": 10 }, { "charId": "a3bea615", "unicodeChar": "𦪑", "unicodeCodePoint": "26A91", "pinYinChars": [{ "char": "FA2" }], "splitChars": [{ "char": "舟發" }], "weight": 10 }, { "charId": "251f880e", "unicodeChar": "𦢂", "unicodeCodePoint": "26882", "pinYinChars": [{ "char": "PU2" }], "splitChars": [{ "char": "月美" }], "weight": 10 }, { "charId": "e26350b3", "unicodeChar": "𦟟", "unicodeCodePoint": "267DF", "pinYinChars": [{ "char": "MO2" }], "splitChars": [{ "char": "月麻" }], "weight": 10 }, { "charId": "a85bea2d", "unicodeChar": "𦞳", "unicodeCodePoint": "267B3", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "月容" }], "weight": 10 }, { "charId": "14219a68", "unicodeChar": "𭸷", "unicodeCodePoint": "2DE37", "pinYinChars": [{ "char": "ZHI1" }], "splitChars": [{ "char": "王支" }], "weight": 10 }, { "charId": "d3d7fc11", "unicodeChar": "𦝨", "unicodeCodePoint": "26768", "pinYinChars": [{ "char": "JIE1" }], "splitChars": [{ "char": "月皆" }], "weight": 10 }, { "charId": "12f88044", "unicodeChar": "𦨾", "unicodeCodePoint": "26A3E", "pinYinChars": [{ "char": "HENG1" }], "splitChars": [{ "char": "舟亨" }], "weight": 10 }, { "charId": "e7eb1527", "unicodeChar": "𦬱", "unicodeCodePoint": "26B31", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "艹升" }], "weight": 10 }, { "charId": "ff3e6252", "unicodeChar": "𦬪", "unicodeCodePoint": "26B2A", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "艹丁" }], "weight": 10 }, { "charId": "cc377700", "unicodeChar": "𦬞", "unicodeCodePoint": "26B1E", "pinYinChars": [{ "char": "TIAN1" }], "splitChars": [{ "char": "艹天" }], "weight": 10 }, { "charId": "0413dfd3", "unicodeChar": "𦬕", "unicodeCodePoint": "26B15", "pinYinChars": [{ "char": "ZHONG1" }], "splitChars": [{ "char": "艹中" }], "weight": 10 }, { "charId": "b8065c44", "unicodeChar": "𦴊", "unicodeCodePoint": "26D0A", "pinYinChars": [{ "char": "YANG1" }], "splitChars": [{ "char": "艹殃" }], "weight": 10 }, { "charId": "3c54fa58", "unicodeChar": "𦳫", "unicodeCodePoint": "26CEB", "pinYinChars": [{ "char": "SHAN1" }], "splitChars": [{ "char": "艹欠" }], "weight": 10 }, { "charId": "625acd61", "unicodeChar": "𦳝", "unicodeCodePoint": "26CDD", "pinYinChars": [{ "char": "TANG1" }], "splitChars": [{ "char": "艹昜" }], "weight": 10 }, { "charId": "efe81d2d", "unicodeChar": "𤇏", "unicodeCodePoint": "241CF", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "氶灬" }], "weight": 10 }, { "charId": "c9aaa065", "unicodeChar": "𦰱", "unicodeCodePoint": "26C31", "pinYinChars": [{ "char": "CHANG2" }], "splitChars": [{ "char": "艹尚" }], "weight": 10 }, { "charId": "130dcd77", "unicodeChar": "𦳌", "unicodeCodePoint": "26CCC", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "艹急" }], "weight": 10 }, { "charId": "c65f6304", "unicodeChar": "𤓾", "unicodeCodePoint": "244FE", "pinYinChars": [{ "char": "DAO4" }], "splitChars": [{ "char": "爪丈" }], "weight": 10 }, { "charId": "9b945778", "unicodeChar": "𦳄", "unicodeCodePoint": "26CC4", "pinYinChars": [{ "char": "PIAN2" }], "splitChars": [{ "char": "艹便" }], "weight": 10 }, { "charId": "e67f84c8", "unicodeChar": "𤍤", "unicodeCodePoint": "24364", "pinYinChars": [{ "char": "ZHANG1" }], "splitChars": [{ "char": "火章" }], "weight": 10 }, { "charId": "ed0cd464", "unicodeChar": "𦲶", "unicodeCodePoint": "26CB6", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "艹承" }], "weight": 10 }, { "charId": "a1a683a3", "unicodeChar": "𤉙", "unicodeCodePoint": "24259", "pinYinChars": [{ "char": "QUN2" }], "splitChars": [{ "char": "火君" }], "weight": 10 }, { "charId": "c45130a6", "unicodeChar": "𦵧", "unicodeCodePoint": "26D67", "pinYinChars": [{ "char": "LANG2" }], "splitChars": [{ "char": "艹狼" }], "weight": 10 }, { "charId": "51258e6d", "unicodeChar": "𦱊", "unicodeCodePoint": "26C4A", "pinYinChars": [{ "char": "ZHENG1" }], "splitChars": [{ "char": "艹争" }], "weight": 10 }, { "charId": "54a296b8", "unicodeChar": "𦱅", "unicodeCodePoint": "26C45", "pinYinChars": [{ "char": "JU1" }], "splitChars": [{ "char": "艹居" }], "weight": 10 }, { "charId": "0abccd00", "unicodeChar": "𦱀", "unicodeCodePoint": "26C40", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "艹育" }], "weight": 10 }, { "charId": "0c7567f7", "unicodeChar": "𦰺", "unicodeCodePoint": "26C3A", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "艹阜" }], "weight": 10 }, { "charId": "788e4f56", "unicodeChar": "𦭛", "unicodeCodePoint": "26B5B", "pinYinChars": [{ "char": "QI" }], "splitChars": [{ "char": "艹仟" }], "weight": 10 }, { "charId": "28b9445a", "unicodeChar": "𦭘", "unicodeCodePoint": "26B58", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "艹卩" }], "weight": 10 }, { "charId": "2ca91bce", "unicodeChar": "𦰏", "unicodeCodePoint": "26C0F", "pinYinChars": [{ "char": "TI" }], "splitChars": [{ "char": "艹条" }], "weight": 10 }, { "charId": "e9e8d308", "unicodeChar": "𦯬", "unicodeCodePoint": "26BEC", "pinYinChars": [{ "char": "SHE2" }], "splitChars": [{ "char": "艹佘" }], "weight": 10 }, { "charId": "d9b618f1", "unicodeChar": "𣺮", "unicodeCodePoint": "23EAE", "pinYinChars": [{ "char": "TAO4" }], "splitChars": [{ "char": "氵套" }], "weight": 10 }, { "charId": "c0aaa9b0", "unicodeChar": "𦯀", "unicodeCodePoint": "26BC0", "pinYinChars": [{ "char": "BEN4" }], "splitChars": [{ "char": "艹(芬)土" }], "weight": 10 }, { "charId": "31aba09a", "unicodeChar": "𦱷", "unicodeCodePoint": "26C77", "pinYinChars": [{ "char": "FEI1" }], "splitChars": [{ "char": "艹灬" }], "weight": 10 }, { "charId": "a99acdd1", "unicodeChar": "𤤗", "unicodeCodePoint": "24917", "pinYinChars": [{ "char": "NI2" }], "splitChars": [{ "char": "王尼" }], "weight": 10 }, { "charId": "206c97ec", "unicodeChar": "𤤮", "unicodeCodePoint": "2492E", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "王冬" }], "weight": 10 }, { "charId": "d7fe362c", "unicodeChar": "𭩈", "unicodeCodePoint": "2DA48", "pinYinChars": [{ "char": "XIANG4" }], "splitChars": [{ "char": "月象" }], "weight": 10 }, { "charId": "68dc90e7", "unicodeChar": "𤤆", "unicodeCodePoint": "24906", "pinYinChars": [{ "char": "QIN2" }], "splitChars": [{ "char": "王斤" }], "weight": 10 }, { "charId": "424cfb9f", "unicodeChar": "𤩠", "unicodeCodePoint": "24A60", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "王喜" }], "weight": 10 }, { "charId": "b2adfe40", "unicodeChar": "𤩔", "unicodeCodePoint": "24A54", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "王童" }], "weight": 10 }, { "charId": "c54944e8", "unicodeChar": "𤨲", "unicodeCodePoint": "24A32", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "王崇" }], "weight": 10 }, { "charId": "03be3097", "unicodeChar": "𤧼", "unicodeCodePoint": "249FC", "pinYinChars": [{ "char": "GAO3" }], "splitChars": [{ "char": "王高" }], "weight": 10 }, { "charId": "7e09f046", "unicodeChar": "𤙔", "unicodeCodePoint": "24654", "pinYinChars": [{ "char": "ZHAO4" }], "splitChars": [{ "char": "牛兆" }], "weight": 10 }, { "charId": "fbeaf302", "unicodeChar": "𤘪", "unicodeCodePoint": "2462A", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "牛丹" }], "weight": 10 }, { "charId": "4dfaf2dc", "unicodeChar": "𤛭", "unicodeCodePoint": "246ED", "pinYinChars": [{ "char": "QUN2" }], "splitChars": [{ "char": "牛牛" }], "weight": 10 }, { "charId": "c87e0318", "unicodeChar": "𦶕", "unicodeCodePoint": "26D95", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "艹書" }], "weight": 10 }, { "charId": "58b17ff8", "unicodeChar": "𦵼", "unicodeCodePoint": "26D7C", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "艹郡" }], "weight": 10 }, { "charId": "f39572b4", "unicodeChar": "𦵫", "unicodeCodePoint": "26D6B", "pinYinChars": [{ "char": "SUO3" }], "splitChars": [{ "char": "艹索" }], "weight": 10 }, { "charId": "02767142", "unicodeChar": "𤥐", "unicodeCodePoint": "24950", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "王吉" }], "weight": 10 }, { "charId": "644d453f", "unicodeChar": "𦵩", "unicodeCodePoint": "26D69", "pinYinChars": [{ "char": "ZAO1" }], "splitChars": [{ "char": "艹酒" }], "weight": 10 }, { "charId": "602bbfbe", "unicodeChar": "𤥁", "unicodeCodePoint": "24941", "pinYinChars": [{ "char": "MING2" }], "splitChars": [{ "char": "王名" }], "weight": 10 }, { "charId": "ac101c85", "unicodeChar": "𤈄", "unicodeCodePoint": "24204", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "火吉" }], "weight": 10 }, { "charId": "9afc72f1", "unicodeChar": "𤯥", "unicodeCodePoint": "24BE5", "pinYinChars": [{ "char": "CHAN3" }], "splitChars": [{ "char": "如生" }], "weight": 10 }, { "charId": "bcc378a3", "unicodeChar": "𤬪", "unicodeCodePoint": "24B2A", "pinYinChars": [{ "char": "DU4" }], "splitChars": [{ "char": "土瓦" }], "weight": 10 }, { "charId": "91243f31", "unicodeChar": "𥖜", "unicodeCodePoint": "2559C", "pinYinChars": [{ "char": "JIN3" }], "splitChars": [{ "char": "石禁" }], "weight": 10 }, { "charId": "4b2e5e30", "unicodeChar": "𥖨", "unicodeCodePoint": "255A8", "pinYinChars": [{ "char": "ZAO4" }], "splitChars": [{ "char": "石喿" }], "weight": 10 }, { "charId": "ff8ae9d9", "unicodeChar": "𥕞", "unicodeCodePoint": "2555E", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "石章" }], "weight": 10 }, { "charId": "672e34fe", "unicodeChar": "𥕢", "unicodeCodePoint": "25562", "pinYinChars": [{ "char": "CAO2" }], "splitChars": [{ "char": "石曹" }], "weight": 10 }, { "charId": "136d4f61", "unicodeChar": "𤧣", "unicodeCodePoint": "249E3", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "王建" }], "weight": 10 }, { "charId": "d852cd8e", "unicodeChar": "𤧘", "unicodeCodePoint": "249D8", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "王香" }], "weight": 10 }, { "charId": "e0083355", "unicodeChar": "𤧊", "unicodeCodePoint": "249CA", "pinYinChars": [{ "char": "KU" }], "splitChars": [{ "char": "王奎" }], "weight": 10 }, { "charId": "af7fe819", "unicodeChar": "𤧐", "unicodeCodePoint": "249D0", "pinYinChars": [{ "char": "QI" }], "splitChars": [{ "char": "王秋" }], "weight": 10 }, { "charId": "e2f2fccb", "unicodeChar": "𤪑", "unicodeCodePoint": "24A91", "pinYinChars": [{ "char": "MENG2" }], "splitChars": [{ "char": "王蒙" }], "weight": 10 }, { "charId": "1a0d903c", "unicodeChar": "𥐰", "unicodeCodePoint": "25430", "pinYinChars": [{ "char": "OU1" }], "splitChars": [{ "char": "石区" }], "weight": 10 }, { "charId": "c79305e5", "unicodeChar": "𥐙", "unicodeCodePoint": "25419", "pinYinChars": [{ "char": "PA1" }], "splitChars": [{ "char": "石八" }], "weight": 10 }, { "charId": "7387413e", "unicodeChar": "𥂋", "unicodeCodePoint": "2508B", "pinYinChars": [{ "char": "TU2" }], "splitChars": [{ "char": "涂皿" }], "weight": 10 }, { "charId": "e3393aaa", "unicodeChar": "𤰚", "unicodeCodePoint": "24C1A", "pinYinChars": [{ "char": "LA2" }], "splitChars": [{ "char": "九田" }], "weight": 10 }, { "charId": "d6a4ab9c", "unicodeChar": "𤱙", "unicodeCodePoint": "24C59", "pinYinChars": [{ "char": "BEN4" }], "splitChars": [{ "char": "田本" }], "weight": 10 }, { "charId": "d87bd7e1", "unicodeChar": "𥘌", "unicodeCodePoint": "2560C", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "礻几" }], "weight": 10 }, { "charId": "af020a84", "unicodeChar": "𥖮", "unicodeCodePoint": "255AE", "pinYinChars": [{ "char": "CU" }], "splitChars": [{ "char": "石翠" }], "weight": 10 }, { "charId": "46a178d3", "unicodeChar": "𥒫", "unicodeCodePoint": "254AB", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "石孚" }], "weight": 10 }, { "charId": "e74f5f33", "unicodeChar": "𥓂", "unicodeCodePoint": "254C2", "pinYinChars": [{ "char": "HAN1" }], "splitChars": [{ "char": "石含" }], "weight": 10 }, { "charId": "2f169368", "unicodeChar": "𥑬", "unicodeCodePoint": "2546C", "pinYinChars": [{ "char": "SHAN1" }], "splitChars": [{ "char": "石册" }], "weight": 10 }, { "charId": "cc803f45", "unicodeChar": "𥑋", "unicodeCodePoint": "2544B", "pinYinChars": [{ "char": "GUAI4" }], "splitChars": [{ "char": "石圣" }], "weight": 10 }, { "charId": "54ffa1a6", "unicodeChar": "𨨅", "unicodeCodePoint": "28A05", "pinYinChars": [{ "char": "HU" }], "splitChars": [{ "char": "金或" }], "weight": 10 }, { "charId": "d4cf8809", "unicodeChar": "𨧰", "unicodeCodePoint": "289F0", "pinYinChars": [{ "char": "ZU2" }], "splitChars": [{ "char": "金乖" }], "weight": 10 }, { "charId": "6efce1e0", "unicodeChar": "𨧤", "unicodeCodePoint": "289E4", "pinYinChars": [{ "char": "HENG1" }], "splitChars": [{ "char": "金亨" }], "weight": 10 }, { "charId": "afd3462d", "unicodeChar": "𨧡", "unicodeCodePoint": "289E1", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "金君" }], "weight": 10 }, { "charId": "5770e6c8", "unicodeChar": "𨦫", "unicodeCodePoint": "289AB", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "金羽" }], "weight": 10 }, { "charId": "bbc88f7e", "unicodeChar": "𨹸", "unicodeCodePoint": "28E78", "pinYinChars": [{ "char": "ZHA4" }], "splitChars": [{ "char": "阝土" }], "weight": 10 }, { "charId": "5c344144", "unicodeChar": "𨹚", "unicodeCodePoint": "28E5A", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "阝成" }], "weight": 10 }, { "charId": "eea92f95", "unicodeChar": "𨹗", "unicodeCodePoint": "28E57", "pinYinChars": [{ "char": "BING1" }], "splitChars": [{ "char": "阝并" }], "weight": 10 }, { "charId": "92dd4142", "unicodeChar": "𨹑", "unicodeCodePoint": "28E51", "pinYinChars": [{ "char": "QU" }], "splitChars": [{ "char": "阝全" }], "weight": 10 }, { "charId": "4b09829f", "unicodeChar": "𨹍", "unicodeCodePoint": "28E4D", "pinYinChars": [{ "char": "JIAO1" }], "splitChars": [{ "char": "阝交" }], "weight": 10 }, { "charId": "86ee1c84", "unicodeChar": "𨸘", "unicodeCodePoint": "28E18", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "阝广" }], "weight": 10 }, { "charId": "628aa5b7", "unicodeChar": "𨶈", "unicodeCodePoint": "28D88", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "門唐" }], "weight": 10 }, { "charId": "a6f2c103", "unicodeChar": "𨶇", "unicodeCodePoint": "28D87", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "門烏" }], "weight": 10 }, { "charId": "d45933ba", "unicodeChar": "𨱔", "unicodeCodePoint": "28C54", "pinYinChars": [{ "char": "ZUN1" }], "splitChars": [{ "char": "钅尊" }], "weight": 10 }, { "charId": "c46921a0", "unicodeChar": "𨱈", "unicodeCodePoint": "28C48", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "钅束" }], "weight": 10 }, { "charId": "d216d90f", "unicodeChar": "𨱃", "unicodeCodePoint": "28C43", "pinYinChars": [{ "char": "GU1" }], "splitChars": [{ "char": "钅瓜" }], "weight": 10 }, { "charId": "738c3bdb", "unicodeChar": "𨰣", "unicodeCodePoint": "28C23", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "金麗" }], "weight": 10 }, { "charId": "cf441d77", "unicodeChar": "𨰃", "unicodeCodePoint": "28C03", "pinYinChars": [{ "char": "YING1" }], "splitChars": [{ "char": "金嬰" }], "weight": 10 }, { "charId": "87f9da35", "unicodeChar": "𨯚", "unicodeCodePoint": "28BDA", "pinYinChars": [{ "char": "HU" }], "splitChars": [{ "char": "金慧" }], "weight": 10 }, { "charId": "a90c3630", "unicodeChar": "𨯌", "unicodeCodePoint": "28BCC", "pinYinChars": [{ "char": "LI" }], "splitChars": [{ "char": "金蓮" }], "weight": 10 }, { "charId": "ec457a1d", "unicodeChar": "𨮔", "unicodeCodePoint": "28B94", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "金與" }], "weight": 10 }, { "charId": "9d250bd3", "unicodeChar": "𨮒", "unicodeCodePoint": "28B92", "pinYinChars": [{ "char": "MENG4" }], "splitChars": [{ "char": "金夢" }], "weight": 10 }, { "charId": "61ba3b3f", "unicodeChar": "𨭐", "unicodeCodePoint": "28B50", "pinYinChars": [{ "char": "CHAN2" }], "splitChars": [{ "char": "金單" }], "weight": 10 }, { "charId": "580c52fa", "unicodeChar": "𨸕", "unicodeCodePoint": "28E15", "pinYinChars": [{ "char": "DENG4" }], "splitChars": [{ "char": "阝又" }], "weight": 10 }, { "charId": "084f5142", "unicodeChar": "𨬛", "unicodeCodePoint": "28B1B", "pinYinChars": [{ "char": "ZHENG4" }], "splitChars": [{ "char": "艹金" }], "weight": 10 }, { "charId": "9f71d42e", "unicodeChar": "𨪄", "unicodeCodePoint": "28A84", "pinYinChars": [{ "char": "YING4" }], "splitChars": [{ "char": "土金" }], "weight": 10 }, { "charId": "385bcb62", "unicodeChar": "𨨖", "unicodeCodePoint": "28A16", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [{ "char": "王金" }], "weight": 10 }, { "charId": "cdd4a9cd", "unicodeChar": "𩂿", "unicodeCodePoint": "290BF", "pinYinChars": [{ "char": "YUN3" }], "splitChars": [{ "char": "雨君" }], "weight": 10 }, { "charId": "6ffe7b93", "unicodeChar": "𪯲", "unicodeCodePoint": "2ABF2", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "方斤" }], "weight": 10 }, { "charId": "a673400a", "unicodeChar": "𩊬", "unicodeCodePoint": "292AC", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "革甫" }], "weight": 10 }, { "charId": "4078597f", "unicodeChar": "𩊂", "unicodeCodePoint": "29282", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "革令" }], "weight": 10 }, { "charId": "bc2d64f9", "unicodeChar": "𩔊", "unicodeCodePoint": "2950A", "pinYinChars": [{ "char": "ZHUAN4" }], "splitChars": [{ "char": "頁頁" }], "weight": 10 }, { "charId": "b677cc33", "unicodeChar": "𬂣", "unicodeCodePoint": "2C0A3", "pinYinChars": [{ "char": "JIE4" }], "splitChars": [{ "char": "木介" }], "weight": 10 }, { "charId": "e56aaf1b", "unicodeChar": "𩅿", "unicodeCodePoint": "2917F", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "雨溥" }], "weight": 10 }, { "charId": "c66029b2", "unicodeChar": "𩅄", "unicodeCodePoint": "29144", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "雨鹿" }], "weight": 10 }, { "charId": "e1d47ddc", "unicodeChar": "𬀉", "unicodeCodePoint": "2C009", "pinYinChars": [{ "char": "FANG1" }], "splitChars": [{ "char": "方方" }], "weight": 10 }, { "charId": "cad03738", "unicodeChar": "𩄻", "unicodeCodePoint": "2913B", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "雨莫" }], "weight": 10 }, { "charId": "5e57cb4b", "unicodeChar": "𩃀", "unicodeCodePoint": "290C0", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "雨延" }], "weight": 10 }, { "charId": "794ad854", "unicodeChar": "𩂴", "unicodeCodePoint": "290B4", "pinYinChars": [{ "char": "SE4" }], "splitChars": [{ "char": "雨朿" }], "weight": 10 }, { "charId": "4cc59f66", "unicodeChar": "𩂤", "unicodeCodePoint": "290A4", "pinYinChars": [{ "char": "HUA4" }], "splitChars": [{ "char": "雨舟" }], "weight": 10 }, { "charId": "3adb364c", "unicodeChar": "𩂓", "unicodeCodePoint": "29093", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "雨冬" }], "weight": 10 }, { "charId": "188e09ee", "unicodeChar": "𩂍", "unicodeCodePoint": "2908D", "pinYinChars": [{ "char": "CHUAN1" }], "splitChars": [{ "char": "雨水" }], "weight": 10 }, { "charId": "708c99ea", "unicodeChar": "𩂄", "unicodeCodePoint": "29084", "pinYinChars": [{ "char": "TUN1" }], "splitChars": [{ "char": "雨屯" }], "weight": 10 }, { "charId": "7886812b", "unicodeChar": "𩇔", "unicodeCodePoint": "291D4", "pinYinChars": [{ "char": "NONG2" }], "splitChars": [{ "char": "雲雲" }], "weight": 10 }, { "charId": "fdd0e5a1", "unicodeChar": "𩆩", "unicodeCodePoint": "291A9", "pinYinChars": [{ "char": "ZH" }], "splitChars": [{ "char": "雨寸" }], "weight": 10 }, { "charId": "0343ef08", "unicodeChar": "𨿁", "unicodeCodePoint": "28FC1", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "爪隹" }], "weight": 10 }, { "charId": "13f18e69", "unicodeChar": "𨾉", "unicodeCodePoint": "28F89", "pinYinChars": [{ "char": "JIU3" }], "splitChars": [{ "char": "久隹" }], "weight": 10 }, { "charId": "0f1640c7", "unicodeChar": "𨼿", "unicodeCodePoint": "28F3F", "pinYinChars": [{ "char": "MENG2" }], "splitChars": [{ "char": "阝蒙" }], "weight": 10 }, { "charId": "05924dd2", "unicodeChar": "𩙡", "unicodeCodePoint": "29661", "pinYinChars": [{ "char": "HOU1" }], "splitChars": [{ "char": "風風" }], "weight": 10 }, { "charId": "a0046efd", "unicodeChar": "𩢸", "unicodeCodePoint": "298B8", "pinYinChars": [{ "char": "ZHOU1" }], "splitChars": [{ "char": "馬舟" }], "weight": 10 }, { "charId": "64a50595", "unicodeChar": "𩢷", "unicodeCodePoint": "298B7", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "馬百" }], "weight": 10 }, { "charId": "5b80c2a2", "unicodeChar": "𩢴", "unicodeCodePoint": "298B4", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "馬吉" }], "weight": 10 }, { "charId": "ab9efb7a", "unicodeChar": "𬂭", "unicodeCodePoint": "2C0AD", "pinYinChars": [{ "char": "XIANG1" }], "splitChars": [{ "char": "木向" }], "weight": 10 }, { "charId": "f5bae0fa", "unicodeChar": "𪳆", "unicodeCodePoint": "2ACC6", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "木勇" }], "weight": 10 }, { "charId": "4acd370a", "unicodeChar": "𩤥", "unicodeCodePoint": "29925", "pinYinChars": [{ "char": "XIAN2" }], "splitChars": [{ "char": "馬咸" }], "weight": 10 }, { "charId": "5bfbf305", "unicodeChar": "𩤠", "unicodeCodePoint": "29920", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "馬皆" }], "weight": 10 }, { "charId": "a619a2ce", "unicodeChar": "𩤏", "unicodeCodePoint": "2990F", "pinYinChars": [{ "char": "CUI4" }], "splitChars": [{ "char": "馬卒" }], "weight": 10 }, { "charId": "6c6ef814", "unicodeChar": "𩣸", "unicodeCodePoint": "298F8", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "馬阜" }], "weight": 10 }, { "charId": "d105e483", "unicodeChar": "𬇨", "unicodeCodePoint": "2C1E8", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "氵志" }], "weight": 10 }, { "charId": "b0d0b44f", "unicodeChar": "𩚹", "unicodeCodePoint": "296B9", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "食令" }], "weight": 10 }, { "charId": "e944e370", "unicodeChar": "𩐁", "unicodeCodePoint": "29401", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "歹韭" }], "weight": 10 }, { "charId": "c792a1a0", "unicodeChar": "𩎿", "unicodeCodePoint": "293BF", "pinYinChars": [{ "char": "CHANG1" }], "splitChars": [{ "char": "韋昌" }], "weight": 10 }, { "charId": "bf82bbef", "unicodeChar": "𩖣", "unicodeCodePoint": "295A3", "pinYinChars": [{ "char": "XIN2" }], "splitChars": [{ "char": "文風" }], "weight": 10 }, { "charId": "adac7bc1", "unicodeChar": "𩖠", "unicodeCodePoint": "295A0", "pinYinChars": [{ "char": "BEI4" }], "splitChars": [{ "char": "風女" }], "weight": 10 }, { "charId": "abeb1851", "unicodeChar": "𩖛", "unicodeCodePoint": "2959B", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "風凡" }], "weight": 10 }, { "charId": "3a045a71", "unicodeChar": "𩡺", "unicodeCodePoint": "2987A", "pinYinChars": [{ "char": "JIE4" }], "splitChars": [{ "char": "馬介" }], "weight": 10 }, { "charId": "9ec6a77a", "unicodeChar": "𩡕", "unicodeCodePoint": "29855", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "旁香" }], "weight": 10 }, { "charId": "07d61ff2", "unicodeChar": "𩠻", "unicodeCodePoint": "2983B", "pinYinChars": [{ "char": "HAN1" }], "splitChars": [{ "char": "香今" }], "weight": 10 }, { "charId": "a454d905", "unicodeChar": "𩒀", "unicodeCodePoint": "29480", "pinYinChars": [{ "char": "ZHEN3" }], "splitChars": [{ "char": "人頁" }], "weight": 10 }, { "charId": "e2ed8478", "unicodeChar": "𬃒", "unicodeCodePoint": "2C0D2", "pinYinChars": [{ "char": "LIANG2" }], "splitChars": [{ "char": "木木" }], "weight": 10 }, { "charId": "3fa68d11", "unicodeChar": "𩑻", "unicodeCodePoint": "2947B", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "白頁" }], "weight": 10 }, { "charId": "b1af06e9", "unicodeChar": "𪲞", "unicodeCodePoint": "2AC9E", "pinYinChars": [{ "char": "QIANG1" }], "splitChars": [{ "char": "木羌" }], "weight": 10 }, { "charId": "c5dc19b2", "unicodeChar": "𩐤", "unicodeCodePoint": "29424", "pinYinChars": [{ "char": "DONG4" }], "splitChars": [{ "char": "音同" }], "weight": 10 }, { "charId": "78753b80", "unicodeChar": "𩦹", "unicodeCodePoint": "299B9", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "馬監" }], "weight": 10 }, { "charId": "e34db497", "unicodeChar": "𩦠", "unicodeCodePoint": "299A0", "pinYinChars": [{ "char": "BANG4" }], "splitChars": [{ "char": "馬剽" }], "weight": 10 }, { "charId": "391f7340", "unicodeChar": "𩻪", "unicodeCodePoint": "29EEA", "pinYinChars": [{ "char": "CH" }], "splitChars": [{ "char": "敞魚" }], "weight": 10 }, { "charId": "2b62f434", "unicodeChar": "𬉿", "unicodeCodePoint": "2C27F", "pinYinChars": [{ "char": "PAO1" }], "splitChars": [{ "char": "爪火" }], "weight": 10 }, { "charId": "f34f0091", "unicodeChar": "𩺰", "unicodeCodePoint": "29EB0", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "魚魚" }], "weight": 10 }, { "charId": "126456ce", "unicodeChar": "𬉾", "unicodeCodePoint": "2C27E", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "火丹" }], "weight": 10 }, { "charId": "88fa3231", "unicodeChar": "𩵖", "unicodeCodePoint": "29D56", "pinYinChars": [{ "char": "XIAO3" }], "splitChars": [{ "char": "魚小" }], "weight": 10 }, { "charId": "cfdf871f", "unicodeChar": "𩱞", "unicodeCodePoint": "29C5E", "pinYinChars": [{ "char": "JIAO4" }], "splitChars": [{ "char": "孝鬲" }], "weight": 10 }, { "charId": "045b56ef", "unicodeChar": "𩧉", "unicodeCodePoint": "299C9", "pinYinChars": [{ "char": "GUANG1" }], "splitChars": [{ "char": "馬廣" }], "weight": 10 }, { "charId": "efad04ca", "unicodeChar": "𩣱", "unicodeCodePoint": "298F1", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "馬坴" }], "weight": 10 }, { "charId": "4ecb629c", "unicodeChar": "𩣮", "unicodeCodePoint": "298EE", "pinYinChars": [{ "char": "TU4" }], "splitChars": [{ "char": "馬兔" }], "weight": 10 }, { "charId": "d0cf3ef7", "unicodeChar": "𪶽", "unicodeCodePoint": "2ADBD", "pinYinChars": [{ "char": "SANG1" }], "splitChars": [{ "char": "氵桑" }], "weight": 10 }, { "charId": "08669109", "unicodeChar": "𪵩", "unicodeCodePoint": "2AD69", "pinYinChars": [{ "char": "XIA4" }], "splitChars": [{ "char": "氵下" }], "weight": 10 }, { "charId": "dd252a9e", "unicodeChar": "𩥐", "unicodeCodePoint": "29950", "pinYinChars": [{ "char": "SHI1" }], "splitChars": [{ "char": "馬師" }], "weight": 10 }, { "charId": "c0e1426d", "unicodeChar": "𩥋", "unicodeCodePoint": "2994B", "pinYinChars": [{ "char": "OU4" }], "splitChars": [{ "char": "馬馬" }], "weight": 10 }, { "charId": "44cfcd93", "unicodeChar": "𩥉", "unicodeCodePoint": "29949", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "馬豈" }], "weight": 10 }, { "charId": "92acc0a2", "unicodeChar": "𩤽", "unicodeCodePoint": "2993D", "pinYinChars": [{ "char": "TI1" }], "splitChars": [{ "char": "馬虎" }], "weight": 10 }, { "charId": "2da248f9", "unicodeChar": "𪸎", "unicodeCodePoint": "2AE0E", "pinYinChars": [{ "char": "FAN2" }], "splitChars": [{ "char": "火几(凢)" }], "weight": 10 }, { "charId": "202515ab", "unicodeChar": "𩣳", "unicodeCodePoint": "298F3", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "馬東" }], "weight": 10 }, { "charId": "4f44eab7", "unicodeChar": "𬈷", "unicodeCodePoint": "2C237", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "氵棠" }], "weight": 10 }, { "charId": "43faeaf4", "unicodeChar": "𩣲", "unicodeCodePoint": "298F2", "pinYinChars": [{ "char": "YAN1" }], "splitChars": [{ "char": "馬典" }], "weight": 10 }, { "charId": "5d4b89ec", "unicodeChar": "𬎏", "unicodeCodePoint": "2C38F", "pinYinChars": [{ "char": "ZI3" }], "splitChars": [{ "char": "王紫" }], "weight": 10 }, { "charId": "55424081", "unicodeChar": "𪂕", "unicodeCodePoint": "2A095", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "雨鳥" }], "weight": 10 }, { "charId": "613a97e1", "unicodeChar": "𬎇", "unicodeCodePoint": "2C387", "pinYinChars": [{ "char": "MO4" }], "splitChars": [{ "char": "王莫" }], "weight": 10 }, { "charId": "46ab23f1", "unicodeChar": "𪂈", "unicodeCodePoint": "2A088", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "炎鳥" }], "weight": 10 }, { "charId": "f6b733a4", "unicodeChar": "𬎋", "unicodeCodePoint": "2C38B", "pinYinChars": [{ "char": "QIN2" }], "splitChars": [{ "char": "王琴" }], "weight": 10 }, { "charId": "53cae372", "unicodeChar": "𪁿", "unicodeCodePoint": "2A07F", "pinYinChars": [{ "char": "SONG1" }], "splitChars": [{ "char": "松鳥" }], "weight": 10 }, { "charId": "757e6d2e", "unicodeChar": "𪁏", "unicodeCodePoint": "2A04F", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "山鳥" }], "weight": 10 }, { "charId": "4b08145b", "unicodeChar": "𪼏", "unicodeCodePoint": "2AF0F", "pinYinChars": [{ "char": "SANG1" }], "splitChars": [{ "char": "王桑" }], "weight": 10 }, { "charId": "7f9ef6de", "unicodeChar": "𪻽", "unicodeCodePoint": "2AEFD", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "王客" }], "weight": 10 }, { "charId": "4d68cb26", "unicodeChar": "𪀩", "unicodeCodePoint": "2A029", "pinYinChars": [{ "char": "QI1" }], "splitChars": [{ "char": "多鳥" }], "weight": 10 }, { "charId": "a6db9c2c", "unicodeChar": "𬍺", "unicodeCodePoint": "2C37A", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "王勇" }], "weight": 10 }, { "charId": "d7bc07ff", "unicodeChar": "𪻤", "unicodeCodePoint": "2AEE4", "pinYinChars": [{ "char": "BING1" }], "splitChars": [{ "char": "王兵" }], "weight": 10 }, { "charId": "3f7ae35b", "unicodeChar": "𩱇", "unicodeCodePoint": "29C47", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "鬲鬲" }], "weight": 10 }, { "charId": "9f434ef3", "unicodeChar": "𩫆", "unicodeCodePoint": "29AC6", "pinYinChars": [{ "char": "SH" }], "splitChars": [{ "char": "高升" }], "weight": 10 }, { "charId": "ef02f169", "unicodeChar": "𩪛", "unicodeCodePoint": "29A9B", "pinYinChars": [{ "char": "PU2" }], "splitChars": [{ "char": "骨菐" }], "weight": 10 }, { "charId": "d88908a1", "unicodeChar": "𩨑", "unicodeCodePoint": "29A11", "pinYinChars": [{ "char": "TING1" }], "splitChars": [{ "char": "骨丁" }], "weight": 10 }, { "charId": "5c12387e", "unicodeChar": "𬊀", "unicodeCodePoint": "2C280", "pinYinChars": [{ "char": "FANG1" }], "splitChars": [{ "char": "火方" }], "weight": 10 }, { "charId": "82079527", "unicodeChar": "𩾽", "unicodeCodePoint": "29FBD", "pinYinChars": [{ "char": "XIN1" }], "splitChars": [{ "char": "鳥心" }], "weight": 10 }, { "charId": "fa0a7c1a", "unicodeChar": "𩽾", "unicodeCodePoint": "29F7E", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "鱼安" }], "weight": 10 }, { "charId": "ee05a053", "unicodeChar": "𬋅", "unicodeCodePoint": "2C2C5", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "火惠" }], "weight": 10 }, { "charId": "60bf089d", "unicodeChar": "𬍥", "unicodeCodePoint": "2C365", "pinYinChars": [{ "char": "FU3" }], "splitChars": [{ "char": "王甫" }], "weight": 10 }, { "charId": "c3c0e727", "unicodeChar": "𬒗", "unicodeCodePoint": "2C497", "pinYinChars": [{ "char": "LAN2" }], "splitChars": [{ "char": "石览" }], "weight": 10 }, { "charId": "3f42fc23", "unicodeChar": "鿎", "unicodeCodePoint": "9FCE", "pinYinChars": [{ "char": "TA3" }], "splitChars": [{ "char": "石达" }], "weight": 10 }, { "charId": "8fb993f5", "unicodeChar": "𬒈", "unicodeCodePoint": "2C488", "pinYinChars": [{ "char": "QUE4" }], "splitChars": [{ "char": "小石" }], "weight": 10 }, { "charId": "28b3f223", "unicodeChar": "𮀔", "unicodeCodePoint": "2E014", "pinYinChars": [{ "char": "ZHAI4" }], "splitChars": [{ "char": "石示" }], "weight": 10 }, { "charId": "121d8aaa", "unicodeChar": "𪾢", "unicodeCodePoint": "2AFA2", "pinYinChars": [{ "char": "XIAN4" }], "splitChars": [{ "char": "目见" }], "weight": 10 }, { "charId": "7470f15c", "unicodeChar": "𪽏", "unicodeCodePoint": "2AF4F", "pinYinChars": [{ "char": "LENG4" }], "splitChars": [{ "char": "田令" }], "weight": 10 }, { "charId": "6b302409", "unicodeChar": "𪽇", "unicodeCodePoint": "2AF47", "pinYinChars": [{ "char": "KE1" }], "splitChars": [{ "char": "田九" }], "weight": 10 }, { "charId": "292f0d14", "unicodeChar": "𪼦", "unicodeCodePoint": "2AF26", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "王意" }], "weight": 10 }, { "charId": "a68c8069", "unicodeChar": "𬘧", "unicodeCodePoint": "2C627", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "纟齐" }], "weight": 10 }, { "charId": "eb6a52c9", "unicodeChar": "𬘡", "unicodeCodePoint": "2C621", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "纟因" }], "weight": 10 }, { "charId": "895b5c94", "unicodeChar": "𫂺", "unicodeCodePoint": "2B0BA", "pinYinChars": [{ "char": "FAN1" }], "splitChars": [{ "char": "米田" }], "weight": 10 }, { "charId": "323a7fd0", "unicodeChar": "𬕂", "unicodeCodePoint": "2C542", "pinYinChars": [{ "char": "GONG1" }], "splitChars": [{ "char": "竹贡" }], "weight": 10 }, { "charId": "62c04212", "unicodeChar": "𬓮", "unicodeCodePoint": "2C4EE", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "禾尚" }], "weight": 10 }, { "charId": "752eb8d9", "unicodeChar": "𪿲", "unicodeCodePoint": "2AFF2", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "石窑" }], "weight": 10 }, { "charId": "cb54ca0d", "unicodeChar": "𧻚", "unicodeCodePoint": "27EDA", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "走亘" }], "weight": 10 }, { "charId": "4e4469e6", "unicodeChar": "𨀘", "unicodeCodePoint": "28018", "pinYinChars": [{ "char": "XIANG2" }], "splitChars": [{ "char": "足羊" }], "weight": 10 }, { "charId": "93dac241", "unicodeChar": "𧿥", "unicodeCodePoint": "27FE5", "pinYinChars": [{ "char": "BIE2" }], "splitChars": [{ "char": "足比" }], "weight": 10 }, { "charId": "882b8149", "unicodeChar": "𧾰", "unicodeCodePoint": "27FB0", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "走翼" }], "weight": 10 }, { "charId": "94086d2c", "unicodeChar": "𧼨", "unicodeCodePoint": "27F28", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "走曷" }], "weight": 10 }, { "charId": "10c31798", "unicodeChar": "𧯀", "unicodeCodePoint": "27BC0", "pinYinChars": [{ "char": "YING1" }], "splitChars": [{ "char": "谷英" }], "weight": 10 }, { "charId": "30bd66ef", "unicodeChar": "𧲡", "unicodeCodePoint": "27CA1", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "豸力" }], "weight": 10 }, { "charId": "239f71a4", "unicodeChar": "𨒇", "unicodeCodePoint": "28487", "pinYinChars": [{ "char": "JIA3" }], "splitChars": [{ "char": "辶甲" }], "weight": 10 }, { "charId": "23d804af", "unicodeChar": "𨒃", "unicodeCodePoint": "28483", "pinYinChars": [{ "char": "PAN4" }], "splitChars": [{ "char": "辶半" }], "weight": 10 }, { "charId": "fff8be25", "unicodeChar": "𨄗", "unicodeCodePoint": "28117", "pinYinChars": [{ "char": "KANG1" }], "splitChars": [{ "char": "足康" }], "weight": 10 }, { "charId": "38fd7d2a", "unicodeChar": "𨂿", "unicodeCodePoint": "280BF", "pinYinChars": [{ "char": "WAI3" }], "splitChars": [{ "char": "足歪" }], "weight": 10 }, { "charId": "d1cded81", "unicodeChar": "𨁏", "unicodeCodePoint": "2804F", "pinYinChars": [{ "char": "PU1" }], "splitChars": [{ "char": "足甫" }], "weight": 10 }, { "charId": "a39a1dcc", "unicodeChar": "𨁂", "unicodeCodePoint": "28042", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "足夾" }], "weight": 10 }, { "charId": "03d1ebdd", "unicodeChar": "𨓿", "unicodeCodePoint": "284FF", "pinYinChars": [{ "char": "PEI2" }], "splitChars": [{ "char": "辶非" }], "weight": 10 }, { "charId": "88de5d5c", "unicodeChar": "𧂋", "unicodeCodePoint": "2708B", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "艹心(憑)" }], "weight": 10 }, { "charId": "cfe66ac7", "unicodeChar": "𨓯", "unicodeCodePoint": "284EF", "pinYinChars": [{ "char": "YUAN1" }], "splitChars": [{ "char": "辶片" }], "weight": 10 }, { "charId": "8c9a4269", "unicodeChar": "𨓞", "unicodeCodePoint": "284DE", "pinYinChars": [{ "char": "DIA4" }], "splitChars": [{ "char": "辶㐬" }], "weight": 10 }, { "charId": "6ebc0dcb", "unicodeChar": "𨒱", "unicodeCodePoint": "284B1", "pinYinChars": [{ "char": "GONG1" }], "splitChars": [{ "char": "辶共" }], "weight": 10 }, { "charId": "66daf2c0", "unicodeChar": "𢙿", "unicodeCodePoint": "2267F", "pinYinChars": [{ "char": "JIN4" }], "splitChars": [{ "char": "忄今(岑)" }], "weight": 10 }, { "charId": "2f84c757", "unicodeChar": "𨒫", "unicodeCodePoint": "284AB", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "辶羊" }], "weight": 10 }, { "charId": "52ab979a", "unicodeChar": "𨆬", "unicodeCodePoint": "281AC", "pinYinChars": [{ "char": "CHUO4" }], "splitChars": [{ "char": "足足" }], "weight": 10 }, { "charId": "5e603db9", "unicodeChar": "𨄮", "unicodeCodePoint": "2812E", "pinYinChars": [{ "char": "SHUAI1" }], "splitChars": [{ "char": "足率" }], "weight": 10 }, { "charId": "884fea83", "unicodeChar": "𧺸", "unicodeCodePoint": "27EB8", "pinYinChars": [{ "char": "YONG2" }], "splitChars": [{ "char": "走冋" }], "weight": 10 }, { "charId": "c9317377", "unicodeChar": "𧺊", "unicodeCodePoint": "27E8A", "pinYinChars": [{ "char": "HU" }], "splitChars": [{ "char": "走匕" }], "weight": 10 }, { "charId": "a50602b7", "unicodeChar": "𨀙", "unicodeCodePoint": "28019", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "足吉" }], "weight": 10 }, { "charId": "6375d2f9", "unicodeChar": "𩢀", "unicodeCodePoint": "29880", "pinYinChars": [{ "char": "TUN2" }], "splitChars": [{ "char": "馬屯" }], "weight": 10 }, { "charId": "f3e78c1d", "unicodeChar": "𨍶", "unicodeCodePoint": "28376", "pinYinChars": [{ "char": "QIONG2" }], "splitChars": [{ "char": "𤇾車" }], "weight": 10 }, { "charId": "8e0d102e", "unicodeChar": "𨋺", "unicodeCodePoint": "282FA", "pinYinChars": [{ "char": "FA2" }], "splitChars": [{ "char": "臼車" }], "weight": 10 }, { "charId": "fe84a319", "unicodeChar": "𨊧", "unicodeCodePoint": "282A7", "pinYinChars": [{ "char": "GANG1" }], "splitChars": [{ "char": "車工" }], "weight": 10 }, { "charId": "355d1b5a", "unicodeChar": "𨇤", "unicodeCodePoint": "281E4", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "足鮮" }], "weight": 10 }, { "charId": "9d6a35ca", "unicodeChar": "𨠏", "unicodeCodePoint": "2880F", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "酉氐" }], "weight": 10 }, { "charId": "dd9d3677", "unicodeChar": "𨟵", "unicodeCodePoint": "287F5", "pinYinChars": [{ "char": "BI3" }], "splitChars": [{ "char": "酉比" }], "weight": 10 }, { "charId": "db19a5ee", "unicodeChar": "𨞺", "unicodeCodePoint": "287BA", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "厲阝" }], "weight": 10 }, { "charId": "c20319d9", "unicodeChar": "𨞕", "unicodeCodePoint": "28795", "pinYinChars": [{ "char": "ZHU2" }], "splitChars": [{ "char": "蜀阝" }], "weight": 10 }, { "charId": "a3d6d688", "unicodeChar": "𫮑", "unicodeCodePoint": "2BB91", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "土建" }], "weight": 10 }, { "charId": "4950d39b", "unicodeChar": "𨗦", "unicodeCodePoint": "285E6", "pinYinChars": [{ "char": "QIAN3" }], "splitChars": [{ "char": "辶僉" }], "weight": 10 }, { "charId": "6c4a045e", "unicodeChar": "𫮃", "unicodeCodePoint": "2BB83", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "土单" }], "weight": 10 }, { "charId": "68ab702a", "unicodeChar": "𨝎", "unicodeCodePoint": "2874E", "pinYinChars": [{ "char": "KANG1" }], "splitChars": [{ "char": "康阝" }], "weight": 10 }, { "charId": "cdea090d", "unicodeChar": "𪤊", "unicodeCodePoint": "2A90A", "pinYinChars": [{ "char": "LANG4" }], "splitChars": [{ "char": "浪土" }], "weight": 10 }, { "charId": "70f192ae", "unicodeChar": "𨜶", "unicodeCodePoint": "28736", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "益阝" }], "weight": 10 }, { "charId": "852c2abf", "unicodeChar": "𨜓", "unicodeCodePoint": "28713", "pinYinChars": [{ "char": "ZHENG1" }], "splitChars": [{ "char": "貞阝" }], "weight": 10 }, { "charId": "d0c3f67d", "unicodeChar": "𨜏", "unicodeCodePoint": "2870F", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "盈阝" }], "weight": 10 }, { "charId": "cd92fe2f", "unicodeChar": "𨢌", "unicodeCodePoint": "2888C", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "酉鬲" }], "weight": 10 }, { "charId": "aff643d1", "unicodeChar": "𨡹", "unicodeCodePoint": "28879", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "酉泉" }], "weight": 10 }, { "charId": "dd76d6ce", "unicodeChar": "𨚔", "unicodeCodePoint": "28694", "pinYinChars": [{ "char": "BAO1" }], "splitChars": [{ "char": "包阝" }], "weight": 10 }, { "charId": "99133474", "unicodeChar": "𨙴", "unicodeCodePoint": "28674", "pinYinChars": [{ "char": "CAI2" }], "splitChars": [{ "char": "才阝" }], "weight": 10 }, { "charId": "84d9b2c8", "unicodeChar": "𨗴", "unicodeCodePoint": "285F4", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "辶隹" }], "weight": 10 }, { "charId": "dfc02080", "unicodeChar": "𨗨", "unicodeCodePoint": "285E8", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "辶韋" }], "weight": 10 }, { "charId": "2a604a6b", "unicodeChar": "𨑨", "unicodeCodePoint": "28468", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "辶日" }], "weight": 10 }, { "charId": "0fc50acd", "unicodeChar": "𨔦", "unicodeCodePoint": "28526", "pinYinChars": [{ "char": "SHU4" }], "splitChars": [{ "char": "辶壴" }], "weight": 10 }, { "charId": "8ab9cc5d", "unicodeChar": "𨛴", "unicodeCodePoint": "286F4", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "昊阝" }], "weight": 10 }, { "charId": "9d79e000", "unicodeChar": "𨛮", "unicodeCodePoint": "286EE", "pinYinChars": [{ "char": "JU1" }], "splitChars": [{ "char": "居阝" }], "weight": 10 }, { "charId": "dbb6bf49", "unicodeChar": "𨛬", "unicodeCodePoint": "286EC", "pinYinChars": [{ "char": "XI2" }], "splitChars": [{ "char": "非邑" }], "weight": 10 }, { "charId": "dc79ecc1", "unicodeChar": "𨚮", "unicodeCodePoint": "286AE", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "白阝" }], "weight": 10 }, { "charId": "489522b4", "unicodeChar": "𪤗", "unicodeCodePoint": "2A917", "pinYinChars": [{ "char": "LIAO4" }], "splitChars": [{ "char": "土翏" }], "weight": 10 }, { "charId": "9ab383a1", "unicodeChar": "𫰛", "unicodeCodePoint": "2BC1B", "pinYinChars": [{ "char": "XING2" }], "splitChars": [{ "char": "女𢀖" }], "weight": 10 }, { "charId": "d9c79386", "unicodeChar": "𪥰", "unicodeCodePoint": "2A970", "pinYinChars": [{ "char": "NING2" }], "splitChars": [{ "char": "女宁" }], "weight": 10 }, { "charId": "0519717d", "unicodeChar": "𨥜", "unicodeCodePoint": "2895C", "pinYinChars": [{ "char": "AO3" }], "splitChars": [{ "char": "金夭" }], "weight": 10 }, { "charId": "1172f2e9", "unicodeChar": "𫳑", "unicodeCodePoint": "2BCD1", "pinYinChars": [{ "char": "YAN1" }], "splitChars": [{ "char": "宀奄" }], "weight": 10 }, { "charId": "319d4e63", "unicodeChar": "𫱮", "unicodeCodePoint": "2BC6E", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "女惠" }], "weight": 10 }, { "charId": "a72a90ea", "unicodeChar": "𫰾", "unicodeCodePoint": "2BC3E", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "女金" }], "weight": 10 }, { "charId": "80950feb", "unicodeChar": "𭏦", "unicodeCodePoint": "2D3E6", "pinYinChars": [{ "char": "AI4" }], "splitChars": [{ "char": "土盖" }], "weight": 10 }, { "charId": "76fc4087", "unicodeChar": "𪤏", "unicodeCodePoint": "2A90F", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "土基" }], "weight": 10 }, { "charId": "7442e9fb", "unicodeChar": "𨝯", "unicodeCodePoint": "2876F", "pinYinChars": [{ "char": "TONG2" }], "splitChars": [{ "char": "童阝" }], "weight": 10 }, { "charId": "86139900", "unicodeChar": "𨥙", "unicodeCodePoint": "28959", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "金井" }], "weight": 10 }, { "charId": "7a5f411a", "unicodeChar": "𫰎", "unicodeCodePoint": "2BC0E", "pinYinChars": [{ "char": "YA1" }], "splitChars": [{ "char": "女牙" }], "weight": 10 }, { "charId": "99828527", "unicodeChar": "𪥈", "unicodeCodePoint": "2A948", "pinYinChars": [{ "char": "DUN1" }], "splitChars": [{ "char": "大平" }], "weight": 10 }, { "charId": "41119732", "unicodeChar": "𨥌", "unicodeCodePoint": "2894C", "pinYinChars": [{ "char": "CHI2" }], "splitChars": [{ "char": "金氏" }], "weight": 10 }, { "charId": "12d2133b", "unicodeChar": "𨥈", "unicodeCodePoint": "28948", "pinYinChars": [{ "char": "JI3" }], "splitChars": [{ "char": "金己" }], "weight": 10 }, { "charId": "3bba04c4", "unicodeChar": "𪤅", "unicodeCodePoint": "2A905", "pinYinChars": [{ "char": "DANG3" }], "splitChars": [{ "char": "土党" }], "weight": 10 }, { "charId": "7568cd43", "unicodeChar": "𪨪", "unicodeCodePoint": "2AA2A", "pinYinChars": [{ "char": "CE4" }], "splitChars": [{ "char": "山册" }], "weight": 10 }, { "charId": "3a3fa569", "unicodeChar": "𪥵", "unicodeCodePoint": "2A975", "pinYinChars": [{ "char": "XU3" }], "splitChars": [{ "char": "女羽" }], "weight": 10 }, { "charId": "51265e07", "unicodeChar": "𡸫", "unicodeCodePoint": "21E2B", "pinYinChars": [{ "char": "PIN1" }], "splitChars": [{ "char": "山并(幷)" }], "weight": 10 }, { "charId": "cd6e9db2", "unicodeChar": "𪨳", "unicodeCodePoint": "2AA33", "pinYinChars": [{ "char": "HENG4" }], "splitChars": [{ "char": "山行" }], "weight": 10 }, { "charId": "12f515d2", "unicodeChar": "𪥼", "unicodeCodePoint": "2A97C", "pinYinChars": [{ "char": "QI1" }], "splitChars": [{ "char": "女妻" }], "weight": 10 }, { "charId": "219a9806", "unicodeChar": "𪭴", "unicodeCodePoint": "2AB74", "pinYinChars": [{ "char": "ZOU3" }], "splitChars": [{ "char": "扌走" }], "weight": 10 }, { "charId": "8ebf4028", "unicodeChar": "𭜸", "unicodeCodePoint": "2D738", "pinYinChars": [{ "char": "XIAO4" }], "splitChars": [{ "char": "忄孝" }], "weight": 10 }, { "charId": "f21fe2ed", "unicodeChar": "𫶇", "unicodeCodePoint": "2BD87", "pinYinChars": [{ "char": "DIE2" }], "splitChars": [{ "char": "山带" }], "weight": 10 }, { "charId": "17cc5320", "unicodeChar": "𪩃", "unicodeCodePoint": "2AA43", "pinYinChars": [{ "char": "SHI4" }], "splitChars": [{ "char": "山是" }], "weight": 10 }, { "charId": "3a78c4a1", "unicodeChar": "𫓯", "unicodeCodePoint": "2B4EF", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "钅圭" }], "weight": 10 }, { "charId": "ae27f533", "unicodeChar": "𬬾", "unicodeCodePoint": "2CB3E", "pinYinChars": [{ "char": "NING2" }], "splitChars": [{ "char": "钅宁" }], "weight": 10 }, { "charId": "691b53e3", "unicodeChar": "𬭸", "unicodeCodePoint": "2CB78", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "钅粦" }], "weight": 10 }, { "charId": "9a0effa3", "unicodeChar": "𬭳", "unicodeCodePoint": "2CB73", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "钅喜" }], "weight": 10 }, { "charId": "8829c6b4", "unicodeChar": "𬭯", "unicodeCodePoint": "2CB6F", "pinYinChars": [{ "char": "PIE3" }], "splitChars": [{ "char": "钅敝" }], "weight": 10 }, { "charId": "bbaeee52", "unicodeChar": "𬭄", "unicodeCodePoint": "2CB44", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "钅西" }], "weight": 10 }, { "charId": "0d3c33bb", "unicodeChar": "𫓹", "unicodeCodePoint": "2B4F9", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "钅其" }], "weight": 10 }, { "charId": "bb9f76fb", "unicodeChar": "𬮡", "unicodeCodePoint": "2CBA1", "pinYinChars": [{ "char": "MA3" }], "splitChars": [{ "char": "门外" }], "weight": 10 }, { "charId": "e7e88266", "unicodeChar": "𫕟", "unicodeCodePoint": "2B55F", "pinYinChars": [{ "char": "XIAO1" }], "splitChars": [{ "char": "雨月" }], "weight": 10 }, { "charId": "bb95afc8", "unicodeChar": "𫠃", "unicodeCodePoint": "2B803", "pinYinChars": [{ "char": "XIAN" }], "splitChars": [{ "char": "阝显" }], "weight": 10 }, { "charId": "7830fd00", "unicodeChar": "𬯎", "unicodeCodePoint": "2CBCE", "pinYinChars": [{ "char": "TUI2" }], "splitChars": [{ "char": "阝贵" }], "weight": 10 }, { "charId": "371ba62d", "unicodeChar": "𬷻", "unicodeCodePoint": "2CDFB", "pinYinChars": [{ "char": "JIE" }], "splitChars": [{ "char": "鸟乙" }], "weight": 10 }, { "charId": "f7d8f6b6", "unicodeChar": "𬶖", "unicodeCodePoint": "2CD96", "pinYinChars": [{ "char": "YE4" }], "splitChars": [{ "char": "鱼奄" }], "weight": 10 }, { "charId": "7efe3dc7", "unicodeChar": "𬳽", "unicodeCodePoint": "2CCFD", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "马先" }], "weight": 10 }, { "charId": "fc795622", "unicodeChar": "𬴊", "unicodeCodePoint": "2CD0A", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "马粦" }], "weight": 10 }, { "charId": "d8efcb10", "unicodeChar": "𫘪", "unicodeCodePoint": "2B62A", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "马原" }], "weight": 10 }, { "charId": "f79f9e32", "unicodeChar": "𬳿", "unicodeCodePoint": "2CCFF", "pinYinChars": [{ "char": "TU2" }], "splitChars": [{ "char": "马余" }], "weight": 10 }, { "charId": "58de861e", "unicodeChar": "𬳶", "unicodeCodePoint": "2CCF6", "pinYinChars": [{ "char": "JIONG1" }], "splitChars": [{ "char": "马冋" }], "weight": 10 }, { "charId": "3029fb34", "unicodeChar": "𫘜", "unicodeCodePoint": "2B61C", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "马文" }], "weight": 10 }, { "charId": "b60b7c8b", "unicodeChar": "𫘝", "unicodeCodePoint": "2B61D", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "马夬" }], "weight": 10 }, { "charId": "c5e32c79", "unicodeChar": "𫘨", "unicodeCodePoint": "2B628", "pinYinChars": [{ "char": "TI2" }], "splitChars": [{ "char": "马是" }], "weight": 10 }, { "charId": "cd8188e8", "unicodeChar": "𫘦", "unicodeCodePoint": "2B626", "pinYinChars": [{ "char": "TAO2" }], "splitChars": [{ "char": "马匋" }], "weight": 10 }, { "charId": "20d024c4", "unicodeChar": "𪝉", "unicodeCodePoint": "2A749", "pinYinChars": [{ "char": "TIAO2" }], "splitChars": [{ "char": "亻条" }], "weight": 10 }, { "charId": "360a99db", "unicodeChar": "𫠡", "unicodeCodePoint": "2B821", "pinYinChars": [{ "char": "DENG4" }], "splitChars": [{ "char": "一个" }], "weight": 10 }, { "charId": "757fc29a", "unicodeChar": "𬸣", "unicodeCodePoint": "2CE23", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "宀鸟" }], "weight": 10 }, { "charId": "ed4565c6", "unicodeChar": "𬶌", "unicodeCodePoint": "2CD8C", "pinYinChars": [{ "char": "DAI4" }], "splitChars": [{ "char": "鱼代" }], "weight": 10 }, { "charId": "c2a5be3c", "unicodeChar": "𫛲", "unicodeCodePoint": "2B6F2", "pinYinChars": [{ "char": "DIAO1" }], "splitChars": [{ "char": "周鸟" }], "weight": 10 }, { "charId": "0ff8af82", "unicodeChar": "𬸚", "unicodeCodePoint": "2CE1A", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "狱鸟" }], "weight": 10 }, { "charId": "dcb6bd47", "unicodeChar": "𪋮", "unicodeCodePoint": "2A2EE", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "鹿與" }], "weight": 10 }, { "charId": "c6779768", "unicodeChar": "𪋬", "unicodeCodePoint": "2A2EC", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "鹿吴(虞)" }], "weight": 10 }, { "charId": "2fa4d2e7", "unicodeChar": "𪋡", "unicodeCodePoint": "2A2E1", "pinYinChars": [{ "char": "PU2" }], "splitChars": [{ "char": "鹿菐" }], "weight": 10 }, { "charId": "c500fbe7", "unicodeChar": "𪊷", "unicodeCodePoint": "2A2B7", "pinYinChars": [{ "char": "XIAO4" }], "splitChars": [{ "char": "鹿孝" }], "weight": 10 }, { "charId": "4c5b3ca2", "unicodeChar": "𪊶", "unicodeCodePoint": "2A2B6", "pinYinChars": [{ "char": "TING3" }], "splitChars": [{ "char": "鹿廷" }], "weight": 10 }, { "charId": "a34a4ab1", "unicodeChar": "𪇵", "unicodeCodePoint": "2A1F5", "pinYinChars": [{ "char": "GUANG3" }], "splitChars": [{ "char": "廣鳥" }], "weight": 10 }, { "charId": "9325a45b", "unicodeChar": "𪆶", "unicodeCodePoint": "2A1B6", "pinYinChars": [{ "char": "CAN4" }], "splitChars": [{ "char": "粲鳥" }], "weight": 10 }, { "charId": "d792df1d", "unicodeChar": "𪄹", "unicodeCodePoint": "2A139", "pinYinChars": [{ "char": "CHANG2" }], "splitChars": [{ "char": "常鳥" }], "weight": 10 }, { "charId": "34e0c785", "unicodeChar": "𪄴", "unicodeCodePoint": "2A134", "pinYinChars": [{ "char": "MIN3" }], "splitChars": [{ "char": "敏鳥" }], "weight": 10 }, { "charId": "856d06e3", "unicodeChar": "𪃾", "unicodeCodePoint": "2A0FE", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "容鳥" }], "weight": 10 }, { "charId": "89ca7dbc", "unicodeChar": "𪃑", "unicodeCodePoint": "2A0D1", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "冒鳥" }], "weight": 10 }, { "charId": "fe32ef02", "unicodeChar": "𪂹", "unicodeCodePoint": "2A0B9", "pinYinChars": [{ "char": "CHUN1" }], "splitChars": [{ "char": "春鳥" }], "weight": 10 }, { "charId": "a1ff160b", "unicodeChar": "𫢎", "unicodeCodePoint": "2B88E", "pinYinChars": [{ "char": "SHUN3" }], "splitChars": [{ "char": "亻允" }], "weight": 10 }, { "charId": "7b9c3ba5", "unicodeChar": "𪕀", "unicodeCodePoint": "2A540", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "鼠元" }], "weight": 10 }, { "charId": "588af633", "unicodeChar": "𪒠", "unicodeCodePoint": "2A4A0", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "黑敢" }], "weight": 10 }, { "charId": "df64b479", "unicodeChar": "𪎒", "unicodeCodePoint": "2A392", "pinYinChars": [{ "char": "SHUO4" }], "splitChars": [{ "char": "麻凡" }], "weight": 10 }, { "charId": "0ed1c49d", "unicodeChar": "𪌼", "unicodeCodePoint": "2A33C", "pinYinChars": [{ "char": "TAO2" }], "splitChars": [{ "char": "麥匋" }], "weight": 10 }, { "charId": "9e4349b8", "unicodeChar": "𪜳", "unicodeCodePoint": "2A733", "pinYinChars": [{ "char": "MIAN2" }], "splitChars": [{ "char": "亻民" }], "weight": 10 }, { "charId": "fc720c64", "unicodeChar": "𪈼", "unicodeCodePoint": "2A23C", "pinYinChars": [{ "char": "NIAO3" }], "splitChars": [{ "char": "鳥鳥" }], "weight": 10 }, { "charId": "a8309abf", "unicodeChar": "𫢉", "unicodeCodePoint": "2B889", "pinYinChars": [{ "char": "GAN4" }], "splitChars": [{ "char": "人干" }], "weight": 10 }, { "charId": "06df16e7", "unicodeChar": "𫥡", "unicodeCodePoint": "2B961", "pinYinChars": [{ "char": "DOU1" }], "splitChars": [{ "char": "比几" }], "weight": 10 }, { "charId": "69ad5b09", "unicodeChar": "𫥞", "unicodeCodePoint": "2B95E", "pinYinChars": [{ "char": "PEI4" }], "splitChars": [{ "char": "几帀" }], "weight": 10 }, { "charId": "83702bb6", "unicodeChar": "𬙂", "unicodeCodePoint": "2C642", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "纟寅" }], "weight": 10 }, { "charId": "434d73c3", "unicodeChar": "𬙙", "unicodeCodePoint": "2C659", "pinYinChars": [{ "char": "LENG4" }], "splitChars": [{ "char": "四方" }], "weight": 10 }, { "charId": "4db0a415", "unicodeChar": "𬘴", "unicodeCodePoint": "2C634", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "纟秋" }], "weight": 10 }, { "charId": "44a5d969", "unicodeChar": "𬘭", "unicodeCodePoint": "2C62D", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "纟林" }], "weight": 10 }, { "charId": "ca97ac92", "unicodeChar": "𫢷", "unicodeCodePoint": "2B8B7", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "亻享" }], "weight": 10 }, { "charId": "0b8092ed", "unicodeChar": "𬜥", "unicodeCodePoint": "2C725", "pinYinChars": [{ "char": "LAN2" }], "splitChars": [{ "char": "艹风" }], "weight": 10 }, { "charId": "803cb6a3", "unicodeChar": "𫇭", "unicodeCodePoint": "2B1ED", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "艹为" }], "weight": 10 }, { "charId": "163e6eb9", "unicodeChar": "𭃂", "unicodeCodePoint": "2D0C2", "pinYinChars": [{ "char": "LIANG3" }], "splitChars": [{ "char": "刀二" }], "weight": 10 }, { "charId": "4bf360e8", "unicodeChar": "𫢌", "unicodeCodePoint": "2B88C", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "亻丹" }], "weight": 10 }, { "charId": "6f1acb19", "unicodeChar": "𬽪", "unicodeCodePoint": "2CF6A", "pinYinChars": [{ "char": "RI4" }], "splitChars": [{ "char": "亻日" }], "weight": 10 }, { "charId": "aad6dd02", "unicodeChar": "𬘫", "unicodeCodePoint": "2C62B", "pinYinChars": [{ "char": "HUAN2" }], "splitChars": [{ "char": "纟完" }], "weight": 10 }, { "charId": "3ccecf3b", "unicodeChar": "𫢝", "unicodeCodePoint": "2B89D", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "亻宇" }], "weight": 10 }, { "charId": "3eddb85f", "unicodeChar": "鿇", "unicodeCodePoint": "9FC7", "pinYinChars": [{ "char": "ZHENG1" }], "splitChars": [{ "char": "亻争" }], "weight": 10 }, { "charId": "418249f2", "unicodeChar": "𪝞", "unicodeCodePoint": "2A75E", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "亻益" }], "weight": 10 }, { "charId": "64ac85a2", "unicodeChar": "𪟺", "unicodeCodePoint": "2A7FA", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "卓俞" }], "weight": 10 }, { "charId": "c77d6b93", "unicodeChar": "𬣞", "unicodeCodePoint": "2C8DE", "pinYinChars": [{ "char": "ZHU4" }], "splitChars": [{ "char": "讠㝉贮" }], "weight": 10 }, { "charId": "30816d46", "unicodeChar": "𫅪", "unicodeCodePoint": "2B16A", "pinYinChars": [{ "char": "FEI3" }], "splitChars": [{ "char": "羽非" }], "weight": 10 }, { "charId": "19e272f8", "unicodeChar": "𬚖", "unicodeCodePoint": "2C696", "pinYinChars": [{ "char": "CHAO3" }], "splitChars": [{ "char": "耳召" }], "weight": 10 }, { "charId": "9c48f105", "unicodeChar": "𬜯", "unicodeCodePoint": "2C72F", "pinYinChars": [{ "char": "LIANG3" }], "splitChars": [{ "char": "艹两" }], "weight": 10 }, { "charId": "9a536bf1", "unicodeChar": "𫥓", "unicodeCodePoint": "2B953", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "冫俞" }], "weight": 10 }, { "charId": "be93f9e4", "unicodeChar": "𫇺", "unicodeCodePoint": "2B1FA", "pinYinChars": [{ "char": "ZHUANG1" }], "splitChars": [{ "char": "艹庄" }], "weight": 10 }, { "charId": "48891159", "unicodeChar": "𬟽", "unicodeCodePoint": "2C7FD", "pinYinChars": [{ "char": "DONG1" }], "splitChars": [{ "char": "虫东" }], "weight": 10 }, { "charId": "b90053f3", "unicodeChar": "𫦪", "unicodeCodePoint": "2B9AA", "pinYinChars": [{ "char": "JUAN1" }], "splitChars": [{ "char": "肙力" }], "weight": 10 }, { "charId": "43b2fb1f", "unicodeChar": "𪟘", "unicodeCodePoint": "2A7D8", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "丘力" }], "weight": 10 }, { "charId": "b44ce0f6", "unicodeChar": "𫍯", "unicodeCodePoint": "2B36F", "pinYinChars": [{ "char": "XIAN2" }], "splitChars": [{ "char": "讠咸" }], "weight": 10 }, { "charId": "3b4273ef", "unicodeChar": "𫐄", "unicodeCodePoint": "2B404", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "车兀" }], "weight": 10 }, { "charId": "0a502cb2", "unicodeChar": "𬩽", "unicodeCodePoint": "2CA7D", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "寻阝" }], "weight": 10 }, { "charId": "2726f50e", "unicodeChar": "𬢤", "unicodeCodePoint": "2C8A4", "pinYinChars": [{ "char": "ZI1" }], "splitChars": [{ "char": "次言" }], "weight": 10 }, { "charId": "828a68da", "unicodeChar": "𬣙", "unicodeCodePoint": "2C8D9", "pinYinChars": [{ "char": "XU1" }], "splitChars": [{ "char": "讠于" }], "weight": 10 }, { "charId": "1177260f", "unicodeChar": "𬬮", "unicodeCodePoint": "2CB2E", "pinYinChars": [{ "char": "CHANG3" }], "splitChars": [{ "char": "钅长" }], "weight": 10 }, { "charId": "ee66dfd1", "unicodeChar": "𫓧", "unicodeCodePoint": "2B4E7", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "钅夫" }], "weight": 10 }, { "charId": "9e442d9a", "unicodeChar": "𮞑", "unicodeCodePoint": "2E791", "pinYinChars": [{ "char": "GE4" }], "splitChars": [{ "char": "辶各" }], "weight": 10 }, { "charId": "254d46dc", "unicodeChar": "𬩳", "unicodeCodePoint": "2CA73", "pinYinChars": [{ "char": "LI" }], "splitChars": [{ "char": "力阝" }], "weight": 10 }, { "charId": "4c664628", "unicodeChar": "𪦪", "unicodeCodePoint": "2A9AA", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "女粤" }], "weight": 10 }, { "charId": "73bc7892", "unicodeChar": "𫞩", "unicodeCodePoint": "2B7A9", "pinYinChars": [{ "char": "MEN2" }], "splitChars": [{ "char": "𤣩𬜯满" }], "weight": 10 }, { "charId": "cfe89738", "unicodeChar": "𬍕", "unicodeCodePoint": "2C355", "pinYinChars": [{ "char": "HUA4" }], "splitChars": [{ "char": "王化" }], "weight": 10 }, { "charId": "5ececbeb", "unicodeChar": "𤉹", "unicodeCodePoint": "24279", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "或火" }], "weight": 10 }, { "charId": "996b818c", "unicodeChar": "牪", "unicodeCodePoint": "726A", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "牛牛" }], "weight": 10 }, { "charId": "aa555301", "unicodeChar": "𢶀", "unicodeCodePoint": "22D80", "pinYinChars": [{ "char": "CHUAI2" }], "splitChars": [{ "char": "扌罪" }], "weight": 10 }, { "charId": "81121f33", "unicodeChar": "𡎠", "unicodeCodePoint": "213A0", "pinYinChars": [{ "char": "YING4" }], "splitChars": [{ "char": "土盈" }], "weight": 10 }, { "charId": "3af1ea4c", "unicodeChar": "𫭽", "unicodeCodePoint": "2BB7D", "pinYinChars": [{ "char": "LENG4" }], "splitChars": [{ "char": "土罗" }], "weight": 10 }, { "charId": "ee66a668", "unicodeChar": "𬟔", "unicodeCodePoint": "2C7D4", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "艹憶" }], "weight": 10 }, { "charId": "a23a7092", "unicodeChar": "𫩑", "unicodeCodePoint": "2BA51", "pinYinChars": [{ "char": "BENG4" }], "splitChars": [{ "char": "一口" }], "weight": 10 }, { "charId": "b454d49b", "unicodeChar": "𫵺", "unicodeCodePoint": "2BD7A", "pinYinChars": [{ "char": "SHU" }], "splitChars": [{ "char": "山色" }], "weight": 10 }, { "charId": "265e1d75", "unicodeChar": "㕵", "unicodeCodePoint": "3575", "pinYinChars": [{ "char": "MANG2" }], "splitChars": [{ "char": "口王" }], "weight": 10 }, { "charId": "577ec1f6", "unicodeChar": "𠕆", "unicodeCodePoint": "20546", "pinYinChars": [{ "char": "DIAN4" }], "splitChars": [{ "char": "冇一" }], "weight": 10 }, { "charId": "b8585d7d", "unicodeChar": "𬈯", "unicodeCodePoint": "2C22F", "pinYinChars": [{ "char": "JIAO4" }], "splitChars": [{ "char": "氵告" }], "weight": 10 }, { "charId": "2e5d6062", "unicodeChar": "䭰", "unicodeCodePoint": "4B70", "pinYinChars": [{ "char": "BENG4" }], "splitChars": [{ "char": "香奉" }], "weight": 10 }, { "charId": "d4425efa", "unicodeChar": "𫭢", "unicodeCodePoint": "2BB62", "pinYinChars": [{ "char": "LUN3" }], "splitChars": [{ "char": "土仑" }], "weight": 10 }, { "charId": "c2befa40", "unicodeChar": "䥈", "unicodeCodePoint": "4948", "pinYinChars": [{ "char": "MU3" }], "splitChars": [{ "char": "金莽" }], "weight": 10 }, { "charId": "6f7f313a", "unicodeChar": "𬦱", "unicodeCodePoint": "2C9B1", "pinYinChars": [{ "char": "PAI4" }], "splitChars": [{ "char": "𧾷𠂢派" }], "weight": 10 }, { "charId": "9bb380ed", "unicodeChar": "𪮅", "unicodeCodePoint": "2AB85", "pinYinChars": [{ "char": "TIAO2" }], "splitChars": [{ "char": "扌条" }], "weight": 10 }, { "charId": "802cdf67", "unicodeChar": "𫰠", "unicodeCodePoint": "2BC20", "pinYinChars": [{ "char": "DANG1" }], "splitChars": [{ "char": "女当" }], "weight": 10 }, { "charId": "197da0f3", "unicodeChar": "鿭", "unicodeCodePoint": "9FED", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "钅尔" }], "weight": "10" }, { "charId": "0e6b9434", "unicodeChar": "龻", "unicodeCodePoint": "9FBB", "pinYinChars": [{ "char": "LUAN2" }], "splitChars": [{ "char": "糹言" }], "weight": "10" }, { "charId": "3cbfe2db", "unicodeChar": "龺", "unicodeCodePoint": "9FBA", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "十早" }], "weight": "10" }, { "charId": "5dce642f", "unicodeChar": "龹", "unicodeCodePoint": "9FB9", "pinYinChars": [{ "char": "JUAN3" }], "splitChars": [{ "char": "火二" }], "weight": "10" }, { "charId": "aee76a3a", "unicodeChar": "龸", "unicodeCodePoint": "9FB8", "pinYinChars": [{ "char": "CHANG2" }], "splitChars": [{ "char": "⺌冖" }], "weight": "10" }, { "charId": "f2af6762", "unicodeChar": "龷", "unicodeCodePoint": "9FB7", "pinYinChars": [{ "char": "GONG4" }, { "char": "HUANG2" }], "splitChars": [{ "char": "艹一" }], "weight": "10" }, { "charId": "7e1f8720", "unicodeChar": "龶", "unicodeCodePoint": "9FB6", "pinYinChars": [{ "char": "QING1" }], "splitChars": [{ "char": "𰀁一" }], "weight": "10" }, { "charId": "b5b0af82", "unicodeChar": "龴", "unicodeCodePoint": "9FB4", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "乛丶" }], "weight": "10" }, { "charId": "565052d1", "unicodeChar": "䲡", "unicodeCodePoint": "4CA1", "pinYinChars": [{ "char": "QIU1" }], "splitChars": [{ "char": "鱼酋" }], "weight": "10" }, { "charId": "f4f16753", "unicodeChar": "䲞", "unicodeCodePoint": "4C9E", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "鱼立" }], "weight": "10" }, { "charId": "3f627495", "unicodeChar": "䲎", "unicodeCodePoint": "4C8E", "pinYinChars": [{ "char": "NEI3" }], "splitChars": [{ "char": "魚敢" }], "weight": "10" }, { "charId": "d897abcd", "unicodeChar": "䮾", "unicodeCodePoint": "4BBE", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "馬龍" }], "weight": "10" }, { "charId": "f5dab525", "unicodeChar": "䩄", "unicodeCodePoint": "4A44", "pinYinChars": [{ "char": "TIAN3" }], "splitChars": [{ "char": "面见" }], "weight": "10" }, { "charId": "4403047f", "unicodeChar": "䨌", "unicodeCodePoint": "4A0C", "pinYinChars": [{ "char": "BAO2" }], "splitChars": [{ "char": "雨元" }], "weight": "10" }, { "charId": "d8653a6a", "unicodeChar": "䦆", "unicodeCodePoint": "4986", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "钅矍" }], "weight": "10" }, { "charId": "dffa1f79", "unicodeChar": "䦅", "unicodeCodePoint": "4985", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "钅善" }], "weight": "10" }, { "charId": "5006b707", "unicodeChar": "䦂", "unicodeCodePoint": "4982", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "钅扇" }], "weight": "10" }, { "charId": "8b0aa2bd", "unicodeChar": "䦀", "unicodeCodePoint": "4980", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "钅羽" }], "weight": "10" }, { "charId": "caad5d2c", "unicodeChar": "䥺", "unicodeCodePoint": "497A", "pinYinChars": [{ "char": "YE2" }], "splitChars": [{ "char": "钅牙" }], "weight": "10" }, { "charId": "e9930939", "unicodeChar": "䢰", "unicodeCodePoint": "48B0", "pinYinChars": [{ "char": "TI4" }], "splitChars": [{ "char": "辶翟" }], "weight": "10" }, { "charId": "e8bf22ac", "unicodeChar": "䢁", "unicodeCodePoint": "4881", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "车月" }], "weight": "10" }, { "charId": "192b57ef", "unicodeChar": "䢀", "unicodeCodePoint": "4880", "pinYinChars": [{ "char": "QI4" }], "splitChars": [{ "char": "车乞" }], "weight": "10" }, { "charId": "b012bf5d", "unicodeChar": "䞍", "unicodeCodePoint": "478D", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "贝青" }], "weight": "10" }, { "charId": "d2a72369", "unicodeChar": "䜩", "unicodeCodePoint": "4729", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "讠燕" }], "weight": "10" }, { "charId": "b30c7183", "unicodeChar": "䙌", "unicodeCodePoint": "464C", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "衤贵" }], "weight": "10" }, { "charId": "1ce9016d", "unicodeChar": "䘞", "unicodeCodePoint": "461E", "pinYinChars": [{ "char": "MA3" }], "splitChars": [{ "char": "衤马" }], "weight": "10" }, { "charId": "bb6c218f", "unicodeChar": "䓵", "unicodeCodePoint": "44F5", "pinYinChars": [{ "char": "FU1" }], "splitChars": [{ "char": "艹品" }], "weight": "10" }, { "charId": "c8c76b20", "unicodeChar": "䎱", "unicodeCodePoint": "43B1", "pinYinChars": [{ "char": "BEI1" }], "splitChars": [{ "char": "耒罷" }], "weight": "10" }, { "charId": "5e2c6c24", "unicodeChar": "䎬", "unicodeCodePoint": "43AC", "pinYinChars": [{ "char": "BEI1" }], "splitChars": [{ "char": "耒罢" }], "weight": "10" }, { "charId": "dbfeb96b", "unicodeChar": "䎆", "unicodeCodePoint": "4386", "pinYinChars": [{ "char": "LIU4" }], "splitChars": [{ "char": "羽令" }], "weight": "10" }, { "charId": "736480f5", "unicodeChar": "䌽", "unicodeCodePoint": "433D", "pinYinChars": [{ "char": "CAI3" }], "splitChars": [{ "char": "纟采" }], "weight": "10" }, { "charId": "559be4cd", "unicodeChar": "䌻", "unicodeCodePoint": "433B", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "纟羽" }], "weight": "10" }, { "charId": "07a9848d", "unicodeChar": "䌷", "unicodeCodePoint": "4337", "pinYinChars": [{ "char": "CHOU2" }], "splitChars": [{ "char": "纟由" }], "weight": "10" }, { "charId": "449a2a52", "unicodeChar": "䇹", "unicodeCodePoint": "41F9", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "𥫗君" }], "weight": "10" }, { "charId": "886ef32d", "unicodeChar": "䄠", "unicodeCodePoint": "4120", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "示亶" }], "weight": "10" }, { "charId": "c1e3cb29", "unicodeChar": "䄎", "unicodeCodePoint": "410E", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "示奇" }], "weight": "10" }, { "charId": "2cf305fa", "unicodeChar": "䃆", "unicodeCodePoint": "40C6", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "石其" }], "weight": "10" }, { "charId": "d60dac87", "unicodeChar": "䀪", "unicodeCodePoint": "402A", "pinYinChars": [{ "char": "HANG2" }], "splitChars": [{ "char": "目行" }], "weight": "10" }, { "charId": "c880a566", "unicodeChar": "㼆", "unicodeCodePoint": "3F06", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "王瑩" }], "weight": "10" }, { "charId": "00f04439", "unicodeChar": "㻦", "unicodeCodePoint": "3EE6", "pinYinChars": [{ "char": "王禺" }], "splitChars": [], "weight": "10" }, { "charId": "10b959da", "unicodeChar": "㻛", "unicodeCodePoint": "3EDB", "pinYinChars": [{ "char": "CHANG4" }, { "char": "YANG2" }], "splitChars": [{ "char": "王易" }], "weight": "10" }, { "charId": "8bff9468", "unicodeChar": "㻅", "unicodeCodePoint": "3EC5", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "王会" }], "weight": "10" }, { "charId": "07b4e9f1", "unicodeChar": "㺶", "unicodeCodePoint": "3EB6", "pinYinChars": [{ "char": "GEU" }], "splitChars": [{ "char": "王斗" }], "weight": "10" }, { "charId": "e304d54b", "unicodeChar": "㺵", "unicodeCodePoint": "3EB5", "pinYinChars": [{ "char": "JIU3" }], "splitChars": [{ "char": "王欠" }], "weight": "10" }, { "charId": "e11afe18", "unicodeChar": "㺬", "unicodeCodePoint": "3EAC", "pinYinChars": [{ "char": "GONG3" }], "splitChars": [{ "char": "王凡" }], "weight": "10" }, { "charId": "bc004cbf", "unicodeChar": "㺪", "unicodeCodePoint": "3EAA", "pinYinChars": [{ "char": "PU2" }], "splitChars": [{ "char": "王卜" }], "weight": "10" }, { "charId": "d15fff67", "unicodeChar": "㸠", "unicodeCodePoint": "3E20", "pinYinChars": [{ "char": "DIAO4" }], "splitChars": [{ "char": "片兆" }], "weight": "10" }, { "charId": "cae3dac5", "unicodeChar": "㷽", "unicodeCodePoint": "3DFD", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "火善" }], "weight": "10" }, { "charId": "6ca655d5", "unicodeChar": "㶻", "unicodeCodePoint": "3DBB", "pinYinChars": [{ "char": "FENG1" }], "splitChars": [{ "char": "夆灬" }], "weight": "10" }, { "charId": "49f0225b", "unicodeChar": "㶉", "unicodeCodePoint": "3D89", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "溪鸟" }], "weight": "10" }, { "charId": "2adc5788", "unicodeChar": "㵲", "unicodeCodePoint": "3D72", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "氵舞" }], "weight": "10" }, { "charId": "eaf983fe", "unicodeChar": "㵙", "unicodeCodePoint": "3D59", "pinYinChars": [{ "char": "XI1" }, { "char": "QING1" }], "splitChars": [{ "char": "氵喜" }], "weight": "10" }, { "charId": "0c08efb6", "unicodeChar": "㴻", "unicodeCodePoint": "3D3B", "pinYinChars": [{ "char": "SHU4" }], "splitChars": [{ "char": "浢寸" }], "weight": "10" }, { "charId": "ef4159c3", "unicodeChar": "㴋", "unicodeCodePoint": "3D0B", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "氵肃" }], "weight": "10" }, { "charId": "3fbb4d57", "unicodeChar": "㳽", "unicodeCodePoint": "3CFD", "pinYinChars": [{ "char": "MI2" }], "splitChars": [{ "char": "氵弥" }], "weight": "10" }, { "charId": "2f1520ba", "unicodeChar": "㳕", "unicodeCodePoint": "3CD5", "pinYinChars": [{ "char": "LAN2" }], "splitChars": [{ "char": "氵兰" }], "weight": "10" }, { "charId": "205c857e", "unicodeChar": "㳔", "unicodeCodePoint": "3CD4", "pinYinChars": [{ "char": "DUI4" }], "splitChars": [{ "char": "氵对" }], "weight": "10" }, { "charId": "10954b1d", "unicodeChar": "㳅", "unicodeCodePoint": "3CC5", "pinYinChars": [{ "char": "LIU2" }], "splitChars": [{ "char": "氵不" }], "weight": "10" }, { "charId": "91c173f2", "unicodeChar": "㲿", "unicodeCodePoint": "3CBF", "pinYinChars": [{ "char": "WANG3" }], "splitChars": [{ "char": "氵广" }], "weight": "10" }, { "charId": "4c71c791", "unicodeChar": "㱮", "unicodeCodePoint": "3C6E", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "歹贵" }], "weight": "10" }, { "charId": "c50e5aae", "unicodeChar": "㯳", "unicodeCodePoint": "3BF3", "pinYinChars": [{ "char": "QING2" }], "splitChars": [{ "char": "木敬" }], "weight": "10" }, { "charId": "119cab4d", "unicodeChar": "㮡", "unicodeCodePoint": "3BA1", "pinYinChars": [{ "char": "GUAN4" }], "splitChars": [{ "char": "炬木" }], "weight": "10" }, { "charId": "41c6944f", "unicodeChar": "㮠", "unicodeCodePoint": "3BA0", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "木荣" }], "weight": "10" }, { "charId": "4d16a70e", "unicodeChar": "㮀", "unicodeCodePoint": "3B80", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "木函" }], "weight": "10" }, { "charId": "a7d8907d", "unicodeChar": "㭏", "unicodeCodePoint": "3B4F", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "木韦" }], "weight": "10" }, { "charId": "6d3579a5", "unicodeChar": "㬫", "unicodeCodePoint": "3B2B", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "燕日" }], "weight": "10" }, { "charId": "6864f1a4", "unicodeChar": "㬇", "unicodeCodePoint": "3B07", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "日奐" }], "weight": "10" }, { "charId": "0cec48dc", "unicodeChar": "㫬", "unicodeCodePoint": "3AEC", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "日旬" }], "weight": "10" }, { "charId": "0f73b008", "unicodeChar": "㫤", "unicodeCodePoint": "3AE4", "pinYinChars": [{ "char": "CHANG3" }], "splitChars": [{ "char": "日永" }], "weight": "10" }, { "charId": "d99d1947", "unicodeChar": "㢷", "unicodeCodePoint": "38B7", "pinYinChars": [{ "char": "SUI4" }], "splitChars": [{ "char": "弓岁" }], "weight": "10" }, { "charId": "35b95e87", "unicodeChar": "㠭", "unicodeCodePoint": "382D", "pinYinChars": [{ "char": "ZHAN3" }], "splitChars": [{ "char": "工工工工" }], "weight": "10" }, { "charId": "d253a91d", "unicodeChar": "㟷", "unicodeCodePoint": "37F7", "pinYinChars": [{ "char": "DA5" }], "splitChars": [{ "char": "山荅" }], "weight": "10" }, { "charId": "206c136f", "unicodeChar": "㞵", "unicodeCodePoint": "37B5", "pinYinChars": [{ "char": "TAO1" }], "splitChars": [{ "char": "山文" }], "weight": "10" }, { "charId": "f084ef74", "unicodeChar": "㞯", "unicodeCodePoint": "37AF", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "己山" }], "weight": "10" }, { "charId": "69fcab38", "unicodeChar": "㝃", "unicodeCodePoint": "3743", "pinYinChars": [{ "char": "MIAN3" }], "splitChars": [{ "char": "子免" }], "weight": "10" }, { "charId": "b42efe1d", "unicodeChar": "㛤", "unicodeCodePoint": "36E4", "pinYinChars": [{ "char": "LI2" }], "splitChars": [{ "char": "女丽" }], "weight": "10" }, { "charId": "17b969b0", "unicodeChar": "㛣", "unicodeCodePoint": "36E3", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "女员" }], "weight": "10" }, { "charId": "efd7119e", "unicodeChar": "㛟", "unicodeCodePoint": "36DF", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "女奂" }], "weight": "10" }, { "charId": "c9e5e7e7", "unicodeChar": "㚸", "unicodeCodePoint": "36B8", "pinYinChars": [{ "char": "SI1" }], "splitChars": [{ "char": "女司" }], "weight": "10" }, { "charId": "6dc2e621", "unicodeChar": "㚁", "unicodeCodePoint": "3681", "pinYinChars": [{ "char": "QIAO4" }], "splitChars": [{ "char": "堯堯" }], "weight": "10" }, { "charId": "320dfd14", "unicodeChar": "㙋", "unicodeCodePoint": "364B", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "土其" }], "weight": "10" }, { "charId": "a24aacbf", "unicodeChar": "㘼", "unicodeCodePoint": "363C", "pinYinChars": [{ "char": "KAO3" }], "splitChars": [{ "char": "土考" }], "weight": "10" }, { "charId": "ccad38b7", "unicodeChar": "㘻", "unicodeCodePoint": "363B", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "土因" }], "weight": "10" }, { "charId": "c04da763", "unicodeChar": "㘮", "unicodeCodePoint": "362E", "pinYinChars": [{ "char": "YI4" }, { "char": "TU2" }], "splitChars": [{ "char": "土尺" }], "weight": "10" }, { "charId": "45c5f96b", "unicodeChar": "㘫", "unicodeCodePoint": "362B", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "土井" }], "weight": "10" }, { "charId": "0692fc45", "unicodeChar": "㖞", "unicodeCodePoint": "359E", "pinYinChars": [{ "char": "WAI1" }], "splitChars": [{ "char": "口呙" }], "weight": "10" }, { "charId": "5299bb27", "unicodeChar": "㓻", "unicodeCodePoint": "34FB", "pinYinChars": [{ "char": "GANG1" }], "splitChars": [{ "char": "罡刂" }], "weight": "10" }, { "charId": "e7da0471", "unicodeChar": "㓥", "unicodeCodePoint": "34E5", "pinYinChars": [{ "char": "TANG1" }], "splitChars": [{ "char": "当刂" }], "weight": "10" }, { "charId": "cabdee3b", "unicodeChar": "㒰", "unicodeCodePoint": "34B0", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "入工" }], "weight": "10" }, { "charId": "75b3e013", "unicodeChar": "㒬", "unicodeCodePoint": "34AC", "pinYinChars": [{ "char": "WANG1" }], "splitChars": [{ "char": "尢 王" }], "weight": "10" }, { "charId": "e392e287", "unicodeChar": "㑺", "unicodeCodePoint": "347A", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "亻隽" }], "weight": "10" }, { "charId": "c8999e07", "unicodeChar": "㑩", "unicodeCodePoint": "3469", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "亻罗" }], "weight": "10" }, { "charId": "2c038bc5", "unicodeChar": "㐽", "unicodeCodePoint": "343D", "pinYinChars": [{ "char": "FENG1" }], "splitChars": [{ "char": "亻风" }], "weight": "10" }, { "charId": "009e8508", "unicodeChar": "㐻", "unicodeCodePoint": "343B", "pinYinChars": [{ "char": "NEI4" }], "splitChars": [{ "char": "亻内" }], "weight": "10" }, { "charId": "bf63db30", "unicodeChar": "𱉱", "unicodeCodePoint": "31271", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "军鸟" }], "weight": "10" }, { "charId": "2dc9c261", "unicodeChar": "⻊", "unicodeCodePoint": "2ECA", "pinYinChars": [{ "char": "ZU2" }], "splitChars": [{ "char": "⻊" }], "weight": "10" }, { "charId": "81c8ae42", "unicodeChar": "⺻", "unicodeCodePoint": "2EBB", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "⺻" }], "weight": "10" }, { "charId": "a457d9be", "unicodeChar": "𮮇", "unicodeCodePoint": "2EB87", "pinYinChars": [{ "char": "MOU2" }], "splitChars": [{ "char": "麦牟" }], "weight": "10" }, { "charId": "aad69e74", "unicodeChar": "⺷", "unicodeCodePoint": "2EB7", "pinYinChars": [{ "char": "YANG2" }], "splitChars": [{ "char": "⺷" }], "weight": "10" }, { "charId": "a9201ce5", "unicodeChar": "𮭪", "unicodeCodePoint": "2EB6A", "pinYinChars": [{ "char": "SHUANG1" }], "splitChars": [{ "char": "爽鸟" }], "weight": "10" }, { "charId": "4ae61a98", "unicodeChar": "𮭨", "unicodeCodePoint": "2EB68", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "晏鸟" }], "weight": "10" }, { "charId": "a3193b09", "unicodeChar": "𮭥", "unicodeCodePoint": "2EB65", "pinYinChars": [{ "char": "GONG1" }], "splitChars": [{ "char": "共鸟" }], "weight": "10" }, { "charId": "7bc9ba70", "unicodeChar": "⺶", "unicodeCodePoint": "2EB6", "pinYinChars": [{ "char": "YANG2" }], "splitChars": [{ "char": "羊" }], "weight": "10" }, { "charId": "fd57e7c0", "unicodeChar": "⺳", "unicodeCodePoint": "2EB3", "pinYinChars": [{ "char": "WANG3" }], "splitChars": [{ "char": "⺳" }], "weight": "10" }, { "charId": "89b479d1", "unicodeChar": "𮬟", "unicodeCodePoint": "2EB1F", "pinYinChars": [{ "char": "HUO4" }], "splitChars": [{ "char": "鱼或" }], "weight": "10" }, { "charId": "11ead999", "unicodeChar": "𮬞", "unicodeCodePoint": "2EB1E", "pinYinChars": [{ "char": "CAN1" }], "splitChars": [{ "char": "𣦼鱼" }], "weight": "10" }, { "charId": "44a0b19e", "unicodeChar": "⺮", "unicodeCodePoint": "2EAE", "pinYinChars": [{ "char": "ZHU2" }], "splitChars": [{ "char": "⺮" }], "weight": "10" }, { "charId": "e22ea325", "unicodeChar": "𮪥", "unicodeCodePoint": "2EAA5", "pinYinChars": [{ "char": "DUN1" }], "splitChars": [{ "char": "马敦" }], "weight": "10" }, { "charId": "75fcb9e3", "unicodeChar": "𮪣", "unicodeCodePoint": "2EAA3", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "马㚇" }], "weight": "10" }, { "charId": "379c0a39", "unicodeChar": "⺪", "unicodeCodePoint": "2EAA", "pinYinChars": [{ "char": "PI3" }, { "char": "YA3" }], "splitChars": [{ "char": "⺪" }], "weight": "10" }, { "charId": "097d2e61", "unicodeChar": "𮪌", "unicodeCodePoint": "2EA8C", "pinYinChars": [{ "char": "馬甾" }], "splitChars": [], "weight": "10" }, { "charId": "b1e8d993", "unicodeChar": "⺧", "unicodeCodePoint": "2EA7", "pinYinChars": [{ "char": "NIU2" }], "splitChars": [{ "char": "⺧" }], "weight": "10" }, { "charId": "cc28eca6", "unicodeChar": "𮩞", "unicodeCodePoint": "2EA5E", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "饣壹" }], "weight": "10" }, { "charId": "adb0f0d1", "unicodeChar": "𮨶", "unicodeCodePoint": "2EA36", "pinYinChars": [{ "char": "FIE1" }], "splitChars": [{ "char": "飞去" }], "weight": "10" }, { "charId": "aab5af59", "unicodeChar": "𮨵", "unicodeCodePoint": "2EA35", "pinYinChars": [{ "char": "LIU4" }], "splitChars": [{ "char": "风翏" }], "weight": "10" }, { "charId": "3b7fb5e4", "unicodeChar": "𮧴", "unicodeCodePoint": "2E9F4", "pinYinChars": [{ "char": "CHANG4" }], "splitChars": [{ "char": "韦长" }], "weight": "10" }, { "charId": "adb1d2bb", "unicodeChar": "𮥼", "unicodeCodePoint": "2E97C", "pinYinChars": [{ "char": "JUN4" }, { "char": "JUAN4" }], "splitChars": [{ "char": "隹冏" }], "weight": "10" }, { "charId": "56de232e", "unicodeChar": "⺗", "unicodeCodePoint": "2E97", "pinYinChars": [{ "char": "XIN1" }], "splitChars": [{ "char": "⺗" }], "weight": "10" }, { "charId": "f100fdc6", "unicodeChar": "𮥄", "unicodeCodePoint": "2E944", "pinYinChars": [], "splitChars": [], "weight": "10" }, { "charId": "276d8a6e", "unicodeChar": "𮣲", "unicodeCodePoint": "2E8F2", "pinYinChars": [{ "char": "GANG1" }], "splitChars": [{ "char": "钅工" }], "weight": "10" }, { "charId": "42505445", "unicodeChar": "⺌", "unicodeCodePoint": "2E8C", "pinYinChars": [{ "char": "xiao3" }], "splitChars": [{ "char": "丶リ" }], "weight": "10" }, { "charId": "40a1ddf4", "unicodeChar": "⺋", "unicodeCodePoint": "2E8B", "pinYinChars": [{ "char": "fan4" }], "splitChars": [{ "char": "乙 乙" }], "weight": "10" }, { "charId": "2ed28b07", "unicodeChar": "⺈", "unicodeCodePoint": "2E88", "pinYinChars": [{ "char": "dao1" }], "splitChars": [{ "char": "刀" }], "weight": "10" }, { "charId": "3e1663ea", "unicodeChar": "⺄", "unicodeCodePoint": "2E84", "pinYinChars": [{ "char": "yi3" }], "splitChars": [{ "char": "乙" }], "weight": "10" }, { "charId": "8d07490c", "unicodeChar": "⺁", "unicodeCodePoint": "2E81", "pinYinChars": [{ "char": "chang3" }], "splitChars": [{ "char": "丿 丿" }], "weight": "10" }, { "charId": "ecbc34c1", "unicodeChar": "𮝴", "unicodeCodePoint": "2E774", "pinYinChars": [{ "char": "GU1" }], "splitChars": [{ "char": "车瓜" }], "weight": "10" }, { "charId": "402bf5a8", "unicodeChar": "𮙋", "unicodeCodePoint": "2E64B", "pinYinChars": [{ "char": "DU2" }], "splitChars": [{ "char": "读言" }], "weight": "10" }, { "charId": "a8586412", "unicodeChar": "𮘫", "unicodeCodePoint": "2E62B", "pinYinChars": [{ "char": "言 恭" }], "splitChars": [], "weight": "10" }, { "charId": "873965fa", "unicodeChar": "𮐚", "unicodeCodePoint": "2E41A", "pinYinChars": [{ "char": "FAN2" }], "splitChars": [{ "char": "艹烦" }], "weight": "10" }, { "charId": "22372bcd", "unicodeChar": "𮏛", "unicodeCodePoint": "2E3DB", "pinYinChars": [{ "char": "艹 狗" }], "splitChars": [], "weight": "10" }, { "charId": "27ffe4d9", "unicodeChar": "𮏈", "unicodeCodePoint": "2E3C8", "pinYinChars": [{ "char": "艹 但" }], "splitChars": [], "weight": "10" }, { "charId": "79c84378", "unicodeChar": "𮌝", "unicodeCodePoint": "2E31D", "pinYinChars": [{ "char": "shi4" }], "splitChars": [{ "char": "月易" }], "weight": "10" }, { "charId": "190a8a54", "unicodeChar": "𮊅", "unicodeCodePoint": "2E285", "pinYinChars": [{ "char": "cheng2" }], "splitChars": [{ "char": "四 成" }], "weight": "10" }, { "charId": "7f70c9d7", "unicodeChar": "𮉫", "unicodeCodePoint": "2E26B", "pinYinChars": [{ "char": "RUI2" }], "splitChars": [{ "char": "纟委" }], "weight": "10" }, { "charId": "95920e7f", "unicodeChar": "𮉪", "unicodeCodePoint": "2E26A", "pinYinChars": [{ "char": "ZOU1" }], "splitChars": [{ "char": "纟取" }], "weight": "10" }, { "charId": "f0ac618f", "unicodeChar": "𮉦", "unicodeCodePoint": "2E266", "pinYinChars": [{ "char": "wang3" }], "splitChars": [{ "char": "纟网" }], "weight": "10" }, { "charId": "c30155ec", "unicodeChar": "𮉤", "unicodeCodePoint": "2E264", "pinYinChars": [{ "char": "KUA1" }], "splitChars": [{ "char": "纟圭" }], "weight": "10" }, { "charId": "7c780b19", "unicodeChar": "𮆏", "unicodeCodePoint": "2E18F", "pinYinChars": [{ "char": "LAN2" }], "splitChars": [{ "char": "𥫗阑" }], "weight": "10" }, { "charId": "d30204d8", "unicodeChar": "𮄲", "unicodeCodePoint": "2E132", "pinYinChars": [{ "char": "立 奇" }], "splitChars": [], "weight": "10" }, { "charId": "227cc29e", "unicodeChar": "𮃄", "unicodeCodePoint": "2E0C4", "pinYinChars": [{ "char": "duo4" }], "splitChars": [{ "char": "禾朶" }], "weight": "10" }, { "charId": "3ab46f66", "unicodeChar": "𮂹", "unicodeCodePoint": "2E0B9", "pinYinChars": [{ "char": "wen3" }], "splitChars": [{ "char": "禾文" }], "weight": "10" }, { "charId": "fb308ab4", "unicodeChar": "𮂓", "unicodeCodePoint": "2E093", "pinYinChars": [{ "char": "礻 莫" }], "splitChars": [], "weight": "10" }, { "charId": "94b611ec", "unicodeChar": "𮁣", "unicodeCodePoint": "2E063", "pinYinChars": [{ "char": "ku4" }], "splitChars": [{ "char": "示令" }], "weight": "10" }, { "charId": "2c794608", "unicodeChar": "𮀎", "unicodeCodePoint": "2E00E", "pinYinChars": [{ "char": "分 石" }], "splitChars": [], "weight": "10" }, { "charId": "a5f0e804", "unicodeChar": "𭹜", "unicodeCodePoint": "2DE5C", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "王罗" }], "weight": "10" }, { "charId": "e16e7116", "unicodeChar": "𭹛", "unicodeCodePoint": "2DE5B", "pinYinChars": [{ "char": "王 芳" }], "splitChars": [], "weight": "10" }, { "charId": "0d6c947b", "unicodeChar": "𭸾", "unicodeCodePoint": "2DE3E", "pinYinChars": [{ "char": "王 巨" }], "splitChars": [], "weight": "10" }, { "charId": "ff331d78", "unicodeChar": "𭷝", "unicodeCodePoint": "2DDDD", "pinYinChars": [{ "char": "bao4" }], "splitChars": [{ "char": "牛包" }], "weight": "10" }, { "charId": "acbfa5f6", "unicodeChar": "𭵵", "unicodeCodePoint": "2DD75", "pinYinChars": [{ "char": "火 盛" }], "splitChars": [], "weight": "10" }, { "charId": "9225d80c", "unicodeChar": "𭵩", "unicodeCodePoint": "2DD69", "pinYinChars": [{ "char": "火 臭" }], "splitChars": [], "weight": "10" }, { "charId": "ff7fda88", "unicodeChar": "𭵝", "unicodeCodePoint": "2DD5D", "pinYinChars": [{ "char": "zi1" }, { "char": "ci2" }], "splitChars": [{ "char": "兹灬" }], "weight": "10" }, { "charId": "0e42fb53", "unicodeChar": "𭴽", "unicodeCodePoint": "2DD3D", "pinYinChars": [{ "char": "火炅" }], "splitChars": [], "weight": "10" }, { "charId": "b6fa5674", "unicodeChar": "𭴼", "unicodeCodePoint": "2DD3C", "pinYinChars": [{ "char": "火 青" }], "splitChars": [], "weight": "10" }, { "charId": "75edaaa3", "unicodeChar": "𭴫", "unicodeCodePoint": "2DD2B", "pinYinChars": [{ "char": "zhao4" }], "splitChars": [{ "char": "日 灬" }], "weight": "10" }, { "charId": "0a3c0131", "unicodeChar": "𭴧", "unicodeCodePoint": "2DD27", "pinYinChars": [{ "char": "火豆" }], "splitChars": [], "weight": "10" }, { "charId": "6668db51", "unicodeChar": "𭴌", "unicodeCodePoint": "2DD0C", "pinYinChars": [{ "char": "yan1" }], "splitChars": [{ "char": "火 日" }], "weight": "10" }, { "charId": "4a867760", "unicodeChar": "𭴈", "unicodeCodePoint": "2DD08", "pinYinChars": [{ "char": "yun4" }, { "char": "yu4" }], "splitChars": [{ "char": "火云" }], "weight": "10" }, { "charId": "bda2465a", "unicodeChar": "𭳬", "unicodeCodePoint": "2DCEC", "pinYinChars": [{ "char": "li4" }], "splitChars": [{ "char": "氵隸" }], "weight": "10" }, { "charId": "d2f5dcaf", "unicodeChar": "𭱣", "unicodeCodePoint": "2DC63", "pinYinChars": [{ "char": "氵夏" }], "splitChars": [], "weight": "10" }, { "charId": "8d6bd1d1", "unicodeChar": "𭱊", "unicodeCodePoint": "2DC4A", "pinYinChars": [{ "char": "HONG4" }], "splitChars": [{ "char": "氵项" }], "weight": "10" }, { "charId": "c8f97c2b", "unicodeChar": "𭯽", "unicodeCodePoint": "2DBFD", "pinYinChars": [{ "char": "wa3" }], "splitChars": [{ "char": "氵瓦" }], "weight": "10" }, { "charId": "d234342e", "unicodeChar": "𭯖", "unicodeCodePoint": "2DBD6", "pinYinChars": [{ "char": "毛 白" }], "splitChars": [], "weight": "10" }, { "charId": "2153f327", "unicodeChar": "𭬝", "unicodeCodePoint": "2DB1D", "pinYinChars": [{ "char": "木 蒼" }], "splitChars": [], "weight": "10" }, { "charId": "f6be62fc", "unicodeChar": "𭫀", "unicodeCodePoint": "2DAC0", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "木贵" }], "weight": "10" }, { "charId": "187a4fdb", "unicodeChar": "𭪆", "unicodeCodePoint": "2DA86", "pinYinChars": [{ "char": "ZHUA1" }], "splitChars": [{ "char": "木过" }], "weight": "10" }, { "charId": "d8680145", "unicodeChar": "𭩹", "unicodeCodePoint": "2DA79", "pinYinChars": [{ "char": "ming2" }], "splitChars": [{ "char": "木名" }], "weight": "10" }, { "charId": "24af1ca9", "unicodeChar": "𭩚", "unicodeCodePoint": "2DA5A", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "木义" }], "weight": "10" }, { "charId": "2a97ae42", "unicodeChar": "𭦾", "unicodeCodePoint": "2D9BE", "pinYinChars": [{ "char": "liang4" }], "splitChars": [{ "char": "日亮" }], "weight": "10" }, { "charId": "f1098a62", "unicodeChar": "𭥖", "unicodeCodePoint": "2D956", "pinYinChars": [{ "char": "guang1" }], "splitChars": [{ "char": "日 元" }], "weight": "10" }, { "charId": "b5bb5a0e", "unicodeChar": "𭥕", "unicodeCodePoint": "2D955", "pinYinChars": [{ "char": "xing1" }], "splitChars": [{ "char": "日王" }], "weight": "10" }, { "charId": "ea546f5f", "unicodeChar": "𭥓", "unicodeCodePoint": "2D953", "pinYinChars": [{ "char": "日云" }], "splitChars": [], "weight": "10" }, { "charId": "62d27197", "unicodeChar": "𭤴", "unicodeCodePoint": "2D934", "pinYinChars": [{ "char": "ni3" }], "splitChars": [{ "char": "方 七" }], "weight": "10" }, { "charId": "8c2f8498", "unicodeChar": "𭝈", "unicodeCodePoint": "2D748", "pinYinChars": [], "splitChars": [], "weight": "10" }, { "charId": "37269229", "unicodeChar": "𭝅", "unicodeCodePoint": "2D745", "pinYinChars": [], "splitChars": [], "weight": "10" }, { "charId": "0a14b870", "unicodeChar": "𭚴", "unicodeCodePoint": "2D6B4", "pinYinChars": [{ "char": "hong2" }], "splitChars": [{ "char": "弓 宏" }], "weight": "10" }, { "charId": "7a8f37c9", "unicodeChar": "𭚱", "unicodeCodePoint": "2D6B1", "pinYinChars": [{ "char": "tao1" }], "splitChars": [{ "char": "弓㞵" }], "weight": "10" }, { "charId": "4463f8da", "unicodeChar": "𭚦", "unicodeCodePoint": "2D6A6", "pinYinChars": [{ "char": "GUO1" }], "splitChars": [{ "char": "弓广" }], "weight": "10" }, { "charId": "537ac121", "unicodeChar": "𭙛", "unicodeCodePoint": "2D65B", "pinYinChars": [{ "char": "guang3" }], "splitChars": [{ "char": "广光" }], "weight": "10" }, { "charId": "e912c3c8", "unicodeChar": "𭙏", "unicodeCodePoint": "2D64F", "pinYinChars": [{ "char": "liao4" }], "splitChars": [{ "char": "广了" }], "weight": "10" }, { "charId": "8e20084c", "unicodeChar": "𭖦", "unicodeCodePoint": "2D5A6", "pinYinChars": [{ "char": "yu4" }], "splitChars": [{ "char": "山谷" }], "weight": "10" }, { "charId": "6ecd359e", "unicodeChar": "𭖌", "unicodeCodePoint": "2D58C", "pinYinChars": [{ "char": "ju1" }, { "char": "ju3" }, { "char": "zu2" }], "splitChars": [{ "char": "山旦" }], "weight": "10" }, { "charId": "d67f7edb", "unicodeChar": "𭖆", "unicodeCodePoint": "2D586", "pinYinChars": [{ "char": "e2" }], "splitChars": [{ "char": "山厄" }], "weight": "10" }, { "charId": "bd06aa7b", "unicodeChar": "𭕆", "unicodeCodePoint": "2D546", "pinYinChars": [{ "char": "SUO3" }], "splitChars": [{ "char": "⺌贝" }], "weight": "10" }, { "charId": "5f09986e", "unicodeChar": "𭓞", "unicodeCodePoint": "2D4DE", "pinYinChars": [{ "char": "宀山" }], "splitChars": [], "weight": "10" }, { "charId": "c933edba", "unicodeChar": "𭒠", "unicodeCodePoint": "2D4A0", "pinYinChars": [{ "char": "jue2" }], "splitChars": [{ "char": "女 矞" }], "weight": "10" }, { "charId": "eb675a32", "unicodeChar": "𭒈", "unicodeCodePoint": "2D488", "pinYinChars": [{ "char": "miao4" }], "splitChars": [{ "char": "女 眇" }], "weight": "10" }, { "charId": "3785e0f2", "unicodeChar": "𭑸", "unicodeCodePoint": "2D478", "pinYinChars": [{ "char": "nong2" }], "splitChars": [{ "char": "女农" }], "weight": "10" }, { "charId": "652ebe6b", "unicodeChar": "𭏨", "unicodeCodePoint": "2D3E8", "pinYinChars": [{ "char": "bu1" }, { "char": "fu1" }], "splitChars": [{ "char": "土冨" }], "weight": "10" }, { "charId": "d44ea35c", "unicodeChar": "𭏠", "unicodeCodePoint": "2D3E0", "pinYinChars": [{ "char": "土 堂" }], "splitChars": [], "weight": "10" }, { "charId": "a9c5c992", "unicodeChar": "𭏜", "unicodeCodePoint": "2D3DC", "pinYinChars": [{ "char": "土 般" }], "splitChars": [], "weight": "10" }, { "charId": "ecc45b01", "unicodeChar": "𭎟", "unicodeCodePoint": "2D39F", "pinYinChars": [{ "char": "huai4" }], "splitChars": [{ "char": "土 否" }], "weight": "10" }, { "charId": "37d46555", "unicodeChar": "𭎜", "unicodeCodePoint": "2D39C", "pinYinChars": [{ "char": "DAO3" }], "splitChars": [{ "char": "土寿" }], "weight": "10" }, { "charId": "0053ea94", "unicodeChar": "𭎌", "unicodeCodePoint": "2D38C", "pinYinChars": [], "splitChars": [], "weight": "10" }, { "charId": "4d443281", "unicodeChar": "𭎂", "unicodeCodePoint": "2D382", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "土从" }], "weight": "10" }, { "charId": "5f5dab55", "unicodeChar": "𭍾", "unicodeCodePoint": "2D37E", "pinYinChars": [{ "char": "土支" }], "splitChars": [], "weight": "10" }, { "charId": "52ec6cdd", "unicodeChar": "𭈜", "unicodeCodePoint": "2D21C", "pinYinChars": [{ "char": "bịa" }], "splitChars": [{ "char": "口备" }], "weight": "10" }, { "charId": "0c9c0ac4", "unicodeChar": "𭈅", "unicodeCodePoint": "2D205", "pinYinChars": [{ "char": "口乱" }], "splitChars": [], "weight": "10" }, { "charId": "e4abb443", "unicodeChar": "𭇀", "unicodeCodePoint": "2D1C0", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "口义" }], "weight": "10" }, { "charId": "1c4f6e48", "unicodeChar": "𭃬", "unicodeCodePoint": "2D0EC", "pinYinChars": [], "splitChars": [], "weight": "10" }, { "charId": "094519d1", "unicodeChar": "𭀦", "unicodeCodePoint": "2D026", "pinYinChars": [{ "char": "yao4" }], "splitChars": [{ "char": "光夭" }], "weight": "10" }, { "charId": "ce536eac", "unicodeChar": "𭀢", "unicodeCodePoint": "2D022", "pinYinChars": [{ "char": "大兄" }], "splitChars": [], "weight": "10" }, { "charId": "ee8225e4", "unicodeChar": "𬿛", "unicodeCodePoint": "2CFDB", "pinYinChars": [{ "char": "亻康" }], "splitChars": [], "weight": "10" }, { "charId": "17152ad5", "unicodeChar": "𬾰", "unicodeCodePoint": "2CFB0", "pinYinChars": [{ "char": "亻星" }], "splitChars": [], "weight": "10" }, { "charId": "bcd0900c", "unicodeChar": "𬾅", "unicodeCodePoint": "2CF85", "pinYinChars": [{ "char": "亻克" }], "splitChars": [], "weight": "10" }, { "charId": "7e906f55", "unicodeChar": "𬽾", "unicodeCodePoint": "2CF7E", "pinYinChars": [{ "char": "qi3" }], "splitChars": [{ "char": "亻企" }], "weight": "10" }, { "charId": "0d1be324", "unicodeChar": "𬽣", "unicodeCodePoint": "2CF63", "pinYinChars": [{ "char": "xing2" }], "splitChars": [{ "char": "亻亍" }], "weight": "10" }, { "charId": "4f96ad9d", "unicodeChar": "𬺛", "unicodeCodePoint": "2CE9B", "pinYinChars": [{ "char": "yan3" }], "splitChars": [{ "char": "龙大" }], "weight": "10" }, { "charId": "5031af8b", "unicodeChar": "𬸧", "unicodeCodePoint": "2CE27", "pinYinChars": [{ "char": "yan4" }], "splitChars": [{ "char": "燕鸟" }], "weight": "10" }, { "charId": "973ee0a4", "unicodeChar": "𬸛", "unicodeCodePoint": "2CE1B", "pinYinChars": [{ "char": "HUANG2" }], "splitChars": [{ "char": "皇鸟" }], "weight": "10" }, { "charId": "2c896936", "unicodeChar": "𬸒", "unicodeCodePoint": "2CE12", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "鸟其" }], "weight": "10" }, { "charId": "b69c9126", "unicodeChar": "𬸊", "unicodeCodePoint": "2CE0A", "pinYinChars": [{ "char": "REN2" }], "splitChars": [{ "char": "任鸟" }], "weight": "10" }, { "charId": "d3e4a836", "unicodeChar": "𬸈", "unicodeCodePoint": "2CE08", "pinYinChars": [{ "char": "CHI1" }], "splitChars": [{ "char": "至鸟" }], "weight": "10" }, { "charId": "7612cc18", "unicodeChar": "𬸆", "unicodeCodePoint": "2CE06", "pinYinChars": [{ "char": "sheng1" }], "splitChars": [{ "char": "生鸟" }], "weight": "10" }, { "charId": "dd358bea", "unicodeChar": "𬸅", "unicodeCodePoint": "2CE05", "pinYinChars": [{ "char": "CHU2" }], "splitChars": [{ "char": "刍鸟" }], "weight": "10" }, { "charId": "09743f8d", "unicodeChar": "𬸁", "unicodeCodePoint": "2CE01", "pinYinChars": [{ "char": "ou3" }], "splitChars": [{ "char": "瓦鸟" }], "weight": "10" }, { "charId": "557e7edb", "unicodeChar": "𬷼", "unicodeCodePoint": "2CDFC", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "儿鸟" }], "weight": "10" }, { "charId": "d7e1c826", "unicodeChar": "𬶶", "unicodeCodePoint": "2CDB6", "pinYinChars": [{ "char": "NIAN2" }], "splitChars": [{ "char": "鱼廉" }], "weight": "10" }, { "charId": "dd9eab09", "unicodeChar": "𬴴", "unicodeCodePoint": "2CD34", "pinYinChars": [{ "char": "si4" }], "splitChars": [{ "char": "鬲 司" }], "weight": "10" }, { "charId": "ab4a544d", "unicodeChar": "𬴐", "unicodeCodePoint": "2CD10", "pinYinChars": [{ "char": "HUAN1" }], "splitChars": [{ "char": "马雚" }], "weight": "10" }, { "charId": "5da1ead9", "unicodeChar": "𬴆", "unicodeCodePoint": "2CD06", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "马堇" }], "weight": "10" }, { "charId": "f25815c8", "unicodeChar": "𬲱", "unicodeCodePoint": "2CCB1", "pinYinChars": [{ "char": "tuo2" }, { "char": "sha2" }], "splitChars": [{ "char": "饣它" }], "weight": "10" }, { "charId": "73edb054", "unicodeChar": "𬱫", "unicodeCodePoint": "2CC6B", "pinYinChars": [{ "char": "DING4" }], "splitChars": [{ "char": "定页" }], "weight": "10" }, { "charId": "01571e71", "unicodeChar": "𬱙", "unicodeCodePoint": "2CC59", "pinYinChars": [{ "char": "PAN4" }], "splitChars": [{ "char": "半页" }], "weight": "10" }, { "charId": "77414199", "unicodeChar": "𬮴", "unicodeCodePoint": "2CBB4", "pinYinChars": [{ "char": "AN4" }], "splitChars": [{ "char": "门音" }], "weight": "10" }, { "charId": "84a8d8cf", "unicodeChar": "𬮢", "unicodeCodePoint": "2CBA2", "pinYinChars": [{ "char": "hong4" }, { "char": "xiang4" }], "splitChars": [{ "char": "门共" }], "weight": "10" }, { "charId": "a8723bf0", "unicodeChar": "𬮠", "unicodeCodePoint": "2CBA0", "pinYinChars": [{ "char": "XIA3" }], "splitChars": [{ "char": "门可" }], "weight": "10" }, { "charId": "bcfad39d", "unicodeChar": "𬮟", "unicodeCodePoint": "2CB9F", "pinYinChars": [{ "char": "lin4" }], "splitChars": [{ "char": "门火" }], "weight": "10" }, { "charId": "50d7a5b2", "unicodeChar": "𬭵", "unicodeCodePoint": "2CB75", "pinYinChars": [{ "char": "pang1" }, { "char": "peng2" }], "splitChars": [{ "char": "钅彭" }], "weight": "10" }, { "charId": "b7888613", "unicodeChar": "𬭴", "unicodeCodePoint": "2CB74", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "钅絜" }], "weight": "10" }, { "charId": "b3f1a9a2", "unicodeChar": "𬭮", "unicodeCodePoint": "2CB6E", "pinYinChars": [{ "char": "MAN3" }], "splitChars": [{ "char": "钅𬜯" }], "weight": "10" }, { "charId": "fb7ac4da", "unicodeChar": "𬭫", "unicodeCodePoint": "2CB6B", "pinYinChars": [{ "char": "zhan3" }], "splitChars": [{ "char": "钅展" }], "weight": "10" }, { "charId": "c190819c", "unicodeChar": "𬭨", "unicodeCodePoint": "2CB68", "pinYinChars": [{ "char": "CHUI2" }], "splitChars": [{ "char": "钅追" }], "weight": "10" }, { "charId": "27480900", "unicodeChar": "𬭢", "unicodeCodePoint": "2CB62", "pinYinChars": [{ "char": "KUI4" }], "splitChars": [{ "char": "钅贵" }], "weight": "10" }, { "charId": "c9c9ee85", "unicodeChar": "𬭟", "unicodeCodePoint": "2CB5F", "pinYinChars": [{ "char": "COU4" }], "splitChars": [{ "char": "钅奏" }], "weight": "10" }, { "charId": "89d7d7df", "unicodeChar": "𬭙", "unicodeCodePoint": "2CB59", "pinYinChars": [{ "char": "chan2" }], "splitChars": [{ "char": "钅单" }], "weight": "10" }, { "charId": "cf70d0e4", "unicodeChar": "𬭖", "unicodeCodePoint": "2CB56", "pinYinChars": [{ "char": "PENG2" }], "splitChars": [{ "char": "钅朋" }], "weight": "10" }, { "charId": "a05f0d04", "unicodeChar": "𬭕", "unicodeCodePoint": "2CB55", "pinYinChars": [{ "char": "TAO2" }], "splitChars": [{ "char": "钅周" }], "weight": "10" }, { "charId": "b7194d36", "unicodeChar": "𬭐", "unicodeCodePoint": "2CB50", "pinYinChars": [{ "char": "yi1" }], "splitChars": [{ "char": "钅矣" }], "weight": "10" }, { "charId": "b1d0abd5", "unicodeChar": "𬭌", "unicodeCodePoint": "2CB4C", "pinYinChars": [{ "char": "HUA2" }], "splitChars": [{ "char": "钅吴" }], "weight": "10" }, { "charId": "7a6caee2", "unicodeChar": "𬭇", "unicodeCodePoint": "2CB47", "pinYinChars": [{ "char": "guo2" }], "splitChars": [{ "char": "钅会" }], "weight": "10" }, { "charId": "7c3c98ac", "unicodeChar": "𬭆", "unicodeCodePoint": "2CB46", "pinYinChars": [{ "char": "duo3" }, { "char": "duo4" }], "splitChars": [{ "char": "钅朵" }], "weight": "10" }, { "charId": "1ba7fdeb", "unicodeChar": "𬭅", "unicodeCodePoint": "2CB45", "pinYinChars": [{ "char": "HOU2" }], "splitChars": [{ "char": "钅后" }], "weight": "10" }, { "charId": "ea17edcf", "unicodeChar": "𬭂", "unicodeCodePoint": "2CB42", "pinYinChars": [{ "char": "hong2" }], "splitChars": [{ "char": "钅弘" }], "weight": "10" }, { "charId": "878ec138", "unicodeChar": "𬭀", "unicodeCodePoint": "2CB40", "pinYinChars": [{ "char": "SI4" }], "splitChars": [{ "char": "钅台" }], "weight": "10" }, { "charId": "3da3c254", "unicodeChar": "𬬷", "unicodeCodePoint": "2CB37", "pinYinChars": [{ "char": "shi2" }], "splitChars": [{ "char": "钅石" }], "weight": "10" }, { "charId": "7f0af7a0", "unicodeChar": "𬬰", "unicodeCodePoint": "2CB30", "pinYinChars": [{ "char": "CHENG1" }, { "char": "qiang1" }], "splitChars": [{ "char": "钅仓" }], "weight": "10" }, { "charId": "d5880692", "unicodeChar": "𬬨", "unicodeCodePoint": "2CB28", "pinYinChars": [{ "char": "HUA2" }], "splitChars": [{ "char": "钅亏" }], "weight": "10" }, { "charId": "b2e4d9a4", "unicodeChar": "𬬧", "unicodeCodePoint": "2CB27", "pinYinChars": [{ "char": "HAN4" }], "splitChars": [{ "char": "钅干" }], "weight": "10" }, { "charId": "54e44fee", "unicodeChar": "𬪍", "unicodeCodePoint": "2CA8D", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "贸阝" }], "weight": "10" }, { "charId": "1f00d897", "unicodeChar": "𬨨", "unicodeCodePoint": "2CA28", "pinYinChars": [{ "char": "guo4" }], "splitChars": [{ "char": "辶呙" }], "weight": "10" }, { "charId": "d354f36a", "unicodeChar": "𬨣", "unicodeCodePoint": "2CA23", "pinYinChars": [{ "char": "辶永" }], "splitChars": [], "weight": "10" }, { "charId": "d112119b", "unicodeChar": "𬨟", "unicodeCodePoint": "2CA1F", "pinYinChars": [{ "char": "fen1" }], "splitChars": [{ "char": "辶分" }], "weight": "10" }, { "charId": "a397459e", "unicodeChar": "𬨓", "unicodeCodePoint": "2CA13", "pinYinChars": [{ "char": "CHAO2" }], "splitChars": [{ "char": "车巢" }], "weight": "10" }, { "charId": "3eae0824", "unicodeChar": "𬨊", "unicodeCodePoint": "2CA0A", "pinYinChars": [{ "char": "mi3" }], "splitChars": [{ "char": "尾 车" }], "weight": "10" }, { "charId": "87910e98", "unicodeChar": "𬨈", "unicodeCodePoint": "2CA08", "pinYinChars": [{ "char": "WAN3" }], "splitChars": [{ "char": "车免" }], "weight": "10" }, { "charId": "1874ee8c", "unicodeChar": "𬨄", "unicodeCodePoint": "2CA04", "pinYinChars": [{ "char": "YANG3" }], "splitChars": [{ "char": "车央" }], "weight": "10" }, { "charId": "4cffa0cc", "unicodeChar": "𬧓", "unicodeCodePoint": "2C9D3", "pinYinChars": [{ "char": "chuan3" }], "splitChars": [{ "char": "足 舜" }], "weight": "10" }, { "charId": "f17e5c41", "unicodeChar": "𬧏", "unicodeCodePoint": "2C9CF", "pinYinChars": [{ "char": "gai4" }], "splitChars": [{ "char": "𧾷盖" }], "weight": "10" }, { "charId": "b2ef5cc4", "unicodeChar": "𬤮", "unicodeCodePoint": "2C92E", "pinYinChars": [{ "char": "zan4" }], "splitChars": [{ "char": "讠赞" }], "weight": "10" }, { "charId": "1b1b23d1", "unicodeChar": "𬤥", "unicodeCodePoint": "2C925", "pinYinChars": [{ "char": "zhuan4" }], "splitChars": [{ "char": "讠巽" }], "weight": "10" }, { "charId": "2ac17921", "unicodeChar": "𬤎", "unicodeCodePoint": "2C90E", "pinYinChars": [{ "char": "XUAN1" }], "splitChars": [{ "char": "讠宣" }], "weight": "10" }, { "charId": "2f065475", "unicodeChar": "𬣼", "unicodeCodePoint": "2C8FC", "pinYinChars": [{ "char": "lang3" }, { "char": "lang4" }], "splitChars": [{ "char": "讠良" }], "weight": "10" }, { "charId": "d7c245a2", "unicodeChar": "𬣮", "unicodeCodePoint": "2C8EE", "pinYinChars": [{ "char": "MING4" }], "splitChars": [{ "char": "讠名" }], "weight": "10" }, { "charId": "cd958aca", "unicodeChar": "𬣣", "unicodeCodePoint": "2C8E3", "pinYinChars": [{ "char": "ZHU4" }], "splitChars": [{ "char": "讠主" }], "weight": "10" }, { "charId": "e467f698", "unicodeChar": "𬣉", "unicodeCodePoint": "2C8C9", "pinYinChars": [{ "char": "su4" }], "splitChars": [{ "char": "言肅" }], "weight": "10" }, { "charId": "ef4fc710", "unicodeChar": "𬢎", "unicodeCodePoint": "2C88E", "pinYinChars": [{ "char": "DU3" }], "splitChars": [{ "char": "者见" }], "weight": "10" }, { "charId": "45253867", "unicodeChar": "𬢊", "unicodeCodePoint": "2C88A", "pinYinChars": [{ "char": "SI4" }], "splitChars": [{ "char": "司见" }], "weight": "10" }, { "charId": "f8d15009", "unicodeChar": "𬢇", "unicodeCodePoint": "2C887", "pinYinChars": [{ "char": "ha1" }, { "char": "cha4" }], "splitChars": [{ "char": "又 见" }], "weight": "10" }, { "charId": "b572ebca", "unicodeChar": "𬠅", "unicodeCodePoint": "2C805", "pinYinChars": [{ "char": "DANG1" }], "splitChars": [{ "char": "虫当" }], "weight": "10" }, { "charId": "b25769e5", "unicodeChar": "𬞕", "unicodeCodePoint": "2C795", "pinYinChars": [{ "char": "lan2" }], "splitChars": [{ "char": "艹阑" }], "weight": "10" }, { "charId": "bf26ef34", "unicodeChar": "𬜧", "unicodeCodePoint": "2C727", "pinYinChars": [{ "char": "fa4" }], "splitChars": [{ "char": "艹发" }], "weight": "10" }, { "charId": "64ebf058", "unicodeChar": "𬜒", "unicodeCodePoint": "2C712", "pinYinChars": [{ "char": "fan2" }], "splitChars": [{ "char": "舟已" }], "weight": "10" }, { "charId": "be13db59", "unicodeChar": "𬘵", "unicodeCodePoint": "2C635", "pinYinChars": [{ "char": "GENG1" }], "splitChars": [{ "char": "纟恒" }], "weight": "10" }, { "charId": "043f17ab", "unicodeChar": "𬘢", "unicodeCodePoint": "2C622", "pinYinChars": [{ "char": "KUANG4" }], "splitChars": [{ "char": "纟光" }], "weight": "10" }, { "charId": "3345b842", "unicodeChar": "𬘜", "unicodeCodePoint": "2C61C", "pinYinChars": [{ "char": "ZHAN4" }], "splitChars": [{ "char": "纟旦" }], "weight": "10" }, { "charId": "b763f373", "unicodeChar": "𬘖", "unicodeCodePoint": "2C616", "pinYinChars": [{ "char": "JIAN3" }], "splitChars": [{ "char": "纟见" }], "weight": "10" }, { "charId": "a85b1fae", "unicodeChar": "𬖣", "unicodeCodePoint": "2C5A3", "pinYinChars": [{ "char": "米 定" }], "splitChars": [], "weight": "10" }, { "charId": "fe56a4b7", "unicodeChar": "𬖍", "unicodeCodePoint": "2C58D", "pinYinChars": [{ "char": "meng2" }], "splitChars": [{ "char": "米八" }], "weight": "10" }, { "charId": "d254b3fe", "unicodeChar": "𬔰", "unicodeCodePoint": "2C530", "pinYinChars": [{ "char": "man3" }], "splitChars": [{ "char": "𥫗心" }], "weight": "10" }, { "charId": "c0ad766b", "unicodeChar": "𬔬", "unicodeCodePoint": "2C52C", "pinYinChars": [{ "char": "竹 乃" }], "splitChars": [], "weight": "10" }, { "charId": "3c2c6d11", "unicodeChar": "𬓇", "unicodeCodePoint": "2C4C7", "pinYinChars": [{ "char": "礻 宜" }], "splitChars": [], "weight": "10" }, { "charId": "a15c4bb6", "unicodeChar": "𬒓", "unicodeCodePoint": "2C493", "pinYinChars": [{ "char": "ke1" }, { "char": "luo3" }], "splitChars": [{ "char": "石罗" }], "weight": "10" }, { "charId": "9ce24cf5", "unicodeChar": "𬒍", "unicodeCodePoint": "2C48D", "pinYinChars": [{ "char": "YUN3" }], "splitChars": [{ "char": "石员" }], "weight": "10" }, { "charId": "8b7cc416", "unicodeChar": "𬒃", "unicodeCodePoint": "2C483", "pinYinChars": [{ "char": "lian4" }], "splitChars": [{ "char": "石𫠣" }], "weight": "10" }, { "charId": "6e72806d", "unicodeChar": "𬒂", "unicodeCodePoint": "2C482", "pinYinChars": [{ "char": "石方" }], "splitChars": [], "weight": "10" }, { "charId": "95094b23", "unicodeChar": "𬒁", "unicodeCodePoint": "2C481", "pinYinChars": [{ "char": "石 夭" }], "splitChars": [], "weight": "10" }, { "charId": "1ab3b4e2", "unicodeChar": "𬑺", "unicodeCodePoint": "2C47A", "pinYinChars": [{ "char": "duo4" }], "splitChars": [{ "char": "石 寸" }], "weight": "10" }, { "charId": "2bfb0137", "unicodeChar": "𬑹", "unicodeCodePoint": "2C479", "pinYinChars": [{ "char": "han4" }], "splitChars": [{ "char": "石厂" }], "weight": "10" }, { "charId": "0d7104b3", "unicodeChar": "𬑓", "unicodeCodePoint": "2C453", "pinYinChars": [{ "char": "ye4" }], "splitChars": [{ "char": "目华" }], "weight": "10" }, { "charId": "60d5941c", "unicodeChar": "𬏟", "unicodeCodePoint": "2C3DF", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "疒计" }], "weight": "10" }, { "charId": "4d2c083d", "unicodeChar": "𬏂", "unicodeCodePoint": "2C3C2", "pinYinChars": [{ "char": "田尔" }], "splitChars": [], "weight": "10" }, { "charId": "9368c357", "unicodeChar": "𬎑", "unicodeCodePoint": "2C391", "pinYinChars": [{ "char": "LAN4" }], "splitChars": [{ "char": "王阑" }], "weight": "10" }, { "charId": "d385d725", "unicodeChar": "𬍳", "unicodeCodePoint": "2C373", "pinYinChars": [{ "char": "王 享" }], "splitChars": [], "weight": "10" }, { "charId": "aea5608c", "unicodeChar": "𬍯", "unicodeCodePoint": "2C36F", "pinYinChars": [{ "char": "ke3" }, { "char": "ke1" }], "splitChars": [{ "char": "王果" }], "weight": "10" }, { "charId": "f98693cf", "unicodeChar": "𬍜", "unicodeCodePoint": "2C35C", "pinYinChars": [{ "char": "ning2" }], "splitChars": [{ "char": "王宁" }], "weight": "10" }, { "charId": "617e031a", "unicodeChar": "𬍙", "unicodeCodePoint": "2C359", "pinYinChars": [{ "char": "ZHAN3" }], "splitChars": [{ "char": "王戋" }], "weight": "10" }, { "charId": "cad24ec7", "unicodeChar": "𬌙", "unicodeCodePoint": "2C319", "pinYinChars": [{ "char": "pa2" }], "splitChars": [{ "char": "牛八" }], "weight": "10" }, { "charId": "1a395238", "unicodeChar": "𬊺", "unicodeCodePoint": "2C2BA", "pinYinChars": [{ "char": "wei1" }], "splitChars": [{ "char": "火爱" }], "weight": "10" }, { "charId": "8450df31", "unicodeChar": "𬊶", "unicodeCodePoint": "2C2B6", "pinYinChars": [{ "char": "LAN4" }], "splitChars": [{ "char": "火监" }], "weight": "10" }, { "charId": "8e3955af", "unicodeChar": "𬊵", "unicodeCodePoint": "2C2B5", "pinYinChars": [{ "char": "TANG3" }], "splitChars": [{ "char": "火党" }], "weight": "10" }, { "charId": "3859f90e", "unicodeChar": "𬊭", "unicodeCodePoint": "2C2AD", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "火显" }], "weight": "10" }, { "charId": "b83529f9", "unicodeChar": "𬊖", "unicodeCodePoint": "2C296", "pinYinChars": [{ "char": "mei3" }], "splitChars": [{ "char": "火闵" }], "weight": "10" }, { "charId": "06e48477", "unicodeChar": "𬊕", "unicodeCodePoint": "2C295", "pinYinChars": [{ "char": "火免" }], "splitChars": [], "weight": "10" }, { "charId": "ceb386af", "unicodeChar": "𬊎", "unicodeCodePoint": "2C28E", "pinYinChars": [{ "char": "gong4" }], "splitChars": [{ "char": "火贡" }], "weight": "10" }, { "charId": "7116c6d6", "unicodeChar": "𬊂", "unicodeCodePoint": "2C282", "pinYinChars": [{ "char": "CHAO3" }], "splitChars": [{ "char": "火刍" }], "weight": "10" }, { "charId": "79cd3756", "unicodeChar": "𬉣", "unicodeCodePoint": "2C263", "pinYinChars": [{ "char": "DO" }], "splitChars": [{ "char": "氵餘" }], "weight": "10" }, { "charId": "9143c35b", "unicodeChar": "𬉡", "unicodeCodePoint": "2C261", "pinYinChars": [{ "char": "SUO3" }, { "char": "RUI3" }], "splitChars": [{ "char": "氵蕊" }], "weight": "10" }, { "charId": "22db7749", "unicodeChar": "𬉊", "unicodeCodePoint": "2C24A", "pinYinChars": [{ "char": "氵聖" }], "splitChars": [], "weight": "10" }, { "charId": "2ef5e3f4", "unicodeChar": "𬈐", "unicodeCodePoint": "2C210", "pinYinChars": [{ "char": "yao1" }], "splitChars": [{ "char": "氵㓁目" }], "weight": "10" }, { "charId": "fd2521e7", "unicodeChar": "𬇵", "unicodeCodePoint": "2C1F5", "pinYinChars": [{ "char": "yan1" }], "splitChars": [{ "char": "氵正与" }], "weight": "10" }, { "charId": "c52834e0", "unicodeChar": "𬇡", "unicodeCodePoint": "2C1E1", "pinYinChars": [{ "char": "kan3" }], "splitChars": [{ "char": "氵口𫶧" }], "weight": "10" }, { "charId": "af593a28", "unicodeChar": "𬅱", "unicodeCodePoint": "2C171", "pinYinChars": [{ "char": "BO1" }], "splitChars": [{ "char": "番欠" }], "weight": "10" }, { "charId": "1dda74ed", "unicodeChar": "𬅄", "unicodeCodePoint": "2C144", "pinYinChars": [{ "char": "peng2" }], "splitChars": [{ "char": "未成林" }], "weight": "10" }, { "charId": "c9dab524", "unicodeChar": "𬃲", "unicodeCodePoint": "2C0F2", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "林页" }], "weight": "10" }, { "charId": "7bc2863b", "unicodeChar": "𬃫", "unicodeCodePoint": "2C0EB", "pinYinChars": [{ "char": "XIAN2" }], "splitChars": [{ "char": "木宪" }], "weight": "10" }, { "charId": "2d07ae40", "unicodeChar": "𬂰", "unicodeCodePoint": "2C0B0", "pinYinChars": [{ "char": "NONG2" }], "splitChars": [{ "char": "木农" }], "weight": "10" }, { "charId": "5ae21fcb", "unicodeChar": "𬂟", "unicodeCodePoint": "2C09F", "pinYinChars": [{ "char": "DAO1" }, { "char": "TIAO2" }, { "char": "MU4" }], "splitChars": [{ "char": "木 刀" }], "weight": "10" }, { "charId": "6beb135d", "unicodeChar": "𬁷", "unicodeCodePoint": "2C077", "pinYinChars": [{ "char": "YAO" }], "splitChars": [{ "char": "月夭" }], "weight": "10" }, { "charId": "d9565f03", "unicodeChar": "𬁴", "unicodeCodePoint": "2C074", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "月云" }], "weight": "10" }, { "charId": "ad647af2", "unicodeChar": "𬀱", "unicodeCodePoint": "2C031", "pinYinChars": [{ "char": "KAI3" }], "splitChars": [{ "char": "日岂" }], "weight": "10" }, { "charId": "58270676", "unicodeChar": "𬀮", "unicodeCodePoint": "2C02E", "pinYinChars": [{ "char": "DUI4" }], "splitChars": [{ "char": "日对" }], "weight": "10" }, { "charId": "f7e90bc7", "unicodeChar": "𫾻", "unicodeCodePoint": "2BFBB", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "易攵" }], "weight": "10" }, { "charId": "53707d22", "unicodeChar": "𫽮", "unicodeCodePoint": "2BF6E", "pinYinChars": [{ "char": "DANG3" }], "splitChars": [{ "char": "扌党" }], "weight": "10" }, { "charId": "fa8ae0bb", "unicodeChar": "𫽥", "unicodeCodePoint": "2BF65", "pinYinChars": [{ "char": "qian1" }], "splitChars": [{ "char": "扌举" }], "weight": "10" }, { "charId": "8167da9e", "unicodeChar": "𫽋", "unicodeCodePoint": "2BF4B", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "扌罗" }], "weight": "10" }, { "charId": "2617b504", "unicodeChar": "𫺌", "unicodeCodePoint": "2BE8C", "pinYinChars": [{ "char": "gong1" }, { "char": "gong4" }, { "char": "HONG3" }], "splitChars": [{ "char": "忄贡" }], "weight": "10" }, { "charId": "06fd4d8c", "unicodeChar": "𫺆", "unicodeCodePoint": "2BE86", "pinYinChars": [{ "char": "hua2" }], "splitChars": [{ "char": "忄华" }], "weight": "10" }, { "charId": "b0e7c84a", "unicodeChar": "𫹼", "unicodeCodePoint": "2BE7C", "pinYinChars": [{ "char": "dong1" }], "splitChars": [{ "char": "忄东" }], "weight": "10" }, { "charId": "8e546aad", "unicodeChar": "𫹴", "unicodeCodePoint": "2BE74", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "忄韦" }], "weight": "10" }, { "charId": "474eed3b", "unicodeChar": "𫹮", "unicodeCodePoint": "2BE6E", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "忄与" }], "weight": "10" }, { "charId": "dac07213", "unicodeChar": "𫷹", "unicodeCodePoint": "2BDF9", "pinYinChars": [{ "char": "LOU2" }], "splitChars": [{ "char": "广娄" }], "weight": "10" }, { "charId": "ba448313", "unicodeChar": "𫷬", "unicodeCodePoint": "2BDEC", "pinYinChars": [{ "char": "LAI2" }], "splitChars": [{ "char": "广来" }], "weight": "10" }, { "charId": "a135a3eb", "unicodeChar": "𫷅", "unicodeCodePoint": "2BDC5", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "巾军" }], "weight": "10" }, { "charId": "89aca729", "unicodeChar": "𫷀", "unicodeCodePoint": "2BDC0", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "巾毛" }], "weight": "10" }, { "charId": "ca3837f0", "unicodeChar": "𫶚", "unicodeCodePoint": "2BD9A", "pinYinChars": [{ "char": "AN" }], "splitChars": [{ "char": "山 刂" }], "weight": "10" }, { "charId": "6b72b93c", "unicodeChar": "𫶕", "unicodeCodePoint": "2BD95", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "山营" }], "weight": "10" }, { "charId": "82fc0784", "unicodeChar": "𫶔", "unicodeCodePoint": "2BD94", "pinYinChars": [{ "char": "han4" }], "splitChars": [{ "char": "敢山" }], "weight": "10" }, { "charId": "97ae19fd", "unicodeChar": "𫵼", "unicodeCodePoint": "2BD7C", "pinYinChars": [{ "char": "geng" }], "splitChars": [{ "char": "山更" }], "weight": "10" }, { "charId": "097535c3", "unicodeChar": "𫵶", "unicodeCodePoint": "2BD76", "pinYinChars": [{ "char": "wei3" }], "splitChars": [{ "char": "山韦" }], "weight": "10" }, { "charId": "dbb1cae4", "unicodeChar": "𫵖", "unicodeCodePoint": "2BD56", "pinYinChars": [{ "char": "SHI" }], "splitChars": [{ "char": "尸示" }], "weight": "10" }, { "charId": "f534d904", "unicodeChar": "𫳃", "unicodeCodePoint": "2BCC3", "pinYinChars": [{ "char": "ya1" }], "splitChars": [{ "char": "宀亚" }], "weight": "10" }, { "charId": "99883a39", "unicodeChar": "𫳁", "unicodeCodePoint": "2BCC1", "pinYinChars": [{ "char": "zhen3" }], "splitChars": [{ "char": "宀 山" }], "weight": "10" }, { "charId": "98291079", "unicodeChar": "𫲻", "unicodeCodePoint": "2BCBB", "pinYinChars": [{ "char": "liao2" }], "splitChars": [{ "char": "宀 乌" }], "weight": "10" }, { "charId": "c6355a71", "unicodeChar": "𫲷", "unicodeCodePoint": "2BCB7", "pinYinChars": [{ "char": "fu4" }], "splitChars": [{ "char": "宀夫" }], "weight": "10" }, { "charId": "498635ca", "unicodeChar": "𫲗", "unicodeCodePoint": "2BC97", "pinYinChars": [{ "char": "zan4" }], "splitChars": [{ "char": "女赞" }], "weight": "10" }, { "charId": "8c3e38c6", "unicodeChar": "𫲄", "unicodeCodePoint": "2BC84", "pinYinChars": [{ "char": "wa1" }], "splitChars": [{ "char": "女 窝" }], "weight": "10" }, { "charId": "17901921", "unicodeChar": "𫱣", "unicodeCodePoint": "2BC63", "pinYinChars": [{ "char": "女國" }], "splitChars": [], "weight": "10" }, { "charId": "054f1ac1", "unicodeChar": "𫱗", "unicodeCodePoint": "2BC57", "pinYinChars": [{ "char": "NA" }], "splitChars": [{ "char": "女拿" }], "weight": "10" }, { "charId": "79850e58", "unicodeChar": "𫱕", "unicodeCodePoint": "2BC55", "pinYinChars": [{ "char": "lan4" }], "splitChars": [{ "char": "女监" }], "weight": "10" }, { "charId": "17e10491", "unicodeChar": "𫱆", "unicodeCodePoint": "2BC46", "pinYinChars": [{ "char": "女畐" }], "splitChars": [], "weight": "10" }, { "charId": "8a95be73", "unicodeChar": "𫰿", "unicodeCodePoint": "2BC3F", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "女𫂱" }], "weight": "10" }, { "charId": "61e073eb", "unicodeChar": "𫰰", "unicodeCodePoint": "2BC30", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "女佥" }], "weight": "10" }, { "charId": "41d88770", "unicodeChar": "𫰨", "unicodeCodePoint": "2BC28", "pinYinChars": [{ "char": "mai2" }], "splitChars": [{ "char": "女买" }], "weight": "10" }, { "charId": "f12c4c43", "unicodeChar": "𫰧", "unicodeCodePoint": "2BC27", "pinYinChars": [{ "char": "女羊" }], "splitChars": [], "weight": "10" }, { "charId": "d9667507", "unicodeChar": "𫰢", "unicodeCodePoint": "2BC22", "pinYinChars": [{ "char": "hui4" }], "splitChars": [{ "char": "女会" }], "weight": "10" }, { "charId": "173d2861", "unicodeChar": "𫰔", "unicodeCodePoint": "2BC14", "pinYinChars": [{ "char": "女牛" }], "splitChars": [], "weight": "10" }, { "charId": "260d036a", "unicodeChar": "𫰉", "unicodeCodePoint": "2BC09", "pinYinChars": [{ "char": "女凡" }], "splitChars": [], "weight": "10" }, { "charId": "3b653e86", "unicodeChar": "𫰈", "unicodeCodePoint": "2BC08", "pinYinChars": [{ "char": "ya4" }], "splitChars": [{ "char": "女下" }], "weight": "10" }, { "charId": "64ee177e", "unicodeChar": "𫰂", "unicodeCodePoint": "2BC02", "pinYinChars": [{ "char": "DUO3" }], "splitChars": [{ "char": "奢单" }], "weight": "10" }, { "charId": "70dc9b41", "unicodeChar": "𫯮", "unicodeCodePoint": "2BBEE", "pinYinChars": [{ "char": "xue2" }], "splitChars": [{ "char": "大 顺" }], "weight": "10" }, { "charId": "9af0139f", "unicodeChar": "𫮏", "unicodeCodePoint": "2BB8F", "pinYinChars": [{ "char": "fai" }], "splitChars": [{ "char": "派土" }], "weight": "10" }, { "charId": "acbef830", "unicodeChar": "𫮌", "unicodeCodePoint": "2BB8C", "pinYinChars": [{ "char": "liang4" }], "splitChars": [{ "char": "土亮" }], "weight": "10" }, { "charId": "22fcd056", "unicodeChar": "𫮈", "unicodeCodePoint": "2BB88", "pinYinChars": [{ "char": "chan2" }], "splitChars": [{ "char": "土厘" }], "weight": "10" }, { "charId": "851b16ea", "unicodeChar": "𫭼", "unicodeCodePoint": "2BB7C", "pinYinChars": [{ "char": "LAO2" }], "splitChars": [{ "char": "土劳" }], "weight": "10" }, { "charId": "4d2963e6", "unicodeChar": "𫭮", "unicodeCodePoint": "2BB6E", "pinYinChars": [{ "char": "ce4" }], "splitChars": [{ "char": "土则" }], "weight": "10" }, { "charId": "f0bcc550", "unicodeChar": "𫭪", "unicodeCodePoint": "2BB6A", "pinYinChars": [{ "char": "QIAO1" }], "splitChars": [{ "char": "土尧" }], "weight": "10" }, { "charId": "63fcb51a", "unicodeChar": "𫭞", "unicodeCodePoint": "2BB5E", "pinYinChars": [{ "char": "ZHUAN1" }], "splitChars": [{ "char": "土专" }], "weight": "10" }, { "charId": "1cb02f16", "unicodeChar": "𫭛", "unicodeCodePoint": "2BB5B", "pinYinChars": [{ "char": "wang1" }], "splitChars": [{ "char": "土 天" }], "weight": "10" }, { "charId": "41162572", "unicodeChar": "𫭙", "unicodeCodePoint": "2BB59", "pinYinChars": [{ "char": "kua4" }, { "char": "kuo4" }], "splitChars": [{ "char": "土口" }], "weight": "10" }, { "charId": "322fc4ee", "unicodeChar": "𫫇", "unicodeCodePoint": "2BAC7", "pinYinChars": [{ "char": "E4" }], "splitChars": [{ "char": "口恶" }], "weight": "10" }, { "charId": "59d6114d", "unicodeChar": "𫪘", "unicodeCodePoint": "2BA98", "pinYinChars": [{ "char": "OU3" }], "splitChars": [{ "char": "口欧" }], "weight": "10" }, { "charId": "7fb3a697", "unicodeChar": "𫪁", "unicodeCodePoint": "2BA81", "pinYinChars": [{ "char": "LAI4" }], "splitChars": [{ "char": "口来" }], "weight": "10" }, { "charId": "2601386e", "unicodeChar": "𫩝", "unicodeCodePoint": "2BA5D", "pinYinChars": [{ "char": "ci1" }, { "char": "gi4" }], "splitChars": [{ "char": "口之" }], "weight": "10" }, { "charId": "178b7f23", "unicodeChar": "𫧯", "unicodeCodePoint": "2B9EF", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "占内" }], "weight": "10" }, { "charId": "433b81b3", "unicodeChar": "𫤬", "unicodeCodePoint": "2B92C", "pinYinChars": [{ "char": "gang4" }], "splitChars": [{ "char": "八 丶" }], "weight": "10" }, { "charId": "00b54176", "unicodeChar": "𫤪", "unicodeCodePoint": "2B92A", "pinYinChars": [{ "char": "fong" }], "splitChars": [{ "char": "全 全" }], "weight": "10" }, { "charId": "612655b3", "unicodeChar": "𫣊", "unicodeCodePoint": "2B8CA", "pinYinChars": [{ "char": "AI4" }], "splitChars": [{ "char": "亻爱" }], "weight": "10" }, { "charId": "776b10d1", "unicodeChar": "𫢪", "unicodeCodePoint": "2B8AA", "pinYinChars": [{ "char": "LIAN4" }], "splitChars": [{ "char": "亻连" }], "weight": "10" }, { "charId": "a16ea7ff", "unicodeChar": "𫢙", "unicodeCodePoint": "2B899", "pinYinChars": [{ "char": "tong2" }, { "char": "dou" }], "splitChars": [{ "char": "亻动" }], "weight": "10" }, { "charId": "2d229739", "unicodeChar": "𫢘", "unicodeCodePoint": "2B898", "pinYinChars": [{ "char": "DUI4" }], "splitChars": [{ "char": "亻对" }], "weight": "10" }, { "charId": "e323404d", "unicodeChar": "𫢋", "unicodeCodePoint": "2B88B", "pinYinChars": [{ "char": "fo2" }], "splitChars": [{ "char": "亻天" }], "weight": "10" }, { "charId": "089fa1f7", "unicodeChar": "𫡥", "unicodeCodePoint": "2B865", "pinYinChars": [{ "char": "da3" }], "splitChars": [{ "char": "乙 合" }], "weight": "10" }, { "charId": "ee3f415f", "unicodeChar": "𫡢", "unicodeCodePoint": "2B862", "pinYinChars": [{ "char": "tang4" }, { "char": "tuo3" }], "splitChars": [{ "char": "乙土" }], "weight": "10" }, { "charId": "a3862aee", "unicodeChar": "𫠫", "unicodeCodePoint": "2B82B", "pinYinChars": [{ "char": "bian3" }], "splitChars": [{ "char": "不元" }], "weight": "10" }, { "charId": "c934b081", "unicodeChar": "𫟻", "unicodeCodePoint": "2B7FB", "pinYinChars": [{ "char": "ZHOU1" }], "splitChars": [{ "char": "钅州" }], "weight": "10" }, { "charId": "f092251d", "unicodeChar": "𫟺", "unicodeCodePoint": "2B7FA", "pinYinChars": [{ "char": "KAI1" }], "splitChars": [{ "char": "钅亥" }], "weight": "10" }, { "charId": "180e9878", "unicodeChar": "𫟷", "unicodeCodePoint": "2B7F7", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "钅立" }], "weight": "10" }, { "charId": "f23f4151", "unicodeChar": "𫟴", "unicodeCodePoint": "2B7F4", "pinYinChars": [{ "char": "FEN1" }], "splitChars": [{ "char": "钅分" }], "weight": "10" }, { "charId": "c2782b53", "unicodeChar": "𫟤", "unicodeCodePoint": "2B7E4", "pinYinChars": [{ "char": "TUO2" }], "splitChars": [{ "char": "车它" }], "weight": "10" }, { "charId": "87264c99", "unicodeChar": "𫟌", "unicodeCodePoint": "2B7CC", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "艹外" }], "weight": "10" }, { "charId": "e58633f7", "unicodeChar": "𫟇", "unicodeCodePoint": "2B7C7", "pinYinChars": [{ "char": "liao4" }, { "char": "liao2" }], "splitChars": [{ "char": "纟廖" }], "weight": "10" }, { "charId": "e9c0aefb", "unicodeChar": "𫞠", "unicodeCodePoint": "2B7A0", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "火灵" }], "weight": "10" }, { "charId": "f2cfe4a8", "unicodeChar": "𫞂", "unicodeCodePoint": "2B782", "pinYinChars": [{ "char": "yao4" }], "splitChars": [{ "char": "日玉" }], "weight": "10" }, { "charId": "d24a50a6", "unicodeChar": "𫝵", "unicodeCodePoint": "2B775", "pinYinChars": [{ "char": "DAO3" }], "splitChars": [{ "char": "山寿" }], "weight": "10" }, { "charId": "fccb2fcf", "unicodeChar": "𫝮", "unicodeCodePoint": "2B76E", "pinYinChars": [{ "char": "LAN3" }], "splitChars": [{ "char": "女阑" }], "weight": "10" }, { "charId": "e1580894", "unicodeChar": "𫝭", "unicodeCodePoint": "2B76D", "pinYinChars": [{ "char": "YING1" }], "splitChars": [{ "char": "女婴" }], "weight": "10" }, { "charId": "ecb31c91", "unicodeChar": "𫝩", "unicodeCodePoint": "2B769", "pinYinChars": [{ "char": "CHOU2" }], "splitChars": [{ "char": "女寿" }], "weight": "10" }, { "charId": "91dcac91", "unicodeChar": "𫝦", "unicodeCodePoint": "2B766", "pinYinChars": [{ "char": "BEI4" }], "splitChars": [{ "char": "女贝" }], "weight": "10" }, { "charId": "bce2bf73", "unicodeChar": "𫜫", "unicodeCodePoint": "2B72B", "pinYinChars": [{ "char": "bu3" }], "splitChars": [{ "char": "齿甫" }], "weight": "10" }, { "charId": "3811ea19", "unicodeChar": "𫜂", "unicodeCodePoint": "2B702", "pinYinChars": [{ "char": "ZHANG1" }], "splitChars": [{ "char": "章鸟" }], "weight": "10" }, { "charId": "1acd05e7", "unicodeChar": "𫜀", "unicodeCodePoint": "2B700", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "晨鸟" }], "weight": "10" }, { "charId": "67c4e15c", "unicodeChar": "𫛶", "unicodeCodePoint": "2B6F6", "pinYinChars": [{ "char": "CHI4" }], "splitChars": [{ "char": "勅鸟" }], "weight": "10" }, { "charId": "9632ed92", "unicodeChar": "𫛰", "unicodeCodePoint": "2B6F0", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "其鸟" }], "weight": "10" }, { "charId": "76f1b50e", "unicodeChar": "𫛩", "unicodeCodePoint": "2B6E9", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "安鸟" }], "weight": "10" }, { "charId": "5442350b", "unicodeChar": "𫛣", "unicodeCodePoint": "2B6E3", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "鸟穴" }], "weight": "10" }, { "charId": "f363ed2d", "unicodeChar": "𫛢", "unicodeCodePoint": "2B6E2", "pinYinChars": [{ "char": "NING2" }], "splitChars": [{ "char": "宁鸟" }], "weight": "10" }, { "charId": "b097ecaf", "unicodeChar": "𫛞", "unicodeCodePoint": "2B6DE", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "鸟夬" }], "weight": "10" }, { "charId": "2aedf660", "unicodeChar": "𫚋", "unicodeCodePoint": "2B68B", "pinYinChars": [{ "char": "ZHUAN1" }], "splitChars": [{ "char": "鱼专" }], "weight": "10" }, { "charId": "81298ae9", "unicodeChar": "𫘱", "unicodeCodePoint": "2B631", "pinYinChars": [{ "char": "XI2" }], "splitChars": [{ "char": "马巂" }], "weight": "10" }, { "charId": "a34be992", "unicodeChar": "𫘭", "unicodeCodePoint": "2B62D", "pinYinChars": [{ "char": "SHUANG1" }], "splitChars": [{ "char": "马爽" }], "weight": "10" }, { "charId": "5eb0dcdd", "unicodeChar": "𫘥", "unicodeCodePoint": "2B625", "pinYinChars": [{ "char": "KUN1" }], "splitChars": [{ "char": "马昆" }], "weight": "10" }, { "charId": "57f649a0", "unicodeChar": "𫘤", "unicodeCodePoint": "2B624", "pinYinChars": [{ "char": "SI4" }], "splitChars": [{ "char": "马矣" }], "weight": "10" }, { "charId": "27933f75", "unicodeChar": "𫘠", "unicodeCodePoint": "2B620", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "马至" }], "weight": "10" }, { "charId": "985751c5", "unicodeChar": "𫘑", "unicodeCodePoint": "2B611", "pinYinChars": [{ "char": "馬美" }], "splitChars": [], "weight": "10" }, { "charId": "a7dec5ad", "unicodeChar": "𫗩", "unicodeCodePoint": "2B5E9", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "饣罗" }], "weight": "10" }, { "charId": "3a2adc3d", "unicodeChar": "𫖵", "unicodeCodePoint": "2B5B5", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "岳页" }], "weight": "10" }, { "charId": "b5582a37", "unicodeChar": "𫖲", "unicodeCodePoint": "2B5B2", "pinYinChars": [{ "char": "HUN4" }], "splitChars": [{ "char": "员页" }], "weight": "10" }, { "charId": "00fd28bc", "unicodeChar": "𫖕", "unicodeCodePoint": "2B595", "pinYinChars": [{ "char": "GOU1" }], "splitChars": [{ "char": "韦冓" }], "weight": "10" }, { "charId": "14ffea47", "unicodeChar": "𫖒", "unicodeCodePoint": "2B592", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "韦毕" }], "weight": "10" }, { "charId": "49dcc8e4", "unicodeChar": "𫔴", "unicodeCodePoint": "2B534", "pinYinChars": [{ "char": "LIN4" }], "splitChars": [{ "char": "门隹" }], "weight": "10" }, { "charId": "bda802f2", "unicodeChar": "𫔔", "unicodeCodePoint": "2B514", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "钅巂" }], "weight": "10" }, { "charId": "ca5b0c17", "unicodeChar": "𫔉", "unicodeCodePoint": "2B509", "pinYinChars": [{ "char": "ying1" }], "splitChars": [{ "char": "钅婴" }], "weight": "10" }, { "charId": "b7724a78", "unicodeChar": "𫔈", "unicodeCodePoint": "2B508", "pinYinChars": [{ "char": "SHUO4" }], "splitChars": [{ "char": "钅朔" }], "weight": "10" }, { "charId": "ac4651db", "unicodeChar": "𫔄", "unicodeCodePoint": "2B504", "pinYinChars": [{ "char": "ROU2" }], "splitChars": [{ "char": "钅柔" }], "weight": "10" }, { "charId": "a21bad38", "unicodeChar": "𫔃", "unicodeCodePoint": "2B503", "pinYinChars": [{ "char": "JIAN4" }], "splitChars": [{ "char": "钅览" }], "weight": "10" }, { "charId": "6d57127c", "unicodeChar": "𫔂", "unicodeCodePoint": "2B502", "pinYinChars": [{ "char": "DI1" }], "splitChars": [{ "char": "钅是" }], "weight": "10" }, { "charId": "d76dc037", "unicodeChar": "𫔁", "unicodeCodePoint": "2B501", "pinYinChars": [{ "char": "FEN2" }], "splitChars": [{ "char": "钅贲" }], "weight": "10" }, { "charId": "72a10400", "unicodeChar": "𫓾", "unicodeCodePoint": "2B4FE", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "钅育" }], "weight": "10" }, { "charId": "f36b4d98", "unicodeChar": "𫓽", "unicodeCodePoint": "2B4FD", "pinYinChars": [{ "char": "ZONG4" }], "splitChars": [{ "char": "钅宗" }], "weight": "10" }, { "charId": "9465757a", "unicodeChar": "𫓻", "unicodeCodePoint": "2B4FB", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "钅念" }], "weight": "10" }, { "charId": "a1c22844", "unicodeChar": "𫓴", "unicodeCodePoint": "2B4F4", "pinYinChars": [{ "char": "MOU2" }], "splitChars": [{ "char": "钅牟" }], "weight": "10" }, { "charId": "c6c4e2a6", "unicodeChar": "𫓲", "unicodeCodePoint": "2B4F2", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "钅旬" }], "weight": "10" }, { "charId": "798e55ee", "unicodeChar": "𫓰", "unicodeCodePoint": "2B4F0", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "钅戌" }], "weight": "10" }, { "charId": "449b71f2", "unicodeChar": "𫓩", "unicodeCodePoint": "2B4E9", "pinYinChars": [{ "char": "CONG1" }], "splitChars": [{ "char": "钅从" }], "weight": "10" }, { "charId": "2bf9eb64", "unicodeChar": "𫓦", "unicodeCodePoint": "2B4E6", "pinYinChars": [{ "char": "ZI3" }], "splitChars": [{ "char": "钅子" }], "weight": "10" }, { "charId": "a7bfe8c8", "unicodeChar": "𫐑", "unicodeCodePoint": "2B411", "pinYinChars": [{ "char": "GUAN3" }], "splitChars": [{ "char": "车官" }], "weight": "10" }, { "charId": "f08c3206", "unicodeChar": "𫐌", "unicodeCodePoint": "2B40C", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "车并" }], "weight": "10" }, { "charId": "336a10bb", "unicodeChar": "𫐉", "unicodeCodePoint": "2B409", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "车令" }], "weight": "10" }, { "charId": "e2eccb59", "unicodeChar": "𫏐", "unicodeCodePoint": "2B3D0", "pinYinChars": [{ "char": "ZAN4" }], "splitChars": [{ "char": "斩足" }], "weight": "10" }, { "charId": "589a2823", "unicodeChar": "𫏋", "unicodeCodePoint": "2B3CB", "pinYinChars": [{ "char": "QIAO1" }], "splitChars": [{ "char": "𧾷乔" }], "weight": "10" }, { "charId": "847cf4f0", "unicodeChar": "𫎬", "unicodeCodePoint": "2B3AC", "pinYinChars": [{ "char": "GONG4" }], "splitChars": [{ "char": "章贡" }], "weight": "10" }, { "charId": "6cd310de", "unicodeChar": "𫍻", "unicodeCodePoint": "2B37B", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "讠喜" }], "weight": "10" }, { "charId": "97afeb16", "unicodeChar": "𫍰", "unicodeCodePoint": "2B370", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "讠思" }], "weight": "10" }, { "charId": "1ff49fb0", "unicodeChar": "𫍧", "unicodeCodePoint": "2B367", "pinYinChars": [{ "char": "CHI1" }], "splitChars": [{ "char": "讠来" }], "weight": "10" }, { "charId": "5e47f8eb", "unicodeChar": "𫍤", "unicodeCodePoint": "2B364", "pinYinChars": [{ "char": "JIAO3" }], "splitChars": [{ "char": "讠乔" }], "weight": "10" }, { "charId": "c1f4e0d9", "unicodeChar": "𫍟", "unicodeCodePoint": "2B35F", "pinYinChars": [{ "char": "dan4" }], "splitChars": [{ "char": "讠 也" }], "weight": "10" }, { "charId": "b4100b2f", "unicodeChar": "𫍛", "unicodeCodePoint": "2B35B", "pinYinChars": [{ "char": "fen1" }], "splitChars": [{ "char": "讠 分" }], "weight": "10" }, { "charId": "e996edc8", "unicodeChar": "𫌨", "unicodeCodePoint": "2B328", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "尔见" }], "weight": "10" }, { "charId": "45608322", "unicodeChar": "𫌉", "unicodeCodePoint": "2B309", "pinYinChars": [{ "char": "zhuo2" }], "splitChars": [{ "char": "衤 羔" }], "weight": "10" }, { "charId": "eaa4c557", "unicodeChar": "𫊻", "unicodeCodePoint": "2B2BB", "pinYinChars": [{ "char": "XUN2" }], "splitChars": [{ "char": "虫寻" }], "weight": "10" }, { "charId": "5e29d039", "unicodeChar": "𫊵", "unicodeCodePoint": "2B2B5", "pinYinChars": [{ "char": "chi1" }], "splitChars": [{ "char": "虫寺" }], "weight": "10" }, { "charId": "1836dabc", "unicodeChar": "𫉤", "unicodeCodePoint": "2B264", "pinYinChars": [{ "char": "艹 陽" }], "splitChars": [], "weight": "10" }, { "charId": "c46dd91e", "unicodeChar": "𫉅", "unicodeCodePoint": "2B245", "pinYinChars": [{ "char": "nu4" }], "splitChars": [{ "char": "艹恕" }], "weight": "10" }, { "charId": "f0eefaa4", "unicodeChar": "𫉁", "unicodeCodePoint": "2B241", "pinYinChars": [{ "char": "AI4" }], "splitChars": [{ "char": "艹爱" }], "weight": "10" }, { "charId": "86201dde", "unicodeChar": "𫈟", "unicodeCodePoint": "2B21F", "pinYinChars": [{ "char": "chen2" }], "splitChars": [{ "char": "艹 陈" }], "weight": "10" }, { "charId": "7ac00744", "unicodeChar": "𫈉", "unicodeCodePoint": "2B209", "pinYinChars": [{ "char": "jian1" }], "splitChars": [{ "char": "艹间" }], "weight": "10" }, { "charId": "9e4658f1", "unicodeChar": "𫄥", "unicodeCodePoint": "2B125", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "纟丽" }], "weight": "10" }, { "charId": "d6b7f0af", "unicodeChar": "𫄡", "unicodeCodePoint": "2B121", "pinYinChars": [{ "char": "DONG4" }], "splitChars": [{ "char": "纟同" }], "weight": "10" }, { "charId": "76aa5859", "unicodeChar": "𫄟", "unicodeCodePoint": "2B11F", "pinYinChars": [{ "char": "SHI1" }], "splitChars": [{ "char": "纟㐌" }], "weight": "10" }, { "charId": "742f1981", "unicodeChar": "𫄞", "unicodeCodePoint": "2B11E", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "纟丕" }], "weight": "10" }, { "charId": "d66b707a", "unicodeChar": "𫄙", "unicodeCodePoint": "2B119", "pinYinChars": [{ "char": "jiu1" }], "splitChars": [{ "char": "纟 乙" }], "weight": "10" }, { "charId": "2e42f03c", "unicodeChar": "𫁷", "unicodeCodePoint": "2B077", "pinYinChars": [{ "char": "SHUANG1" }], "splitChars": [{ "char": "𥫗双" }], "weight": "10" }, { "charId": "3f0a8e13", "unicodeChar": "𫁳", "unicodeCodePoint": "2B073", "pinYinChars": [{ "char": "wei3" }], "splitChars": [{ "char": "竹 韦" }], "weight": "10" }, { "charId": "31c2336f", "unicodeChar": "𪼟", "unicodeCodePoint": "2AF1F", "pinYinChars": [{ "char": "chi2" }], "splitChars": [{ "char": "王 犀" }], "weight": "10" }, { "charId": "0f6f3f60", "unicodeChar": "𪼞", "unicodeCodePoint": "2AF1E", "pinYinChars": [{ "char": "王 戈" }], "splitChars": [], "weight": "10" }, { "charId": "fa1f9bd2", "unicodeChar": "𪻺", "unicodeCodePoint": "2AEFA", "pinYinChars": [{ "char": "GUI1" }], "splitChars": [{ "char": "王贵" }], "weight": "10" }, { "charId": "98b44c36", "unicodeChar": "𪻨", "unicodeCodePoint": "2AEE8", "pinYinChars": [{ "char": "DU2" }], "splitChars": [{ "char": "王卖" }], "weight": "10" }, { "charId": "55cdc74b", "unicodeChar": "𪻥", "unicodeCodePoint": "2AEE5", "pinYinChars": [{ "char": "王 亨" }], "splitChars": [], "weight": "10" }, { "charId": "10440308", "unicodeChar": "𪻍", "unicodeCodePoint": "2AECD", "pinYinChars": [{ "char": "王 又" }], "splitChars": [], "weight": "10" }, { "charId": "41a05b01", "unicodeChar": "𪹨", "unicodeCodePoint": "2AE68", "pinYinChars": [{ "char": "火 庸" }], "splitChars": [], "weight": "10" }, { "charId": "72aa5aca", "unicodeChar": "𪸩", "unicodeCodePoint": "2AE29", "pinYinChars": [{ "char": "HUI1" }], "splitChars": [{ "char": "火军" }], "weight": "10" }, { "charId": "ea834fd9", "unicodeChar": "𪷽", "unicodeCodePoint": "2ADFD", "pinYinChars": [{ "char": "ZAN4" }], "splitChars": [{ "char": "氵赞" }], "weight": "10" }, { "charId": "9e1c2762", "unicodeChar": "𪷰", "unicodeCodePoint": "2ADF0", "pinYinChars": [{ "char": "氵 韶" }], "splitChars": [], "weight": "10" }, { "charId": "0665a992", "unicodeChar": "𪷦", "unicodeCodePoint": "2ADE6", "pinYinChars": [{ "char": "氵 運" }], "splitChars": [], "weight": "10" }, { "charId": "2bc6e6d4", "unicodeChar": "𪷤", "unicodeCodePoint": "2ADE4", "pinYinChars": [{ "char": "lin3" }], "splitChars": [{ "char": "氵 禀" }], "weight": "10" }, { "charId": "aefe43ea", "unicodeChar": "𪷛", "unicodeCodePoint": "2ADDB", "pinYinChars": [{ "char": "氵 富" }], "splitChars": [], "weight": "10" }, { "charId": "7486ec22", "unicodeChar": "𪷍", "unicodeCodePoint": "2ADCD", "pinYinChars": [{ "char": "QING4" }], "splitChars": [{ "char": "氵靓" }], "weight": "10" }, { "charId": "1164528d", "unicodeChar": "𪶒", "unicodeCodePoint": "2AD92", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "氵罗" }], "weight": "10" }, { "charId": "03eb53c3", "unicodeChar": "𪴯", "unicodeCodePoint": "2AD2F", "pinYinChars": [{ "char": "e1" }, { "char": "e4" }], "splitChars": [{ "char": "显 欠" }], "weight": "10" }, { "charId": "a0bcf97d", "unicodeChar": "𪴙", "unicodeCodePoint": "2AD19", "pinYinChars": [{ "char": "CUAN2" }], "splitChars": [{ "char": "木赞" }], "weight": "10" }, { "charId": "b1df2d94", "unicodeChar": "𪳍", "unicodeCodePoint": "2ACCD", "pinYinChars": [{ "char": "SHE4" }], "splitChars": [{ "char": "木聂" }], "weight": "10" }, { "charId": "eaca294c", "unicodeChar": "𪳉", "unicodeCodePoint": "2ACC9", "pinYinChars": [{ "char": "木 心" }], "splitChars": [], "weight": "10" }, { "charId": "021e7bbc", "unicodeChar": "𪲎", "unicodeCodePoint": "2AC8E", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "木齐" }], "weight": "10" }, { "charId": "bbd0c67f", "unicodeChar": "𪱷", "unicodeCodePoint": "2AC77", "pinYinChars": [{ "char": "BEI4" }], "splitChars": [{ "char": "木贝" }], "weight": "10" }, { "charId": "640596b3", "unicodeChar": "𪱚", "unicodeCodePoint": "2AC5A", "pinYinChars": [{ "char": "月 上" }], "splitChars": [], "weight": "10" }, { "charId": "e8fb49f9", "unicodeChar": "𪰶", "unicodeCodePoint": "2AC36", "pinYinChars": [{ "char": "FEI4" }], "splitChars": [{ "char": "日费" }], "weight": "10" }, { "charId": "1dca25d9", "unicodeChar": "𪰣", "unicodeCodePoint": "2AC23", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "日羽" }], "weight": "10" }, { "charId": "a3575112", "unicodeChar": "𪮢", "unicodeCodePoint": "2ABA2", "pinYinChars": [{ "char": "扌 原" }], "splitChars": [], "weight": "10" }, { "charId": "a6821b71", "unicodeChar": "𪭷", "unicodeCodePoint": "2AB77", "pinYinChars": [{ "char": "bao4" }], "splitChars": [{ "char": "扌呆" }], "weight": "10" }, { "charId": "12039732", "unicodeChar": "𪭝", "unicodeCodePoint": "2AB5D", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "扌韦" }], "weight": "10" }, { "charId": "c3fd50b2", "unicodeChar": "𪬏", "unicodeCodePoint": "2AB0F", "pinYinChars": [{ "char": "hang" }], "splitChars": [{ "char": "忄 香" }], "weight": "10" }, { "charId": "d1140cfa", "unicodeChar": "𪪏", "unicodeCodePoint": "2AA8F", "pinYinChars": [{ "char": "lu2" }], "splitChars": [{ "char": "广 卢" }], "weight": "10" }, { "charId": "6f62acdd", "unicodeChar": "𪨷", "unicodeCodePoint": "2AA37", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "山严" }], "weight": "10" }, { "charId": "a9409e7e", "unicodeChar": "𪨊", "unicodeCodePoint": "2AA0A", "pinYinChars": [{ "char": "SONG2" }], "splitChars": [{ "char": "尸从" }], "weight": "10" }, { "charId": "d1235811", "unicodeChar": "𪨇", "unicodeCodePoint": "2AA07", "pinYinChars": [{ "char": "TUI2" }], "splitChars": [{ "char": "兀贵" }], "weight": "10" }, { "charId": "f95d5fce", "unicodeChar": "𪥿", "unicodeCodePoint": "2A97F", "pinYinChars": [{ "char": "DU2" }], "splitChars": [{ "char": "女卖" }], "weight": "10" }, { "charId": "2d0178f3", "unicodeChar": "𪤕", "unicodeCodePoint": "2A915", "pinYinChars": [{ "char": "chan3" }], "splitChars": [{ "char": "土產" }], "weight": "10" }, { "charId": "630c38ec", "unicodeChar": "𪤓", "unicodeCodePoint": "2A913", "pinYinChars": [{ "char": "土敏" }], "splitChars": [], "weight": "10" }, { "charId": "0269e7ca", "unicodeChar": "𪢷", "unicodeCodePoint": "2A8B7", "pinYinChars": [{ "char": "土亡" }], "splitChars": [], "weight": "10" }, { "charId": "5f6e2ccc", "unicodeChar": "𪢮", "unicodeCodePoint": "2A8AE", "pinYinChars": [{ "char": "LUAN2" }], "splitChars": [{ "char": "囗栾" }], "weight": "10" }, { "charId": "c7086281", "unicodeChar": "𪢐", "unicodeCodePoint": "2A890", "pinYinChars": [{ "char": "LAI4" }], "splitChars": [{ "char": "口赖" }], "weight": "10" }, { "charId": "80860788", "unicodeChar": "𪢂", "unicodeCodePoint": "2A882", "pinYinChars": [{ "char": "口着" }], "splitChars": [], "weight": "10" }, { "charId": "d7fe4f0e", "unicodeChar": "𪡗", "unicodeCodePoint": "2A857", "pinYinChars": [{ "char": "han" }], "splitChars": [{ "char": "口欣" }], "weight": "10" }, { "charId": "14090e4f", "unicodeChar": "𪡋", "unicodeCodePoint": "2A84B", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "口佥" }], "weight": "10" }, { "charId": "8775584d", "unicodeChar": "𪡀", "unicodeCodePoint": "2A840", "pinYinChars": [{ "char": "QIAO2" }], "splitChars": [{ "char": "口乔" }], "weight": "10" }, { "charId": "b212f7b3", "unicodeChar": "𪞝", "unicodeCodePoint": "2A79D", "pinYinChars": [{ "char": "DUO2" }], "splitChars": [{ "char": "冫𠬤" }], "weight": "10" }, { "charId": "74a72a09", "unicodeChar": "𪜐", "unicodeCodePoint": "2A710", "pinYinChars": [{ "char": "wa1" }, { "char": "wa2" }, { "char": "wa4" }, { "char": "hua4" }], "splitChars": [{ "char": "乙化" }], "weight": "10" }, { "charId": "6a0e8a34", "unicodeChar": "𪌙", "unicodeCodePoint": "2A319", "pinYinChars": [{ "char": "SHU2" }], "splitChars": [{ "char": "麥戊" }], "weight": "10" }, { "charId": "4537da2d", "unicodeChar": "𪋫", "unicodeCodePoint": "2A2EB", "pinYinChars": [{ "char": "YE4" }], "splitChars": [{ "char": "鹿業" }], "weight": "10" }, { "charId": "bcf2bb14", "unicodeChar": "𪋟", "unicodeCodePoint": "2A2DF", "pinYinChars": [{ "char": "zhang1" }], "splitChars": [{ "char": "鹿 章" }], "weight": "10" }, { "charId": "6ba0f772", "unicodeChar": "𪊿", "unicodeCodePoint": "2A2BF", "pinYinChars": [{ "char": "lin2" }], "splitChars": [{ "char": "鹿 谷" }], "weight": "10" }, { "charId": "7b86b31c", "unicodeChar": "𪊸", "unicodeCodePoint": "2A2B8", "pinYinChars": [{ "char": "TU2" }], "splitChars": [{ "char": "鹿余" }], "weight": "10" }, { "charId": "b3829570", "unicodeChar": "𪊲", "unicodeCodePoint": "2A2B2", "pinYinChars": [{ "char": "lin2" }], "splitChars": [{ "char": "鹿各" }], "weight": "10" }, { "charId": "549e4d33", "unicodeChar": "𪊟", "unicodeCodePoint": "2A29F", "pinYinChars": [{ "char": "sheng1" }], "splitChars": [{ "char": "鹿 生" }], "weight": "10" }, { "charId": "3908c51b", "unicodeChar": "𪊖", "unicodeCodePoint": "2A296", "pinYinChars": [{ "char": "HU3" }], "splitChars": [{ "char": "鹿勿" }], "weight": "10" }, { "charId": "b88d2e31", "unicodeChar": "𪉓", "unicodeCodePoint": "2A253", "pinYinChars": [{ "char": "NIAO3" }], "splitChars": [{ "char": "鸟鸟鸟" }], "weight": "10" }, { "charId": "128833c6", "unicodeChar": "𪉊", "unicodeCodePoint": "2A24A", "pinYinChars": [{ "char": "HUA2" }], "splitChars": [{ "char": "华鸟" }], "weight": "10" }, { "charId": "cbc56806", "unicodeChar": "𪉈", "unicodeCodePoint": "2A248", "pinYinChars": [{ "char": "CI2" }], "splitChars": [{ "char": "此鸟" }], "weight": "10" }, { "charId": "bb6ec58c", "unicodeChar": "𪉃", "unicodeCodePoint": "2A243", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "文鸟" }], "weight": "10" }, { "charId": "f7f6d0b1", "unicodeChar": "𪆫", "unicodeCodePoint": "2A1AB", "pinYinChars": [{ "char": "QU2" }], "splitChars": [{ "char": "鳥渠" }], "weight": "10" }, { "charId": "f979e315", "unicodeChar": "𪆉", "unicodeCodePoint": "2A189", "pinYinChars": [{ "char": "KOU4" }], "splitChars": [{ "char": "十冖隹鳥" }], "weight": "10" }, { "charId": "2ba168fd", "unicodeChar": "𪃸", "unicodeCodePoint": "2A0F8", "pinYinChars": [{ "char": "zhan1" }], "splitChars": [{ "char": "枼 鳥" }], "weight": "10" }, { "charId": "4dc24d9e", "unicodeChar": "𪁌", "unicodeCodePoint": "2A04C", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "赤鳥" }], "weight": "10" }, { "charId": "3d549699", "unicodeChar": "𩷔", "unicodeCodePoint": "29DD4", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "魚辛" }], "weight": "10" }, { "charId": "3037a598", "unicodeChar": "𩵴", "unicodeCodePoint": "29D74", "pinYinChars": [{ "char": "mu4" }], "splitChars": [{ "char": "木 魚" }], "weight": "10" }, { "charId": "5f9c1ce1", "unicodeChar": "𩵮", "unicodeCodePoint": "29D6E", "pinYinChars": [{ "char": "SHA1" }], "splitChars": [{ "char": "少魚" }], "weight": "10" }, { "charId": "19094dd2", "unicodeChar": "𩵋", "unicodeCodePoint": "29D4B", "pinYinChars": [{ "char": "YU2" }], "splitChars": [{ "char": "⺈田大" }], "weight": "10" }, { "charId": "c5b268e6", "unicodeChar": "𩮪", "unicodeCodePoint": "29BAA", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "髟罒一心" }], "weight": "10" }, { "charId": "679007e4", "unicodeChar": "𩫇", "unicodeCodePoint": "29AC7", "pinYinChars": [{ "char": "AI3" }], "splitChars": [{ "char": "不高" }], "weight": "10" }, { "charId": "9ebd478c", "unicodeChar": "𩪆", "unicodeCodePoint": "29A86", "pinYinChars": [{ "char": "TI3" }], "splitChars": [{ "char": "骨骨" }], "weight": "10" }, { "charId": "9a5331d5", "unicodeChar": "𩨎", "unicodeCodePoint": "29A0E", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "马 異" }], "weight": "10" }, { "charId": "6f4d91ed", "unicodeChar": "𩨄", "unicodeCodePoint": "29A04", "pinYinChars": [{ "char": "SOU1" }], "splitChars": [{ "char": "马叟" }], "weight": "10" }, { "charId": "1edf0d34", "unicodeChar": "𩨂", "unicodeCodePoint": "29A02", "pinYinChars": [{ "char": "CONG1" }], "splitChars": [{ "char": "马总" }], "weight": "10" }, { "charId": "ead371ac", "unicodeChar": "𩨁", "unicodeCodePoint": "29A01", "pinYinChars": [{ "char": "CHUN3" }], "splitChars": [{ "char": "马春" }], "weight": "10" }, { "charId": "e64b2439", "unicodeChar": "𩨀", "unicodeCodePoint": "29A00", "pinYinChars": [{ "char": "GE2" }], "splitChars": [{ "char": "马曷" }], "weight": "10" }, { "charId": "d22fe73b", "unicodeChar": "𩧼", "unicodeCodePoint": "299FC", "pinYinChars": [{ "char": "BEN1" }], "splitChars": [{ "char": "马奔" }], "weight": "10" }, { "charId": "8b2f658c", "unicodeChar": "𩧴", "unicodeCodePoint": "299F4", "pinYinChars": [{ "char": "QUAN1" }], "splitChars": [{ "char": "马全" }], "weight": "10" }, { "charId": "7d3766f4", "unicodeChar": "𩧳", "unicodeCodePoint": "299F3", "pinYinChars": [{ "char": "ZHOU1" }], "splitChars": [{ "char": "马舟" }], "weight": "10" }, { "charId": "11f2197d", "unicodeChar": "𩧲", "unicodeCodePoint": "299F2", "pinYinChars": [{ "char": "DONG4" }], "splitChars": [{ "char": "马同" }], "weight": "10" }, { "charId": "308647d6", "unicodeChar": "𩧰", "unicodeCodePoint": "299F0", "pinYinChars": [{ "char": "HUN2" }], "splitChars": [{ "char": "马军" }], "weight": "10" }, { "charId": "f98fa083", "unicodeChar": "𩧭", "unicodeCodePoint": "299ED", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "马失" }], "weight": "10" }, { "charId": "77f00d09", "unicodeChar": "𩧫", "unicodeCodePoint": "299EB", "pinYinChars": [{ "char": "YANG3" }], "splitChars": [{ "char": "马央" }], "weight": "10" }, { "charId": "c61cee5a", "unicodeChar": "𩧪", "unicodeCodePoint": "299EA", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "马龙" }], "weight": "10" }, { "charId": "f5f7af1d", "unicodeChar": "𩧢", "unicodeCodePoint": "299E2", "pinYinChars": [{ "char": "CHENG3" }], "splitChars": [{ "char": "馬騳" }], "weight": "10" }, { "charId": "8d7ff4c8", "unicodeChar": "𩧂", "unicodeCodePoint": "299C2", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "馬樂" }], "weight": "10" }, { "charId": "bb8772a0", "unicodeChar": "𩦐", "unicodeCodePoint": "29990", "pinYinChars": [{ "char": "SHAN4" }], "splitChars": [{ "char": "馬善" }], "weight": "10" }, { "charId": "e7c98a5e", "unicodeChar": "𩥪", "unicodeCodePoint": "2996A", "pinYinChars": [{ "char": "馬 夆" }], "splitChars": [], "weight": "10" }, { "charId": "113a77c0", "unicodeChar": "𩤮", "unicodeCodePoint": "2992E", "pinYinChars": [{ "char": "wei3" }], "splitChars": [{ "char": "馬 韋" }], "weight": "10" }, { "charId": "ab208242", "unicodeChar": "𩤅", "unicodeCodePoint": "29905", "pinYinChars": [{ "char": "ju4" }], "splitChars": [{ "char": "馬 居" }], "weight": "10" }, { "charId": "1d9d9a18", "unicodeChar": "𩣑", "unicodeCodePoint": "298D1", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "馬安" }], "weight": "10" }, { "charId": "5b6f973f", "unicodeChar": "𩣌", "unicodeCodePoint": "298CC", "pinYinChars": [{ "char": "QU1" }], "splitChars": [{ "char": "馬业馬丱一" }], "weight": "10" }, { "charId": "11550dd9", "unicodeChar": "𩣆", "unicodeCodePoint": "298C6", "pinYinChars": [{ "char": "馬羊" }], "splitChars": [], "weight": "10" }, { "charId": "eea600ae", "unicodeChar": "𩢤", "unicodeCodePoint": "298A4", "pinYinChars": [{ "char": "馬 玉" }], "splitChars": [], "weight": "10" }, { "charId": "e36dccda", "unicodeChar": "𩡐", "unicodeCodePoint": "29850", "pinYinChars": [{ "char": "XIANG1" }], "splitChars": [{ "char": "香香" }], "weight": "10" }, { "charId": "da6ee34c", "unicodeChar": "𩡄", "unicodeCodePoint": "29844", "pinYinChars": [{ "char": "TAN2" }], "splitChars": [{ "char": "香禾" }], "weight": "10" }, { "charId": "32ef77b4", "unicodeChar": "𩞦", "unicodeCodePoint": "297A6", "pinYinChars": [{ "char": "CHENG1" }], "splitChars": [{ "char": "飠掌" }], "weight": "10" }, { "charId": "c239ea15", "unicodeChar": "𩝱", "unicodeCodePoint": "29771", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "食 益" }], "weight": "10" }, { "charId": "fb1ef091", "unicodeChar": "𩙪", "unicodeCodePoint": "2966A", "pinYinChars": [{ "char": "BIAO1" }], "splitChars": [{ "char": "风炎" }], "weight": "10" }, { "charId": "d01f3558", "unicodeChar": "𩙦", "unicodeCodePoint": "29666", "pinYinChars": [{ "char": "BO2" }], "splitChars": [{ "char": "风白" }], "weight": "10" }, { "charId": "190167e3", "unicodeChar": "𩗹", "unicodeCodePoint": "295F9", "pinYinChars": [{ "char": "biao1" }], "splitChars": [{ "char": "炎 風" }], "weight": "10" }, { "charId": "a5ca3932", "unicodeChar": "𩖧", "unicodeCodePoint": "295A7", "pinYinChars": [{ "char": "BIAO1" }], "splitChars": [{ "char": "風火" }], "weight": "10" }, { "charId": "7dd31819", "unicodeChar": "𩖢", "unicodeCodePoint": "295A2", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "風厷" }], "weight": "10" }, { "charId": "dd8f49cd", "unicodeChar": "𩖖", "unicodeCodePoint": "29596", "pinYinChars": [{ "char": "TAN2" }], "splitChars": [{ "char": "炎页" }], "weight": "10" }, { "charId": "c7d0eaf4", "unicodeChar": "𩖏", "unicodeCodePoint": "2958F", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "頁𩔊" }], "weight": "10" }, { "charId": "ccf821f6", "unicodeChar": "𩕟", "unicodeCodePoint": "2955F", "pinYinChars": [{ "char": "E4" }], "splitChars": [{ "char": "業頁" }], "weight": "10" }, { "charId": "2516ef9f", "unicodeChar": "𩔗", "unicodeCodePoint": "29517", "pinYinChars": [{ "char": "LEI4" }], "splitChars": [{ "char": "娄頁" }], "weight": "10" }, { "charId": "699c2382", "unicodeChar": "𩓐", "unicodeCodePoint": "294D0", "pinYinChars": [{ "char": "BO2" }], "splitChars": [{ "char": "孛頁" }], "weight": "10" }, { "charId": "5ee75f75", "unicodeChar": "𩓁", "unicodeCodePoint": "294C1", "pinYinChars": [{ "char": "AO4" }], "splitChars": [{ "char": "𫠤頁土方頁" }], "weight": "10" }, { "charId": "d8324ff9", "unicodeChar": "𩒗", "unicodeCodePoint": "29497", "pinYinChars": [{ "char": "DONG3" }], "splitChars": [{ "char": "同頁" }], "weight": "10" }, { "charId": "1810f541", "unicodeChar": "𩐳", "unicodeCodePoint": "29433", "pinYinChars": [{ "char": "yun4" }], "splitChars": [{ "char": "音 頁" }], "weight": "10" }, { "charId": "b00d9123", "unicodeChar": "𩎸", "unicodeCodePoint": "293B8", "pinYinChars": [{ "char": "QUAN4" }], "splitChars": [{ "char": "韋卷" }], "weight": "10" }, { "charId": "5a112814", "unicodeChar": "𩎣", "unicodeCodePoint": "293A3", "pinYinChars": [{ "char": "TAO2" }], "splitChars": [{ "char": "韋召" }], "weight": "10" }, { "charId": "a505a2b5", "unicodeChar": "𩋾", "unicodeCodePoint": "292FE", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "革韋" }], "weight": "10" }, { "charId": "03827e8a", "unicodeChar": "𩈳", "unicodeCodePoint": "29233", "pinYinChars": [{ "char": "MIAN3" }], "splitChars": [{ "char": "面面" }], "weight": "10" }, { "charId": "b33f7d93", "unicodeChar": "𩇛", "unicodeCodePoint": "291DB", "pinYinChars": [{ "char": "QING2" }], "splitChars": [{ "char": "生青" }], "weight": "10" }, { "charId": "95246fe0", "unicodeChar": "𩇙", "unicodeCodePoint": "291D9", "pinYinChars": [{ "char": "ling2" }], "splitChars": [{ "char": "青 令" }], "weight": "10" }, { "charId": "f3b9241b", "unicodeChar": "𩅣", "unicodeCodePoint": "29163", "pinYinChars": [{ "char": "DUI4" }], "splitChars": [{ "char": "雲云云" }], "weight": "10" }, { "charId": "2e807f22", "unicodeChar": "𩄄", "unicodeCodePoint": "29104", "pinYinChars": [{ "char": "JI4" }], "splitChars": [{ "char": "雨春" }], "weight": "10" }, { "charId": "f0da6c04", "unicodeChar": "𩂰", "unicodeCodePoint": "290B0", "pinYinChars": [{ "char": "雨 如" }], "splitChars": [], "weight": "10" }, { "charId": "c120d5df", "unicodeChar": "𩂮", "unicodeCodePoint": "290AE", "pinYinChars": [{ "char": "mi3" }], "splitChars": [{ "char": "雨米" }], "weight": "10" }, { "charId": "d471fd5d", "unicodeChar": "𩂉", "unicodeCodePoint": "29089", "pinYinChars": [{ "char": "XU1" }], "splitChars": [{ "char": "雨天" }], "weight": "10" }, { "charId": "1812edf9", "unicodeChar": "𩁻", "unicodeCodePoint": "2907B", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "雨女" }], "weight": "10" }, { "charId": "0025e8a5", "unicodeChar": "𩁸", "unicodeCodePoint": "29078", "pinYinChars": [{ "char": "ji1" }], "splitChars": [{ "char": "雨 几" }], "weight": "10" }, { "charId": "82f249d4", "unicodeChar": "𨾷", "unicodeCodePoint": "28FB7", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "先隹" }], "weight": "10" }, { "charId": "78a7b825", "unicodeChar": "𨺽", "unicodeCodePoint": "28EBD", "pinYinChars": [{ "char": "DUAN4" }], "splitChars": [{ "char": "阝叚" }], "weight": "10" }, { "charId": "201e44c6", "unicodeChar": "𨺋", "unicodeCodePoint": "28E8B", "pinYinChars": [{ "char": "wan3" }], "splitChars": [{ "char": "阝 宛" }], "weight": "10" }, { "charId": "4cf377bb", "unicodeChar": "𨹫", "unicodeCodePoint": "28E6B", "pinYinChars": [{ "char": "LEI3" }], "splitChars": [{ "char": "阝坐" }], "weight": "10" }, { "charId": "dd0d95aa", "unicodeChar": "𨹂", "unicodeCodePoint": "28E42", "pinYinChars": [{ "char": "GUANG1" }], "splitChars": [{ "char": "阝光" }], "weight": "10" }, { "charId": "13a0bc2f", "unicodeChar": "𨸬", "unicodeCodePoint": "28E2C", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "阝申" }], "weight": "10" }, { "charId": "1566d5ef", "unicodeChar": "𨸖", "unicodeCodePoint": "28E16", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "阝工" }], "weight": "10" }, { "charId": "a95c5d7a", "unicodeChar": "𨸁", "unicodeCodePoint": "28E01", "pinYinChars": [{ "char": "TING3" }], "splitChars": [{ "char": "门亡" }], "weight": "10" }, { "charId": "ca92a4cb", "unicodeChar": "𨱓", "unicodeCodePoint": "28C53", "pinYinChars": [{ "char": "JIAO1" }], "splitChars": [{ "char": "钅焦" }], "weight": "10" }, { "charId": "d8150258", "unicodeChar": "𨱍", "unicodeCodePoint": "28C4D", "pinYinChars": [{ "char": "LUO3" }], "splitChars": [{ "char": "钅郎" }], "weight": "10" }, { "charId": "3414249e", "unicodeChar": "𨱋", "unicodeCodePoint": "28C4B", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "钅夌" }], "weight": "10" }, { "charId": "b48d0557", "unicodeChar": "𨱉", "unicodeCodePoint": "28C49", "pinYinChars": [{ "char": "LIANG4" }], "splitChars": [{ "char": "钅京" }], "weight": "10" }, { "charId": "788af2e8", "unicodeChar": "𨱆", "unicodeCodePoint": "28C46", "pinYinChars": [{ "char": "wu4" }], "splitChars": [{ "char": "钅 戊" }], "weight": "10" }, { "charId": "a397e2c9", "unicodeChar": "𨱅", "unicodeCodePoint": "28C45", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [{ "char": "钅㐱" }], "weight": "10" }, { "charId": "be9b69f3", "unicodeChar": "𨰦", "unicodeCodePoint": "28C26", "pinYinChars": [{ "char": "BAO3" }], "splitChars": [{ "char": "金寳" }], "weight": "10" }, { "charId": "8b86da92", "unicodeChar": "𨫼", "unicodeCodePoint": "28AFC", "pinYinChars": [{ "char": "AO4" }], "splitChars": [{ "char": "金敖" }], "weight": "10" }, { "charId": "24d33dd2", "unicodeChar": "𨫟", "unicodeCodePoint": "28ADF", "pinYinChars": [{ "char": "金 梁" }], "splitChars": [], "weight": "10" }, { "charId": "79fb8456", "unicodeChar": "𨩉", "unicodeCodePoint": "28A49", "pinYinChars": [{ "char": "金 奂" }], "splitChars": [], "weight": "10" }, { "charId": "02c71d7a", "unicodeChar": "𨧿", "unicodeCodePoint": "289FF", "pinYinChars": [{ "char": "ying2" }], "splitChars": [{ "char": "火 金" }], "weight": "10" }, { "charId": "9d77ba9c", "unicodeChar": "𨧸", "unicodeCodePoint": "289F8", "pinYinChars": [{ "char": "pan4" }], "splitChars": [{ "char": "板金" }], "weight": "10" }, { "charId": "16366abc", "unicodeChar": "𨦠", "unicodeCodePoint": "289A0", "pinYinChars": [{ "char": "ZI1" }], "splitChars": [{ "char": "次金" }], "weight": "10" }, { "charId": "3f471af8", "unicodeChar": "𨥽", "unicodeCodePoint": "2897D", "pinYinChars": [{ "char": "xing2" }, { "char": "jian1" }], "splitChars": [{ "char": "金冋" }], "weight": "10" }, { "charId": "c72d1aa2", "unicodeChar": "𨥨", "unicodeCodePoint": "28968", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "金矛" }], "weight": "10" }, { "charId": "a15de9fb", "unicodeChar": "𨥒", "unicodeCodePoint": "28952", "pinYinChars": [{ "char": "JUN1" }], "splitChars": [{ "char": "匀金勻金" }], "weight": "10" }, { "charId": "97dd9eb6", "unicodeChar": "𨤍", "unicodeCodePoint": "2890D", "pinYinChars": [{ "char": "ling2" }], "splitChars": [{ "char": "酉 靈" }], "weight": "10" }, { "charId": "090e5206", "unicodeChar": "𨢤", "unicodeCodePoint": "288A4", "pinYinChars": [{ "char": "HU2" }], "splitChars": [{ "char": "殸酉" }], "weight": "10" }, { "charId": "2aeafc8e", "unicodeChar": "𨠫", "unicodeCodePoint": "2882B", "pinYinChars": [{ "char": "酋 尤" }], "splitChars": [], "weight": "10" }, { "charId": "c8dd01c0", "unicodeChar": "𨠠", "unicodeCodePoint": "28820", "pinYinChars": [{ "char": "TI3" }], "splitChars": [{ "char": "酉生" }], "weight": "10" }, { "charId": "59ec5474", "unicodeChar": "𨠄", "unicodeCodePoint": "28804", "pinYinChars": [{ "char": "酉 尤" }], "splitChars": [], "weight": "10" }, { "charId": "28d53293", "unicodeChar": "𨞹", "unicodeCodePoint": "287B9", "pinYinChars": [{ "char": "BIN1" }], "splitChars": [{ "char": "𧇃阝" }], "weight": "10" }, { "charId": "9732508a", "unicodeChar": "𨝗", "unicodeCodePoint": "28757", "pinYinChars": [{ "char": "SHANG1" }], "splitChars": [{ "char": "商阝" }], "weight": "10" }, { "charId": "9b2e761c", "unicodeChar": "𨛁", "unicodeCodePoint": "286C1", "pinYinChars": [{ "char": "BANG1" }], "splitChars": [{ "char": "羊阝" }], "weight": "10" }, { "charId": "c7e00f7f", "unicodeChar": "𨚓", "unicodeCodePoint": "28693", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "弗阝" }], "weight": "10" }, { "charId": "66cd2614", "unicodeChar": "𨗄", "unicodeCodePoint": "285C4", "pinYinChars": [{ "char": "LIN4" }], "splitChars": [{ "char": "辶焱" }], "weight": "10" }, { "charId": "ab6922f9", "unicodeChar": "𨖴", "unicodeCodePoint": "285B4", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "辶無" }], "weight": "10" }, { "charId": "f76531ee", "unicodeChar": "𨕱", "unicodeCodePoint": "28571", "pinYinChars": [{ "char": "feng1" }], "splitChars": [{ "char": "辶 峯" }], "weight": "10" }, { "charId": "9cc8aa27", "unicodeChar": "𨕅", "unicodeCodePoint": "28545", "pinYinChars": [{ "char": "yin1" }], "splitChars": [{ "char": "辶 土" }], "weight": "10" }, { "charId": "0d195ef5", "unicodeChar": "𨔝", "unicodeCodePoint": "2851D", "pinYinChars": [{ "char": "DONG4" }], "splitChars": [{ "char": "辶重" }], "weight": "10" }, { "charId": "a7838504", "unicodeChar": "𨔛", "unicodeCodePoint": "2851B", "pinYinChars": [{ "char": "TI1" }], "splitChars": [{ "char": "辶虎" }], "weight": "10" }, { "charId": "f39313c0", "unicodeChar": "𨓦", "unicodeCodePoint": "284E6", "pinYinChars": [{ "char": "LI3" }], "splitChars": [{ "char": "辶里" }], "weight": "10" }, { "charId": "6a923067", "unicodeChar": "𨒿", "unicodeCodePoint": "284BF", "pinYinChars": [{ "char": "QIAN1" }], "splitChars": [{ "char": "辶覀" }], "weight": "10" }, { "charId": "fd44eaf0", "unicodeChar": "𨒗", "unicodeCodePoint": "28497", "pinYinChars": [{ "char": "yong4" }], "splitChars": [{ "char": "辶用" }], "weight": "10" }, { "charId": "52d45145", "unicodeChar": "𨑸", "unicodeCodePoint": "28478", "pinYinChars": [{ "char": "ER3" }], "splitChars": [{ "char": "辶介" }], "weight": "10" }, { "charId": "73c4df49", "unicodeChar": "𨑳", "unicodeCodePoint": "28473", "pinYinChars": [{ "char": "wang4" }, { "char": "kuang1" }, { "char": "ting2" }], "splitChars": [{ "char": "辶 壬" }], "weight": "10" }, { "charId": "5914d3c0", "unicodeChar": "𨑧", "unicodeCodePoint": "28467", "pinYinChars": [{ "char": "TUI4" }], "splitChars": [{ "char": "辶内辶內" }], "weight": "10" }, { "charId": "a9bbf2f7", "unicodeChar": "𨑙", "unicodeCodePoint": "28459", "pinYinChars": [{ "char": "fan2" }], "splitChars": [{ "char": "辶凡" }], "weight": "10" }, { "charId": "6d0a624d", "unicodeChar": "𨑒", "unicodeCodePoint": "28452", "pinYinChars": [{ "char": "TU2" }], "splitChars": [{ "char": "辶土" }], "weight": "10" }, { "charId": "1f836aed", "unicodeChar": "𨑍", "unicodeCodePoint": "2844D", "pinYinChars": [{ "char": "GUI3" }], "splitChars": [{ "char": "辶九" }], "weight": "10" }, { "charId": "a78ddd43", "unicodeChar": "𨐚", "unicodeCodePoint": "2841A", "pinYinChars": [{ "char": "qun2" }], "splitChars": [{ "char": "君 辛" }], "weight": "10" }, { "charId": "7a9e6bdf", "unicodeChar": "𨐇", "unicodeCodePoint": "28407", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "车龙" }], "weight": "10" }, { "charId": "5a401b86", "unicodeChar": "𨉣", "unicodeCodePoint": "28263", "pinYinChars": [{ "char": "HA1" }], "splitChars": [{ "char": "身叚" }], "weight": "10" }, { "charId": "2181692d", "unicodeChar": "𨈒", "unicodeCodePoint": "28212", "pinYinChars": [{ "char": "身卜" }], "splitChars": [], "weight": "10" }, { "charId": "ecade918", "unicodeChar": "𨆢", "unicodeCodePoint": "281A2", "pinYinChars": [{ "char": "足 雷" }], "splitChars": [], "weight": "10" }, { "charId": "5aa74b32", "unicodeChar": "𨂂", "unicodeCodePoint": "28082", "pinYinChars": [{ "char": "ZHI2" }], "splitChars": [{ "char": "𧾷炙" }], "weight": "10" }, { "charId": "d44a983a", "unicodeChar": "𨀍", "unicodeCodePoint": "2800D", "pinYinChars": [{ "char": "YONG1" }, { "char": "LA2" }], "splitChars": [{ "char": "𧾷用" }], "weight": "10" }, { "charId": "c4e8c9a5", "unicodeChar": "𨀁", "unicodeCodePoint": "28001", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "𧾷龙" }], "weight": "10" }, { "charId": "b8c14d36", "unicodeChar": "𧿬", "unicodeCodePoint": "27FEC", "pinYinChars": [{ "char": "dun1" }], "splitChars": [{ "char": "𧾷屯" }], "weight": "10" }, { "charId": "39657892", "unicodeChar": "𧿛", "unicodeCodePoint": "27FDB", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "𧾷从" }], "weight": "10" }, { "charId": "3c49d661", "unicodeChar": "𧿈", "unicodeCodePoint": "27FC8", "pinYinChars": [{ "char": "KUANG4" }], "splitChars": [{ "char": "𧾷广" }], "weight": "10" }, { "charId": "05486ec3", "unicodeChar": "𧽘", "unicodeCodePoint": "27F58", "pinYinChars": [{ "char": "ru4" }], "splitChars": [{ "char": "走 辱" }], "weight": "10" }, { "charId": "19015dad", "unicodeChar": "𧻉", "unicodeCodePoint": "27EC9", "pinYinChars": [{ "char": "you4" }], "splitChars": [{ "char": "走 由" }], "weight": "10" }, { "charId": "ea75741e", "unicodeChar": "𧺴", "unicodeCodePoint": "27EB4", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "走午" }], "weight": "10" }, { "charId": "d9b39aac", "unicodeChar": "𧺌", "unicodeCodePoint": "27E8C", "pinYinChars": [{ "char": "ru4" }], "splitChars": [{ "char": "走入" }], "weight": "10" }, { "charId": "b8335ea4", "unicodeChar": "𧹜", "unicodeCodePoint": "27E5C", "pinYinChars": [{ "char": "nan3" }], "splitChars": [{ "char": "赤 及" }], "weight": "10" }, { "charId": "dcb3973c", "unicodeChar": "𧹗", "unicodeCodePoint": "27E57", "pinYinChars": [{ "char": "WAN4" }], "splitChars": [{ "char": "贝患" }], "weight": "10" }, { "charId": "1e951de1", "unicodeChar": "𧹒", "unicodeCodePoint": "27E52", "pinYinChars": [{ "char": "MAAI5" }], "splitChars": [{ "char": "罒贝" }], "weight": "10" }, { "charId": "3bb6379e", "unicodeChar": "𧸩", "unicodeCodePoint": "27E29", "pinYinChars": [{ "char": "XUN4" }], "splitChars": [{ "char": "貝𥈠" }], "weight": "10" }, { "charId": "c988aec4", "unicodeChar": "𧵏", "unicodeCodePoint": "27D4F", "pinYinChars": [{ "char": "SHAN3" }], "splitChars": [{ "char": "外貝" }], "weight": "10" }, { "charId": "b51ca582", "unicodeChar": "𧴭", "unicodeCodePoint": "27D2D", "pinYinChars": [{ "char": "SHAN3" }], "splitChars": [{ "char": "彡貝" }], "weight": "10" }, { "charId": "9e43d82d", "unicodeChar": "𧳓", "unicodeCodePoint": "27CD3", "pinYinChars": [{ "char": "mao4" }, { "char": "lang2" }], "splitChars": [{ "char": "豸良" }], "weight": "10" }, { "charId": "5cbf9e8f", "unicodeChar": "𧲣", "unicodeCodePoint": "27CA3", "pinYinChars": [{ "char": "cai2" }], "splitChars": [{ "char": "豸寸" }], "weight": "10" }, { "charId": "1e9d5e35", "unicodeChar": "𧯸", "unicodeCodePoint": "27BF8", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "壹殳" }], "weight": "10" }, { "charId": "6d9fb292", "unicodeChar": "𧯙", "unicodeCodePoint": "27BD9", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "谷靈" }], "weight": "10" }, { "charId": "b9629b59", "unicodeChar": "𧮲", "unicodeCodePoint": "27BB2", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "⺊冖谷" }], "weight": "10" }, { "charId": "bec25a7e", "unicodeChar": "𧮢", "unicodeCodePoint": "27BA2", "pinYinChars": [{ "char": "LEI3" }], "splitChars": [{ "char": "言纍" }], "weight": "10" }, { "charId": "f90b9d3b", "unicodeChar": "𧭛", "unicodeCodePoint": "27B5B", "pinYinChars": [{ "char": "TA4" }], "splitChars": [{ "char": "言誩" }], "weight": "10" }, { "charId": "6c7f482b", "unicodeChar": "𧭙", "unicodeCodePoint": "27B59", "pinYinChars": [{ "char": "meng2" }], "splitChars": [{ "char": "言 豕" }], "weight": "10" }, { "charId": "0b80636e", "unicodeChar": "𧬸", "unicodeCodePoint": "27B38", "pinYinChars": [{ "char": "言 誊" }], "splitChars": [], "weight": "10" }, { "charId": "3e07c573", "unicodeChar": "𧬤", "unicodeCodePoint": "27B24", "pinYinChars": [{ "char": "ZHONG4" }], "splitChars": [{ "char": "言童" }], "weight": "10" }, { "charId": "05c911af", "unicodeChar": "𧬁", "unicodeCodePoint": "27B01", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "言臯" }], "weight": "10" }, { "charId": "8e74d3ff", "unicodeChar": "𧫦", "unicodeCodePoint": "27AE6", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "殹言" }], "weight": "10" }, { "charId": "5a422eb2", "unicodeChar": "𧫙", "unicodeCodePoint": "27AD9", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "言竟" }], "weight": "10" }, { "charId": "cff09d2d", "unicodeChar": "𧪽", "unicodeCodePoint": "27ABD", "pinYinChars": [{ "char": "言 晋" }], "splitChars": [], "weight": "10" }, { "charId": "9d029687", "unicodeChar": "𧪼", "unicodeCodePoint": "27ABC", "pinYinChars": [{ "char": "yun4" }], "splitChars": [{ "char": "言員" }], "weight": "10" }, { "charId": "536a829f", "unicodeChar": "𧪙", "unicodeCodePoint": "27A99", "pinYinChars": [{ "char": "AN2" }], "splitChars": [{ "char": "言峲" }], "weight": "10" }, { "charId": "e475f5a0", "unicodeChar": "𧪏", "unicodeCodePoint": "27A8F", "pinYinChars": [{ "char": "wei1" }], "splitChars": [{ "char": "言 畏" }], "weight": "10" }, { "charId": "a89cd78a", "unicodeChar": "𧪍", "unicodeCodePoint": "27A8D", "pinYinChars": [{ "char": "wen1" }], "splitChars": [{ "char": "言昷" }], "weight": "10" }, { "charId": "d0b5a717", "unicodeChar": "𧪄", "unicodeCodePoint": "27A84", "pinYinChars": [{ "char": "XUN4" }], "splitChars": [{ "char": "言信" }], "weight": "10" }, { "charId": "e5f18c7d", "unicodeChar": "𧧹", "unicodeCodePoint": "279F9", "pinYinChars": [{ "char": "XI4" }], "splitChars": [{ "char": "亻只言" }], "weight": "10" }, { "charId": "f64e21fa", "unicodeChar": "𧦬", "unicodeCodePoint": "279AC", "pinYinChars": [{ "char": "BIAN4" }], "splitChars": [{ "char": "工几言" }], "weight": "10" }, { "charId": "1b73c51e", "unicodeChar": "𧦥", "unicodeCodePoint": "279A5", "pinYinChars": [{ "char": "MOU2" }], "splitChars": [{ "char": "母言" }], "weight": "10" }, { "charId": "4e51fbbc", "unicodeChar": "𧦉", "unicodeCodePoint": "27989", "pinYinChars": [{ "char": "gai4" }], "splitChars": [{ "char": "言 丐" }], "weight": "10" }, { "charId": "4332ef2f", "unicodeChar": "𧥿", "unicodeCodePoint": "2797F", "pinYinChars": [{ "char": "XUN4" }], "splitChars": [{ "char": "水言" }], "weight": "10" }, { "charId": "b04ec1fa", "unicodeChar": "𧤤", "unicodeCodePoint": "27924", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "角隽" }], "weight": "10" }, { "charId": "a0dd6c21", "unicodeChar": "𧣾", "unicodeCodePoint": "278FE", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "角虎" }], "weight": "10" }, { "charId": "817348ee", "unicodeChar": "𧢌", "unicodeCodePoint": "2788C", "pinYinChars": [{ "char": "GAO1" }], "splitChars": [{ "char": "臯見" }], "weight": "10" }, { "charId": "e6887cfe", "unicodeChar": "𧟪", "unicodeCodePoint": "277EA", "pinYinChars": [{ "char": "ZHEN1" }], "splitChars": [{ "char": "覀玉西玉" }], "weight": "10" }, { "charId": "cd02800e", "unicodeChar": "𧟑", "unicodeCodePoint": "277D1", "pinYinChars": [{ "char": "QIAN1" }], "splitChars": [{ "char": "衤騫" }], "weight": "10" }, { "charId": "08d0e640", "unicodeChar": "𧝈", "unicodeCodePoint": "27748", "pinYinChars": [{ "char": "JIAO3" }], "splitChars": [{ "char": "衤焦" }], "weight": "10" }, { "charId": "e85e0221", "unicodeChar": "𧜖", "unicodeCodePoint": "27716", "pinYinChars": [{ "char": "chan3" }], "splitChars": [{ "char": "衤真" }], "weight": "10" }, { "charId": "c3f9fc71", "unicodeChar": "𧜀", "unicodeCodePoint": "27700", "pinYinChars": [{ "char": "MI4" }], "splitChars": [{ "char": "衤冥" }], "weight": "10" }, { "charId": "e925762b", "unicodeChar": "𧛱", "unicodeCodePoint": "276F1", "pinYinChars": [{ "char": "bao1" }], "splitChars": [{ "char": "保衣" }], "weight": "10" }, { "charId": "003d79d3", "unicodeChar": "𧛑", "unicodeCodePoint": "276D1", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "衤垔" }], "weight": "10" }, { "charId": "c5b1c9e4", "unicodeChar": "𧚮", "unicodeCodePoint": "276AE", "pinYinChars": [{ "char": "DIAO3" }], "splitChars": [{ "char": "衤隹" }], "weight": "10" }, { "charId": "0bd3c4e7", "unicodeChar": "𧚥", "unicodeCodePoint": "276A5", "pinYinChars": [{ "char": "CUI4" }], "splitChars": [{ "char": "衤取" }], "weight": "10" }, { "charId": "5b8b1eef", "unicodeChar": "𧚄", "unicodeCodePoint": "27684", "pinYinChars": [{ "char": "E2" }], "splitChars": [{ "char": "衤我" }], "weight": "10" }, { "charId": "912453c6", "unicodeChar": "𧙿", "unicodeCodePoint": "2767F", "pinYinChars": [{ "char": "lv3" }, { "char": "yi1" }], "splitChars": [{ "char": "衤衣" }], "weight": "10" }, { "charId": "d9eae094", "unicodeChar": "𧙪", "unicodeCodePoint": "2766A", "pinYinChars": [{ "char": "HUAI2" }], "splitChars": [{ "char": "㐭𧘇" }], "weight": "10" }, { "charId": "e8abc3ac", "unicodeChar": "𧙟", "unicodeCodePoint": "2765F", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "衤曳" }], "weight": "10" }, { "charId": "c2762f3f", "unicodeChar": "𧙗", "unicodeCodePoint": "27657", "pinYinChars": [{ "char": "tuo1" }], "splitChars": [{ "char": "衤右" }], "weight": "10" }, { "charId": "d30d9643", "unicodeChar": "𧙓", "unicodeCodePoint": "27653", "pinYinChars": [{ "char": "zuo4" }], "splitChars": [{ "char": "衤乍" }], "weight": "10" }, { "charId": "b71322f4", "unicodeChar": "𧘣", "unicodeCodePoint": "27623", "pinYinChars": [{ "char": "ZHU1" }], "splitChars": [{ "char": "衤殳" }], "weight": "10" }, { "charId": "7956a532", "unicodeChar": "𧘌", "unicodeCodePoint": "2760C", "pinYinChars": [{ "char": "衤 乃" }], "splitChars": [], "weight": "10" }, { "charId": "997e8f91", "unicodeChar": "𧘋", "unicodeCodePoint": "2760B", "pinYinChars": [{ "char": "PAN4" }], "splitChars": [{ "char": "衤八" }], "weight": "10" }, { "charId": "2f08c8a1", "unicodeChar": "𧗪", "unicodeCodePoint": "275EA", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "征亍" }], "weight": "10" }, { "charId": "dba36dfc", "unicodeChar": "𧗤", "unicodeCodePoint": "275E4", "pinYinChars": [{ "char": "kan4" }], "splitChars": [{ "char": "行 千" }], "weight": "10" }, { "charId": "9d6e8e90", "unicodeChar": "𧗝", "unicodeCodePoint": "275DD", "pinYinChars": [{ "char": "GUI3" }], "splitChars": [{ "char": "彳九亍" }], "weight": "10" }, { "charId": "d2fd12ce", "unicodeChar": "𧒌", "unicodeCodePoint": "2748C", "pinYinChars": [{ "char": "虫路" }], "splitChars": [], "weight": "10" }, { "charId": "0e02d532", "unicodeChar": "𧐡", "unicodeCodePoint": "27421", "pinYinChars": [{ "char": "hu2" }, { "char": "ao2" }], "splitChars": [{ "char": "殸虫" }], "weight": "10" }, { "charId": "3858bceb", "unicodeChar": "𧋨", "unicodeCodePoint": "272E8", "pinYinChars": [{ "char": "tu2" }], "splitChars": [{ "char": "虫走" }], "weight": "10" }, { "charId": "12ec84eb", "unicodeChar": "𧋄", "unicodeCodePoint": "272C4", "pinYinChars": [{ "char": "qiong2" }], "splitChars": [{ "char": "虫共" }], "weight": "10" }, { "charId": "e77751cf", "unicodeChar": "𧊐", "unicodeCodePoint": "27290", "pinYinChars": [{ "char": "LV4" }], "splitChars": [{ "char": "虫聿" }], "weight": "10" }, { "charId": "f8f5b4ad", "unicodeChar": "𧉼", "unicodeCodePoint": "2727C", "pinYinChars": [{ "char": "li4" }], "splitChars": [{ "char": "虫立" }], "weight": "10" }, { "charId": "eafa00ec", "unicodeChar": "𧈹", "unicodeCodePoint": "27239", "pinYinChars": [{ "char": "ZAO3" }], "splitChars": [{ "char": "大虫" }], "weight": "10" }, { "charId": "8323333a", "unicodeChar": "𧈳", "unicodeCodePoint": "27233", "pinYinChars": [{ "char": "yin3" }], "splitChars": [{ "char": "虫刃" }], "weight": "10" }, { "charId": "7b7108a1", "unicodeChar": "𧈮", "unicodeCodePoint": "2722E", "pinYinChars": [{ "char": "YUAN2" }], "splitChars": [{ "char": "虫丸" }], "weight": "10" }, { "charId": "6793c17c", "unicodeChar": "𧈫", "unicodeCodePoint": "2722B", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "工虫" }], "weight": "10" }, { "charId": "e0af74a3", "unicodeChar": "𧅥", "unicodeCodePoint": "27165", "pinYinChars": [{ "char": "艹 馨" }], "splitChars": [], "weight": "10" }, { "charId": "6c2c2d34", "unicodeChar": "𧄧", "unicodeCodePoint": "27127", "pinYinChars": [{ "char": "yun4" }], "splitChars": [{ "char": "艹 昷" }], "weight": "10" }, { "charId": "c9cc4600", "unicodeChar": "𧄦", "unicodeCodePoint": "27126", "pinYinChars": [{ "char": "fu4" }], "splitChars": [{ "char": "艹 馥" }], "weight": "10" }, { "charId": "39869d85", "unicodeChar": "𧄉", "unicodeCodePoint": "27109", "pinYinChars": [{ "char": "zong3" }], "splitChars": [{ "char": "艹 总" }], "weight": "10" }, { "charId": "8a64e447", "unicodeChar": "𧃲", "unicodeCodePoint": "270F2", "pinYinChars": [{ "char": "MI2" }], "splitChars": [{ "char": "艹糜" }], "weight": "10" }, { "charId": "a236b568", "unicodeChar": "𧃮", "unicodeCodePoint": "270EE", "pinYinChars": [{ "char": "LIN2" }], "splitChars": [{ "char": "艹燐" }], "weight": "10" }, { "charId": "ebea3606", "unicodeChar": "𧂮", "unicodeCodePoint": "270AE", "pinYinChars": [{ "char": "艹 静" }], "splitChars": [], "weight": "10" }, { "charId": "bb0784df", "unicodeChar": "𧁎", "unicodeCodePoint": "2704E", "pinYinChars": [{ "char": "KUI2" }], "splitChars": [{ "char": "䒤冖政" }], "weight": "10" }, { "charId": "04f976c2", "unicodeChar": "𧁈", "unicodeCodePoint": "27048", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "艹槷" }], "weight": "10" }, { "charId": "e33b800b", "unicodeChar": "𧀒", "unicodeCodePoint": "27012", "pinYinChars": [{ "char": "艹嫩" }], "splitChars": [], "weight": "10" }, { "charId": "94b065ae", "unicodeChar": "𧀀", "unicodeCodePoint": "27000", "pinYinChars": [{ "char": "yu4" }], "splitChars": [{ "char": "艹 獄" }], "weight": "10" }, { "charId": "4135bccd", "unicodeChar": "𦿰", "unicodeCodePoint": "26FF0", "pinYinChars": [{ "char": "ma3" }], "splitChars": [{ "char": "艹 瑪" }], "weight": "10" }, { "charId": "b59921f3", "unicodeChar": "𦾯", "unicodeCodePoint": "26FAF", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "艹緑艹綠" }], "weight": "10" }, { "charId": "c9f1cb0c", "unicodeChar": "𦾈", "unicodeCodePoint": "26F88", "pinYinChars": [{ "char": "zao3" }], "splitChars": [{ "char": "艹 喿" }], "weight": "10" }, { "charId": "721e1c1e", "unicodeChar": "𦽧", "unicodeCodePoint": "26F67", "pinYinChars": [{ "char": "YOU3" }], "splitChars": [{ "char": "艹䅎" }], "weight": "10" }, { "charId": "6336a6ec", "unicodeChar": "𦼥", "unicodeCodePoint": "26F25", "pinYinChars": [{ "char": "gan4" }], "splitChars": [{ "char": "艹渚" }], "weight": "10" }, { "charId": "0885673d", "unicodeChar": "𦼍", "unicodeCodePoint": "26F0D", "pinYinChars": [{ "char": "GUAN1" }], "splitChars": [{ "char": "艹皖" }], "weight": "10" }, { "charId": "3c79dde8", "unicodeChar": "𦻵", "unicodeCodePoint": "26EF5", "pinYinChars": [{ "char": "qin2" }], "splitChars": [{ "char": "艹 勤" }], "weight": "10" }, { "charId": "a7b5fc3a", "unicodeChar": "𦻳", "unicodeCodePoint": "26EF3", "pinYinChars": [{ "char": "zan1" }], "splitChars": [{ "char": "艹 日" }], "weight": "10" }, { "charId": "cbbe5e4b", "unicodeChar": "𦻘", "unicodeCodePoint": "26ED8", "pinYinChars": [{ "char": "ti4" }], "splitChars": [{ "char": "艹 替" }], "weight": "10" }, { "charId": "49c41a31", "unicodeChar": "𦻕", "unicodeCodePoint": "26ED5", "pinYinChars": [{ "char": "YIN3" }], "splitChars": [{ "char": "艹隐" }], "weight": "10" }, { "charId": "488f1651", "unicodeChar": "𦹷", "unicodeCodePoint": "26E77", "pinYinChars": [{ "char": "bei4" }], "splitChars": [{ "char": "艹培" }], "weight": "10" }, { "charId": "b6d5268f", "unicodeChar": "𦹮", "unicodeCodePoint": "26E6E", "pinYinChars": [{ "char": "cai3" }], "splitChars": [{ "char": "艹 彩" }], "weight": "10" }, { "charId": "c9f7879d", "unicodeChar": "𦹃", "unicodeCodePoint": "26E43", "pinYinChars": [{ "char": "lao4" }, { "char": "lao2" }], "splitChars": [{ "char": "艹 咅" }], "weight": "10" }, { "charId": "8d315c85", "unicodeChar": "𦸒", "unicodeCodePoint": "26E12", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "艹猗" }], "weight": "10" }, { "charId": "080cd1a2", "unicodeChar": "𦷳", "unicodeCodePoint": "26DF3", "pinYinChars": [{ "char": "HU2" }], "splitChars": [{ "char": "艹𧯜" }], "weight": "10" }, { "charId": "0b26e6e6", "unicodeChar": "𦷰", "unicodeCodePoint": "26DF0", "pinYinChars": [{ "char": "fu2" }], "splitChars": [{ "char": "艹 浮" }], "weight": "10" }, { "charId": "81574782", "unicodeChar": "𦷮", "unicodeCodePoint": "26DEE", "pinYinChars": [{ "char": "shu4" }, { "char": "wu2" }, { "char": "yu2" }], "splitChars": [{ "char": "艹悟" }], "weight": "10" }, { "charId": "3ebbb017", "unicodeChar": "𦷛", "unicodeCodePoint": "26DDB", "pinYinChars": [{ "char": "BENG1" }], "splitChars": [{ "char": "艹倗" }], "weight": "10" }, { "charId": "b19cc7b6", "unicodeChar": "𦷂", "unicodeCodePoint": "26DC2", "pinYinChars": [{ "char": "geng1" }], "splitChars": [{ "char": "艹 耕" }], "weight": "10" }, { "charId": "b2a33340", "unicodeChar": "𦶷", "unicodeCodePoint": "26DB7", "pinYinChars": [{ "char": "han2" }], "splitChars": [{ "char": "艹 涵" }], "weight": "10" }, { "charId": "083b4c9b", "unicodeChar": "𦶮", "unicodeCodePoint": "26DAE", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "艹耘" }], "weight": "10" }, { "charId": "73fbf862", "unicodeChar": "𦶦", "unicodeCodePoint": "26DA6", "pinYinChars": [{ "char": "han4" }, { "char": "nan4" }, { "char": "tan" }], "splitChars": [{ "char": "艹 娜" }], "weight": "10" }, { "charId": "6e280987", "unicodeChar": "𦶢", "unicodeCodePoint": "26DA2", "pinYinChars": [{ "char": "jian4" }, { "char": "lan3" }, { "char": "lan4" }], "splitChars": [{ "char": "艹 航" }], "weight": "10" }, { "charId": "715f022d", "unicodeChar": "𦶈", "unicodeCodePoint": "26D88", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "艹耼" }], "weight": "10" }, { "charId": "12829cce", "unicodeChar": "𦵹", "unicodeCodePoint": "26D79", "pinYinChars": [{ "char": "TAN3" }], "splitChars": [{ "char": "艹剡" }], "weight": "10" }, { "charId": "dfc062fd", "unicodeChar": "𦵜", "unicodeCodePoint": "26D5C", "pinYinChars": [{ "char": "sao" }], "splitChars": [{ "char": "艹洒" }], "weight": "10" }, { "charId": "6b38fb6f", "unicodeChar": "𦵑", "unicodeCodePoint": "26D51", "pinYinChars": [{ "char": "JU3" }], "splitChars": [{ "char": "艹𥩞" }], "weight": "10" }, { "charId": "feb77519", "unicodeChar": "𦵁", "unicodeCodePoint": "26D41", "pinYinChars": [{ "char": "yu4" }], "splitChars": [{ "char": "艹郁" }], "weight": "10" }, { "charId": "43890fd3", "unicodeChar": "𦴿", "unicodeCodePoint": "26D3F", "pinYinChars": [{ "char": "ling2" }], "splitChars": [{ "char": "艹 玲" }], "weight": "10" }, { "charId": "0099db7b", "unicodeChar": "𦴤", "unicodeCodePoint": "26D24", "pinYinChars": [{ "char": "sheng" }], "splitChars": [{ "char": "艹 映" }], "weight": "10" }, { "charId": "558f223d", "unicodeChar": "𦴣", "unicodeCodePoint": "26D23", "pinYinChars": [{ "char": "tu" }], "splitChars": [{ "char": "艹 㛄" }], "weight": "10" }, { "charId": "d3111d46", "unicodeChar": "𦴢", "unicodeCodePoint": "26D22", "pinYinChars": [{ "char": "shi" }], "splitChars": [{ "char": "艹 泚" }], "weight": "10" }, { "charId": "f680c017", "unicodeChar": "𦳵", "unicodeCodePoint": "26CF5", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "艹斫" }], "weight": "10" }, { "charId": "8c24df6b", "unicodeChar": "𦳙", "unicodeCodePoint": "26CD9", "pinYinChars": [{ "char": "DAO4" }], "splitChars": [{ "char": "艹致" }], "weight": "10" }, { "charId": "23f5db99", "unicodeChar": "𦲽", "unicodeCodePoint": "26CBD", "pinYinChars": [{ "char": "xin1" }], "splitChars": [{ "char": "艹 欣" }], "weight": "10" }, { "charId": "3ef25432", "unicodeChar": "𦲷", "unicodeCodePoint": "26CB7", "pinYinChars": [{ "char": "li4" }], "splitChars": [{ "char": "艹泣" }], "weight": "10" }, { "charId": "1380c03f", "unicodeChar": "𦲵", "unicodeCodePoint": "26CB5", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "艹征" }], "weight": "10" }, { "charId": "d15983c8", "unicodeChar": "𦲥", "unicodeCodePoint": "26CA5", "pinYinChars": [{ "char": "mao1" }], "splitChars": [{ "char": "艹 由" }], "weight": "10" }, { "charId": "536631c8", "unicodeChar": "𦲂", "unicodeCodePoint": "26C82", "pinYinChars": [{ "char": "zi" }], "splitChars": [{ "char": "艹 勺" }], "weight": "10" }, { "charId": "7e7e19a5", "unicodeChar": "𦲀", "unicodeCodePoint": "26C80", "pinYinChars": [{ "char": "de2" }], "splitChars": [{ "char": "艹 怡" }], "weight": "10" }, { "charId": "039ffa60", "unicodeChar": "𦱍", "unicodeCodePoint": "26C4D", "pinYinChars": [{ "char": "ma2" }], "splitChars": [{ "char": "艹𣏟" }], "weight": "10" }, { "charId": "19c44038", "unicodeChar": "𦰿", "unicodeCodePoint": "26C3F", "pinYinChars": [{ "char": "BENG1" }], "splitChars": [{ "char": "艹侈" }], "weight": "10" }, { "charId": "4fdd04d9", "unicodeChar": "𦰮", "unicodeCodePoint": "26C2E", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "芖包" }], "weight": "10" }, { "charId": "749dbbaf", "unicodeChar": "𦯹", "unicodeCodePoint": "26BF9", "pinYinChars": [{ "char": "qin4" }], "splitChars": [{ "char": "艹 沁" }], "weight": "10" }, { "charId": "2c17af1e", "unicodeChar": "𦮴", "unicodeCodePoint": "26BB4", "pinYinChars": [{ "char": "hua2" }, { "char": "hua4" }], "splitChars": [{ "char": "艹年" }], "weight": "10" }, { "charId": "9a264569", "unicodeChar": "𦮳", "unicodeCodePoint": "26BB3", "pinYinChars": [{ "char": "qi4" }], "splitChars": [{ "char": "艹 企" }], "weight": "10" }, { "charId": "1c3f4bba", "unicodeChar": "𦮝", "unicodeCodePoint": "26B9D", "pinYinChars": [{ "char": "mang2" }], "splitChars": [{ "char": "艹 忙" }], "weight": "10" }, { "charId": "fc755a9b", "unicodeChar": "𦭔", "unicodeCodePoint": "26B54", "pinYinChars": [{ "char": "yong3" }], "splitChars": [{ "char": "艹 永" }], "weight": "10" }, { "charId": "f6f5d499", "unicodeChar": "𦭒", "unicodeCodePoint": "26B52", "pinYinChars": [{ "char": "pang" }], "splitChars": [{ "char": "艹 正" }], "weight": "10" }, { "charId": "ac39cdb9", "unicodeChar": "𦬾", "unicodeCodePoint": "26B3E", "pinYinChars": [{ "char": "JUAN1" }], "splitChars": [{ "char": "艹玄" }], "weight": "10" }, { "charId": "9f5d4e9c", "unicodeChar": "𦬻", "unicodeCodePoint": "26B3B", "pinYinChars": [{ "char": "NA2" }], "splitChars": [{ "char": "艹奴" }], "weight": "10" }, { "charId": "f1a80ef7", "unicodeChar": "𦬸", "unicodeCodePoint": "26B38", "pinYinChars": [{ "char": "ZHU2" }], "splitChars": [{ "char": "艹术艹朮" }], "weight": "10" }, { "charId": "c5046203", "unicodeChar": "𦫽", "unicodeCodePoint": "26AFD", "pinYinChars": [{ "char": "lan2" }], "splitChars": [{ "char": "艹 二" }], "weight": "10" }, { "charId": "8778aed4", "unicodeChar": "𦫼", "unicodeCodePoint": "26AFC", "pinYinChars": [{ "char": "KAI3" }], "splitChars": [{ "char": "艹了" }], "weight": "10" }, { "charId": "05d09d28", "unicodeChar": "𦪋", "unicodeCodePoint": "26A8B", "pinYinChars": [{ "char": "XIU1" }], "splitChars": [{ "char": "舟羞" }], "weight": "10" }, { "charId": "11b28343", "unicodeChar": "𦩊", "unicodeCodePoint": "26A4A", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "舟兒" }], "weight": "10" }, { "charId": "4f35a254", "unicodeChar": "𦨽", "unicodeCodePoint": "26A3D", "pinYinChars": [{ "char": "JIN4" }], "splitChars": [{ "char": "舟岑" }], "weight": "10" }, { "charId": "c970e35a", "unicodeChar": "𦨬", "unicodeCodePoint": "26A2C", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "舟永" }], "weight": "10" }, { "charId": "034d2bae", "unicodeChar": "𦤆", "unicodeCodePoint": "26906", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "自云" }], "weight": "10" }, { "charId": "9781b0b0", "unicodeChar": "𦠛", "unicodeCodePoint": "2681B", "pinYinChars": [{ "char": "ZA1" }], "splitChars": [{ "char": "月替" }], "weight": "10" }, { "charId": "58bb463a", "unicodeChar": "𦝻", "unicodeCodePoint": "2677B", "pinYinChars": [{ "char": "xuan1" }], "splitChars": [{ "char": "月 宣" }], "weight": "10" }, { "charId": "bd6e4561", "unicodeChar": "𦝁", "unicodeCodePoint": "26741", "pinYinChars": [{ "char": "qi2" }], "splitChars": [{ "char": "月 其" }], "weight": "10" }, { "charId": "c6f8fc7c", "unicodeChar": "𦜳", "unicodeCodePoint": "26733", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "月朋" }], "weight": "10" }, { "charId": "8fbefd47", "unicodeChar": "𦛨", "unicodeCodePoint": "266E8", "pinYinChars": [{ "char": "er2" }], "splitChars": [{ "char": "月劳" }], "weight": "10" }, { "charId": "4541632b", "unicodeChar": "𦛜", "unicodeCodePoint": "266DC", "pinYinChars": [{ "char": "HE2" }], "splitChars": [{ "char": "月含⺼含" }], "weight": "10" }, { "charId": "f646d20d", "unicodeChar": "𦚸", "unicodeCodePoint": "266B8", "pinYinChars": [{ "char": "GENG4" }], "splitChars": [{ "char": "月亘⺼亘" }], "weight": "10" }, { "charId": "8671d891", "unicodeChar": "𦚶", "unicodeCodePoint": "266B6", "pinYinChars": [{ "char": "he2" }], "splitChars": [{ "char": "合 月" }], "weight": "10" }, { "charId": "6c41cf5d", "unicodeChar": "𦚭", "unicodeCodePoint": "266AD", "pinYinChars": [{ "char": "JU1" }], "splitChars": [{ "char": "月虫⺼虫" }], "weight": "10" }, { "charId": "81fbee8e", "unicodeChar": "𦚣", "unicodeCodePoint": "266A3", "pinYinChars": [{ "char": "HEN2" }], "splitChars": [{ "char": "月艮⺼艮" }], "weight": "10" }, { "charId": "ff84b392", "unicodeChar": "𦚎", "unicodeCodePoint": "2668E", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "立月立⺼" }], "weight": "10" }, { "charId": "53ac3038", "unicodeChar": "𦙟", "unicodeCodePoint": "2665F", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "文⺝文⺼" }], "weight": "10" }, { "charId": "7e0e5b3a", "unicodeChar": "𦙓", "unicodeCodePoint": "26653", "pinYinChars": [{ "char": "you3" }], "splitChars": [{ "char": "月 友" }], "weight": "10" }, { "charId": "cbd5caa7", "unicodeChar": "𦙅", "unicodeCodePoint": "26645", "pinYinChars": [{ "char": "DU1" }], "splitChars": [{ "char": "月户⺼戶" }], "weight": "10" }, { "charId": "7bf6ad66", "unicodeChar": "𦘭", "unicodeCodePoint": "2662D", "pinYinChars": [{ "char": "DING4" }], "splitChars": [{ "char": "月丁⺼丁" }], "weight": "10" }, { "charId": "0749099d", "unicodeChar": "𦘦", "unicodeCodePoint": "26626", "pinYinChars": [{ "char": "zhao4" }], "splitChars": [{ "char": "启 聿" }], "weight": "10" }, { "charId": "55242ecb", "unicodeChar": "𦖻", "unicodeCodePoint": "265BB", "pinYinChars": [{ "char": "cong1" }], "splitChars": [{ "char": "耳思" }], "weight": "10" }, { "charId": "f28e9f25", "unicodeChar": "𦕃", "unicodeCodePoint": "26543", "pinYinChars": [{ "char": "DAN1" }], "splitChars": [{ "char": "耳丹" }], "weight": "10" }, { "charId": "c89ebe0f", "unicodeChar": "𦔾", "unicodeCodePoint": "2653E", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "耳夫" }], "weight": "10" }, { "charId": "ed3c0fb6", "unicodeChar": "𦔼", "unicodeCodePoint": "2653C", "pinYinChars": [{ "char": "XIE4" }], "splitChars": [{ "char": "耳攴" }], "weight": "10" }, { "charId": "ef067cd1", "unicodeChar": "𦔴", "unicodeCodePoint": "26534", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "人耳" }], "weight": "10" }, { "charId": "87f4e8bc", "unicodeChar": "𦓒", "unicodeCodePoint": "264D2", "pinYinChars": [{ "char": "ER2" }], "splitChars": [{ "char": "火而" }], "weight": "10" }, { "charId": "4d8ede08", "unicodeChar": "𦒎", "unicodeCodePoint": "2648E", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "羽惠" }], "weight": "10" }, { "charId": "fa842fb2", "unicodeChar": "𦑱", "unicodeCodePoint": "26471", "pinYinChars": [{ "char": "ZHAI2" }], "splitChars": [{ "char": "隺羽" }], "weight": "10" }, { "charId": "25661918", "unicodeChar": "𦑕", "unicodeCodePoint": "26455", "pinYinChars": [{ "char": "yu3" }], "splitChars": [{ "char": "羽 金" }], "weight": "10" }, { "charId": "1101b2df", "unicodeChar": "𦑊", "unicodeCodePoint": "2644A", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "羽青" }], "weight": "10" }, { "charId": "88201f2b", "unicodeChar": "𦐼", "unicodeCodePoint": "2643C", "pinYinChars": [{ "char": "CHI1" }], "splitChars": [{ "char": "志羽" }], "weight": "10" }, { "charId": "31ec76ef", "unicodeChar": "𦐒", "unicodeCodePoint": "26412", "pinYinChars": [{ "char": "lian3" }], "splitChars": [{ "char": "羽升" }], "weight": "10" }, { "charId": "87cd6080", "unicodeChar": "𦐐", "unicodeCodePoint": "26410", "pinYinChars": [{ "char": "wen2" }], "splitChars": [{ "char": "羽 文" }], "weight": "10" }, { "charId": "236df4a1", "unicodeChar": "𦐌", "unicodeCodePoint": "2640C", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "羽厷" }], "weight": "10" }, { "charId": "a96040c3", "unicodeChar": "𦏁", "unicodeCodePoint": "263C1", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "𦍌秀戈𦍌亻戈人乃" }], "weight": "10" }, { "charId": "0eaa0344", "unicodeChar": "𦍩", "unicodeCodePoint": "26369", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "羊古" }], "weight": "10" }, { "charId": "f11c5e81", "unicodeChar": "𦍌", "unicodeCodePoint": "2634C", "pinYinChars": [{ "char": "REN4" }], "splitChars": [{ "char": "丷王" }], "weight": "10" }, { "charId": "84f437ec", "unicodeChar": "𦋝", "unicodeCodePoint": "262DD", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "罒紂" }], "weight": "10" }, { "charId": "7f08279c", "unicodeChar": "𦊢", "unicodeCodePoint": "262A2", "pinYinChars": [{ "char": "li4" }], "splitChars": [{ "char": "四 立" }], "weight": "10" }, { "charId": "e52fe82e", "unicodeChar": "𦈠", "unicodeCodePoint": "26220", "pinYinChars": [{ "char": "YIN3" }], "splitChars": [{ "char": "纟㥯" }], "weight": "10" }, { "charId": "032cd4d8", "unicodeChar": "𦈘", "unicodeCodePoint": "26218", "pinYinChars": [{ "char": "DA1" }], "splitChars": [{ "char": "纟荅" }], "weight": "10" }, { "charId": "a6fd01d3", "unicodeChar": "𦈕", "unicodeCodePoint": "26215", "pinYinChars": [{ "char": "TOU2" }], "splitChars": [{ "char": "纟俞" }], "weight": "10" }, { "charId": "60dc8204", "unicodeChar": "𦈎", "unicodeCodePoint": "2620E", "pinYinChars": [{ "char": "CHAN3" }], "splitChars": [{ "char": "纟单" }], "weight": "10" }, { "charId": "562d08fd", "unicodeChar": "𦈌", "unicodeCodePoint": "2620C", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "纟束" }], "weight": "10" }, { "charId": "629e51c5", "unicodeChar": "𦅡", "unicodeCodePoint": "26161", "pinYinChars": [{ "char": "jing3" }], "splitChars": [{ "char": "糹 景" }], "weight": "10" }, { "charId": "42d79561", "unicodeChar": "𦅁", "unicodeCodePoint": "26141", "pinYinChars": [{ "char": "ZHA3" }], "splitChars": [{ "char": "糸奢" }], "weight": "10" }, { "charId": "4ef62e65", "unicodeChar": "𦄙", "unicodeCodePoint": "26119", "pinYinChars": [{ "char": "CI1" }], "splitChars": [{ "char": "糸䇥" }], "weight": "10" }, { "charId": "53dba3e9", "unicodeChar": "𦂱", "unicodeCodePoint": "260B1", "pinYinChars": [{ "char": "feng1" }], "splitChars": [{ "char": "糸風" }], "weight": "10" }, { "charId": "a2a4b431", "unicodeChar": "𦂃", "unicodeCodePoint": "26083", "pinYinChars": [{ "char": "TING1" }], "splitChars": [{ "char": "糸亭" }], "weight": "10" }, { "charId": "7bdf9db1", "unicodeChar": "𦁫", "unicodeCodePoint": "2606B", "pinYinChars": [{ "char": "jin3" }], "splitChars": [{ "char": "取 糸" }], "weight": "10" }, { "charId": "2c858af5", "unicodeChar": "𦀿", "unicodeCodePoint": "2603F", "pinYinChars": [{ "char": "zhi4" }], "splitChars": [{ "char": "糸尾" }], "weight": "10" }, { "charId": "23eab1d7", "unicodeChar": "𦀲", "unicodeCodePoint": "26032", "pinYinChars": [{ "char": "qun2" }], "splitChars": [{ "char": "糹 君" }], "weight": "10" }, { "charId": "24b79cdb", "unicodeChar": "𦀠", "unicodeCodePoint": "26020", "pinYinChars": [{ "char": "LIU2" }], "splitChars": [{ "char": "糸㐬" }], "weight": "10" }, { "charId": "2a196c85", "unicodeChar": "𦀚", "unicodeCodePoint": "2601A", "pinYinChars": [{ "char": "TING1" }], "splitChars": [{ "char": "糸呈" }], "weight": "10" }, { "charId": "446c8333", "unicodeChar": "𥿽", "unicodeCodePoint": "25FFD", "pinYinChars": [{ "char": "an1" }], "splitChars": [{ "char": "糸安" }], "weight": "10" }, { "charId": "1e7635c0", "unicodeChar": "𥿑", "unicodeCodePoint": "25FD1", "pinYinChars": [{ "char": "guan" }, { "char": "lun2" }], "splitChars": [{ "char": "糹 册" }], "weight": "10" }, { "charId": "715f4824", "unicodeChar": "𥺃", "unicodeCodePoint": "25E83", "pinYinChars": [{ "char": "xin" }], "splitChars": [{ "char": "米 志" }], "weight": "10" }, { "charId": "110061dc", "unicodeChar": "𥹀", "unicodeCodePoint": "25E40", "pinYinChars": [{ "char": "cu2" }, { "char": "zu3" }], "splitChars": [{ "char": "米心" }], "weight": "10" }, { "charId": "d7db6996", "unicodeChar": "𥵉", "unicodeCodePoint": "25D49", "pinYinChars": [{ "char": "lei2" }], "splitChars": [{ "char": "竹 雷" }], "weight": "10" }, { "charId": "1cf6f4dd", "unicodeChar": "𥵆", "unicodeCodePoint": "25D46", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "竹 意" }], "weight": "10" }, { "charId": "121614fc", "unicodeChar": "𥱼", "unicodeCodePoint": "25C7C", "pinYinChars": [{ "char": "PAI2" }], "splitChars": [{ "char": "𥫗渒" }], "weight": "10" }, { "charId": "65686547", "unicodeChar": "𥱰", "unicodeCodePoint": "25C70", "pinYinChars": [{ "char": "jie4" }, { "char": "xie4" }], "splitChars": [{ "char": "𥫗徒" }], "weight": "10" }, { "charId": "c7f06f74", "unicodeChar": "𥯐", "unicodeCodePoint": "25BD0", "pinYinChars": [{ "char": "lu4" }], "splitChars": [{ "char": "竹 水" }], "weight": "10" }, { "charId": "a2c3d9e9", "unicodeChar": "𥯀", "unicodeCodePoint": "25BC0", "pinYinChars": [{ "char": "gan4" }], "splitChars": [{ "char": "竹 金" }], "weight": "10" }, { "charId": "4192bfc2", "unicodeChar": "𥮾", "unicodeCodePoint": "25BBE", "pinYinChars": [{ "char": "CEN1" }], "splitChars": [{ "char": "𥫗参" }], "weight": "10" }, { "charId": "4f061019", "unicodeChar": "𥮆", "unicodeCodePoint": "25B86", "pinYinChars": [{ "char": "he2" }], "splitChars": [{ "char": "竹 何" }], "weight": "10" }, { "charId": "a67bab63", "unicodeChar": "𥭨", "unicodeCodePoint": "25B68", "pinYinChars": [{ "char": "GUAN3" }], "splitChars": [{ "char": "𥫗皃" }], "weight": "10" }, { "charId": "23bbdcb6", "unicodeChar": "𥫿", "unicodeCodePoint": "25AFF", "pinYinChars": [{ "char": "hu4" }], "splitChars": [{ "char": "竹 户" }], "weight": "10" }, { "charId": "7f436455", "unicodeChar": "𥫩", "unicodeCodePoint": "25AE9", "pinYinChars": [{ "char": "mang2" }, { "char": "peng2" }, { "char": "pang2" }], "splitChars": [{ "char": "竹 勺" }], "weight": "10" }, { "charId": "b6f5a93a", "unicodeChar": "𥪼", "unicodeCodePoint": "25ABC", "pinYinChars": [{ "char": "JI3" }], "splitChars": [{ "char": "竒竒" }], "weight": "10" }, { "charId": "a63fbb16", "unicodeChar": "𥨣", "unicodeCodePoint": "25A23", "pinYinChars": [{ "char": "jun4" }], "splitChars": [{ "char": "穴 雋" }], "weight": "10" }, { "charId": "3692f3d7", "unicodeChar": "𥦭", "unicodeCodePoint": "259AD", "pinYinChars": [{ "char": "xing4" }], "splitChars": [{ "char": "穴 幸" }], "weight": "10" }, { "charId": "189e548b", "unicodeChar": "𥥷", "unicodeCodePoint": "25977", "pinYinChars": [{ "char": "DOU4" }], "splitChars": [{ "char": "穴豆" }], "weight": "10" }, { "charId": "9d46f8ad", "unicodeChar": "𥥖", "unicodeCodePoint": "25956", "pinYinChars": [{ "char": "huang2" }], "splitChars": [{ "char": "穴 古" }], "weight": "10" }, { "charId": "a9edad24", "unicodeChar": "𥥉", "unicodeCodePoint": "25949", "pinYinChars": [{ "char": "XIU4" }], "splitChars": [{ "char": "穴由" }], "weight": "10" }, { "charId": "a897c05f", "unicodeChar": "𥢗", "unicodeCodePoint": "25897", "pinYinChars": [{ "char": "sheng" }, { "char": "xing4" }], "splitChars": [{ "char": "禾 喜" }], "weight": "10" }, { "charId": "7a64ddda", "unicodeChar": "𥢐", "unicodeCodePoint": "25890", "pinYinChars": [{ "char": "GAO1" }], "splitChars": [{ "char": "禾臯" }], "weight": "10" }, { "charId": "f905ff08", "unicodeChar": "𥡝", "unicodeCodePoint": "2585D", "pinYinChars": [{ "char": "JIAN1" }], "splitChars": [{ "char": "秉秉" }], "weight": "10" }, { "charId": "c217b546", "unicodeChar": "𥡜", "unicodeCodePoint": "2585C", "pinYinChars": [{ "char": "LUO2" }], "splitChars": [{ "char": "禾累" }], "weight": "10" }, { "charId": "223eff5a", "unicodeChar": "𥟢", "unicodeCodePoint": "257E2", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "禾 炎" }], "weight": "10" }, { "charId": "ef107667", "unicodeChar": "𥟏", "unicodeCodePoint": "257CF", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "禾奇" }], "weight": "10" }, { "charId": "f03bb215", "unicodeChar": "𥟀", "unicodeCodePoint": "257C0", "pinYinChars": [{ "char": "LENG2" }], "splitChars": [{ "char": "禾麦" }], "weight": "10" }, { "charId": "a7ed9ce0", "unicodeChar": "𥞈", "unicodeCodePoint": "25788", "pinYinChars": [{ "char": "GAN1" }], "splitChars": [{ "char": "禾 甘" }], "weight": "10" }, { "charId": "7d8bfe1f", "unicodeChar": "𥝲", "unicodeCodePoint": "25772", "pinYinChars": [{ "char": "DUO4" }, { "char": "HUI4" }], "splitChars": [{ "char": "禾 允" }], "weight": "10" }, { "charId": "dc0ecfc8", "unicodeChar": "𥝤", "unicodeCodePoint": "25764", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "禾勿" }], "weight": "10" }, { "charId": "c477b811", "unicodeChar": "𥜥", "unicodeCodePoint": "25725", "pinYinChars": [{ "char": "SI4" }], "splitChars": [{ "char": "示冀" }], "weight": "10" }, { "charId": "c6f04650", "unicodeChar": "𥜔", "unicodeCodePoint": "25714", "pinYinChars": [{ "char": "TIAO1" }], "splitChars": [{ "char": "示翟" }], "weight": "10" }, { "charId": "ce6cc621", "unicodeChar": "𥜇", "unicodeCodePoint": "25707", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "礻 意" }], "weight": "10" }, { "charId": "181e3517", "unicodeChar": "𥛱", "unicodeCodePoint": "256F1", "pinYinChars": [{ "char": "BENG1" }], "splitChars": [{ "char": "彭示" }], "weight": "10" }, { "charId": "4a94e591", "unicodeChar": "𥚺", "unicodeCodePoint": "256BA", "pinYinChars": [{ "char": "JIE1" }], "splitChars": [{ "char": "示皆" }], "weight": "10" }, { "charId": "db1dfcf3", "unicodeChar": "𥚃", "unicodeCodePoint": "25683", "pinYinChars": [{ "char": "LI3" }], "splitChars": [{ "char": "示里" }], "weight": "10" }, { "charId": "8167fc69", "unicodeChar": "𥙷", "unicodeCodePoint": "25677", "pinYinChars": [{ "char": "FU3" }], "splitChars": [{ "char": "示甫" }], "weight": "10" }, { "charId": "7581e565", "unicodeChar": "𥙛", "unicodeCodePoint": "2565B", "pinYinChars": [{ "char": "REN4" }], "splitChars": [{ "char": "示任" }], "weight": "10" }, { "charId": "094fa00e", "unicodeChar": "𥘸", "unicodeCodePoint": "25638", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "示立" }], "weight": "10" }, { "charId": "3701d567", "unicodeChar": "𥘭", "unicodeCodePoint": "2562D", "pinYinChars": [{ "char": "ZHU3" }], "splitChars": [{ "char": "示主" }], "weight": "10" }, { "charId": "f4537faf", "unicodeChar": "𥘟", "unicodeCodePoint": "2561F", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "示云" }], "weight": "10" }, { "charId": "c5d5bd11", "unicodeChar": "𥘞", "unicodeCodePoint": "2561E", "pinYinChars": [{ "char": "JIN" }], "splitChars": [{ "char": "示今" }], "weight": "10" }, { "charId": "907ad158", "unicodeChar": "𥘝", "unicodeCodePoint": "2561D", "pinYinChars": [{ "char": "WANG" }], "splitChars": [{ "char": "礻 冈" }], "weight": "10" }, { "charId": "aeaec432", "unicodeChar": "𥗉", "unicodeCodePoint": "255C9", "pinYinChars": [{ "char": "LEI3" }], "splitChars": [{ "char": "砳砳" }], "weight": "10" }, { "charId": "498ecb89", "unicodeChar": "𥖉", "unicodeCodePoint": "25589", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "石 景" }], "weight": "10" }, { "charId": "e65fc928", "unicodeChar": "𥕤", "unicodeCodePoint": "25564", "pinYinChars": [{ "char": "KE1" }], "splitChars": [{ "char": "石盖" }], "weight": "10" }, { "charId": "1108672c", "unicodeChar": "𥕛", "unicodeCodePoint": "2555B", "pinYinChars": [{ "char": "ME" }], "splitChars": [{ "char": "石 基" }], "weight": "10" }, { "charId": "da548cdb", "unicodeChar": "𥔲", "unicodeCodePoint": "25532", "pinYinChars": [{ "char": "E4" }], "splitChars": [{ "char": "石咢" }], "weight": "10" }, { "charId": "5cacf8ff", "unicodeChar": "𥔩", "unicodeCodePoint": "25529", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "砍石" }], "weight": "10" }, { "charId": "337d4eab", "unicodeChar": "𥔧", "unicodeCodePoint": "25527", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "石重" }], "weight": "10" }, { "charId": "2d58bfbe", "unicodeChar": "𥓵", "unicodeCodePoint": "254F5", "pinYinChars": [{ "char": "QIN2" }], "splitChars": [{ "char": "石底" }], "weight": "10" }, { "charId": "d51b2039", "unicodeChar": "𥓞", "unicodeCodePoint": "254DE", "pinYinChars": [{ "char": "HAN2" }], "splitChars": [{ "char": "石 函" }], "weight": "10" }, { "charId": "9ae95604", "unicodeChar": "𥓙", "unicodeCodePoint": "254D9", "pinYinChars": [{ "char": "NIAN3" }], "splitChars": [{ "char": "林石" }], "weight": "10" }, { "charId": "80d5a14a", "unicodeChar": "𥓏", "unicodeCodePoint": "254CF", "pinYinChars": [{ "char": "DAI4" }], "splitChars": [{ "char": "石隶" }], "weight": "10" }, { "charId": "f745c58c", "unicodeChar": "𥓋", "unicodeCodePoint": "254CB", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "石兒" }], "weight": "10" }, { "charId": "a3fa9aa8", "unicodeChar": "𥒌", "unicodeCodePoint": "2548C", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "石 血" }], "weight": "10" }, { "charId": "cbb2d38d", "unicodeChar": "𥑻", "unicodeCodePoint": "2547B", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "石先" }], "weight": "10" }, { "charId": "bf3472fe", "unicodeChar": "𥑪", "unicodeCodePoint": "2546A", "pinYinChars": [{ "char": "NAO2" }], "splitChars": [{ "char": "石勹𠃊乂" }], "weight": "10" }, { "charId": "818958e5", "unicodeChar": "𥑤", "unicodeCodePoint": "25464", "pinYinChars": [{ "char": "YOU4" }], "splitChars": [{ "char": "石由" }], "weight": "10" }, { "charId": "77514978", "unicodeChar": "𥑍", "unicodeCodePoint": "2544D", "pinYinChars": [{ "char": "PAN2" }], "splitChars": [{ "char": "石半" }], "weight": "10" }, { "charId": "9c5d9a2d", "unicodeChar": "𥑂", "unicodeCodePoint": "25442", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "石支" }], "weight": "10" }, { "charId": "61fe1520", "unicodeChar": "𥑁", "unicodeCodePoint": "25441", "pinYinChars": [{ "char": "BIAN1" }], "splitChars": [{ "char": "石巴" }], "weight": "10" }, { "charId": "691a3eb7", "unicodeChar": "𥐨", "unicodeCodePoint": "25428", "pinYinChars": [{ "char": "TUO2" }], "splitChars": [{ "char": "石也" }], "weight": "10" }, { "charId": "d12f7e5f", "unicodeChar": "𥎸", "unicodeCodePoint": "253B8", "pinYinChars": [{ "char": "QIA4" }], "splitChars": [{ "char": "矢玄" }], "weight": "10" }, { "charId": "586967ad", "unicodeChar": "𥍩", "unicodeCodePoint": "25369", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "矛 同" }], "weight": "10" }, { "charId": "2d502d22", "unicodeChar": "𥍓", "unicodeCodePoint": "25353", "pinYinChars": [{ "char": "KAN4" }], "splitChars": [{ "char": "目嚴" }], "weight": "10" }, { "charId": "386f5ab5", "unicodeChar": "𥌑", "unicodeCodePoint": "25311", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "目 睿" }], "weight": "10" }, { "charId": "2f7788b8", "unicodeChar": "𥈶", "unicodeCodePoint": "25236", "pinYinChars": [{ "char": "DAN4" }], "splitChars": [{ "char": "目南" }], "weight": "10" }, { "charId": "34ba2b40", "unicodeChar": "𥈧", "unicodeCodePoint": "25227", "pinYinChars": [{ "char": "KAN4" }], "splitChars": [{ "char": "目看" }], "weight": "10" }, { "charId": "2740d6cf", "unicodeChar": "𥇷", "unicodeCodePoint": "251F7", "pinYinChars": [{ "char": "YAO3" }], "splitChars": [{ "char": "目岩" }], "weight": "10" }, { "charId": "b4c022c4", "unicodeChar": "𥇶", "unicodeCodePoint": "251F6", "pinYinChars": [{ "char": "HIM" }], "splitChars": [{ "char": "目金" }], "weight": "10" }, { "charId": "e6841844", "unicodeChar": "𥇪", "unicodeCodePoint": "251EA", "pinYinChars": [{ "char": "FEI1" }], "splitChars": [{ "char": "目非" }], "weight": "10" }, { "charId": "166719f6", "unicodeChar": "𥇊", "unicodeCodePoint": "251CA", "pinYinChars": [{ "char": "GUN4" }], "splitChars": [{ "char": "目昆" }], "weight": "10" }, { "charId": "8cab636a", "unicodeChar": "𥅴", "unicodeCodePoint": "25174", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "目夹" }], "weight": "10" }, { "charId": "00cbda8a", "unicodeChar": "𥄨", "unicodeCodePoint": "25128", "pinYinChars": [{ "char": "CHOU3" }], "splitChars": [{ "char": "目丑" }], "weight": "10" }, { "charId": "f90b355d", "unicodeChar": "𥄅", "unicodeCodePoint": "25105", "pinYinChars": [{ "char": "HU4" }], "splitChars": [{ "char": "目户目戶" }], "weight": "10" }, { "charId": "5c8a56ea", "unicodeChar": "𥃻", "unicodeCodePoint": "250FB", "pinYinChars": [{ "char": "SHOU3" }], "splitChars": [{ "char": "小目" }], "weight": "10" }, { "charId": "648585de", "unicodeChar": "𥂩", "unicodeCodePoint": "250A9", "pinYinChars": [{ "char": "GU3" }], "splitChars": [{ "char": "古勹𠙻皿古匋皿" }], "weight": "10" }, { "charId": "6a4b258b", "unicodeChar": "𥁙", "unicodeCodePoint": "25059", "pinYinChars": [{ "char": "ZI3" }], "splitChars": [{ "char": "仔 皿" }], "weight": "10" }, { "charId": "3baeeb51", "unicodeChar": "𤾗", "unicodeCodePoint": "24F97", "pinYinChars": [{ "char": "KUANG4" }], "splitChars": [{ "char": "光皇" }], "weight": "10" }, { "charId": "d6eda373", "unicodeChar": "𤾏", "unicodeCodePoint": "24F8F", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "白 木" }], "weight": "10" }, { "charId": "00c07941", "unicodeChar": "𤽾", "unicodeCodePoint": "24F7E", "pinYinChars": [{ "char": "SHUANG3" }, { "char": "SONG3" }], "splitChars": [{ "char": "白 虎" }], "weight": "10" }, { "charId": "51306815", "unicodeChar": "𤽟", "unicodeCodePoint": "24F5F", "pinYinChars": [{ "char": "GAO3" }], "splitChars": [{ "char": "白 丨" }], "weight": "10" }, { "charId": "d5ecf8a2", "unicodeChar": "𤽙", "unicodeCodePoint": "24F59", "pinYinChars": [{ "char": "HUANG2" }], "splitChars": [{ "char": "白由" }], "weight": "10" }, { "charId": "7375384f", "unicodeChar": "𤺬", "unicodeCodePoint": "24EAC", "pinYinChars": [{ "char": "PENG4" }], "splitChars": [{ "char": "疒彭" }], "weight": "10" }, { "charId": "46c621ab", "unicodeChar": "𤹍", "unicodeCodePoint": "24E4D", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "疒能" }], "weight": "10" }, { "charId": "b92a6f0b", "unicodeChar": "𤳹", "unicodeCodePoint": "24CF9", "pinYinChars": [{ "char": "LEI2" }], "splitChars": [{ "char": "田田一田田" }], "weight": "10" }, { "charId": "bf79a531", "unicodeChar": "𤳳", "unicodeCodePoint": "24CF3", "pinYinChars": [{ "char": "LEI2" }], "splitChars": [{ "char": "畕畕田田田田" }], "weight": "10" }, { "charId": "faef1fc3", "unicodeChar": "𤳗", "unicodeCodePoint": "24CD7", "pinYinChars": [{ "char": "BAN1" }], "splitChars": [{ "char": "去番" }], "weight": "10" }, { "charId": "d91cc582", "unicodeChar": "𤳈", "unicodeCodePoint": "24CC8", "pinYinChars": [{ "char": "SHANG1" }], "splitChars": [{ "char": "田𬀷" }], "weight": "10" }, { "charId": "89b6a3d5", "unicodeChar": "𤲘", "unicodeCodePoint": "24C98", "pinYinChars": [{ "char": "CHANG4" }], "splitChars": [{ "char": "田長" }], "weight": "10" }, { "charId": "9176068f", "unicodeChar": "𤲅", "unicodeCodePoint": "24C85", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "共电" }], "weight": "10" }, { "charId": "0cccf61b", "unicodeChar": "𤱶", "unicodeCodePoint": "24C76", "pinYinChars": [{ "char": "QUAN3" }], "splitChars": [{ "char": "亩犬" }], "weight": "10" }, { "charId": "91902f7a", "unicodeChar": "𤱓", "unicodeCodePoint": "24C53", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "申申" }], "weight": "10" }, { "charId": "db29df21", "unicodeChar": "𤱂", "unicodeCodePoint": "24C42", "pinYinChars": [{ "char": "MENG2" }], "splitChars": [{ "char": "田云" }], "weight": "10" }, { "charId": "ae29bcd7", "unicodeChar": "𤰯", "unicodeCodePoint": "24C2F", "pinYinChars": [{ "char": "CE4" }], "splitChars": [{ "char": "田八又田儿又" }], "weight": "10" }, { "charId": "0519c001", "unicodeChar": "𤯾", "unicodeCodePoint": "24BFE", "pinYinChars": [{ "char": "RUI2" }], "splitChars": [{ "char": "蒙 生" }], "weight": "10" }, { "charId": "e5e0145e", "unicodeChar": "𤯷", "unicodeCodePoint": "24BF7", "pinYinChars": [{ "char": "HUANG2" }], "splitChars": [{ "char": "舜生" }], "weight": "10" }, { "charId": "8c7483f6", "unicodeChar": "𤯦", "unicodeCodePoint": "24BE6", "pinYinChars": [{ "char": "NEN4" }], "splitChars": [{ "char": "初生" }], "weight": "10" }, { "charId": "3ab8f500", "unicodeChar": "𤯏", "unicodeCodePoint": "24BCF", "pinYinChars": [{ "char": "MEI2" }], "splitChars": [{ "char": "甘𡭕甘朩" }], "weight": "10" }, { "charId": "fbb83627", "unicodeChar": "𤯋", "unicodeCodePoint": "24BCB", "pinYinChars": [{ "char": "ZHE4" }], "splitChars": [{ "char": "甘庶" }], "weight": "10" }, { "charId": "50c2ae4c", "unicodeChar": "𤭾", "unicodeCodePoint": "24B7E", "pinYinChars": [{ "char": "ZHEN" }], "splitChars": [{ "char": "西 瓦" }], "weight": "10" }, { "charId": "a483b6ba", "unicodeChar": "𤭛", "unicodeCodePoint": "24B5B", "pinYinChars": [{ "char": "GANG1" }], "splitChars": [{ "char": "岡瓦" }], "weight": "10" }, { "charId": "1e256f92", "unicodeChar": "𤬻", "unicodeCodePoint": "24B3B", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "瓦令" }], "weight": "10" }, { "charId": "b43c09f7", "unicodeChar": "𤬬", "unicodeCodePoint": "24B2C", "pinYinChars": [{ "char": "ZHOU4" }], "splitChars": [{ "char": "火瓦" }], "weight": "10" }, { "charId": "960de6ad", "unicodeChar": "𤫩", "unicodeCodePoint": "24AE9", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "王靈" }], "weight": "10" }, { "charId": "12b34675", "unicodeChar": "𤫢", "unicodeCodePoint": "24AE2", "pinYinChars": [{ "char": "LOU" }], "splitChars": [{ "char": "王 露" }], "weight": "10" }, { "charId": "d76ae7f9", "unicodeChar": "𤫠", "unicodeCodePoint": "24AE0", "pinYinChars": [{ "char": "王 嚴" }], "splitChars": [], "weight": "10" }, { "charId": "207db911", "unicodeChar": "𤫟", "unicodeCodePoint": "24ADF", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "王 麗" }], "weight": "10" }, { "charId": "22f52e08", "unicodeChar": "𤫙", "unicodeCodePoint": "24AD9", "pinYinChars": [{ "char": "王爕" }, { "char": "王 火" }], "splitChars": [], "weight": "10" }, { "charId": "0f1f3106", "unicodeChar": "𤫑", "unicodeCodePoint": "24AD1", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "王 麗" }], "weight": "10" }, { "charId": "85c77c6a", "unicodeChar": "𤫎", "unicodeCodePoint": "24ACE", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "王營" }], "weight": "10" }, { "charId": "ddb0bba0", "unicodeChar": "𤫇", "unicodeCodePoint": "24AC7", "pinYinChars": [{ "char": "JIN3" }], "splitChars": [{ "char": "王 燕" }], "weight": "10" }, { "charId": "fc5b217c", "unicodeChar": "𤫂", "unicodeCodePoint": "24AC2", "pinYinChars": [{ "char": "XING1" }], "splitChars": [{ "char": "王 興" }], "weight": "10" }, { "charId": "1e882f55", "unicodeChar": "𤪻", "unicodeCodePoint": "24ABB", "pinYinChars": [{ "char": "xuan2" }], "splitChars": [{ "char": "王 目" }], "weight": "10" }, { "charId": "334d96a9", "unicodeChar": "𤪪", "unicodeCodePoint": "24AAA", "pinYinChars": [{ "char": "ZHUAN4" }], "splitChars": [{ "char": "王篆" }], "weight": "10" }, { "charId": "c6833a9d", "unicodeChar": "𤪜", "unicodeCodePoint": "24A9C", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "王 蓉" }], "weight": "10" }, { "charId": "3e248b6b", "unicodeChar": "𤪗", "unicodeCodePoint": "24A97", "pinYinChars": [{ "char": "HAO2" }], "splitChars": [{ "char": "王 豪" }], "weight": "10" }, { "charId": "c3337716", "unicodeChar": "𤪂", "unicodeCodePoint": "24A82", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "王 愈" }], "weight": "10" }, { "charId": "3f4cabc2", "unicodeChar": "𤩿", "unicodeCodePoint": "24A7F", "pinYinChars": [{ "char": "CONG1" }], "splitChars": [{ "char": "王 葱" }], "weight": "10" }, { "charId": "d7dba925", "unicodeChar": "𤩸", "unicodeCodePoint": "24A78", "pinYinChars": [{ "char": "王 葵" }], "splitChars": [], "weight": "10" }, { "charId": "aa890004", "unicodeChar": "𤩬", "unicodeCodePoint": "24A6C", "pinYinChars": [{ "char": "XIANG4" }], "splitChars": [{ "char": "王鄉" }], "weight": "10" }, { "charId": "9d69dedc", "unicodeChar": "𤩧", "unicodeCodePoint": "24A67", "pinYinChars": [{ "char": "CHEN2" }], "splitChars": [{ "char": "王 單" }], "weight": "10" }, { "charId": "3642e7eb", "unicodeChar": "𤩗", "unicodeCodePoint": "24A57", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "王 粟" }], "weight": "10" }, { "charId": "f133fd63", "unicodeChar": "𤩓", "unicodeCodePoint": "24A53", "pinYinChars": [{ "char": "PU3" }], "splitChars": [{ "char": "王 普" }], "weight": "10" }, { "charId": "7128d030", "unicodeChar": "𤩐", "unicodeCodePoint": "24A50", "pinYinChars": [{ "char": "PU3" }], "splitChars": [{ "char": "王斯" }], "weight": "10" }, { "charId": "6639a844", "unicodeChar": "𤩁", "unicodeCodePoint": "24A41", "pinYinChars": [{ "char": "QU2" }], "splitChars": [{ "char": "王䖏" }], "weight": "10" }, { "charId": "9773e4ad", "unicodeChar": "𤨭", "unicodeCodePoint": "24A2D", "pinYinChars": [{ "char": "YONG1" }], "splitChars": [{ "char": "王 庸" }], "weight": "10" }, { "charId": "87799565", "unicodeChar": "𤨦", "unicodeCodePoint": "24A26", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "王 奇" }], "weight": "10" }, { "charId": "4a338873", "unicodeChar": "𤨡", "unicodeCodePoint": "24A21", "pinYinChars": [{ "char": "LANG3" }], "splitChars": [{ "char": "王朗" }], "weight": "10" }, { "charId": "894382ea", "unicodeChar": "𤨠", "unicodeCodePoint": "24A20", "pinYinChars": [{ "char": "王 堂" }], "splitChars": [], "weight": "10" }, { "charId": "73238b6f", "unicodeChar": "𤨎", "unicodeCodePoint": "24A0E", "pinYinChars": [{ "char": "QU2" }], "splitChars": [{ "char": "王 家" }], "weight": "10" }, { "charId": "8573da6f", "unicodeChar": "𤧻", "unicodeCodePoint": "249FB", "pinYinChars": [{ "char": "TING2" }], "splitChars": [{ "char": "王 庭" }], "weight": "10" }, { "charId": "ee78777f", "unicodeChar": "𤧸", "unicodeCodePoint": "249F8", "pinYinChars": [{ "char": "HEI2" }], "splitChars": [{ "char": "王 豈" }], "weight": "10" }, { "charId": "99de54b4", "unicodeChar": "𤧵", "unicodeCodePoint": "249F5", "pinYinChars": [{ "char": "王 尃" }], "splitChars": [], "weight": "10" }, { "charId": "3f97001c", "unicodeChar": "𤧑", "unicodeCodePoint": "249D1", "pinYinChars": [{ "char": "FENG1" }], "splitChars": [{ "char": "王風" }], "weight": "10" }, { "charId": "42c33a75", "unicodeChar": "𤧍", "unicodeCodePoint": "249CD", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "王 令" }], "weight": "10" }, { "charId": "68efdc1b", "unicodeChar": "𤧅", "unicodeCodePoint": "249C5", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "王 屏" }], "weight": "10" }, { "charId": "2ed66a9e", "unicodeChar": "𤧄", "unicodeCodePoint": "249C4", "pinYinChars": [{ "char": "YAO1" }], "splitChars": [{ "char": "王 要" }], "weight": "10" }, { "charId": "3e78c74d", "unicodeChar": "𤧃", "unicodeCodePoint": "249C3", "pinYinChars": [{ "char": "QI4" }], "splitChars": [{ "char": "王 契" }], "weight": "10" }, { "charId": "763f7316", "unicodeChar": "𤧀", "unicodeCodePoint": "249C0", "pinYinChars": [{ "char": "MOU3" }], "splitChars": [{ "char": "王 某" }], "weight": "10" }, { "charId": "8e90905b", "unicodeChar": "𤦽", "unicodeCodePoint": "249BD", "pinYinChars": [{ "char": "YOU2" }], "splitChars": [{ "char": "王 子" }], "weight": "10" }, { "charId": "56f638c1", "unicodeChar": "𤦻", "unicodeCodePoint": "249BB", "pinYinChars": [{ "char": "王 亮" }], "splitChars": [], "weight": "10" }, { "charId": "ed334fe8", "unicodeChar": "𤦸", "unicodeCodePoint": "249B8", "pinYinChars": [{ "char": "王 保" }], "splitChars": [], "weight": "10" }, { "charId": "97373194", "unicodeChar": "𤦷", "unicodeCodePoint": "249B7", "pinYinChars": [{ "char": "JIN2" }], "splitChars": [{ "char": "王 衍" }], "weight": "10" }, { "charId": "fca66b71", "unicodeChar": "𤦭", "unicodeCodePoint": "249AD", "pinYinChars": [{ "char": "JING1" }], "splitChars": [{ "char": "王 青" }], "weight": "10" }, { "charId": "c3fd88ac", "unicodeChar": "𤦫", "unicodeCodePoint": "249AB", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "王 夌" }], "weight": "10" }, { "charId": "a580bf3d", "unicodeChar": "𤦩", "unicodeCodePoint": "249A9", "pinYinChars": [{ "char": "E4" }], "splitChars": [{ "char": "王亞" }], "weight": "10" }, { "charId": "4d6c9809", "unicodeChar": "𤦧", "unicodeCodePoint": "249A7", "pinYinChars": [{ "char": "ZI1" }], "splitChars": [{ "char": "王 芝" }], "weight": "10" }, { "charId": "55ab69e1", "unicodeChar": "𤦝", "unicodeCodePoint": "2499D", "pinYinChars": [{ "char": "JIN3" }], "splitChars": [{ "char": "王 帛" }], "weight": "10" }, { "charId": "aee144bf", "unicodeChar": "𤦖", "unicodeCodePoint": "24996", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "王 毛" }], "weight": "10" }, { "charId": "89995bf5", "unicodeChar": "𤦌", "unicodeCodePoint": "2498C", "pinYinChars": [{ "char": "王 宜" }], "splitChars": [], "weight": "10" }, { "charId": "7601d6a0", "unicodeChar": "𤦈", "unicodeCodePoint": "24988", "pinYinChars": [{ "char": "王 芬" }], "splitChars": [], "weight": "10" }, { "charId": "6a451b21", "unicodeChar": "𤦇", "unicodeCodePoint": "24987", "pinYinChars": [{ "char": "gang1" }], "splitChars": [{ "char": "王岡" }], "weight": "10" }, { "charId": "2cd1727b", "unicodeChar": "𤦄", "unicodeCodePoint": "24984", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "王巛乚日" }], "weight": "10" }, { "charId": "a5763ccd", "unicodeChar": "𤥺", "unicodeCodePoint": "2497A", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "王奂" }], "weight": "10" }, { "charId": "975e5dfa", "unicodeChar": "𤥶", "unicodeCodePoint": "24976", "pinYinChars": [{ "char": "NA4" }], "splitChars": [{ "char": "王 那" }], "weight": "10" }, { "charId": "77a5abd7", "unicodeChar": "𤥩", "unicodeCodePoint": "24969", "pinYinChars": [{ "char": "PI3" }], "splitChars": [{ "char": "王 疋" }], "weight": "10" }, { "charId": "f92b2a51", "unicodeChar": "𤥠", "unicodeCodePoint": "24960", "pinYinChars": [{ "char": "王 宏" }], "splitChars": [], "weight": "10" }, { "charId": "a7d84979", "unicodeChar": "𤥚", "unicodeCodePoint": "2495A", "pinYinChars": [{ "char": "GAN1" }], "splitChars": [{ "char": "王旱" }], "weight": "10" }, { "charId": "f654ebea", "unicodeChar": "𤥗", "unicodeCodePoint": "24957", "pinYinChars": [{ "char": "LIU2" }], "splitChars": [{ "char": "王丣" }], "weight": "10" }, { "charId": "e7a71ed2", "unicodeChar": "𤥃", "unicodeCodePoint": "24943", "pinYinChars": [{ "char": "AN1" }], "splitChars": [{ "char": "王 安" }], "weight": "10" }, { "charId": "a08096f2", "unicodeChar": "𤥂", "unicodeCodePoint": "24942", "pinYinChars": [{ "char": "王 亦" }], "splitChars": [], "weight": "10" }, { "charId": "d6139c70", "unicodeChar": "𤥀", "unicodeCodePoint": "24940", "pinYinChars": [{ "char": "duo1" }], "splitChars": [{ "char": "王 多" }], "weight": "10" }, { "charId": "39605153", "unicodeChar": "𤤾", "unicodeCodePoint": "2493E", "pinYinChars": [{ "char": "heng2" }], "splitChars": [{ "char": "王 亍" }], "weight": "10" }, { "charId": "6a0555fc", "unicodeChar": "𤤹", "unicodeCodePoint": "24939", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "王朿" }], "weight": "10" }, { "charId": "94c060bc", "unicodeChar": "𤤳", "unicodeCodePoint": "24933", "pinYinChars": [{ "char": "王 以" }], "splitChars": [], "weight": "10" }, { "charId": "9a429c88", "unicodeChar": "𤤯", "unicodeCodePoint": "2492F", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "王 永" }], "weight": "10" }, { "charId": "bfef5059", "unicodeChar": "𤤤", "unicodeCodePoint": "24924", "pinYinChars": [{ "char": "HE2" }], "splitChars": [{ "char": "王 禾" }], "weight": "10" }, { "charId": "85f94113", "unicodeChar": "𤤠", "unicodeCodePoint": "24920", "pinYinChars": [{ "char": "YANG" }], "splitChars": [{ "char": "王央" }], "weight": "10" }, { "charId": "ec385442", "unicodeChar": "𤤟", "unicodeCodePoint": "2491F", "pinYinChars": [{ "char": "DU4" }, { "char": "SHI2" }], "splitChars": [{ "char": "王 石" }], "weight": "10" }, { "charId": "ba2939b0", "unicodeChar": "𤤖", "unicodeCodePoint": "24916", "pinYinChars": [{ "char": "王 弗" }], "splitChars": [], "weight": "10" }, { "charId": "626f71b6", "unicodeChar": "𤤔", "unicodeCodePoint": "24914", "pinYinChars": [{ "char": "li4" }], "splitChars": [{ "char": "王立" }], "weight": "10" }, { "charId": "6aef6deb", "unicodeChar": "𤤉", "unicodeCodePoint": "24909", "pinYinChars": [{ "char": "BU4" }], "splitChars": [{ "char": "王少" }], "weight": "10" }, { "charId": "402f5e33", "unicodeChar": "𤤁", "unicodeCodePoint": "24901", "pinYinChars": [{ "char": "王 方" }], "splitChars": [], "weight": "10" }, { "charId": "2cea29c0", "unicodeChar": "𤤀", "unicodeCodePoint": "24900", "pinYinChars": [{ "char": "王 屯" }], "splitChars": [], "weight": "10" }, { "charId": "aff39345", "unicodeChar": "𤣳", "unicodeCodePoint": "248F3", "pinYinChars": [{ "char": "gan1" }], "splitChars": [{ "char": "王 千" }], "weight": "10" }, { "charId": "5419da97", "unicodeChar": "𤣮", "unicodeCodePoint": "248EE", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "王乞" }], "weight": "10" }, { "charId": "ceecbfef", "unicodeChar": "𤠋", "unicodeCodePoint": "2480B", "pinYinChars": [{ "char": "LOU2" }], "splitChars": [{ "char": "犭娄" }], "weight": "10" }, { "charId": "aa1f5dad", "unicodeChar": "𤞏", "unicodeCodePoint": "2478F", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "犭西" }], "weight": "10" }, { "charId": "05736428", "unicodeChar": "𤜱", "unicodeCodePoint": "24731", "pinYinChars": [{ "char": "BA1" }], "splitChars": [{ "char": "犭巴" }], "weight": "10" }, { "charId": "f8edb95e", "unicodeChar": "𤜥", "unicodeCodePoint": "24725", "pinYinChars": [{ "char": "犭 义" }], "splitChars": [], "weight": "10" }, { "charId": "ed281135", "unicodeChar": "𤛁", "unicodeCodePoint": "246C1", "pinYinChars": [{ "char": "WEN4" }], "splitChars": [{ "char": "牛昷" }], "weight": "10" }, { "charId": "b137485d", "unicodeChar": "𤘯", "unicodeCodePoint": "2462F", "pinYinChars": [{ "char": "MU4" }], "splitChars": [{ "char": "牛 欠" }], "weight": "10" }, { "charId": "ac69b9fd", "unicodeChar": "𤓖", "unicodeCodePoint": "244D6", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "䜌火" }], "weight": "10" }, { "charId": "d1b6163c", "unicodeChar": "𤒝", "unicodeCodePoint": "2449D", "pinYinChars": [{ "char": "YAO4" }], "splitChars": [{ "char": "自 火" }], "weight": "10" }, { "charId": "c8df42b3", "unicodeChar": "𤑚", "unicodeCodePoint": "2445A", "pinYinChars": [{ "char": "YING4" }], "splitChars": [{ "char": "火 瑩" }], "weight": "10" }, { "charId": "aa9b14eb", "unicodeChar": "𤑒", "unicodeCodePoint": "24452", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "艹熭" }], "weight": "10" }, { "charId": "f42abb99", "unicodeChar": "𤐷", "unicodeCodePoint": "24437", "pinYinChars": [{ "char": "EN1" }], "splitChars": [{ "char": "火 塵" }], "weight": "10" }, { "charId": "d9e896d6", "unicodeChar": "𤐯", "unicodeCodePoint": "2442F", "pinYinChars": [{ "char": "YUE4" }], "splitChars": [{ "char": "火 龠" }], "weight": "10" }, { "charId": "e89cb465", "unicodeChar": "𤏖", "unicodeCodePoint": "243D6", "pinYinChars": [{ "char": "JIAN1" }], "splitChars": [{ "char": "火替" }], "weight": "10" }, { "charId": "d4a9c113", "unicodeChar": "𤎻", "unicodeCodePoint": "243BB", "pinYinChars": [{ "char": "XIAO1" }], "splitChars": [{ "char": "火萧" }], "weight": "10" }, { "charId": "fef4e5c3", "unicodeChar": "𤎰", "unicodeCodePoint": "243B0", "pinYinChars": [{ "char": "ZENG1" }], "splitChars": [{ "char": "曾灬" }], "weight": "10" }, { "charId": "97de6a57", "unicodeChar": "𤍢", "unicodeCodePoint": "24362", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "火 土" }], "weight": "10" }, { "charId": "5ca75601", "unicodeChar": "𤍐", "unicodeCodePoint": "24350", "pinYinChars": [{ "char": "TUI4" }], "splitChars": [{ "char": "推火" }], "weight": "10" }, { "charId": "44870765", "unicodeChar": "𤍈", "unicodeCodePoint": "24348", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "火 豈" }], "weight": "10" }, { "charId": "3aedba3f", "unicodeChar": "𤌣", "unicodeCodePoint": "24323", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "火栗" }], "weight": "10" }, { "charId": "ca52fc74", "unicodeChar": "𤌗", "unicodeCodePoint": "24317", "pinYinChars": [{ "char": "HUANG2" }], "splitChars": [{ "char": "火 正" }], "weight": "10" }, { "charId": "9c50b638", "unicodeChar": "𤌀", "unicodeCodePoint": "24300", "pinYinChars": [{ "char": "火 急" }], "splitChars": [], "weight": "10" }, { "charId": "c8291b53", "unicodeChar": "𤋾", "unicodeCodePoint": "242FE", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "火音" }], "weight": "10" }, { "charId": "3d5b2e59", "unicodeChar": "𤋟", "unicodeCodePoint": "242DF", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "火 复" }], "weight": "10" }, { "charId": "8b046c4a", "unicodeChar": "𤊨", "unicodeCodePoint": "242A8", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "火 或" }], "weight": "10" }, { "charId": "851d23c4", "unicodeChar": "𤊧", "unicodeCodePoint": "242A7", "pinYinChars": [{ "char": "火直" }], "splitChars": [], "weight": "10" }, { "charId": "216304d7", "unicodeChar": "𤊥", "unicodeCodePoint": "242A5", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "火夌" }], "weight": "10" }, { "charId": "20b2805a", "unicodeChar": "𤊤", "unicodeCodePoint": "242A4", "pinYinChars": [{ "char": "火岩" }], "splitChars": [], "weight": "10" }, { "charId": "87e55ba6", "unicodeChar": "𤊢", "unicodeCodePoint": "242A2", "pinYinChars": [{ "char": "火 得" }], "splitChars": [], "weight": "10" }, { "charId": "45947d8f", "unicodeChar": "𤊓", "unicodeCodePoint": "24293", "pinYinChars": [{ "char": "NI2" }], "splitChars": [{ "char": "火 兒" }], "weight": "10" }, { "charId": "17681ddd", "unicodeChar": "𤊒", "unicodeCodePoint": "24292", "pinYinChars": [{ "char": "LV4" }], "splitChars": [{ "char": "火 录" }], "weight": "10" }, { "charId": "588367c3", "unicodeChar": "𤊎", "unicodeCodePoint": "2428E", "pinYinChars": [{ "char": "GU4" }], "splitChars": [{ "char": "火 固" }], "weight": "10" }, { "charId": "19c99dbe", "unicodeChar": "𤊄", "unicodeCodePoint": "24284", "pinYinChars": [{ "char": "QI4" }], "splitChars": [{ "char": "火其" }], "weight": "10" }, { "charId": "e5bafc0f", "unicodeChar": "𤉘", "unicodeCodePoint": "24258", "pinYinChars": [{ "char": "火 言" }], "splitChars": [], "weight": "10" }, { "charId": "3fd77506", "unicodeChar": "𤉋", "unicodeCodePoint": "2424B", "pinYinChars": [{ "char": "ZHENG2" }, { "char": "ZHENG3" }], "splitChars": [{ "char": "𠄘灬" }], "weight": "10" }, { "charId": "65348086", "unicodeChar": "𤈽", "unicodeCodePoint": "2423D", "pinYinChars": [{ "char": "PENG" }], "splitChars": [{ "char": "火亨" }], "weight": "10" }, { "charId": "bb38ce9a", "unicodeChar": "𤈻", "unicodeCodePoint": "2423B", "pinYinChars": [{ "char": "HONG2" }], "splitChars": [{ "char": "火 宏" }], "weight": "10" }, { "charId": "618f88af", "unicodeChar": "𤈺", "unicodeCodePoint": "2423A", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "火 凡" }], "weight": "10" }, { "charId": "9561daf6", "unicodeChar": "𤈷", "unicodeCodePoint": "24237", "pinYinChars": [{ "char": "XIAN1" }], "splitChars": [{ "char": "火佥" }], "weight": "10" }, { "charId": "da497199", "unicodeChar": "𤈶", "unicodeCodePoint": "24236", "pinYinChars": [{ "char": "YUN2" }], "splitChars": [{ "char": "火员" }], "weight": "10" }, { "charId": "ef3a49ca", "unicodeChar": "𤈠", "unicodeCodePoint": "24220", "pinYinChars": [{ "char": "火聿" }], "splitChars": [], "weight": "10" }, { "charId": "92762e66", "unicodeChar": "𤈜", "unicodeCodePoint": "2421C", "pinYinChars": [{ "char": "ting1" }], "splitChars": [{ "char": "火至" }], "weight": "10" }, { "charId": "f372a0b1", "unicodeChar": "𤈛", "unicodeCodePoint": "2421B", "pinYinChars": [{ "char": "GUANG" }], "splitChars": [{ "char": "火光" }], "weight": "10" }, { "charId": "ba9abf92", "unicodeChar": "𤈇", "unicodeCodePoint": "24207", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "火西" }], "weight": "10" }, { "charId": "be52cf05", "unicodeChar": "𤇺", "unicodeCodePoint": "241FA", "pinYinChars": [{ "char": "FENG" }], "splitChars": [{ "char": "火 夅" }], "weight": "10" }, { "charId": "8ad2b9b5", "unicodeChar": "𤇹", "unicodeCodePoint": "241F9", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "火毕" }], "weight": "10" }, { "charId": "41d18198", "unicodeChar": "𤇶", "unicodeCodePoint": "241F6", "pinYinChars": [{ "char": "ZHENG" }], "splitChars": [{ "char": "火 丞" }], "weight": "10" }, { "charId": "f075602d", "unicodeChar": "𤇭", "unicodeCodePoint": "241ED", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "火龙" }], "weight": "10" }, { "charId": "fb442f44", "unicodeChar": "𤇨", "unicodeCodePoint": "241E8", "pinYinChars": [{ "char": "PEI1" }], "splitChars": [{ "char": "火丕" }], "weight": "10" }, { "charId": "f7031a84", "unicodeChar": "𤇥", "unicodeCodePoint": "241E5", "pinYinChars": [{ "char": "火立" }], "splitChars": [], "weight": "10" }, { "charId": "5749f41a", "unicodeChar": "𤇣", "unicodeCodePoint": "241E3", "pinYinChars": [{ "char": "XING4" }], "splitChars": [{ "char": "火生" }], "weight": "10" }, { "charId": "953a459e", "unicodeChar": "𤇒", "unicodeCodePoint": "241D2", "pinYinChars": [{ "char": "CE4" }], "splitChars": [{ "char": "火 册" }], "weight": "10" }, { "charId": "566eb5c9", "unicodeChar": "𤇅", "unicodeCodePoint": "241C5", "pinYinChars": [{ "char": "火 且" }], "splitChars": [], "weight": "10" }, { "charId": "31ced6fd", "unicodeChar": "𤇄", "unicodeCodePoint": "241C4", "pinYinChars": [{ "char": "SHAN3" }], "splitChars": [{ "char": "火闪" }], "weight": "10" }, { "charId": "ff09a649", "unicodeChar": "𤇂", "unicodeCodePoint": "241C2", "pinYinChars": [{ "char": "SHENG4" }], "splitChars": [{ "char": "火圣" }], "weight": "10" }, { "charId": "8cc9291f", "unicodeChar": "𤇁", "unicodeCodePoint": "241C1", "pinYinChars": [{ "char": "HE2" }, { "char": "GAI4" }, { "char": "GE3" }], "splitChars": [{ "char": "火 旦" }], "weight": "10" }, { "charId": "35ab0aba", "unicodeChar": "𤆶", "unicodeCodePoint": "241B6", "pinYinChars": [{ "char": "FEN2" }], "splitChars": [{ "char": "火分" }], "weight": "10" }, { "charId": "1516bbdd", "unicodeChar": "𤆥", "unicodeCodePoint": "241A5", "pinYinChars": [{ "char": "zhuo2" }], "splitChars": [{ "char": "火勻" }], "weight": "10" }, { "charId": "e1fc87b1", "unicodeChar": "𤆢", "unicodeCodePoint": "241A2", "pinYinChars": [{ "char": "LUN2" }], "splitChars": [{ "char": "火仑" }], "weight": "10" }, { "charId": "f6b22d50", "unicodeChar": "𤆘", "unicodeCodePoint": "24198", "pinYinChars": [{ "char": "FAN2" }], "splitChars": [{ "char": "火凡" }], "weight": "10" }, { "charId": "2269fc40", "unicodeChar": "𤆓", "unicodeCodePoint": "24193", "pinYinChars": [{ "char": "KUANG4" }], "splitChars": [{ "char": "火广" }], "weight": "10" }, { "charId": "25fe3e0d", "unicodeChar": "𤆍", "unicodeCodePoint": "2418D", "pinYinChars": [{ "char": "CHI4" }], "splitChars": [{ "char": "大火" }], "weight": "10" }, { "charId": "a90bc5fe", "unicodeChar": "𤆀", "unicodeCodePoint": "24180", "pinYinChars": [{ "char": "BIAO1" }], "splitChars": [{ "char": "氵驫" }], "weight": "10" }, { "charId": "aa2f9bbd", "unicodeChar": "𤅮", "unicodeCodePoint": "2416E", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "氵 懿" }], "weight": "10" }, { "charId": "685b843a", "unicodeChar": "𤅟", "unicodeCodePoint": "2415F", "pinYinChars": [{ "char": "lou4" }], "splitChars": [{ "char": "氵露" }], "weight": "10" }, { "charId": "98aaf617", "unicodeChar": "𤅀", "unicodeCodePoint": "24140", "pinYinChars": [{ "char": "YING2" }], "splitChars": [{ "char": "氵羸" }], "weight": "10" }, { "charId": "4943655e", "unicodeChar": "𤃇", "unicodeCodePoint": "240C7", "pinYinChars": [{ "char": "yan4" }], "splitChars": [{ "char": "氵燕" }], "weight": "10" }, { "charId": "c27e1a62", "unicodeChar": "𤂪", "unicodeCodePoint": "240AA", "pinYinChars": [{ "char": "氵震" }], "splitChars": [], "weight": "10" }, { "charId": "9ce9ff66", "unicodeChar": "𤂖", "unicodeCodePoint": "24096", "pinYinChars": [{ "char": "YING3" }], "splitChars": [{ "char": "氵 影" }], "weight": "10" }, { "charId": "99f56455", "unicodeChar": "𤂔", "unicodeCodePoint": "24094", "pinYinChars": [{ "char": "BIN1" }], "splitChars": [{ "char": "氵 頁" }], "weight": "10" }, { "charId": "3021c488", "unicodeChar": "𤁇", "unicodeCodePoint": "24047", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "氵 蓉" }], "weight": "10" }, { "charId": "5ae0df1d", "unicodeChar": "𣿼", "unicodeCodePoint": "23FFC", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "氵 目" }], "weight": "10" }, { "charId": "abc8ccd3", "unicodeChar": "𣿰", "unicodeCodePoint": "23FF0", "pinYinChars": [{ "char": "jun4" }, { "char": "xun4" }], "splitChars": [{ "char": "氵 目" }], "weight": "10" }, { "charId": "a99ff0cd", "unicodeChar": "𣿭", "unicodeCodePoint": "23FED", "pinYinChars": [{ "char": "diàn" }], "splitChars": [{ "char": "氵 義" }], "weight": "10" }, { "charId": "c412117e", "unicodeChar": "𣾴", "unicodeCodePoint": "23FB4", "pinYinChars": [{ "char": "pu2" }], "splitChars": [{ "char": "氵 菐" }], "weight": "10" }, { "charId": "4f58f558", "unicodeChar": "𣾐", "unicodeCodePoint": "23F90", "pinYinChars": [{ "char": "YI3" }], "splitChars": [{ "char": "氵 椅" }], "weight": "10" }, { "charId": "de4ea775", "unicodeChar": "𣾏", "unicodeCodePoint": "23F8F", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "氵 奇" }], "weight": "10" }, { "charId": "67f857d8", "unicodeChar": "𣽊", "unicodeCodePoint": "23F4A", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "氵䜭" }], "weight": "10" }, { "charId": "c4c033bf", "unicodeChar": "𣽀", "unicodeCodePoint": "23F40", "pinYinChars": [{ "char": "氵 介" }], "splitChars": [], "weight": "10" }, { "charId": "e2e1e205", "unicodeChar": "𣻺", "unicodeCodePoint": "23EFA", "pinYinChars": [{ "char": "氵 基" }], "splitChars": [], "weight": "10" }, { "charId": "995bb050", "unicodeChar": "𣻄", "unicodeCodePoint": "23EC4", "pinYinChars": [{ "char": "chu2" }], "splitChars": [{ "char": "氵徐" }], "weight": "10" }, { "charId": "83610aec", "unicodeChar": "𣺼", "unicodeCodePoint": "23EBC", "pinYinChars": [{ "char": "DANG3" }, { "char": "TANG3" }], "splitChars": [{ "char": "氵党" }], "weight": "10" }, { "charId": "7c89e431", "unicodeChar": "𣺫", "unicodeCodePoint": "23EAB", "pinYinChars": [{ "char": "XIU3" }], "splitChars": [{ "char": "氵修" }], "weight": "10" }, { "charId": "01db4911", "unicodeChar": "𣺢", "unicodeCodePoint": "23EA2", "pinYinChars": [{ "char": "DI2" }], "splitChars": [{ "char": "氵 条" }], "weight": "10" }, { "charId": "c018376c", "unicodeChar": "𣺖", "unicodeCodePoint": "23E96", "pinYinChars": [{ "char": "GONG1" }], "splitChars": [{ "char": "氵 恭" }], "weight": "10" }, { "charId": "404ea61a", "unicodeChar": "𣹏", "unicodeCodePoint": "23E4F", "pinYinChars": [{ "char": "chan2" }], "splitChars": [{ "char": "氵孨" }], "weight": "10" }, { "charId": "134d52e5", "unicodeChar": "𣸹", "unicodeCodePoint": "23E39", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "氵 屏" }], "weight": "10" }, { "charId": "14e40376", "unicodeChar": "𣸭", "unicodeCodePoint": "23E2D", "pinYinChars": [{ "char": "氵 昱" }], "splitChars": [], "weight": "10" }, { "charId": "9fcab4a4", "unicodeChar": "𣸪", "unicodeCodePoint": "23E2A", "pinYinChars": [{ "char": "FU4" }], "splitChars": [{ "char": "氵 复" }], "weight": "10" }, { "charId": "395afcc2", "unicodeChar": "𣸩", "unicodeCodePoint": "23E29", "pinYinChars": [{ "char": "dun4" }], "splitChars": [{ "char": "氵 盾" }], "weight": "10" }, { "charId": "6121e399", "unicodeChar": "𣸕", "unicodeCodePoint": "23E15", "pinYinChars": [{ "char": "SHUI3" }], "splitChars": [{ "char": "井 泉" }], "weight": "10" }, { "charId": "def9aba6", "unicodeChar": "𣸐", "unicodeCodePoint": "23E10", "pinYinChars": [{ "char": "ZA2" }], "splitChars": [{ "char": "水砅" }], "weight": "10" }, { "charId": "5fb93294", "unicodeChar": "𣸅", "unicodeCodePoint": "23E05", "pinYinChars": [{ "char": "GUO2" }], "splitChars": [{ "char": "氵括" }], "weight": "10" }, { "charId": "9149cacb", "unicodeChar": "𣷸", "unicodeCodePoint": "23DF8", "pinYinChars": [{ "char": "FAN" }], "splitChars": [{ "char": "氵芝" }], "weight": "10" }, { "charId": "428bc322", "unicodeChar": "𣷵", "unicodeCodePoint": "23DF5", "pinYinChars": [{ "char": "QI1" }], "splitChars": [{ "char": "氵 束" }], "weight": "10" }, { "charId": "86428c0c", "unicodeChar": "𣷂", "unicodeCodePoint": "23DC2", "pinYinChars": [{ "char": "BAO3" }], "splitChars": [{ "char": "氵 宝" }], "weight": "10" }, { "charId": "3b172274", "unicodeChar": "𣶽", "unicodeCodePoint": "23DBD", "pinYinChars": [{ "char": "fa3" }], "splitChars": [{ "char": "氵 芸" }], "weight": "10" }, { "charId": "a3ecec52", "unicodeChar": "𣶼", "unicodeCodePoint": "23DBC", "pinYinChars": [{ "char": "氵 芬" }], "splitChars": [], "weight": "10" }, { "charId": "651db2fc", "unicodeChar": "𣶺", "unicodeCodePoint": "23DBA", "pinYinChars": [{ "char": "氵宜" }], "splitChars": [], "weight": "10" }, { "charId": "5e152bef", "unicodeChar": "𣶴", "unicodeCodePoint": "23DB4", "pinYinChars": [{ "char": "chong1" }], "splitChars": [{ "char": "氵 肿" }], "weight": "10" }, { "charId": "dd21e0d3", "unicodeChar": "𣶇", "unicodeCodePoint": "23D87", "pinYinChars": [{ "char": "SA3" }], "splitChars": [{ "char": "氵 丽" }], "weight": "10" }, { "charId": "5c94f375", "unicodeChar": "𣶀", "unicodeCodePoint": "23D80", "pinYinChars": [{ "char": "MAO4" }], "splitChars": [{ "char": "氵冐" }], "weight": "10" }, { "charId": "7496ff1e", "unicodeChar": "𣵦", "unicodeCodePoint": "23D66", "pinYinChars": [{ "char": "DIAN4" }], "splitChars": [{ "char": "氵甸" }], "weight": "10" }, { "charId": "45538f81", "unicodeChar": "𣵗", "unicodeCodePoint": "23D57", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "氵 夭" }], "weight": "10" }, { "charId": "f6b4b8ba", "unicodeChar": "𣵁", "unicodeCodePoint": "23D41", "pinYinChars": [{ "char": "YAN1" }], "splitChars": [{ "char": "氵伯" }], "weight": "10" }, { "charId": "dc05a161", "unicodeChar": "𣴺", "unicodeCodePoint": "23D3A", "pinYinChars": [{ "char": "YUAN1" }], "splitChars": [{ "char": "氵囦" }], "weight": "10" }, { "charId": "136c00c8", "unicodeChar": "𣴶", "unicodeCodePoint": "23D36", "pinYinChars": [{ "char": "QI1" }], "splitChars": [{ "char": "氵坐" }], "weight": "10" }, { "charId": "b0958b77", "unicodeChar": "𣴊", "unicodeCodePoint": "23D0A", "pinYinChars": [{ "char": "SE4" }], "splitChars": [{ "char": "氵色" }], "weight": "10" }, { "charId": "0d375ec6", "unicodeChar": "𣴆", "unicodeCodePoint": "23D06", "pinYinChars": [{ "char": "YU3" }], "splitChars": [{ "char": "氵 羽" }], "weight": "10" }, { "charId": "d651ceb4", "unicodeChar": "𣳽", "unicodeCodePoint": "23CFD", "pinYinChars": [{ "char": "氵 佩" }], "splitChars": [], "weight": "10" }, { "charId": "05779ee3", "unicodeChar": "𣳳", "unicodeCodePoint": "23CF3", "pinYinChars": [{ "char": "XIAN3" }], "splitChars": [{ "char": "覀水" }], "weight": "10" }, { "charId": "10832b49", "unicodeChar": "𣳮", "unicodeCodePoint": "23CEE", "pinYinChars": [{ "char": "CHI2" }], "splitChars": [{ "char": "氵 吕" }], "weight": "10" }, { "charId": "6bc52b31", "unicodeChar": "𣳗", "unicodeCodePoint": "23CD7", "pinYinChars": [{ "char": "MU3" }], "splitChars": [{ "char": "水母" }], "weight": "10" }, { "charId": "077f8961", "unicodeChar": "𣳆", "unicodeCodePoint": "23CC6", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "冯水" }], "weight": "10" }, { "charId": "80e61130", "unicodeChar": "𣲙", "unicodeCodePoint": "23C99", "pinYinChars": [{ "char": "NI4" }, { "char": "NIAO4" }], "splitChars": [{ "char": "氵水" }], "weight": "10" }, { "charId": "a67ab8e6", "unicodeChar": "𣱶", "unicodeCodePoint": "23C76", "pinYinChars": [{ "char": "BU3" }], "splitChars": [{ "char": "氵卜" }], "weight": "10" }, { "charId": "d36b4b3a", "unicodeChar": "𣭚", "unicodeCodePoint": "23B5A", "pinYinChars": [{ "char": "PAO3" }], "splitChars": [{ "char": "毛 包" }], "weight": "10" }, { "charId": "a7e2ffdb", "unicodeChar": "𣭇", "unicodeCodePoint": "23B47", "pinYinChars": [{ "char": "LV3" }], "splitChars": [{ "char": "毛母" }], "weight": "10" }, { "charId": "c18188ff", "unicodeChar": "𣬵", "unicodeCodePoint": "23B35", "pinYinChars": [{ "char": "MAO2" }], "splitChars": [{ "char": "方毛" }], "weight": "10" }, { "charId": "d9665b4c", "unicodeChar": "𣬥", "unicodeCodePoint": "23B25", "pinYinChars": [{ "char": "MAO1" }], "splitChars": [{ "char": "毛 子" }], "weight": "10" }, { "charId": "6a4a73b8", "unicodeChar": "𣫺", "unicodeCodePoint": "23AFA", "pinYinChars": [{ "char": "YU4" }], "splitChars": [{ "char": "每育" }], "weight": "10" }, { "charId": "49420f0f", "unicodeChar": "𣫴", "unicodeCodePoint": "23AF4", "pinYinChars": [{ "char": "XIE2" }], "splitChars": [{ "char": "圭母" }], "weight": "10" }, { "charId": "6a35414a", "unicodeChar": "𣫯", "unicodeCodePoint": "23AEF", "pinYinChars": [{ "char": "FAN2" }], "splitChars": [{ "char": "母母" }], "weight": "10" }, { "charId": "6ba21afb", "unicodeChar": "𣪺", "unicodeCodePoint": "23ABA", "pinYinChars": [{ "char": "HU2" }], "splitChars": [{ "char": "殼糸" }], "weight": "10" }, { "charId": "2619bf65", "unicodeChar": "𣪱", "unicodeCodePoint": "23AB1", "pinYinChars": [{ "char": "AI2" }], "splitChars": [{ "char": "豈殳" }], "weight": "10" }, { "charId": "2536ca7c", "unicodeChar": "𣪞", "unicodeCodePoint": "23A9E", "pinYinChars": [{ "char": "YIN1" }], "splitChars": [{ "char": "白廾殳" }], "weight": "10" }, { "charId": "db1b4546", "unicodeChar": "𣥖", "unicodeCodePoint": "23956", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "止止" }], "weight": "10" }, { "charId": "3f4e554d", "unicodeChar": "𣡍", "unicodeCodePoint": "2384D", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "朿 朿" }], "weight": "10" }, { "charId": "db71e0ad", "unicodeChar": "𣟛", "unicodeCodePoint": "237DB", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "木燕" }], "weight": "10" }, { "charId": "28ba7790", "unicodeChar": "𣟕", "unicodeCodePoint": "237D5", "pinYinChars": [{ "char": "木 木" }], "splitChars": [], "weight": "10" }, { "charId": "c0e4c39f", "unicodeChar": "𣞢", "unicodeCodePoint": "237A2", "pinYinChars": [{ "char": "ZE3" }], "splitChars": [{ "char": "木 蔗" }], "weight": "10" }, { "charId": "a6db1abe", "unicodeChar": "𣞍", "unicodeCodePoint": "2378D", "pinYinChars": [{ "char": "木 署" }], "splitChars": [{ "char": "木署" }], "weight": "10" }, { "charId": "d098e8d5", "unicodeChar": "𣞁", "unicodeCodePoint": "23781", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "木 榮" }], "weight": "10" }, { "charId": "063febf7", "unicodeChar": "𣝲", "unicodeCodePoint": "23772", "pinYinChars": [{ "char": "FENG4" }], "splitChars": [{ "char": "木 鳳" }], "weight": "10" }, { "charId": "81a1eafc", "unicodeChar": "𣝢", "unicodeCodePoint": "23762", "pinYinChars": [{ "char": "pu3" }, { "char": "po1" }, { "char": "po4" }, { "char": "piao2" }], "splitChars": [{ "char": "木 美" }], "weight": "10" }, { "charId": "de25a632", "unicodeChar": "𣝀", "unicodeCodePoint": "23740", "pinYinChars": [{ "char": "木勤" }], "splitChars": [], "weight": "10" }, { "charId": "250a55f1", "unicodeChar": "𣜒", "unicodeCodePoint": "23712", "pinYinChars": [{ "char": "CONG2" }], "splitChars": [{ "char": "木 取" }], "weight": "10" }, { "charId": "385cc9e0", "unicodeChar": "𣜃", "unicodeCodePoint": "23703", "pinYinChars": [{ "char": "YOU3" }], "splitChars": [{ "char": "木𤋃" }], "weight": "10" }, { "charId": "5bf8f6f0", "unicodeChar": "𣛃", "unicodeCodePoint": "236C3", "pinYinChars": [{ "char": "JUN4" }], "splitChars": [{ "char": "木 菌" }], "weight": "10" }, { "charId": "95930143", "unicodeChar": "𣚰", "unicodeCodePoint": "236B0", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "木着" }], "weight": "10" }, { "charId": "7d0d8d11", "unicodeChar": "𣚦", "unicodeCodePoint": "236A6", "pinYinChars": [{ "char": "JIANG4" }], "splitChars": [{ "char": "木强木強" }], "weight": "10" }, { "charId": "4c89521d", "unicodeChar": "𣚣", "unicodeCodePoint": "236A3", "pinYinChars": [{ "char": "GENG1" }], "splitChars": [{ "char": "木異" }], "weight": "10" }, { "charId": "93e2e2b2", "unicodeChar": "𣚘", "unicodeCodePoint": "23698", "pinYinChars": [{ "char": "YI4" }], "splitChars": [], "weight": "10" }, { "charId": "9399e8c3", "unicodeChar": "𣙷", "unicodeCodePoint": "23677", "pinYinChars": [{ "char": "MANG2" }], "splitChars": [{ "char": "木莽" }], "weight": "10" }, { "charId": "c98b8986", "unicodeChar": "𣙢", "unicodeCodePoint": "23662", "pinYinChars": [{ "char": "JUAN4" }], "splitChars": [{ "char": "木圈" }], "weight": "10" }, { "charId": "2f9a2dc1", "unicodeChar": "𣙟", "unicodeCodePoint": "2365F", "pinYinChars": [{ "char": "TANG2" }], "splitChars": [{ "char": "木常" }], "weight": "10" }, { "charId": "8f016306", "unicodeChar": "𣘼", "unicodeCodePoint": "2363C", "pinYinChars": [{ "char": "qi3" }], "splitChars": [{ "char": "啟木" }], "weight": "10" }, { "charId": "2a2affc4", "unicodeChar": "𣘩", "unicodeCodePoint": "23629", "pinYinChars": [{ "char": "SI4" }], "splitChars": [{ "char": "木徙" }], "weight": "10" }, { "charId": "ebad216d", "unicodeChar": "𣘢", "unicodeCodePoint": "23622", "pinYinChars": [{ "char": "AO2" }], "splitChars": [{ "char": "敖木" }], "weight": "10" }, { "charId": "f9581715", "unicodeChar": "𣘁", "unicodeCodePoint": "23601", "pinYinChars": [{ "char": "木哥" }], "splitChars": [], "weight": "10" }, { "charId": "556a8138", "unicodeChar": "𣗙", "unicodeCodePoint": "235D9", "pinYinChars": [{ "char": "NUO2" }], "splitChars": [{ "char": "木难" }], "weight": "10" }, { "charId": "38b4f572", "unicodeChar": "𣗖", "unicodeCodePoint": "235D6", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "木栗" }], "weight": "10" }, { "charId": "650cda8f", "unicodeChar": "𣗏", "unicodeCodePoint": "235CF", "pinYinChars": [{ "char": "木 峯" }], "splitChars": [], "weight": "10" }, { "charId": "0b63c92c", "unicodeChar": "𣗎", "unicodeCodePoint": "235CE", "pinYinChars": [{ "char": "木 荃" }], "splitChars": [], "weight": "10" }, { "charId": "4af2da54", "unicodeChar": "𣗇", "unicodeCodePoint": "235C7", "pinYinChars": [{ "char": "木西灬" }], "splitChars": [], "weight": "10" }, { "charId": "5297f0cc", "unicodeChar": "𣖵", "unicodeCodePoint": "235B5", "pinYinChars": [{ "char": "CUO2" }], "splitChars": [{ "char": "木座" }], "weight": "10" }, { "charId": "dfd414b3", "unicodeChar": "𣖧", "unicodeCodePoint": "235A7", "pinYinChars": [{ "char": "木柴" }], "splitChars": [], "weight": "10" }, { "charId": "9bbf4aaf", "unicodeChar": "𣖕", "unicodeCodePoint": "23595", "pinYinChars": [{ "char": "PING2" }], "splitChars": [{ "char": "木屏" }], "weight": "10" }, { "charId": "999e9ecb", "unicodeChar": "𣖂", "unicodeCodePoint": "23582", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "木羍" }], "weight": "10" }, { "charId": "f4e341af", "unicodeChar": "𣕯", "unicodeCodePoint": "2356F", "pinYinChars": [{ "char": "CHEN1" }], "splitChars": [{ "char": "林 令" }], "weight": "10" }, { "charId": "0c1e9f64", "unicodeChar": "𣕚", "unicodeCodePoint": "2355A", "pinYinChars": [{ "char": "木茂" }], "splitChars": [], "weight": "10" }, { "charId": "2ed2ab9e", "unicodeChar": "𣔭", "unicodeCodePoint": "2352D", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "木坴" }], "weight": "10" }, { "charId": "c716ced5", "unicodeChar": "𣓿", "unicodeCodePoint": "234FF", "pinYinChars": [{ "char": "LAO4" }], "splitChars": [{ "char": "木劳" }], "weight": "10" }, { "charId": "90ce6549", "unicodeChar": "𣓶", "unicodeCodePoint": "234F6", "pinYinChars": [{ "char": "MENG4" }], "splitChars": [{ "char": "木 孟" }], "weight": "10" }, { "charId": "0955bd2c", "unicodeChar": "𣓳", "unicodeCodePoint": "234F3", "pinYinChars": [{ "char": "RONG2" }], "splitChars": [{ "char": "火 木" }], "weight": "10" }, { "charId": "abca8f60", "unicodeChar": "𣓖", "unicodeCodePoint": "234D6", "pinYinChars": [{ "char": "JI1" }], "splitChars": [{ "char": "木肩" }], "weight": "10" }, { "charId": "022887a8", "unicodeChar": "𣓎", "unicodeCodePoint": "234CE", "pinYinChars": [{ "char": "YAO1" }], "splitChars": [{ "char": "木芺" }], "weight": "10" }, { "charId": "7c833cfd", "unicodeChar": "𣒣", "unicodeCodePoint": "234A3", "pinYinChars": [{ "char": "MANG2" }], "splitChars": [{ "char": "木芒" }], "weight": "10" }, { "charId": "94a75323", "unicodeChar": "𣑲", "unicodeCodePoint": "23472", "pinYinChars": [{ "char": "PEI4" }], "splitChars": [{ "char": "木𫥞" }], "weight": "10" }, { "charId": "9180b5e3", "unicodeChar": "𣑖", "unicodeCodePoint": "23456", "pinYinChars": [{ "char": "QIA4" }], "splitChars": [{ "char": "木圶" }], "weight": "10" }, { "charId": "3b666d59", "unicodeChar": "𣑕", "unicodeCodePoint": "23455", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "木丞" }], "weight": "10" }, { "charId": "8bc83d3e", "unicodeChar": "𣑐", "unicodeCodePoint": "23450", "pinYinChars": [{ "char": "MOU3" }], "splitChars": [{ "char": "木吊" }], "weight": "10" }, { "charId": "8afdf493", "unicodeChar": "𣐹", "unicodeCodePoint": "23439", "pinYinChars": [{ "char": "JIAO1" }], "splitChars": [{ "char": "木尗" }], "weight": "10" }, { "charId": "1048c40d", "unicodeChar": "𣐬", "unicodeCodePoint": "2342C", "pinYinChars": [{ "char": "NIU3" }], "splitChars": [{ "char": "木田" }], "weight": "10" }, { "charId": "eec386de", "unicodeChar": "𣐩", "unicodeCodePoint": "23429", "pinYinChars": [{ "char": "BAI2" }], "splitChars": [{ "char": "白木" }], "weight": "10" }, { "charId": "e14fa3c2", "unicodeChar": "𣐡", "unicodeCodePoint": "23421", "pinYinChars": [{ "char": "MIN2" }], "splitChars": [{ "char": "木民" }], "weight": "10" }, { "charId": "ea083358", "unicodeChar": "𣐕", "unicodeCodePoint": "23415", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "木𢀖" }], "weight": "10" }, { "charId": "3285e57a", "unicodeChar": "𣐀", "unicodeCodePoint": "23400", "pinYinChars": [{ "char": "WEN2" }], "splitChars": [{ "char": "木文" }], "weight": "10" }, { "charId": "6f3a37ed", "unicodeChar": "𣏹", "unicodeCodePoint": "233F9", "pinYinChars": [{ "char": "ZAI1" }], "splitChars": [{ "char": "木火" }], "weight": "10" }, { "charId": "d5d04592", "unicodeChar": "𣏬", "unicodeCodePoint": "233EC", "pinYinChars": [{ "char": "RI4" }], "splitChars": [{ "char": "木 日" }], "weight": "10" }, { "charId": "0206a31f", "unicodeChar": "𣏨", "unicodeCodePoint": "233E8", "pinYinChars": [{ "char": "JING3" }], "splitChars": [{ "char": "木井" }], "weight": "10" }, { "charId": "74fa0d95", "unicodeChar": "𣎶", "unicodeCodePoint": "233B6", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "木一" }], "weight": "10" }, { "charId": "2d7e1b8b", "unicodeChar": "𣎮", "unicodeCodePoint": "233AE", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "月羲" }], "weight": "10" }, { "charId": "65913a74", "unicodeChar": "𣍱", "unicodeCodePoint": "23371", "pinYinChars": [{ "char": "MOU3" }], "splitChars": [{ "char": "月 宏" }], "weight": "10" }, { "charId": "0576d22a", "unicodeChar": "𣍬", "unicodeCodePoint": "2336C", "pinYinChars": [{ "char": "CHUAN2" }], "splitChars": [{ "char": "月 口" }], "weight": "10" }, { "charId": "6ce85ddc", "unicodeChar": "𣍪", "unicodeCodePoint": "2336A", "pinYinChars": [{ "char": "MOU3" }], "splitChars": [{ "char": "月丙" }], "weight": "10" }, { "charId": "cc79a019", "unicodeChar": "𣌭", "unicodeCodePoint": "2332D", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "合日" }], "weight": "10" }, { "charId": "886d90c2", "unicodeChar": "𣌟", "unicodeCodePoint": "2331F", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "日靈" }], "weight": "10" }, { "charId": "888f8486", "unicodeChar": "𣌊", "unicodeCodePoint": "2330A", "pinYinChars": [{ "char": "日 霞" }], "splitChars": [], "weight": "10" }, { "charId": "8fae560f", "unicodeChar": "𣋅", "unicodeCodePoint": "232C5", "pinYinChars": [{ "char": "YAN4" }], "splitChars": [{ "char": "廿北" }], "weight": "10" }, { "charId": "e80d19b3", "unicodeChar": "𣊬", "unicodeCodePoint": "232AC", "pinYinChars": [{ "char": "SHUN4" }], "splitChars": [{ "char": "日 舜" }], "weight": "10" }, { "charId": "2678da3c", "unicodeChar": "𣊧", "unicodeCodePoint": "232A7", "pinYinChars": [{ "char": "LANG3" }], "splitChars": [{ "char": "明明" }], "weight": "10" }, { "charId": "12f2981a", "unicodeChar": "𣈶", "unicodeCodePoint": "23236", "pinYinChars": [{ "char": "XUAN3" }], "splitChars": [{ "char": "日恆" }], "weight": "10" }, { "charId": "e2509bd9", "unicodeChar": "𣈲", "unicodeCodePoint": "23232", "pinYinChars": [{ "char": "MEI4" }], "splitChars": [{ "char": "日 眉" }], "weight": "10" }, { "charId": "e083e0cc", "unicodeChar": "𣈏", "unicodeCodePoint": "2320F", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "日昔" }], "weight": "10" }, { "charId": "c1be4ad9", "unicodeChar": "𣇷", "unicodeCodePoint": "231F7", "pinYinChars": [{ "char": "日 芳" }], "splitChars": [], "weight": "10" }, { "charId": "ee9556f2", "unicodeChar": "𣇲", "unicodeCodePoint": "231F2", "pinYinChars": [{ "char": "HUN1" }], "splitChars": [{ "char": "日昏" }], "weight": "10" }, { "charId": "230db4cb", "unicodeChar": "𣇉", "unicodeCodePoint": "231C9", "pinYinChars": [{ "char": "日 君" }], "splitChars": [], "weight": "10" }, { "charId": "d1a85c37", "unicodeChar": "𣆥", "unicodeCodePoint": "231A5", "pinYinChars": [{ "char": "huang4" }], "splitChars": [{ "char": "光日" }], "weight": "10" }, { "charId": "c464a707", "unicodeChar": "𣆚", "unicodeCodePoint": "2319A", "pinYinChars": [{ "char": "NUO3" }], "splitChars": [{ "char": "日多" }], "weight": "10" }, { "charId": "469a74dc", "unicodeChar": "𣆀", "unicodeCodePoint": "23180", "pinYinChars": [{ "char": "DAN" }], "splitChars": [{ "char": "日冉" }], "weight": "10" }, { "charId": "1362d59b", "unicodeChar": "𣅿", "unicodeCodePoint": "2317F", "pinYinChars": [{ "char": "yi2" }, { "char": "chi4" }], "splitChars": [{ "char": "日台" }], "weight": "10" }, { "charId": "4050d0b4", "unicodeChar": "𣅽", "unicodeCodePoint": "2317D", "pinYinChars": [{ "char": "PO4" }], "splitChars": [{ "char": "日出" }], "weight": "10" }, { "charId": "9d578929", "unicodeChar": "𣅋", "unicodeCodePoint": "2314B", "pinYinChars": [{ "char": "DOU4" }], "splitChars": [{ "char": "日䒑" }], "weight": "10" }, { "charId": "3651b47f", "unicodeChar": "𣄻", "unicodeCodePoint": "2313B", "pinYinChars": [{ "char": "ZHUO1" }], "splitChars": [{ "char": "日乙" }], "weight": "10" }, { "charId": "5fd2d4c5", "unicodeChar": "𣄃", "unicodeCodePoint": "23103", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "方其" }], "weight": "10" }, { "charId": "bb735fa2", "unicodeChar": "𣃚", "unicodeCodePoint": "230DA", "pinYinChars": [{ "char": "HANG2" }], "splitChars": [{ "char": "方亢" }], "weight": "10" }, { "charId": "d4ec42b0", "unicodeChar": "𣂎", "unicodeCodePoint": "2308E", "pinYinChars": [{ "char": "满 斗" }], "splitChars": [], "weight": "10" }, { "charId": "2c42631c", "unicodeChar": "𣁾", "unicodeCodePoint": "2307E", "pinYinChars": [{ "char": "斗 斗" }], "splitChars": [], "weight": "10" }, { "charId": "e687b1bf", "unicodeChar": "𣀸", "unicodeCodePoint": "23038", "pinYinChars": [{ "char": "JIAN3" }], "splitChars": [{ "char": "繭攵" }], "weight": "10" }, { "charId": "7483616e", "unicodeChar": "𢿇", "unicodeCodePoint": "22FC7", "pinYinChars": [{ "char": "LU4" }], "splitChars": [{ "char": "鹿攴" }], "weight": "10" }, { "charId": "ca82bc06", "unicodeChar": "𢾝", "unicodeCodePoint": "22F9D", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "韋攵" }], "weight": "10" }, { "charId": "4b62f138", "unicodeChar": "𢾚", "unicodeCodePoint": "22F9A", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "音攵" }], "weight": "10" }, { "charId": "b9786b36", "unicodeChar": "𢾖", "unicodeCodePoint": "22F96", "pinYinChars": [{ "char": "DU4" }], "splitChars": [{ "char": "度攴广龷又攴" }], "weight": "10" }, { "charId": "d19e5c08", "unicodeChar": "𢾅", "unicodeCodePoint": "22F85", "pinYinChars": [{ "char": "DU4" }], "splitChars": [{ "char": "度攵" }], "weight": "10" }, { "charId": "0394a16b", "unicodeChar": "𢽾", "unicodeCodePoint": "22F7E", "pinYinChars": [{ "char": "XIAO4" }], "splitChars": [{ "char": "学攴" }], "weight": "10" }, { "charId": "f234321b", "unicodeChar": "𢽠", "unicodeCodePoint": "22F60", "pinYinChars": [{ "char": "ZHENG1" }], "splitChars": [{ "char": "𱖔攵山丆土攵" }], "weight": "10" }, { "charId": "60392f17", "unicodeChar": "𢽉", "unicodeCodePoint": "22F49", "pinYinChars": [{ "char": "KOU4" }], "splitChars": [{ "char": "完攵" }], "weight": "10" }, { "charId": "c8511a30", "unicodeChar": "𢼉", "unicodeCodePoint": "22F09", "pinYinChars": [{ "char": "SHI1" }], "splitChars": [{ "char": "台攵" }], "weight": "10" }, { "charId": "2b71865f", "unicodeChar": "𢼄", "unicodeCodePoint": "22F04", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "户攵" }], "weight": "10" }, { "charId": "444c2be2", "unicodeChar": "𢻴", "unicodeCodePoint": "22EF4", "pinYinChars": [{ "char": "DEN4" }], "splitChars": [{ "char": "屯攴" }], "weight": "10" }, { "charId": "d34324ad", "unicodeChar": "𢻮", "unicodeCodePoint": "22EEE", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "卪攵" }], "weight": "10" }, { "charId": "bcebd5ae", "unicodeChar": "𢻁", "unicodeCodePoint": "22EC1", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "刀 支" }], "weight": "10" }, { "charId": "a6fcb5f9", "unicodeChar": "𢸳", "unicodeCodePoint": "22E33", "pinYinChars": [{ "char": "SU4" }], "splitChars": [{ "char": "扌蕭" }], "weight": "10" }, { "charId": "9d7de295", "unicodeChar": "𢷏", "unicodeCodePoint": "22DCF", "pinYinChars": [{ "char": "PU1" }], "splitChars": [{ "char": "扌僕" }], "weight": "10" }, { "charId": "7a5ed25a", "unicodeChar": "𢷊", "unicodeCodePoint": "22DCA", "pinYinChars": [{ "char": "SUI4" }], "splitChars": [{ "char": "扌 遂" }], "weight": "10" }, { "charId": "8cd79c36", "unicodeChar": "𢳟", "unicodeCodePoint": "22CDF", "pinYinChars": [{ "char": "TONG3" }], "splitChars": [{ "char": "扌通" }], "weight": "10" }, { "charId": "eb4e1db6", "unicodeChar": "𢮝", "unicodeCodePoint": "22B9D", "pinYinChars": [{ "char": "NA2" }], "splitChars": [{ "char": "取手" }], "weight": "10" }, { "charId": "48afd1fd", "unicodeChar": "𢮎", "unicodeCodePoint": "22B8E", "pinYinChars": [{ "char": "GUAI1" }], "splitChars": [{ "char": "扌虎" }], "weight": "10" }, { "charId": "eb2d725a", "unicodeChar": "𢮋", "unicodeCodePoint": "22B8B", "pinYinChars": [{ "char": "ZHENG3" }], "splitChars": [{ "char": "扌承" }], "weight": "10" }, { "charId": "21453b9f", "unicodeChar": "𢭭", "unicodeCodePoint": "22B6D", "pinYinChars": [{ "char": "扌灶" }], "splitChars": [], "weight": "10" }, { "charId": "6ad0bc32", "unicodeChar": "𢫱", "unicodeCodePoint": "22AF1", "pinYinChars": [{ "char": "YAN3" }], "splitChars": [{ "char": "扌行" }], "weight": "10" }, { "charId": "066b5c82", "unicodeChar": "𢫦", "unicodeCodePoint": "22AE6", "pinYinChars": [{ "char": "PAI1" }], "splitChars": [{ "char": "扌百" }], "weight": "10" }, { "charId": "7d7c6a7b", "unicodeChar": "𢪘", "unicodeCodePoint": "22A98", "pinYinChars": [{ "char": "bai1" }], "splitChars": [{ "char": "分手" }], "weight": "10" }, { "charId": "215e25e1", "unicodeChar": "𢪒", "unicodeCodePoint": "22A92", "pinYinChars": [{ "char": "GONG3" }], "splitChars": [{ "char": "手手" }], "weight": "10" }, { "charId": "f50bf170", "unicodeChar": "𢩭", "unicodeCodePoint": "22A6D", "pinYinChars": [{ "char": "CUN3" }], "splitChars": [{ "char": "扌寸" }], "weight": "10" }, { "charId": "c0055ad8", "unicodeChar": "𢩙", "unicodeCodePoint": "22A59", "pinYinChars": [{ "char": "LING2" }], "splitChars": [{ "char": "启启" }], "weight": "10" }, { "charId": "65e0f092", "unicodeChar": "𢩉", "unicodeCodePoint": "22A49", "pinYinChars": [{ "char": "户共" }], "splitChars": [], "weight": "10" }, { "charId": "0b3919d3", "unicodeChar": "𢨋", "unicodeCodePoint": "22A0B", "pinYinChars": [{ "char": "BEI4" }], "splitChars": [{ "char": "或 或" }], "weight": "10" }, { "charId": "2b1d8c08", "unicodeChar": "𢦏", "unicodeCodePoint": "2298F", "pinYinChars": [{ "char": "ZAI1" }], "splitChars": [{ "char": "十 戈" }], "weight": "10" }, { "charId": "d98f2fa3", "unicodeChar": "𢥞", "unicodeCodePoint": "2295E", "pinYinChars": [{ "char": "CHONG1" }], "splitChars": [{ "char": "忄蟲" }], "weight": "10" }, { "charId": "03d8a0e7", "unicodeChar": "𢤀", "unicodeCodePoint": "22900", "pinYinChars": [{ "char": "HONG1" }], "splitChars": [{ "char": "興心" }], "weight": "10" }, { "charId": "4be6e5a3", "unicodeChar": "𢢩", "unicodeCodePoint": "228A9", "pinYinChars": [{ "char": "jing" }], "splitChars": [{ "char": "忄敬" }], "weight": "10" }, { "charId": "1180d0f4", "unicodeChar": "𢡟", "unicodeCodePoint": "2285F", "pinYinChars": [{ "char": "mao4" }], "splitChars": [{ "char": "棥心" }], "weight": "10" }, { "charId": "a1de01d7", "unicodeChar": "𢡋", "unicodeCodePoint": "2284B", "pinYinChars": [{ "char": "GAO1" }], "splitChars": [{ "char": "忄臯" }], "weight": "10" }, { "charId": "a64036e7", "unicodeChar": "𢠨", "unicodeCodePoint": "22828", "pinYinChars": [{ "char": "忄敏" }], "splitChars": [], "weight": "10" }, { "charId": "b9d5f61b", "unicodeChar": "𢠢", "unicodeCodePoint": "22822", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "忄尉" }], "weight": "10" }, { "charId": "fb1aa511", "unicodeChar": "𢠆", "unicodeCodePoint": "22806", "pinYinChars": [{ "char": "忄通" }], "splitChars": [], "weight": "10" }, { "charId": "4514a349", "unicodeChar": "𢠄", "unicodeCodePoint": "22804", "pinYinChars": [{ "char": "忄崇" }], "splitChars": [], "weight": "10" }, { "charId": "42882766", "unicodeChar": "𢞓", "unicodeCodePoint": "22793", "pinYinChars": [{ "char": "LIU2" }], "splitChars": [{ "char": "忄留" }], "weight": "10" }, { "charId": "13b3d17f", "unicodeChar": "𢜞", "unicodeCodePoint": "2271E", "pinYinChars": [{ "char": "忄來" }], "splitChars": [], "weight": "10" }, { "charId": "a12886ce", "unicodeChar": "𢜔", "unicodeCodePoint": "22714", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "知心" }], "weight": "10" }, { "charId": "4906356b", "unicodeChar": "𢜀", "unicodeCodePoint": "22700", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "忄 疌" }], "weight": "10" }, { "charId": "41eeebc0", "unicodeChar": "𢛧", "unicodeCodePoint": "226E7", "pinYinChars": [{ "char": "WEI2" }], "splitChars": [{ "char": "隹心" }], "weight": "10" }, { "charId": "f8de9340", "unicodeChar": "𢚾", "unicodeCodePoint": "226BE", "pinYinChars": [{ "char": "HUAN4" }], "splitChars": [{ "char": "忄奂" }], "weight": "10" }, { "charId": "77a094ca", "unicodeChar": "𢙓", "unicodeCodePoint": "22653", "pinYinChars": [{ "char": "WEI4" }], "splitChars": [{ "char": "忄会" }], "weight": "10" }, { "charId": "05a324fb", "unicodeChar": "𢙐", "unicodeCodePoint": "22650", "pinYinChars": [{ "char": "NAO2" }], "splitChars": [{ "char": "忄农" }], "weight": "10" }, { "charId": "6e3ffea1", "unicodeChar": "𢙏", "unicodeCodePoint": "2264F", "pinYinChars": [{ "char": "XUN4" }], "splitChars": [{ "char": "孙心" }], "weight": "10" }, { "charId": "a8c3076f", "unicodeChar": "𢘙", "unicodeCodePoint": "22619", "pinYinChars": [{ "char": "LONG3" }], "splitChars": [{ "char": "忄龙" }], "weight": "10" }, { "charId": "354d4540", "unicodeChar": "𢗋", "unicodeCodePoint": "225CB", "pinYinChars": [{ "char": "QIONG2" }], "splitChars": [{ "char": "忄匀忄勻" }], "weight": "10" }, { "charId": "d119eda2", "unicodeChar": "𢖱", "unicodeCodePoint": "225B1", "pinYinChars": [{ "char": "NAI3" }], "splitChars": [{ "char": "忄乃" }], "weight": "10" }, { "charId": "4c01a54a", "unicodeChar": "𢔏", "unicodeCodePoint": "2250F", "pinYinChars": [{ "char": "HOU4" }], "splitChars": [{ "char": "彳受" }], "weight": "10" }, { "charId": "7aaf14b1", "unicodeChar": "𢓶", "unicodeCodePoint": "224F6", "pinYinChars": [{ "char": "TONG1" }], "splitChars": [{ "char": "彳甬" }], "weight": "10" }, { "charId": "877f8edd", "unicodeChar": "𢓭", "unicodeCodePoint": "224ED", "pinYinChars": [{ "char": "QUN1" }], "splitChars": [{ "char": "彳夋" }], "weight": "10" }, { "charId": "c48d480d", "unicodeChar": "𢓊", "unicodeCodePoint": "224CA", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "彳止" }], "weight": "10" }, { "charId": "41a6df1c", "unicodeChar": "𢓁", "unicodeCodePoint": "224C1", "pinYinChars": [{ "char": "彳工" }], "splitChars": [], "weight": "10" }, { "charId": "a42e31f9", "unicodeChar": "𢒋", "unicodeCodePoint": "2248B", "pinYinChars": [{ "char": "永 彡" }], "splitChars": [], "weight": "10" }, { "charId": "6ebf66f0", "unicodeChar": "𢑆", "unicodeCodePoint": "22446", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "弓雚" }], "weight": "10" }, { "charId": "1d133bf5", "unicodeChar": "𢐧", "unicodeCodePoint": "22427", "pinYinChars": [{ "char": "QING2" }], "splitChars": [{ "char": "敬弓" }], "weight": "10" }, { "charId": "51060dfa", "unicodeChar": "𢏈", "unicodeCodePoint": "223C8", "pinYinChars": [{ "char": "ZHEN3" }], "splitChars": [{ "char": "弓㠯" }], "weight": "10" }, { "charId": "e184b268", "unicodeChar": "𢍉", "unicodeCodePoint": "22349", "pinYinChars": [{ "char": "BI4" }], "splitChars": [{ "char": "甶廾" }], "weight": "10" }, { "charId": "ca7c9c79", "unicodeChar": "𢌴", "unicodeCodePoint": "22334", "pinYinChars": [{ "char": "XUN4" }], "splitChars": [{ "char": "巳 廾" }], "weight": "10" }, { "charId": "7d31ca09", "unicodeChar": "𢉘", "unicodeCodePoint": "22258", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "广炎" }], "weight": "10" }, { "charId": "0946925b", "unicodeChar": "𢈭", "unicodeCodePoint": "2222D", "pinYinChars": [{ "char": "XIAO1" }], "splitChars": [{ "char": "广肖" }], "weight": "10" }, { "charId": "a3f0aab3", "unicodeChar": "𢈠", "unicodeCodePoint": "22220", "pinYinChars": [{ "char": "CU4" }], "splitChars": [{ "char": "广束" }], "weight": "10" }, { "charId": "241456b7", "unicodeChar": "𢇍", "unicodeCodePoint": "221CD", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "幺 乙" }], "weight": "10" }, { "charId": "248a729b", "unicodeChar": "𢃼", "unicodeCodePoint": "220FC", "pinYinChars": [{ "char": "MEI4" }], "splitChars": [{ "char": "巾 眉" }], "weight": "10" }, { "charId": "82c77544", "unicodeChar": "𢁀", "unicodeCodePoint": "22040", "pinYinChars": [{ "char": "FU2" }], "splitChars": [{ "char": "共包" }], "weight": "10" }, { "charId": "d887bdd0", "unicodeChar": "𢀖", "unicodeCodePoint": "22016", "pinYinChars": [{ "char": "JING" }, { "char": "XING2" }], "splitChars": [{ "char": "ス工" }], "weight": "10" }, { "charId": "02561c19", "unicodeChar": "𡿪", "unicodeCodePoint": "21FEA", "pinYinChars": [{ "char": "LIE4" }], "splitChars": [{ "char": "巛夕" }], "weight": "10" }, { "charId": "63037297", "unicodeChar": "𡾲", "unicodeCodePoint": "21FB2", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "山薛" }], "weight": "10" }, { "charId": "0eb43418", "unicodeChar": "𡽄", "unicodeCodePoint": "21F44", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "山敫" }], "weight": "10" }, { "charId": "eb9676ae", "unicodeChar": "𡼫", "unicodeCodePoint": "21F2B", "pinYinChars": [{ "char": "JIN1" }], "splitChars": [{ "char": "山替" }], "weight": "10" }, { "charId": "d7d7e668", "unicodeChar": "𡻎", "unicodeCodePoint": "21ECE", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "山隽" }], "weight": "10" }, { "charId": "ba56455e", "unicodeChar": "𡺩", "unicodeCodePoint": "21EA9", "pinYinChars": [{ "char": "tuo2" }], "splitChars": [{ "char": "山咼" }], "weight": "10" }, { "charId": "8ea1939e", "unicodeChar": "𡺟", "unicodeCodePoint": "21E9F", "pinYinChars": [{ "char": "QUAN2" }], "splitChars": [{ "char": "山宣" }], "weight": "10" }, { "charId": "39bb0504", "unicodeChar": "𡺞", "unicodeCodePoint": "21E9E", "pinYinChars": [{ "char": "SHI2" }], "splitChars": [{ "char": "山音" }], "weight": "10" }, { "charId": "f3d7ae95", "unicodeChar": "𡹦", "unicodeCodePoint": "21E66", "pinYinChars": [{ "char": "山定" }], "splitChars": [], "weight": "10" }, { "charId": "0c62c4f5", "unicodeChar": "𡹚", "unicodeCodePoint": "21E5A", "pinYinChars": [{ "char": "CHEN1" }], "splitChars": [{ "char": "林山" }], "weight": "10" }, { "charId": "6422079f", "unicodeChar": "𡹈", "unicodeCodePoint": "21E48", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "山疌" }], "weight": "10" }, { "charId": "8e67ed2c", "unicodeChar": "𡸷", "unicodeCodePoint": "21E37", "pinYinChars": [{ "char": "山 其" }], "splitChars": [], "weight": "10" }, { "charId": "119a69d1", "unicodeChar": "𡸶", "unicodeCodePoint": "21E36", "pinYinChars": [{ "char": "CHONG2" }], "splitChars": [{ "char": "山 宗" }], "weight": "10" }, { "charId": "6965d3e5", "unicodeChar": "𡸄", "unicodeCodePoint": "21E04", "pinYinChars": [{ "char": "DUI1" }], "splitChars": [{ "char": "山坐" }], "weight": "10" }, { "charId": "fa5a4cad", "unicodeChar": "𡷾", "unicodeCodePoint": "21DFE", "pinYinChars": [{ "char": "QIU2" }], "splitChars": [{ "char": "山酉" }], "weight": "10" }, { "charId": "9cc24d29", "unicodeChar": "𡷭", "unicodeCodePoint": "21DED", "pinYinChars": [{ "char": "CHAN2" }], "splitChars": [{ "char": "山免" }], "weight": "10" }, { "charId": "bf38ce30", "unicodeChar": "𡷔", "unicodeCodePoint": "21DD4", "pinYinChars": [{ "char": "DUO3" }], "splitChars": [{ "char": "山朵" }], "weight": "10" }, { "charId": "4753b2ac", "unicodeChar": "𡶧", "unicodeCodePoint": "21DA7", "pinYinChars": [{ "char": "LI4" }], "splitChars": [{ "char": "山立" }], "weight": "10" }, { "charId": "f89d83dc", "unicodeChar": "𡶣", "unicodeCodePoint": "21DA3", "pinYinChars": [{ "char": "SUI4" }], "splitChars": [{ "char": "山 夂" }], "weight": "10" }, { "charId": "91fbcf7b", "unicodeChar": "𡶌", "unicodeCodePoint": "21D8C", "pinYinChars": [{ "char": "PI2" }], "splitChars": [{ "char": "山石" }], "weight": "10" }, { "charId": "6b0f4d96", "unicodeChar": "𡵼", "unicodeCodePoint": "21D7C", "pinYinChars": [{ "char": "TAN4" }], "splitChars": [{ "char": "山火" }], "weight": "10" }, { "charId": "52f464e2", "unicodeChar": "𡵸", "unicodeCodePoint": "21D78", "pinYinChars": [{ "char": "yi4" }], "splitChars": [{ "char": "山尺" }], "weight": "10" }, { "charId": "d33a2775", "unicodeChar": "𡵱", "unicodeCodePoint": "21D71", "pinYinChars": [{ "char": "QI2" }], "splitChars": [{ "char": "山斤" }], "weight": "10" }, { "charId": "6ef25ac7", "unicodeChar": "𡵰", "unicodeCodePoint": "21D70", "pinYinChars": [{ "char": "LIU2" }], "splitChars": [{ "char": "山水" }], "weight": "10" }, { "charId": "e4056f9e", "unicodeChar": "𡵟", "unicodeCodePoint": "21D5F", "pinYinChars": [{ "char": "pa1" }, { "char": "ba4" }], "splitChars": [{ "char": "山巴" }], "weight": "10" }, { "charId": "0d3acae4", "unicodeChar": "𡵝", "unicodeCodePoint": "21D5D", "pinYinChars": [{ "char": "ZONG1" }], "splitChars": [{ "char": "山从" }], "weight": "10" }, { "charId": "ca65e1f4", "unicodeChar": "𡴵", "unicodeCodePoint": "21D35", "pinYinChars": [{ "char": "TING1" }], "splitChars": [{ "char": "山丁" }], "weight": "10" }, { "charId": "4b829571", "unicodeChar": "𡱰", "unicodeCodePoint": "21C70", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "尸豕" }], "weight": "10" }, { "charId": "0203f5bc", "unicodeChar": "𡱒", "unicodeCodePoint": "21C52", "pinYinChars": [{ "char": "TUN2" }], "splitChars": [{ "char": "尸共" }], "weight": "10" }, { "charId": "c2a0ae28", "unicodeChar": "𡰷", "unicodeCodePoint": "21C37", "pinYinChars": [{ "char": "HU4" }], "splitChars": [{ "char": "尸斗" }], "weight": "10" }, { "charId": "ed61722e", "unicodeChar": "𡰪", "unicodeCodePoint": "21C2A", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "尸口" }], "weight": "10" }, { "charId": "e9de0728", "unicodeChar": "𡯂", "unicodeCodePoint": "21BC2", "pinYinChars": [{ "char": "WANG1" }], "splitChars": [{ "char": "八几" }], "weight": "10" }, { "charId": "708c1a78", "unicodeChar": "𡭄", "unicodeCodePoint": "21B44", "pinYinChars": [{ "char": "堯 寸" }], "splitChars": [], "weight": "10" }, { "charId": "5d09066a", "unicodeChar": "𡨤", "unicodeCodePoint": "21A24", "pinYinChars": [{ "char": "ZHUO2" }], "splitChars": [{ "char": "宀叕" }], "weight": "10" }, { "charId": "3a7091fb", "unicodeChar": "𡧳", "unicodeCodePoint": "219F3", "pinYinChars": [{ "char": "SAI" }], "splitChars": [{ "char": "宀西" }], "weight": "10" }, { "charId": "c487b654", "unicodeChar": "𡧨", "unicodeCodePoint": "219E8", "pinYinChars": [{ "char": "ZHU2" }], "splitChars": [{ "char": "宀出" }], "weight": "10" }, { "charId": "b9484e4d", "unicodeChar": "𡧛", "unicodeCodePoint": "219DB", "pinYinChars": [{ "char": "fu4" }], "splitChars": [{ "char": "宀付" }], "weight": "10" }, { "charId": "a023a0a3", "unicodeChar": "𡦈", "unicodeCodePoint": "21988", "pinYinChars": [{ "char": "ling4" }], "splitChars": [{ "char": "令孤" }], "weight": "10" }, { "charId": "02d61c16", "unicodeChar": "𡥐", "unicodeCodePoint": "21950", "pinYinChars": [{ "char": "SHI3" }], "splitChars": [{ "char": "㞤子" }], "weight": "10" }, { "charId": "2a9c4344", "unicodeChar": "𡥆", "unicodeCodePoint": "21946", "pinYinChars": [{ "char": "HAO3" }], "splitChars": [{ "char": "丑子" }], "weight": "10" }, { "charId": "1d3e95a6", "unicodeChar": "𡣙", "unicodeCodePoint": "218D9", "pinYinChars": [{ "char": "qi2" }], "splitChars": [{ "char": "女齊" }], "weight": "10" }, { "charId": "2f8f202e", "unicodeChar": "𡣋", "unicodeCodePoint": "218CB", "pinYinChars": [{ "char": "PIAO1" }], "splitChars": [{ "char": "嫖寸" }], "weight": "10" }, { "charId": "fcf02eff", "unicodeChar": "𡣆", "unicodeCodePoint": "218C6", "pinYinChars": [{ "char": "WU3" }], "splitChars": [{ "char": "女舞" }], "weight": "10" }, { "charId": "1975e4da", "unicodeChar": "𡢽", "unicodeCodePoint": "218BD", "pinYinChars": [{ "char": "sui" }], "splitChars": [{ "char": "女雷" }], "weight": "10" }, { "charId": "5015b77d", "unicodeChar": "𡢟", "unicodeCodePoint": "2189F", "pinYinChars": [{ "char": "女 楚" }], "splitChars": [], "weight": "10" }, { "charId": "114cb6ae", "unicodeChar": "𡡢", "unicodeCodePoint": "21862", "pinYinChars": [{ "char": "女 棠" }], "splitChars": [], "weight": "10" }, { "charId": "59892cfb", "unicodeChar": "𡡞", "unicodeCodePoint": "2185E", "pinYinChars": [{ "char": "女 舜" }], "splitChars": [], "weight": "10" }, { "charId": "4eabbe86", "unicodeChar": "𡡛", "unicodeCodePoint": "2185B", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "女盛" }], "weight": "10" }, { "charId": "f2b49a7a", "unicodeChar": "𡡁", "unicodeCodePoint": "21841", "pinYinChars": [{ "char": "XI2" }], "splitChars": [{ "char": "女悉" }], "weight": "10" }, { "charId": "41d94dba", "unicodeChar": "𡠩", "unicodeCodePoint": "21829", "pinYinChars": [{ "char": "女 堅" }], "splitChars": [], "weight": "10" }, { "charId": "f3dad5aa", "unicodeChar": "𡠖", "unicodeCodePoint": "21816", "pinYinChars": [{ "char": "HAO4" }], "splitChars": [{ "char": "女臯" }], "weight": "10" }, { "charId": "90b05708", "unicodeChar": "𡠓", "unicodeCodePoint": "21813", "pinYinChars": [{ "char": "HUI1" }], "splitChars": [{ "char": "倠女" }], "weight": "10" }, { "charId": "24d9f089", "unicodeChar": "𡟻", "unicodeCodePoint": "217FB", "pinYinChars": [{ "char": "女 茵" }], "splitChars": [], "weight": "10" }, { "charId": "ea4a0f07", "unicodeChar": "𡟺", "unicodeCodePoint": "217FA", "pinYinChars": [{ "char": "女夏" }], "splitChars": [], "weight": "10" }, { "charId": "d7536b3e", "unicodeChar": "𡟸", "unicodeCodePoint": "217F8", "pinYinChars": [{ "char": "女 翁" }], "splitChars": [], "weight": "10" }, { "charId": "5cf22d2e", "unicodeChar": "𡟵", "unicodeCodePoint": "217F5", "pinYinChars": [{ "char": "GO1" }], "splitChars": [{ "char": "女 哥" }], "weight": "10" }, { "charId": "3f2ac539", "unicodeChar": "𡟝", "unicodeCodePoint": "217DD", "pinYinChars": [{ "char": "SUI4" }], "splitChars": [{ "char": "女㒸" }], "weight": "10" }, { "charId": "b48d57dc", "unicodeChar": "𡞵", "unicodeCodePoint": "217B5", "pinYinChars": [{ "char": "huan4" }], "splitChars": [{ "char": "女 奂" }], "weight": "10" }, { "charId": "c5d8c054", "unicodeChar": "𡞲", "unicodeCodePoint": "217B2", "pinYinChars": [{ "char": "ping1" }], "splitChars": [{ "char": "女𦥚" }], "weight": "10" }, { "charId": "f505af09", "unicodeChar": "𡞱", "unicodeCodePoint": "217B1", "pinYinChars": [{ "char": "LV3" }], "splitChars": [{ "char": "女娄" }], "weight": "10" }, { "charId": "4be8dd1d", "unicodeChar": "𡞗", "unicodeCodePoint": "21797", "pinYinChars": [{ "char": "bong2" }], "splitChars": [{ "char": "女奉" }], "weight": "10" }, { "charId": "f0a7ca9d", "unicodeChar": "𡞏", "unicodeCodePoint": "2178F", "pinYinChars": [{ "char": "NAI4" }], "splitChars": [{ "char": "女奈" }], "weight": "10" }, { "charId": "7c66b56b", "unicodeChar": "𡝳", "unicodeCodePoint": "21773", "pinYinChars": [{ "char": "女 芝" }], "splitChars": [], "weight": "10" }, { "charId": "78fc89a1", "unicodeChar": "𡝱", "unicodeCodePoint": "21771", "pinYinChars": [{ "char": "女 芬" }], "splitChars": [], "weight": "10" }, { "charId": "d9e4704f", "unicodeChar": "𡝯", "unicodeCodePoint": "2176F", "pinYinChars": [{ "char": "女 隶" }], "splitChars": [], "weight": "10" }, { "charId": "9380731a", "unicodeChar": "𡝮", "unicodeCodePoint": "2176E", "pinYinChars": [{ "char": "女 宜" }], "splitChars": [], "weight": "10" }, { "charId": "37de9e88", "unicodeChar": "𡝬", "unicodeCodePoint": "2176C", "pinYinChars": [{ "char": "bao3" }], "splitChars": [{ "char": "女 宝" }], "weight": "10" }, { "charId": "999c39cc", "unicodeChar": "𡜻", "unicodeCodePoint": "2173B", "pinYinChars": [{ "char": "女 宋" }], "splitChars": [], "weight": "10" }, { "charId": "3cb284da", "unicodeChar": "𡜠", "unicodeCodePoint": "21720", "pinYinChars": [{ "char": "FENG1" }], "splitChars": [{ "char": "女夅" }], "weight": "10" }, { "charId": "498c4b58", "unicodeChar": "𡜍", "unicodeCodePoint": "2170D", "pinYinChars": [{ "char": "JI2" }], "splitChars": [{ "char": "女自" }], "weight": "10" }, { "charId": "58236a85", "unicodeChar": "𡛨", "unicodeCodePoint": "216E8", "pinYinChars": [{ "char": "女 卡" }], "splitChars": [], "weight": "10" }, { "charId": "c6373cc9", "unicodeChar": "𡛖", "unicodeCodePoint": "216D6", "pinYinChars": [{ "char": "NUO3" }], "splitChars": [{ "char": "女厄" }], "weight": "10" }, { "charId": "eb069098", "unicodeChar": "𡛔", "unicodeCodePoint": "216D4", "pinYinChars": [{ "char": "女丐" }], "splitChars": [], "weight": "10" }, { "charId": "b11b7baa", "unicodeChar": "𡛒", "unicodeCodePoint": "216D2", "pinYinChars": [{ "char": "CAN4" }], "splitChars": [{ "char": "双女" }], "weight": "10" }, { "charId": "e7cd9c17", "unicodeChar": "𡛂", "unicodeCodePoint": "216C2", "pinYinChars": [{ "char": "yi1" }], "splitChars": [{ "char": "女 尹" }], "weight": "10" }, { "charId": "14dbc890", "unicodeChar": "𡚼", "unicodeCodePoint": "216BC", "pinYinChars": [{ "char": "SHI2" }], "splitChars": [{ "char": "女氏" }], "weight": "10" }, { "charId": "1398354d", "unicodeChar": "𡚺", "unicodeCodePoint": "216BA", "pinYinChars": [{ "char": "FAN4" }], "splitChars": [{ "char": "女丸" }], "weight": "10" }, { "charId": "af3b9619", "unicodeChar": "𡗨", "unicodeCodePoint": "215E8", "pinYinChars": [{ "char": "DI1" }], "splitChars": [{ "char": "大互" }], "weight": "10" }, { "charId": "18bbad8f", "unicodeChar": "𡗝", "unicodeCodePoint": "215DD", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "大弓" }], "weight": "10" }, { "charId": "9fe7d227", "unicodeChar": "𡗗", "unicodeCodePoint": "215D7", "pinYinChars": [{ "char": "en1" }], "splitChars": [{ "char": "三 人" }], "weight": "10" }, { "charId": "4d05d608", "unicodeChar": "𡖖", "unicodeCodePoint": "21596", "pinYinChars": [{ "char": "QING1" }], "splitChars": [{ "char": "夕即" }], "weight": "10" }, { "charId": "5afbd6a1", "unicodeChar": "𡓇", "unicodeCodePoint": "214C7", "pinYinChars": [{ "char": "lu3" }], "splitChars": [{ "char": "土魯" }], "weight": "10" }, { "charId": "be807cd3", "unicodeChar": "𡒗", "unicodeCodePoint": "21497", "pinYinChars": [{ "char": "滿土" }], "splitChars": [], "weight": "10" }, { "charId": "1a60fb81", "unicodeChar": "𡑡", "unicodeCodePoint": "21461", "pinYinChars": [{ "char": "HUAN2" }], "splitChars": [{ "char": "土睘" }], "weight": "10" }, { "charId": "a7bcf232", "unicodeChar": "𡑀", "unicodeCodePoint": "21440", "pinYinChars": [{ "char": "YE3" }], "splitChars": [{ "char": "棥土" }], "weight": "10" }, { "charId": "50aef963", "unicodeChar": "𡏬", "unicodeCodePoint": "213EC", "pinYinChars": [{ "char": "liu2" }], "splitChars": [{ "char": "流土" }], "weight": "10" }, { "charId": "a401284f", "unicodeChar": "𡏟", "unicodeCodePoint": "213DF", "pinYinChars": [{ "char": "YAO2" }], "splitChars": [{ "char": "土䍃" }], "weight": "10" }, { "charId": "3a54c8fc", "unicodeChar": "𡏆", "unicodeCodePoint": "213C6", "pinYinChars": [{ "char": "土 养" }], "splitChars": [{ "char": "𡒶" }], "weight": "10" }, { "charId": "8d9a4f36", "unicodeChar": "𡎴", "unicodeCodePoint": "213B4", "pinYinChars": [{ "char": "GONG4" }], "splitChars": [{ "char": "土貢" }], "weight": "10" }, { "charId": "4b5f69e3", "unicodeChar": "𡎞", "unicodeCodePoint": "2139E", "pinYinChars": [{ "char": "土貞" }], "splitChars": [], "weight": "10" }, { "charId": "efb1ff5f", "unicodeChar": "𡎝", "unicodeCodePoint": "2139D", "pinYinChars": [{ "char": "COI" }], "splitChars": [{ "char": "土癸" }], "weight": "10" }, { "charId": "8251505f", "unicodeChar": "𡎏", "unicodeCodePoint": "2138F", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "土泉" }], "weight": "10" }, { "charId": "fef5ec81", "unicodeChar": "𡎎", "unicodeCodePoint": "2138E", "pinYinChars": [{ "char": "XU4" }], "splitChars": [{ "char": "土咠" }], "weight": "10" }, { "charId": "8a22c3a8", "unicodeChar": "𡍸", "unicodeCodePoint": "21378", "pinYinChars": [{ "char": "NIE4" }], "splitChars": [{ "char": "品土" }], "weight": "10" }, { "charId": "a3d4140d", "unicodeChar": "𡍨", "unicodeCodePoint": "21368", "pinYinChars": [{ "char": "DU4" }], "splitChars": [{ "char": "土度" }], "weight": "10" }, { "charId": "102fc4c4", "unicodeChar": "𡍚", "unicodeCodePoint": "2135A", "pinYinChars": [{ "char": "LAM" }], "splitChars": [{ "char": "土林" }], "weight": "10" }, { "charId": "6bd4130b", "unicodeChar": "𡌡", "unicodeCodePoint": "21321", "pinYinChars": [{ "char": "JIE2" }], "splitChars": [{ "char": "土弟" }], "weight": "10" }, { "charId": "ae98ef7b", "unicodeChar": "𡌗", "unicodeCodePoint": "21317", "pinYinChars": [{ "char": "HUAN2" }], "splitChars": [{ "char": "土皃" }], "weight": "10" }, { "charId": "3409967b", "unicodeChar": "𡌔", "unicodeCodePoint": "21314", "pinYinChars": [{ "char": "QIAO1" }], "splitChars": [{ "char": "土肖" }], "weight": "10" }, { "charId": "6af82971", "unicodeChar": "𡌑", "unicodeCodePoint": "21311", "pinYinChars": [{ "char": "XING2" }], "splitChars": [{ "char": "形土" }], "weight": "10" }, { "charId": "36a533bc", "unicodeChar": "𡌃", "unicodeCodePoint": "21303", "pinYinChars": [{ "char": "GAO4" }], "splitChars": [{ "char": "土吿" }], "weight": "10" }, { "charId": "41985d7f", "unicodeChar": "𡋱", "unicodeCodePoint": "212F1", "pinYinChars": [{ "char": "LONG4" }], "splitChars": [{ "char": "土弄" }], "weight": "10" }, { "charId": "681a0011", "unicodeChar": "𡋤", "unicodeCodePoint": "212E4", "pinYinChars": [{ "char": "JIN4" }], "splitChars": [{ "char": "土尽" }], "weight": "10" }, { "charId": "066bd7f0", "unicodeChar": "𡋂", "unicodeCodePoint": "212C2", "pinYinChars": [{ "char": "NEN4" }], "splitChars": [{ "char": "土年" }], "weight": "10" }, { "charId": "16e8def8", "unicodeChar": "𡊨", "unicodeCodePoint": "212A8", "pinYinChars": [{ "char": "TAN2" }], "splitChars": [{ "char": "土玄" }], "weight": "10" }, { "charId": "b1aba160", "unicodeChar": "𡊢", "unicodeCodePoint": "212A2", "pinYinChars": [{ "char": "TAN1" }], "splitChars": [{ "char": "土册" }], "weight": "10" }, { "charId": "facafbd8", "unicodeChar": "𡊑", "unicodeCodePoint": "21291", "pinYinChars": [{ "char": "XI3" }], "splitChars": [{ "char": "土尔" }], "weight": "10" }, { "charId": "85100a3d", "unicodeChar": "𡊀", "unicodeCodePoint": "21280", "pinYinChars": [{ "char": "TAI4" }], "splitChars": [{ "char": "土太" }], "weight": "10" }, { "charId": "93339870", "unicodeChar": "𡉴", "unicodeCodePoint": "21274", "pinYinChars": [{ "char": "LU2" }], "splitChars": [{ "char": "土户土戶" }], "weight": "10" }, { "charId": "5217bdce", "unicodeChar": "𡉃", "unicodeCodePoint": "21243", "pinYinChars": [{ "char": "yan4" }], "splitChars": [{ "char": "土厂" }], "weight": "10" }, { "charId": "d6e1a9e9", "unicodeChar": "𡇈", "unicodeCodePoint": "211C8", "pinYinChars": [{ "char": "DANG4" }], "splitChars": [{ "char": "囗石" }], "weight": "10" }, { "charId": "6cefc8d8", "unicodeChar": "𡆳", "unicodeCodePoint": "211B3", "pinYinChars": [{ "char": "HU1" }], "splitChars": [{ "char": "囗巳" }], "weight": "10" }, { "charId": "09266ae6", "unicodeChar": "𡆑", "unicodeCodePoint": "21191", "pinYinChars": [{ "char": "YAN2" }], "splitChars": [{ "char": "口巖" }], "weight": "10" }, { "charId": "655b4939", "unicodeChar": "𠾐", "unicodeCodePoint": "20F90", "pinYinChars": [{ "char": "LONG2" }], "splitChars": [{ "char": "口隆" }], "weight": "10" }, { "charId": "45e7e9c0", "unicodeChar": "𠼦", "unicodeCodePoint": "20F26", "pinYinChars": [{ "char": "MAN2" }], "splitChars": [{ "char": "口曼" }], "weight": "10" }, { "charId": "a6cbc3b1", "unicodeChar": "𠻸", "unicodeCodePoint": "20EF8", "pinYinChars": [{ "char": "si4" }], "splitChars": [{ "char": "𠀷司" }], "weight": "10" }, { "charId": "0b56e6b2", "unicodeChar": "𠻵", "unicodeCodePoint": "20EF5", "pinYinChars": [{ "char": "MANG3" }], "splitChars": [{ "char": "口莽" }], "weight": "10" }, { "charId": "81aa47fb", "unicodeChar": "𠻘", "unicodeCodePoint": "20ED8", "pinYinChars": [{ "char": "JIAO2" }], "splitChars": [{ "char": "口雀" }], "weight": "10" }, { "charId": "b97b646a", "unicodeChar": "𠹟", "unicodeCodePoint": "20E5F", "pinYinChars": [{ "char": "JIAN3" }], "splitChars": [{ "char": "𡨄口" }], "weight": "10" }, { "charId": "8aae1510", "unicodeChar": "𠹒", "unicodeCodePoint": "20E52", "pinYinChars": [{ "char": "HONG4" }], "splitChars": [{ "char": "口宫口宮" }], "weight": "10" }, { "charId": "5a942e35", "unicodeChar": "𠷿", "unicodeCodePoint": "20DFF", "pinYinChars": [{ "char": "ZA3" }], "splitChars": [{ "char": "口怎" }], "weight": "10" }, { "charId": "05703acb", "unicodeChar": "𠷊", "unicodeCodePoint": "20DCA", "pinYinChars": [{ "char": "PIAN2" }], "splitChars": [{ "char": "口便" }], "weight": "10" }, { "charId": "35310f00", "unicodeChar": "𠶓", "unicodeCodePoint": "20D93", "pinYinChars": [{ "char": "口表" }], "splitChars": [], "weight": "10" }, { "charId": "d27a8de6", "unicodeChar": "𠵸", "unicodeCodePoint": "20D78", "pinYinChars": [{ "char": "HAN1" }], "splitChars": [{ "char": "口弥" }], "weight": "10" }, { "charId": "ab8efed7", "unicodeChar": "𠵇", "unicodeCodePoint": "20D47", "pinYinChars": [{ "char": "QI3" }], "splitChars": [{ "char": "口奇" }], "weight": "10" }, { "charId": "dcac3491", "unicodeChar": "𠴔", "unicodeCodePoint": "20D14", "pinYinChars": [{ "char": "CHENG2" }], "splitChars": [{ "char": "口呈" }], "weight": "10" }, { "charId": "17d622fe", "unicodeChar": "𠳾", "unicodeCodePoint": "20CFE", "pinYinChars": [{ "char": "HAN3" }], "splitChars": [{ "char": "口罕" }], "weight": "10" }, { "charId": "27e714b0", "unicodeChar": "𠳯", "unicodeCodePoint": "20CEF", "pinYinChars": [{ "char": "HAO2" }], "splitChars": [{ "char": "号 号" }], "weight": "10" }, { "charId": "8d1bafd1", "unicodeChar": "𠳬", "unicodeCodePoint": "20CEC", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "古古" }], "weight": "10" }, { "charId": "e6068858", "unicodeChar": "𠳚", "unicodeCodePoint": "20CDA", "pinYinChars": [{ "char": "CAI" }], "splitChars": [{ "char": "口改" }], "weight": "10" }, { "charId": "c23e2b64", "unicodeChar": "𠳀", "unicodeCodePoint": "20CC0", "pinYinChars": [{ "char": "YONG3" }], "splitChars": [{ "char": "口甬" }], "weight": "10" }, { "charId": "ede04650", "unicodeChar": "𠲸", "unicodeCodePoint": "20CB8", "pinYinChars": [{ "char": "NAN2" }], "splitChars": [{ "char": "口男" }], "weight": "10" }, { "charId": "ca524976", "unicodeChar": "𠲰", "unicodeCodePoint": "20CB0", "pinYinChars": [{ "char": "YUN3" }], "splitChars": [{ "char": "口君" }], "weight": "10" }, { "charId": "7909de8e", "unicodeChar": "𠲡", "unicodeCodePoint": "20CA1", "pinYinChars": [{ "char": "hao3" }], "splitChars": [{ "char": "口好" }], "weight": "10" }, { "charId": "2466fa0d", "unicodeChar": "𠲖", "unicodeCodePoint": "20C96", "pinYinChars": [{ "char": "YI1" }], "splitChars": [{ "char": "口衣" }], "weight": "10" }, { "charId": "fb8fbac4", "unicodeChar": "𠲕", "unicodeCodePoint": "20C95", "pinYinChars": [{ "char": "CHUANG2" }], "splitChars": [{ "char": "口庄" }], "weight": "10" }, { "charId": "daea5f4e", "unicodeChar": "𠱴", "unicodeCodePoint": "20C74", "pinYinChars": [{ "char": "JIN4" }], "splitChars": [{ "char": "口全" }], "weight": "10" }, { "charId": "257faed2", "unicodeChar": "𠱅", "unicodeCodePoint": "20C45", "pinYinChars": [{ "char": "sheng4" }], "splitChars": [{ "char": "口圣" }], "weight": "10" }, { "charId": "004426cc", "unicodeChar": "𠰍", "unicodeCodePoint": "20C0D", "pinYinChars": [{ "char": "ZHU3" }], "splitChars": [{ "char": "口主" }], "weight": "10" }, { "charId": "1d9c2b9e", "unicodeChar": "𠰃", "unicodeCodePoint": "20C03", "pinYinChars": [{ "char": "nen4" }], "splitChars": [{ "char": "口壬" }], "weight": "10" }, { "charId": "79d47925", "unicodeChar": "𠰁", "unicodeCodePoint": "20C01", "pinYinChars": [{ "char": "GAY" }], "splitChars": [{ "char": "口丐" }], "weight": "10" }, { "charId": "029191bb", "unicodeChar": "𠯏", "unicodeCodePoint": "20BCF", "pinYinChars": [{ "char": "CHI1" }], "splitChars": [{ "char": "口气" }], "weight": "10" }, { "charId": "fc6bb883", "unicodeChar": "𠮨", "unicodeCodePoint": "20BA8", "pinYinChars": [{ "char": "RENG2" }], "splitChars": [{ "char": "口乃" }], "weight": "10" }, { "charId": "2c634411", "unicodeChar": "𠮉", "unicodeCodePoint": "20B89", "pinYinChars": [{ "char": "RUI4" }], "splitChars": [{ "char": "𥈠又⺊厂一八𥃦又" }], "weight": "10" }, { "charId": "d86930e3", "unicodeChar": "𠭯", "unicodeCodePoint": "20B6F", "pinYinChars": [{ "char": "ZHA1" }], "splitChars": [{ "char": "虘又" }], "weight": "10" }, { "charId": "c8d68a40", "unicodeChar": "𠬤", "unicodeCodePoint": "20B24", "pinYinChars": [{ "char": "YI4" }], "splitChars": [{ "char": "又𰀁" }], "weight": "10" }, { "charId": "07b56375", "unicodeChar": "𠬑", "unicodeCodePoint": "20B11", "pinYinChars": [{ "char": "QU4" }], "splitChars": [{ "char": "去去去" }], "weight": "10" }, { "charId": "26d561f6", "unicodeChar": "𠫵", "unicodeCodePoint": "20AF5", "pinYinChars": [{ "char": "SHEN1" }], "splitChars": [{ "char": "厶大㣺" }], "weight": "10" }, { "charId": "8cbde3a0", "unicodeChar": "𠫤", "unicodeCodePoint": "20AE4", "pinYinChars": [{ "char": "LEON6" }], "splitChars": [{ "char": "乂厷" }], "weight": "10" }, { "charId": "a3ecaff1", "unicodeChar": "𠪚", "unicodeCodePoint": "20A9A", "pinYinChars": [{ "char": "YIN2" }], "splitChars": [{ "char": "厂敢" }], "weight": "10" }, { "charId": "642c58f2", "unicodeChar": "𠪆", "unicodeCodePoint": "20A86", "pinYinChars": [{ "char": "JUE2" }], "splitChars": [{ "char": "厂封" }], "weight": "10" }, { "charId": "f84daa09", "unicodeChar": "𠨺", "unicodeCodePoint": "20A3A", "pinYinChars": [{ "char": "CHI4" }], "splitChars": [{ "char": "厂午" }], "weight": "10" }, { "charId": "316c3bd6", "unicodeChar": "𠦅", "unicodeCodePoint": "20985", "pinYinChars": [{ "char": "NIAN2" }], "splitChars": [{ "char": "千千" }], "weight": "10" }, { "charId": "784ff589", "unicodeChar": "𠤲", "unicodeCodePoint": "20932", "pinYinChars": [{ "char": "匚 屯" }], "splitChars": [], "weight": "10" }, { "charId": "aa296d6e", "unicodeChar": "𠢔", "unicodeCodePoint": "20894", "pinYinChars": [{ "char": "OU1" }], "splitChars": [{ "char": "區力" }], "weight": "10" }, { "charId": "095216ca", "unicodeChar": "𠡍", "unicodeCodePoint": "2084D", "pinYinChars": [{ "char": "JING4" }], "splitChars": [{ "char": "圣力" }], "weight": "10" }, { "charId": "0f573bb9", "unicodeChar": "𠠛", "unicodeCodePoint": "2081B", "pinYinChars": [{ "char": "KUO4" }], "splitChars": [{ "char": "霍刂" }], "weight": "10" }, { "charId": "2871e9f2", "unicodeChar": "𠞪", "unicodeCodePoint": "207AA", "pinYinChars": [{ "char": "HAO2" }], "splitChars": [{ "char": "敖刀" }], "weight": "10" }, { "charId": "bf32142f", "unicodeChar": "𠜋", "unicodeCodePoint": "2070B", "pinYinChars": [{ "char": "CHOU3" }], "splitChars": [{ "char": "人丑刂" }], "weight": "10" }, { "charId": "60372307", "unicodeChar": "𠚼", "unicodeCodePoint": "206BC", "pinYinChars": [{ "char": "BAN1" }], "splitChars": [{ "char": "分刂" }], "weight": "10" }, { "charId": "2540d48c", "unicodeChar": "𠙽", "unicodeCodePoint": "2067D", "pinYinChars": [{ "char": "KUAI4" }, { "char": "KUI4" }], "splitChars": [{ "char": "士 凵" }], "weight": "10" }, { "charId": "30dda424", "unicodeChar": "𠙁", "unicodeCodePoint": "20641", "pinYinChars": [{ "char": "CHANG2" }], "splitChars": [{ "char": "正几" }], "weight": "10" }, { "charId": "2e66c4d8", "unicodeChar": "𠘻", "unicodeCodePoint": "2063B", "pinYinChars": [{ "char": "WU2" }], "splitChars": [{ "char": "凡凡" }], "weight": "10" }, { "charId": "fe1a753e", "unicodeChar": "𠘑", "unicodeCodePoint": "20611", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "冫 熙" }], "weight": "10" }, { "charId": "3bb748b2", "unicodeChar": "𠔃", "unicodeCodePoint": "20503", "pinYinChars": [{ "char": "XI1" }], "splitChars": [{ "char": "丷丂" }], "weight": "10" }, { "charId": "dda19b7a", "unicodeChar": "𠓢", "unicodeCodePoint": "204E2", "pinYinChars": [{ "char": "JIE4" }], "splitChars": [{ "char": "入 手" }], "weight": "10" }, { "charId": "fff61bf9", "unicodeChar": "𠐳", "unicodeCodePoint": "20433", "pinYinChars": [{ "char": "LV3" }], "splitChars": [{ "char": "亻盧" }], "weight": "10" }, { "charId": "9e6d9fc5", "unicodeChar": "𠐃", "unicodeCodePoint": "20403", "pinYinChars": [{ "char": "SHU1" }], "splitChars": [{ "char": "翛心" }], "weight": "10" }, { "charId": "f5f4c311", "unicodeChar": "𠐁", "unicodeCodePoint": "20401", "pinYinChars": [{ "char": "MENG2" }], "splitChars": [{ "char": "亻蒙" }], "weight": "10" }, { "charId": "a2d55bf1", "unicodeChar": "𠏼", "unicodeCodePoint": "203FC", "pinYinChars": [{ "char": "GAA" }], "splitChars": [{ "char": "亻 嘉" }], "weight": "10" }, { "charId": "af58ba4c", "unicodeChar": "𠏟", "unicodeCodePoint": "203DF", "pinYinChars": [{ "char": "BAM" }], "splitChars": [{ "char": "亻稟" }], "weight": "10" }, { "charId": "07b87281", "unicodeChar": "𠎽", "unicodeCodePoint": "203BD", "pinYinChars": [{ "char": "QIONG2" }], "splitChars": [{ "char": "亻煢" }], "weight": "10" }, { "charId": "6a3d2df8", "unicodeChar": "𠎸", "unicodeCodePoint": "203B8", "pinYinChars": [{ "char": "SE4" }], "splitChars": [{ "char": "亻嗇" }], "weight": "10" }, { "charId": "5cbdf8cc", "unicodeChar": "𠎦", "unicodeCodePoint": "203A6", "pinYinChars": [{ "char": "JIANG4" }], "splitChars": [{ "char": "亻强" }], "weight": "10" }, { "charId": "69ba37bb", "unicodeChar": "𠎢", "unicodeCodePoint": "203A2", "pinYinChars": [{ "char": "XING1" }], "splitChars": [{ "char": "亻法心" }], "weight": "10" }, { "charId": "709b5892", "unicodeChar": "𠍷", "unicodeCodePoint": "20377", "pinYinChars": [{ "char": "BO2" }], "splitChars": [{ "char": "亻棘" }], "weight": "10" }, { "charId": "665d0220", "unicodeChar": "𠌾", "unicodeCodePoint": "2033E", "pinYinChars": [{ "char": "YI2" }], "splitChars": [{ "char": "亻莪" }], "weight": "10" }, { "charId": "cd273e5b", "unicodeChar": "𠌘", "unicodeCodePoint": "20318", "pinYinChars": [{ "char": "XIA4" }], "splitChars": [{ "char": "亻夏" }], "weight": "10" }, { "charId": "2426540e", "unicodeChar": "𠋶", "unicodeCodePoint": "202F6", "pinYinChars": [{ "char": "MING3" }], "splitChars": [{ "char": "亻冥" }], "weight": "10" }, { "charId": "84ecf90b", "unicodeChar": "𠊿", "unicodeCodePoint": "202BF", "pinYinChars": [{ "char": "SYUN1" }], "splitChars": [{ "char": "亻 宣" }], "weight": "10" }, { "charId": "913c75e0", "unicodeChar": "𠊷", "unicodeCodePoint": "202B7", "pinYinChars": [{ "char": "ZHI4" }], "splitChars": [{ "char": "亻致" }], "weight": "10" }, { "charId": "c90a0f85", "unicodeChar": "𠊵", "unicodeCodePoint": "202B5", "pinYinChars": [{ "char": "BENG1" }], "splitChars": [{ "char": "亻𭖚" }], "weight": "10" }, { "charId": "a8f873b7", "unicodeChar": "𠉴", "unicodeCodePoint": "20274", "pinYinChars": [{ "char": "亻 雨" }], "splitChars": [], "weight": "10" }, { "charId": "71d6f6f4", "unicodeChar": "𠉜", "unicodeCodePoint": "2025C", "pinYinChars": [{ "char": "WEI3" }], "splitChars": [{ "char": "亻尾" }], "weight": "10" }, { "charId": "08cbf65c", "unicodeChar": "𠉂", "unicodeCodePoint": "20242", "pinYinChars": [{ "char": "TA4" }], "splitChars": [{ "char": "亻达" }], "weight": "10" }, { "charId": "da82aa3d", "unicodeChar": "𠈹", "unicodeCodePoint": "20239", "pinYinChars": [{ "char": "YOU1" }], "splitChars": [{ "char": "亻㳊" }], "weight": "10" }, { "charId": "52e60457", "unicodeChar": "𠇮", "unicodeCodePoint": "201EE", "pinYinChars": [{ "char": "MING4" }], "splitChars": [{ "char": "人丙" }], "weight": "10" }, { "charId": "2501625c", "unicodeChar": "𠇍", "unicodeCodePoint": "201CD", "pinYinChars": [{ "char": "ER3" }], "splitChars": [{ "char": "人㣺" }], "weight": "10" }, { "charId": "08dcedb8", "unicodeChar": "𠆺", "unicodeCodePoint": "201BA", "pinYinChars": [{ "char": "XIAN2" }, { "char": "XUAN2" }], "splitChars": [{ "char": "亻𢆯" }], "weight": "10" }, { "charId": "beec6748", "unicodeChar": "𠆶", "unicodeCodePoint": "201B6", "pinYinChars": [{ "char": "DAN4" }], "splitChars": [{ "char": "亻冘" }], "weight": "10" }, { "charId": "98928320", "unicodeChar": "𠄕", "unicodeCodePoint": "20115", "pinYinChars": [{ "char": "NAI3" }], "splitChars": [{ "char": "了𰁒" }], "weight": "10" }, { "charId": "8f995dc9", "unicodeChar": "𠃧", "unicodeCodePoint": "200E7", "pinYinChars": [{ "char": "FEI1" }], "splitChars": [{ "char": "飞飞" }], "weight": "10" }, { "charId": "031579fe", "unicodeChar": "𠃓", "unicodeCodePoint": "200D3", "pinYinChars": [{ "char": "YANG2" }], "splitChars": [{ "char": "𠄎丿丿" }], "weight": "10" }, { "charId": "8d6fb2b9", "unicodeChar": "𠃐", "unicodeCodePoint": "200D0", "pinYinChars": [{ "char": "HUI4" }], "splitChars": [{ "char": "乙乙" }], "weight": "10" }, { "charId": "2026c1bd", "unicodeChar": "𠂉", "unicodeCodePoint": "20089", "pinYinChars": [{ "char": "O" }], "splitChars": [{ "char": "丿一" }], "weight": "10" }, { "charId": "d8617765", "unicodeChar": "𠁷", "unicodeCodePoint": "20077", "pinYinChars": [{ "char": "CHAN3" }], "splitChars": [{ "char": "串串" }], "weight": "10" }, { "charId": "0c538b01", "unicodeChar": "𠁆", "unicodeCodePoint": "20046", "pinYinChars": [{ "char": "LIAO2" }, { "char": "KUO4" }, { "char": "WAI1" }], "splitChars": [{ "char": "不直" }], "weight": "10" }, { "charId": "48312f83", "unicodeChar": "𠀾", "unicodeCodePoint": "2003E", "pinYinChars": [{ "char": "PEI1" }], "splitChars": [{ "char": "不会" }], "weight": "10" }, { "charId": "b984b101", "unicodeChar": "𠀘", "unicodeCodePoint": "20018", "pinYinChars": [{ "char": "TIAN1" }], "splitChars": [{ "char": "兀兀" }], "weight": "10" }], -}; diff --git a/compiled/wechat/src/Rate/index.en.md b/compiled/wechat/src/Rate/index.en.md deleted file mode 100644 index a519ef04f..000000000 --- a/compiled/wechat/src/Rate/index.en.md +++ /dev/null @@ -1,148 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Rate - -A component for showing things ratings and quick scoring. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-rate": "antd-mini/es/Rate/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Rate/index" -#endif -} -``` - -## Code example - -### Basic use - -> `count` property specifies the total number of stars, `allowHalf` Stats allow half a star, `allowClear` Property allows to clear after clicking again. - -```xml - -``` - -```js -Page({ - onChange(value) { - console.log(value); - }, -}); -``` - -### Read Only - -```xml - -``` - -### Controlled Mode - -> `value` property and `change` Events, cooperation can achieve a controlled mode. Here's the example through `ant-stepper` Component change `value` Status,`ant-rate` Components `value` States can also change together. - -```xml - - -``` - -```js -Page({ - data: { - value: 3, - }, - handleChange(value) { - console.log(value); -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### Custom - -> Reference below [Demo Code](#demo-代码) implementation in. - -## Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -| ------------------------ | ---------------------- | ------------------------ | -------------------------- | -| allowHalf | Whether to allow half a star | `boolean` | `false` | -| allowClear | Allow to clear after clicking again | `boolean` | `true` | -| className | Class Name | `string` | - | -| character | Custom Characters | `slot` | `` | -| characterActiveClassName | Custom Character Checked State Class Name | `string` | - | -| characterClassName | Custom Character Class Name | `string` | - | -| count | total number of stars | `number` | `5` | -| defaultValue | Initial value | `number` | `0` | -| gutter | Spacing, unit `px` | `number` | `4` | -| readonly | Read-only, unable to interact | `boolean` | `false` | -| style | Style | `string` | - | -| value | Star rating (controlled) | `number` | - | -| #if ALIPAY onChange | scoring callback function | `(rate: number) => void` | - | -| #if WECHAT bind:change | scoring callback function | `(rate: number) => void` | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------- | -| --rate-active-icon |
#ff9f18
|
#ffa930
| Icon color of Rate activation state | -| --rate-icon-color |
#eeeeee
|
#2b2b2b
| Rate Default Icon Color | diff --git a/compiled/wechat/src/Rate/index.js b/compiled/wechat/src/Rate/index.js deleted file mode 100644 index 4ab746b71..000000000 --- a/compiled/wechat/src/Rate/index.js +++ /dev/null @@ -1,193 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { RateDefaultProps } from './props'; -import createValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -Component(RateDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - getRate: function (clientX) { - return __awaiter(this, void 0, void 0, function () { - var _a, gutter, count, allowHalf, _b, left, width, halfRateWidth, num, halfRateCount, val, rate; - return __generator(this, function (_c) { - switch (_c.label) { - case 0: - _a = getValueFromProps(this, [ - 'gutter', - 'count', - 'allowHalf', - ]), gutter = _a[0], count = _a[1], allowHalf = _a[2]; - return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), "#ant-rate-container".concat(this.$id ? "-".concat(this.$id) : ''))]; - case 1: - _b = _c.sent(), left = _b.left, width = _b.width; - halfRateWidth = (width - (count - 1) * gutter) / count / 2; - num = clientX - left; - halfRateCount = 0; - /* eslint-disable no-constant-condition */ - while (true) { - val = halfRateWidth * halfRateCount + - gutter * Math.floor(halfRateCount / 2); - if (halfRateCount >= count * 2 || num <= val) { - break; - } - halfRateCount++; - } - rate = allowHalf - ? halfRateCount * 0.5 - : Math.ceil(halfRateCount * 0.5); - return [2 /*return*/, rate]; - } - }); - }); - }, - handleStarTap: function (e) { - return __awaiter(this, void 0, void 0, function () { - var _a, readonly, allowClear, _b, clientX, x, clickX, rateValue, rate; - return __generator(this, function (_c) { - switch (_c.label) { - case 0: - _a = getValueFromProps(this, [ - 'readonly', - 'allowClear', - ]), readonly = _a[0], allowClear = _a[1]; - if (readonly) { - return [2 /*return*/]; - } - _b = e.detail, clientX = _b.clientX, x = _b.x; - clickX = typeof x === 'number' ? x : clientX; - rateValue = this.getValue(); - return [4 /*yield*/, this.getRate(clickX)]; - case 1: - rate = _c.sent(); - if (rateValue === rate && allowClear) { - rate = 0; - } - if (!this.isControlled()) { - this.update(rate); - } - if (rateValue !== rate) { - triggerEvent(this, 'change', rate); - } - return [2 /*return*/]; - } - }); - }); - }, - handleStarMove: function (e) { - return __awaiter(this, void 0, void 0, function () { - var readonly, touches, clientX, rate; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: - readonly = getValueFromProps(this, ['readonly'])[0]; - if (readonly) { - return [2 /*return*/]; - } - touches = e.touches; - clientX = touches[0].clientX; - if (!this.moveRate) { - this.moveRate = { - originalRate: this.getValue(), - }; - } - return [4 /*yield*/, this.getRate(clientX)]; - case 1: - rate = _a.sent(); - if (this.moveRate) { - this.moveRate = __assign(__assign({}, this.moveRate), { currentRate: rate }); - if (this.isControlled()) { - this.setData({ displayValue: rate }); - } - else { - this.update(rate); - } - } - return [2 /*return*/]; - } - }); - }); - }, - handleStarMoveEnd: function () { - var readonly = getValueFromProps(this, 'readonly'); - if (readonly) { - return; - } - if (!this.moveRate) { - return; - } - var _a = this.moveRate, currentRate = _a.currentRate, originalRate = _a.originalRate; - this.moveRate = null; - if (this.isControlled()) { - this.setData({ displayValue: null }); - } - if (currentRate !== originalRate) { - triggerEvent(this, 'change', currentRate); - } - }, -}, { displayValue: null }, [ - createValue({ - transformValue: function (value) { - var allowHalf = getValueFromProps(this, 'allowHalf'); - if (allowHalf) { - return { - needUpdate: true, - value: value % 0.5 !== 0 ? Math.round(value) : value, - }; - } - return { - needUpdate: true, - value: Math.ceil(value), - }; - }, - }), -]); diff --git a/compiled/wechat/src/Rate/index.json b/compiled/wechat/src/Rate/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Rate/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Rate/index.md b/compiled/wechat/src/Rate/index.md deleted file mode 100644 index ad53dbfe2..000000000 --- a/compiled/wechat/src/Rate/index.md +++ /dev/null @@ -1,148 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Rate 评分 - -用于展示事物评级以及快速打分的组件。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-rate": "antd-mini/es/Rate/index" -#endif -#if WECHAT - "ant-radio": "antd-mini/Rate/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> `count` 属性指定 star 总数, `allowHalf` 属性允许半星, `allowClear` 属性允许再次点击后清除。 - -```xml - -``` - -```js -Page({ - onChange(value) { - console.log(value); - }, -}); -``` - -### 只读 - -```xml - -``` - -### 受控模式 - -> `value` 属性和 `change` 事件,配合可以实现受控模式。这里的例子中通过 `ant-stepper` 组件改变 `value` 状态,`ant-rate` 组件 `value` 状态也能一起变化。 - -```xml - - -``` - -```js -Page({ - data: { - value: 3, - }, - handleChange(value) { - console.log(value); -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - }, -}); -``` - -### 自定义 - -> 参考下面 [Demo 代码](#demo-代码) 中的实现。 - -## Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------ | ---------------------- | ------------------------ | -------------------------- | -| allowHalf | 是否允许半星 | `boolean` | `false` | -| allowClear | 是否允许再次点击后清除 | `boolean` | `true` | -| className | 类名 | `string` | - | -| character | 自定义字符 | `slot` | `` | -| characterActiveClassName | 自定义字符选中状态类名 | `string` | - | -| characterClassName | 自定义字符类名 | `string` | - | -| count | star 总数 | `number` | `5` | -| defaultValue | 初始值 | `number` | `0` | -| gutter | 间距,单位 `px` | `number` | `4` | -| readonly | 只读,无法进行交互 | `boolean` | `false` | -| style | 样式 | `string` | - | -| value | 星级(受控) | `number` | - | -| #if ALIPAY onChange | 打分回调函数 | `(rate: number) => void` | - | -| #if WECHAT bind:change | 打分回调函数 | `(rate: number) => void` | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------- | -| --rate-active-icon |
#ff9f18
|
#ffa930
| Rate 激活状态的图标颜色 | -| --rate-icon-color |
#eeeeee
|
#2b2b2b
| Rate 默认图标颜色 | diff --git a/compiled/wechat/src/Rate/index.wxml b/compiled/wechat/src/Rate/index.wxml deleted file mode 100644 index 37199498b..000000000 --- a/compiled/wechat/src/Rate/index.wxml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Rate/index.wxss b/compiled/wechat/src/Rate/index.wxss deleted file mode 100644 index f12674a12..000000000 --- a/compiled/wechat/src/Rate/index.wxss +++ /dev/null @@ -1,38 +0,0 @@ -.ant-rate { - display: inline-flex; - font-size: 48rpx; - user-select: none; -} -.ant-rate-container { - display: flex; -} -.ant-rate-star { - position: relative; - margin-right: 8rpx; - line-height: 1; -} -.ant-rate-star:last-child { - margin-right: 0; -} -.ant-rate-star-icon { - color: var(--rate-icon-color, #e5e5e5); -} -.ant-rate-star-icon .ant-icon { - color: var(--rate-icon-color, #e5e5e5); -} -.ant-rate-star-icon-active { - color: var(--rate-active-icon, #ff9f18); -} -.ant-rate-star-icon-active .ant-icon { - color: var(--rate-active-icon, #ff9f18); -} -.ant-rate-star-icon-half-active { - position: absolute; - left: 0; - top: 0; - width: 50%; - overflow: hidden; -} -.ant-rate .ant-icon { - font-size: unset; -} diff --git a/compiled/wechat/src/Rate/props.js b/compiled/wechat/src/Rate/props.js deleted file mode 100644 index e9c825a75..000000000 --- a/compiled/wechat/src/Rate/props.js +++ /dev/null @@ -1,11 +0,0 @@ -export var RateDefaultProps = { - value: null, - defaultValue: null, - gutter: 4, - allowHalf: false, - allowClear: true, - count: 5, - characterActiveClassName: '', - characterClassName: '', - readonly: false, -}; diff --git a/compiled/wechat/src/Rate/variable.wxss b/compiled/wechat/src/Rate/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Result/index.en.md b/compiled/wechat/src/Result/index.en.md deleted file mode 100644 index 482979dec..000000000 --- a/compiled/wechat/src/Result/index.en.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Result - -Feedback the results of the previous step. The Result component should be used when important operations need to inform the user of the processing results and the feedback content is complex. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-result": "antd-mini/es/Result/index" -#endif -#if WECHAT - "ant-result": "antd-mini/Result/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - - - - - - - - - -``` - -### Slot - -```xml - - Title slot - Describe the slot - - Other Modules - - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------------- | -------------- | ------ | -| className | Class Name | string | - | -| extra | Bottom Custom Rendering | slot | - | -| image | Custom Picture | string \| slot | - | -| message | Deputy Copywriter | string \| slot | - | -| style | Style | string | - | -| title | Main Copywriter | string \| slot | - | -| type | Built-in type `success`(success),`error`(error/danger),`info`(information prompt),`wait`(Waiting for processing) | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --result-main-background |
#ffffff
|
#1a1a1a
| Result Main background color | -| --result-title-color |
#000000
|
#ffffff
| Result Title Color | -| --result-desc-color |
#333333
|
#c5cad1
| Result Description Text Color | -| --result-success-color |
#1677ff
|
#3086ff
| Result Success status color | -| --result-error-color |
#ff3b30
|
#ff544a
| Result Error status color | -| --result-warning-color |
#ff8f1f
|
#ff9c38
| Result Warning Status Color | -| --result-wait-color |
#00b578
|
#12b57e
| Result Wait status color | diff --git a/compiled/wechat/src/Result/index.js b/compiled/wechat/src/Result/index.js deleted file mode 100644 index ff5d4d2a7..000000000 --- a/compiled/wechat/src/Result/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import { Component } from '../_util/simply'; -Component({ - type: null, - image: '', - title: '', - message: '', -}); diff --git a/compiled/wechat/src/Result/index.json b/compiled/wechat/src/Result/index.json deleted file mode 100644 index f6d7546f7..000000000 --- a/compiled/wechat/src/Result/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index", - "image-icon": "../ImageIcon/index" - } -} diff --git a/compiled/wechat/src/Result/index.md b/compiled/wechat/src/Result/index.md deleted file mode 100644 index bc99ee884..000000000 --- a/compiled/wechat/src/Result/index.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Result 操作结果 - -对前一步操作的结果进行反馈。当有重要操作需告知用户处理结果,且反馈内容较为复杂时,应使用 Result 组件。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-result": "antd-mini/es/Result/index" -#endif -#if WECHAT - "ant-result": "antd-mini/Result/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - - - - - - - - - -``` - -### 插槽 - -```xml - - 标题插槽 - 描述插槽 - - 其他模块 - - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------------- | -------------- | ------ | -| className | 类名 | string | - | -| extra | 底部自定义渲染 | slot | - | -| image | 自定义图片 | string \| slot | - | -| message | 副文案 | string \| slot | - | -| style | 样式 | string | - | -| title | 主文案 | string \| slot | - | -| type | 内置类型 `success`(成功)、`error`(错误/危险)、`info`(信息提示)、`wait`(等待处理) | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --result-main-background |
#ffffff
|
#1a1a1a
| Result 主背景颜色 | -| --result-title-color |
#000000
|
#ffffff
| Result 标题颜色 | -| --result-desc-color |
#333333
|
#c5cad1
| Result 描述文字颜色 | -| --result-success-color |
#1677ff
|
#3086ff
| Result 成功状态颜色 | -| --result-error-color |
#ff3b30
|
#ff544a
| Result 错误状态颜色 | -| --result-warning-color |
#ff8f1f
|
#ff9c38
| Result 警告状态颜色 | -| --result-wait-color |
#00b578
|
#12b57e
| Result 等待状态颜色 | diff --git a/compiled/wechat/src/Result/index.wxml b/compiled/wechat/src/Result/index.wxml deleted file mode 100644 index 8fb71c9fb..000000000 --- a/compiled/wechat/src/Result/index.wxml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - {{title}} - - - {{message}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Result/index.wxs b/compiled/wechat/src/Result/index.wxs deleted file mode 100644 index 0f470549e..000000000 --- a/compiled/wechat/src/Result/index.wxs +++ /dev/null @@ -1,13 +0,0 @@ -var iconMap = { - 'success': 'CheckCircleFill', - 'error': 'CloseCircleFill', - 'info': 'InformationCircleFill', - 'warning': 'ExclamationCircleFill', - 'wait': 'ClockCircleFill' -}; -var iconType = function iconType(t) { - return iconMap[t]; -}; -module.exports = { - iconType: iconType -}; \ No newline at end of file diff --git a/compiled/wechat/src/Result/index.wxss b/compiled/wechat/src/Result/index.wxss deleted file mode 100644 index 9f582e8da..000000000 --- a/compiled/wechat/src/Result/index.wxss +++ /dev/null @@ -1,59 +0,0 @@ -.ant-result { - position: relative; - text-align: center; - line-height: normal; - box-sizing: border-box; -} -.ant-result-icon { - display: block; - font-size: 110rpx; -} -.ant-result-main { - padding: 70rpx 24rpx; - margin-bottom: 40rpx; - line-height: 1.4; - background-color: var(--result-main-background, #ffffff); -} -.ant-result-image { - display: flex; - justify-content: center; - align-items: center; - width: 128rpx; - height: 128rpx; - margin: 0 auto; - overflow: hidden; - text-align: center; - line-height: 128rpx; -} -.ant-result-image-success { - color: var(--result-success-color, #1677ff); -} -.ant-result-image-error { - color: var(--result-error-color, #ff3b30); -} -.ant-result-image-info { - color: var(--result-success-color, #1677ff); -} -.ant-result-image-warning { - color: var(--result-warning-color, #ff8f1f); -} -.ant-result-image-wait { - color: var(--result-wait-color, #00b578); -} -.ant-result-title { - padding-top: 40rpx; - font-size: 40rpx; - color: var(--result-title-color, #000000); - font-weight: 500; -} -.ant-result-title:empty { - display: none; -} -.ant-result-message { - padding-top: 16rpx; - font-size: 32rpx; - color: var(--result-desc-color, #333333); -} -.ant-result-message:empty { - display: none; -} diff --git a/compiled/wechat/src/Result/props.js b/compiled/wechat/src/Result/props.js deleted file mode 100644 index 4aab2849e..000000000 --- a/compiled/wechat/src/Result/props.js +++ /dev/null @@ -1 +0,0 @@ -export var ResultDefaultProps = {}; diff --git a/compiled/wechat/src/Result/variable.wxss b/compiled/wechat/src/Result/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/SafeArea/index.en.md b/compiled/wechat/src/SafeArea/index.en.md deleted file mode 100644 index 92848b335..000000000 --- a/compiled/wechat/src/SafeArea/index.en.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# SafeArea -When the web page is displayed in full screen, the top and bottom of the screen can be adapted by means of a safe zone, such as a bang screen. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-safe-area": "antd-mini/es/SafeArea/index" -#endif -#if WECHAT - "ant-safe-area": "antd-mini/SafeArea/index" -#endif -} -``` - -## Code example - -### Top Safety Area -```xml - - Content Area - -``` - -### Bottom safety zone -```xml - - Content Area - -``` - -### Demo Code - - - -## Property - -| Property | Description | Type | Default Value | -|-----|-----|-----|--------| -| className | Container className | string | - | -| position | Location of safety zone, optional`top`、`bottom` | string | - | - -## Slot - -| Name | Description | -| ----------- | -------------------- | -| Default Slot | Contents contained in the security zone | diff --git a/compiled/wechat/src/SafeArea/index.js b/compiled/wechat/src/SafeArea/index.js deleted file mode 100644 index e75876bd9..000000000 --- a/compiled/wechat/src/SafeArea/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../_util/simply'; -import { SafeAreaDefaultProps } from './props'; -Component(SafeAreaDefaultProps); diff --git a/compiled/wechat/src/SafeArea/index.json b/compiled/wechat/src/SafeArea/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/SafeArea/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/SafeArea/index.md b/compiled/wechat/src/SafeArea/index.md deleted file mode 100644 index 2624ac8bd..000000000 --- a/compiled/wechat/src/SafeArea/index.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# SafeArea 安全区 -当网页被全屏展示时,可借助安全区进行屏幕顶部和底部适配,如刘海屏。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-safe-area": "antd-mini/es/SafeArea/index" -#endif -#if WECHAT - "ant-safe-area": "antd-mini/SafeArea/index" -#endif -} -``` - -## 代码示例 - -### 顶部安全区 -```xml - - 内容区域 - -``` - -### 底部安全区 -```xml - - 内容区域 - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -|-----|-----|-----|--------| -| className | 容器 className | string | - | -| position | 安全区的位置,可选`top`、`bottom` | string | - | - -## 插槽 - -| 名称 | 说明 | -| ----------- | -------------------- | -| 默认插槽 | 安全区中包含的内容 | diff --git a/compiled/wechat/src/SafeArea/index.wxml b/compiled/wechat/src/SafeArea/index.wxml deleted file mode 100644 index 37426aedb..000000000 --- a/compiled/wechat/src/SafeArea/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/compiled/wechat/src/SafeArea/index.wxss b/compiled/wechat/src/SafeArea/index.wxss deleted file mode 100644 index ee76f12af..000000000 --- a/compiled/wechat/src/SafeArea/index.wxss +++ /dev/null @@ -1,8 +0,0 @@ -.ant-safe-area-top { - height: constant(safe-area-inset-top); - height: env(safe-area-inset-top); -} -.ant-safe-area-bottom { - height: constant(safe-area-inset-bottom); - height: env(safe-area-inset-bottom); -} diff --git a/compiled/wechat/src/SafeArea/props.js b/compiled/wechat/src/SafeArea/props.js deleted file mode 100644 index 4019ef12e..000000000 --- a/compiled/wechat/src/SafeArea/props.js +++ /dev/null @@ -1,4 +0,0 @@ -export var SafeAreaDefaultProps = { - className: '', - position: '', -}; diff --git a/compiled/wechat/src/Selector/index.en.md b/compiled/wechat/src/Selector/index.en.md deleted file mode 100644 index aa274df5a..000000000 --- a/compiled/wechat/src/Selector/index.en.md +++ /dev/null @@ -1,214 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Selector - -Select one or more in a set of options. Provides multiple options for users to select, typically used in filters and forms. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-selector": "antd-mini/es/Selector/index" -#endif -#if WECHAT - "ant-selector": "antd-mini/Selector/index" -#endif -} -``` - -## Code example - -### Basic use - -> [options](#selectoritem) property is an object that contains `text`(main copy), `subText`(Deputy copywriter), `value`(option value), `disabled`(disabled or not). - -```xml - -``` - -### multiple choice - -> Incoming `multiple` Properties can support multiple selection. - -```xml - -``` - -### Limit the number of selections - -> `maxSelectedCount`、`minSelectedCount` property can limit the number of selections,`selectMax`、`selectMin` Event is triggered when the limit is exceeded. - -```xml - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - }, - onSelectMin(value, item) { - console.log(value, item); -#if WECHAT - wx.showModal({ content: 'Emptying not allowed' }); -#endif -#if ALIPAY - my.alert({ content: 'Emptying not allowed' }); -#endif - }, - onSelectMax() { - console.log(value, item); -#if WECHAT - wx.showModal({ content: '选择已达上限' }); -#endif -#if ALIPAY - my.alert({ content: '选择已达上限' }); -#endif - }, -}); -``` - -### Emptying not allowed - -> To achieve that emptying is not allowed, use `minSelectedCount` Property Set Minimum Limit Number of Digits `1` , can. - -```xml - -``` - -### Controlled Mode - -```xml - - - Change the selected value to option three - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - value: '1', - }, - handleChangeValue() { - this.setData({ - value: '3', - }); - }, - handleChange(value, items, e) { -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - console.log(value, items, e); - }, -}); -``` - -### Use Selector to customize the Filter - -> Reference below [Demo Code](#demo-代码) implementation in. - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ------------------------- | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| activeItemClassName | Class name of the selected option | string | - | -| activeItemStyle | Styles for selected options | string | - | -| className | Class Name | string | - | -| defaultValue | The default selection item, when multiple selection type is array | string \| number \| string[] \| number[] | - | -| disabled | Whether the whole is disabled | boolean | false | -| maxSelectedCount | Maximum Number of Optional Items | number | - | -| minSelectedCount | Number of minimum selectable items | number | - | -| multiple | Whether to allow multi-selection, the current radio/multi-selection status will be displayed when the tab bar is displayed. | boolean | false | -| options | Option Data Source | [SelectorItem](#selectoritem)[] | [] | -| style | Style | string | - | -| value | Current selection, array type for multiple selection | string \| number \| string[] \| number[] | - | -| #if ALIPAY onChange | The selected value changes, triggering a callback | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMax | Maximum Trigger Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMin | Trigger Minimum Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | The selected value changes, triggering a callback | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmax | Maximum Trigger Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmin | Trigger Minimum Limit | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### SelectorItem - -| Property | Description | Type | Default Value | -| -------- | ------------ | ---------------- | ------ | -| disabled | Disable | boolean | - | -| subText | Deputy copywriter | string | - | -| text | Copy | string | - | -| value | Current item value | string \| number | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| Selector Background Color | -| --selector-item-background |
#f5f5f5
|
#121212
| Selector item background color | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| Selector Activate Item Background Color | -| --selector-item-color |
#1677ff
|
#3086ff
| Selector item color | -| --selector-item-sub-color |
#999999
|
#616161
| Selector item sub-color | diff --git a/compiled/wechat/src/Selector/index.js b/compiled/wechat/src/Selector/index.js deleted file mode 100644 index 631e0319f..000000000 --- a/compiled/wechat/src/Selector/index.js +++ /dev/null @@ -1,71 +0,0 @@ -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { Component, triggerEventValues, getValueFromProps, } from '../_util/simply'; -import { SelectorDefaultProps } from './props'; -import mixinValue from '../mixins/value'; -Component(SelectorDefaultProps, { - onChange: function (e) { - var _a = e.currentTarget.dataset, disabled = _a.disabled, value = _a.value; - var _b = getValueFromProps(this, [ - 'multiple', - 'options', - 'maxSelectedCount', - 'minSelectedCount', - 'disabled', - ]), multiple = _b[0], options = _b[1], maxSelectedCount = _b[2], minSelectedCount = _b[3], disabledFromProps = _b[4]; - if (disabled || disabledFromProps) { - return; - } - if (multiple) { - var currentValue_1 = this.getValue() || []; - if (currentValue_1.indexOf(value) > -1) { - if (typeof minSelectedCount === 'number' && - currentValue_1.length <= minSelectedCount) { - triggerEventValues(this, 'selectMin', [value, options.find(function (v) { return v.value === value; })], e); - return; - } - currentValue_1 = currentValue_1.filter(function (v) { return v !== value; }); - } - else { - if (typeof maxSelectedCount === 'number' && - currentValue_1.length >= maxSelectedCount) { - triggerEventValues(this, 'selectMax', [value, options.find(function (v) { return v.value === value; })], e); - return; - } - currentValue_1 = __spreadArray(__spreadArray([], currentValue_1, true), [value], false); - } - if (!this.isControlled()) { - this.update(currentValue_1); - } - triggerEventValues(this, 'change', [ - currentValue_1, - options.filter(function (v) { return currentValue_1.indexOf(v.value) > -1; }), - ], e); - } - else { - if (value === this.getValue()) { - if (minSelectedCount === 1) { - triggerEventValues(this, 'selectMin', [value, options.find(function (v) { return v.value === value; })], e); - return; - } - if (!this.isControlled()) { - this.update(undefined); - } - triggerEventValues(this, 'change', [undefined, undefined], e); - } - else { - if (!this.isControlled()) { - this.update(value); - } - triggerEventValues(this, 'change', [value, options.find(function (v) { return v.value === value; })], e); - } - } - }, -}, null, [mixinValue()]); diff --git a/compiled/wechat/src/Selector/index.json b/compiled/wechat/src/Selector/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/wechat/src/Selector/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/wechat/src/Selector/index.md b/compiled/wechat/src/Selector/index.md deleted file mode 100644 index 7248aed82..000000000 --- a/compiled/wechat/src/Selector/index.md +++ /dev/null @@ -1,214 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Selector 选择器组件 - -在一组选项中选择一个或多个。提供多个选项供用户选择,一般在筛选和表单中使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-selector": "antd-mini/es/Selector/index" -#endif -#if WECHAT - "ant-selector": "antd-mini/Selector/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> [options](#selectoritem) 属性是一个对象,包含 `text`(主文案)、 `subText`(副文案) 、 `value`(选项值)、 `disabled`(是否禁用)。 - -```xml - -``` - -### 多选 - -> 传入 `multiple` 属性可以支持多选。 - -```xml - -``` - -### 限制选择个数 - -> `maxSelectedCount`、`minSelectedCount` 属性可以限制选择个数,`selectMax`、`selectMin` 事件在超出限制的时候触发。 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - }, - onSelectMin(value, item) { - console.log(value, item); -#if WECHAT - wx.showModal({ content: '不允许清空' }); -#endif -#if ALIPAY - my.alert({ content: '不允许清空' }); -#endif - }, - onSelectMax() { - console.log(value, item); -#if WECHAT - wx.showModal({ content: '选择已达上限' }); -#endif -#if ALIPAY - my.alert({ content: '选择已达上限' }); -#endif - }, -}); -``` - -### 不允许清空 - -> 想要实现不允许清空,使用 `minSelectedCount` 属性设置最小限制个数位 `1` ,即可。 - -```xml - -``` - -### 受控模式 - -```xml - - - 改变选中值为选项三 - -``` - -```js -Page({ - data: { - items: [ - { text: '选项一', value: '1' }, - { text: '选项二', value: '2' }, - { text: '选项三', value: '3' }, - ], - value: '1', - }, - handleChangeValue() { - this.setData({ - value: '3', - }); - }, - handleChange(value, items, e) { -#if WECHAT - this.setData({ - value: value.detail[0], - }); -#endif -#if ALIPAY - this.setData({ - value, - }); -#endif - console.log(value, items, e); - }, -}); -``` - -### 使用 Selector 自定义 Filter - -> 参考下面 [Demo 代码](#demo-代码) 中的实现。 - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ------------------------- | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| activeItemClassName | 选中选项的类名 | string | - | -| activeItemStyle | 选中选项的样式 | string | - | -| className | 类名 | string | - | -| defaultValue | 默认选择项,多选时类型为数组 | string \| number \| string[] \| number[] | - | -| disabled | 是否整体禁用 | boolean | false | -| maxSelectedCount | 最大可选中项的数量 | number | - | -| minSelectedCount | 最小可选中项的数量 | number | - | -| multiple | 是否允许多选,标签栏显示的时候会显示当前单选/多选的状态 | boolean | false | -| options | 选项数据源 | [SelectorItem](#selectoritem)[] | [] | -| style | 样式 | string | - | -| value | 当前选择项,多选时类型为数组 | string \| number \| string[] \| number[] | - | -| #if ALIPAY onChange | 选中值发生变化,触发回调 | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMax | 触发最大限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if ALIPAY onSelectMin | 触发最小限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 选中值发生变化,触发回调 | (v: string \| number \| undefined \| string[] \| number[], selectedItem: [SelectorItem](#selectoritem) \| undefined \| [SelectorItem](#selectoritem)[], event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmax | 触发最大限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:selectmin | 触发最小限制 | (value: string \| number, item: [SelectorItem](#selectoritem), event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### SelectorItem - -| 属性 | 说明 | 类型 | 默认值 | -| -------- | ------------ | ---------------- | ------ | -| disabled | 是否禁用 | boolean | - | -| subText | 副文案 | string | - | -| text | 文案 | string | - | -| value | 当前项 value | string \| number | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| 选择器背景颜色 | -| --selector-item-background |
#f5f5f5
|
#121212
| 选择器项背景颜色 | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| 选择器激活项背景颜色 | -| --selector-item-color |
#1677ff
|
#3086ff
| 选择器项颜色 | -| --selector-item-sub-color |
#999999
|
#616161
| 选择器项子颜色 | diff --git a/compiled/wechat/src/Selector/index.wxml b/compiled/wechat/src/Selector/index.wxml deleted file mode 100644 index 4046439b7..000000000 --- a/compiled/wechat/src/Selector/index.wxml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - {{item.text}} - {{item.subText}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Selector/index.wxs b/compiled/wechat/src/Selector/index.wxs deleted file mode 100644 index 983f852de..000000000 --- a/compiled/wechat/src/Selector/index.wxs +++ /dev/null @@ -1,9 +0,0 @@ -function getChecked(value, values, multiple) { - if (!multiple) { - return value === values; - } - return (values || []).indexOf(value) > -1; -} -module.exports = { - getChecked: getChecked -}; \ No newline at end of file diff --git a/compiled/wechat/src/Selector/index.wxss b/compiled/wechat/src/Selector/index.wxss deleted file mode 100644 index 23695743e..000000000 --- a/compiled/wechat/src/Selector/index.wxss +++ /dev/null @@ -1,70 +0,0 @@ -.ant-selector { - position: relative; - display: flex; - flex-direction: column; - background-color: var(--selector-background-color, #ffffff); - line-height: 1.4; -} -.ant-selector-disabled .ant-selector-content { - opacity: 0.6; -} -.ant-selector-disabled .ant-selector-content .ant-selector-item-disabled { - opacity: 1; -} -.ant-selector-content { - display: flex; - flex: 0 33.3333%; - padding: calc(24rpx / 2); - box-sizing: border-box; -} -.ant-selector-content-item2 { - flex: 1; -} -.ant-selector-content-container { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} -.ant-selector-content .ant-tap-modal-mask { - width: calc(100% - 24 * 1rpx); - height: calc(100% - 24 * 1rpx); - margin: 12rpx 0 0 12rpx; -} -.ant-selector-item { - position: relative; - display: flex; - flex: 1; - flex-direction: column; - justify-content: flex-start; - overflow: hidden; - padding: calc(24rpx / 2) calc(24rpx / 4); - text-align: center; - background-color: var(--selector-item-background, #f5f5f5); - border-radius: 8rpx; -} -.ant-selector-item-active { - background-color: var(--selector-item-active-background, #e7f1ff); -} -.ant-selector-item-active .ant-selector-item-text { - color: var(--selector-item-color, #1677ff); -} -.ant-selector-item-disabled { - opacity: 0.6; -} -.ant-selector-item-text { - font-size: 30rpx; - color: var(--selector-item-color, #1677ff); -} -.ant-selector-item-subtext { - font-size: 26rpx; - color: var(--selector-item-sub-color, #999999); -} -.ant-selector-item-badge-active { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAfCAYAAAH8T49dAAAAAXNSR0IArs4c6QAAA7JJREFUWAnNV1tIlEEU/lYrzRClaHdd14jMlEwKBEGolwKhnqIICiKE6ikKhMRdk1ikwCx86KECoYKgsIuVUBT4FBQEUm9dpB4iKrSLouWau+7pnP2d/S/+e/fSPOxczne++ebM+WdngFSKs4XIhJMBKdFBl4/61MAspHJzqIbUjBrlqig2aHTLmUHQUIe0tBJDqgFr7fZRY4RwLS7QOIU4m4BrA+SeCOKbYpWpXT6tFwVavRVw7muZyaTNOoWSYgtyn6K6SBgvlVM0mKojNW/WWwWoLdMsJpDQ88ZWiUkA1w9poNh0av4aD3DnCBCaBmrOzoCqA7TsexB/ta79b4zJ3pzaaGmAvKEgPmdF5vTRUxAa1JRpk3He5HPeBBWBsU6ZjFV0sopmo7O1nZSMdyXMTrlWR9nCx8eA4XF9l5ZYQdLnxDjA+35T2eQTGJkAqtq1PFAk6rNQOJMyVwv95ENhpTIaa8mX/hNmJUa7tB2lrbSFE+q11bCofQ6N37TMTNUw0QDHuDZrMo7zJMc5T4RkTMbJW8zJO2JcjekoMBoStd1+2mUlEnzaZByfG5EIHtlNltYy+Wv4wiSccfYlJbJAgHIuBcHHW+KSdJneNqqIR/QhAPQe1SdISMbxaZoKYVCH6y0hKswHfA/1sbjLZKIXnIj1OlRvKaJtXcDgsD5uq4wTcUIRbS4F5NSoLtGc4hGJ1aSs8hwVjvzCmD6X1np/GiguAMYntaVZFSl8TJmrlXbYEQmwsh0Y5fNMYhSPSHBRZRyfbl4W/7tlVxwcn0/8oa7JjkbzNsVsLgiz4fB20fLQEK7y4vb/F8KcfqpHBL28KLda2KIJ23ebcp+9wnnOoSYlxlgvuDCPn6rCEfSxiAqjEGt7wYTxfb05AnTwxSf2+VrFGPvzKqwsQJ6pIO5zMtcZJ02lPS/C+P/roMMBOYP4uMqszJmwdS1U9Bu4xTJ2pirFUwRs3wA8eQP8+GP2ylqYx0cNYUIP0xabqeP35B7cc1g7/gX1/COwp9uMz0jY+ouUN/YVVziRG810iXtWQXJB38uCjH+5iiEtYSU+qp0mPGBnryJQtZ+fOuWrgQv9wLshNarV6QhSnkmFyR3q8iTOcCL7lZO1LlgKDPiAVSs0i7w6JBL5/E4xblmiCFk54wora6PyqTD6WNBGq1O8vrxc7vJdQO4ixpKOIOU3SxjfEI7zg7+L88f2XaYcE9WbWGDnboBPeJzkf0C7HErkL7aoMFeAnBTEPe5vTeawUPZ/WGpTpu45f4MAAAAASUVORK5CYII=') right bottom no-repeat; - background-size: 19px 15px; -} diff --git a/compiled/wechat/src/Selector/props.js b/compiled/wechat/src/Selector/props.js deleted file mode 100644 index d1acb75c0..000000000 --- a/compiled/wechat/src/Selector/props.js +++ /dev/null @@ -1,11 +0,0 @@ -export var SelectorDefaultProps = { - value: null, - defaultValue: null, - options: null, - activeItemClassName: '', - activeItemStyle: '', - multiple: false, - minSelectedCount: null, - maxSelectedCount: null, - disabled: false, -}; diff --git a/compiled/wechat/src/Selector/variable.wxss b/compiled/wechat/src/Selector/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Skeleton/Avatar/index.js b/compiled/wechat/src/Skeleton/Avatar/index.js deleted file mode 100644 index c4783989b..000000000 --- a/compiled/wechat/src/Skeleton/Avatar/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonAvatarDefaultProps } from './props'; -Component(SkeletonAvatarDefaultProps); diff --git a/compiled/wechat/src/Skeleton/Avatar/index.json b/compiled/wechat/src/Skeleton/Avatar/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/wechat/src/Skeleton/Avatar/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/wechat/src/Skeleton/Avatar/index.wxml b/compiled/wechat/src/Skeleton/Avatar/index.wxml deleted file mode 100644 index 34104b924..000000000 --- a/compiled/wechat/src/Skeleton/Avatar/index.wxml +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Avatar/index.wxs b/compiled/wechat/src/Skeleton/Avatar/index.wxs deleted file mode 100644 index ec8fcd56d..000000000 --- a/compiled/wechat/src/Skeleton/Avatar/index.wxs +++ /dev/null @@ -1,10 +0,0 @@ -function getClass(size) { - var list = ['x-small', 'small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-skeleton-avatar-".concat(size); - } - return 'ant-skeleton-avatar-medium'; -} -module.exports = { - getClass: getClass -}; \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Avatar/index.wxss b/compiled/wechat/src/Skeleton/Avatar/index.wxss deleted file mode 100644 index 97a4ba715..000000000 --- a/compiled/wechat/src/Skeleton/Avatar/index.wxss +++ /dev/null @@ -1,31 +0,0 @@ -.ant-skeleton-avatar { - width: 88rpx; - height: 88rpx; - border-radius: 8rpx; - background: var(--color-border, #e5e5e5); - display: inline-block; -} -.ant-skeleton-avatar-animate { - background: linear-gradient(90deg, var(--skeleton-animation-25, #e5e5e5) 25%, var(--skeleton-animation-37, rgba(204, 204, 204, 0.6)) 37%, var(--skeleton-animation-63, #e5e5e5) 63%); - background-size: 400% 100%; - animation: ant-skeleton-loading 1.4s ease infinite; -} -.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-avatar-x-small { - width: 36rpx; - height: 36rpx; -} -.ant-skeleton-avatar-small { - width: 60rpx; - height: 60rpx; -} -.ant-skeleton-avatar-medium { - width: 92rpx; - height: 92rpx; -} -.ant-skeleton-avatar-large { - width: 140rpx; - height: 140rpx; -} diff --git a/compiled/wechat/src/Skeleton/Avatar/props.js b/compiled/wechat/src/Skeleton/Avatar/props.js deleted file mode 100644 index 136e450eb..000000000 --- a/compiled/wechat/src/Skeleton/Avatar/props.js +++ /dev/null @@ -1,13 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { SkeletonDefaultBaseProps } from '../props'; -export var SkeletonAvatarDefaultProps = __assign(__assign({}, SkeletonDefaultBaseProps), { shape: 'square', size: 'medium' }); diff --git a/compiled/wechat/src/Skeleton/Button/index.js b/compiled/wechat/src/Skeleton/Button/index.js deleted file mode 100644 index b3deabd66..000000000 --- a/compiled/wechat/src/Skeleton/Button/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonButtonDefaultProps } from './props'; -Component(SkeletonButtonDefaultProps); diff --git a/compiled/wechat/src/Skeleton/Button/index.json b/compiled/wechat/src/Skeleton/Button/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/wechat/src/Skeleton/Button/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/wechat/src/Skeleton/Button/index.wxml b/compiled/wechat/src/Skeleton/Button/index.wxml deleted file mode 100644 index 93ecc36cb..000000000 --- a/compiled/wechat/src/Skeleton/Button/index.wxml +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Button/index.wxs b/compiled/wechat/src/Skeleton/Button/index.wxs deleted file mode 100644 index 9630e2fa6..000000000 --- a/compiled/wechat/src/Skeleton/Button/index.wxs +++ /dev/null @@ -1,10 +0,0 @@ -function getClass(size) { - var list = ['small', 'medium', 'large']; - if (list.indexOf(size) >= 0) { - return "ant-skeleton-button-".concat(size); - } - return 'ant-skeleton-button-medium'; -} -module.exports = { - getClass: getClass -}; \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Button/index.wxss b/compiled/wechat/src/Skeleton/Button/index.wxss deleted file mode 100644 index bb225739f..000000000 --- a/compiled/wechat/src/Skeleton/Button/index.wxss +++ /dev/null @@ -1,24 +0,0 @@ -.ant-skeleton-button { - width: 120rpx; - height: 48rpx; - border-radius: 8rpx; - background: var(--color-border, #e5e5e5); - display: inline-block; -} -.ant-skeleton-button-animate { - background: linear-gradient(90deg, var(--skeleton-animation-25, #e5e5e5) 25%, var(--skeleton-animation-37, rgba(204, 204, 204, 0.6)) 37%, var(--skeleton-animation-63, #e5e5e5) 63%); - background-size: 400% 100%; - animation: ant-skeleton-loading 1.4s ease infinite; -} -.ant-skeleton-button-large { - font-size: 36rpx; - padding: 24rpx 24rpx 24rpx 24rpx; -} -.ant-skeleton-button-medium { - font-size: 34rpx; - padding: 16rpx 24rpx 16rpx 24rpx; -} -.ant-skeleton-button-small { - font-size: 30rpx; - padding: 8rpx 24rpx 8rpx 24rpx; -} diff --git a/compiled/wechat/src/Skeleton/Button/props.js b/compiled/wechat/src/Skeleton/Button/props.js deleted file mode 100644 index 896ad55a1..000000000 --- a/compiled/wechat/src/Skeleton/Button/props.js +++ /dev/null @@ -1,13 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { SkeletonDefaultBaseProps } from '../props'; -export var SkeletonButtonDefaultProps = __assign(__assign({}, SkeletonDefaultBaseProps), { size: 'medium' }); diff --git a/compiled/wechat/src/Skeleton/Input/index.js b/compiled/wechat/src/Skeleton/Input/index.js deleted file mode 100644 index 40276769a..000000000 --- a/compiled/wechat/src/Skeleton/Input/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonInputDefaultProps } from './props'; -Component(SkeletonInputDefaultProps); diff --git a/compiled/wechat/src/Skeleton/Input/index.json b/compiled/wechat/src/Skeleton/Input/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/wechat/src/Skeleton/Input/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/wechat/src/Skeleton/Input/index.wxml b/compiled/wechat/src/Skeleton/Input/index.wxml deleted file mode 100644 index d852f5b28..000000000 --- a/compiled/wechat/src/Skeleton/Input/index.wxml +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Input/index.wxss b/compiled/wechat/src/Skeleton/Input/index.wxss deleted file mode 100644 index 63ec53f5c..000000000 --- a/compiled/wechat/src/Skeleton/Input/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -.ant-skeleton-input { - width: 400rpx; - height: 40rpx; - border-radius: 8rpx; - background: var(--color-border, #e5e5e5); - display: inline-block; -} -.ant-skeleton-input-animate { - background: linear-gradient(90deg, var(--skeleton-animation-25, #e5e5e5) 25%, var(--skeleton-animation-37, rgba(204, 204, 204, 0.6)) 37%, var(--skeleton-animation-63, #e5e5e5) 63%); - background-size: 400% 100%; - animation: ant-skeleton-loading 1.4s ease infinite; -} diff --git a/compiled/wechat/src/Skeleton/Input/props.js b/compiled/wechat/src/Skeleton/Input/props.js deleted file mode 100644 index ed4ae1706..000000000 --- a/compiled/wechat/src/Skeleton/Input/props.js +++ /dev/null @@ -1,13 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { SkeletonDefaultBaseProps } from '../props'; -export var SkeletonInputDefaultProps = __assign({}, SkeletonDefaultBaseProps); diff --git a/compiled/wechat/src/Skeleton/Paragraph/index.js b/compiled/wechat/src/Skeleton/Paragraph/index.js deleted file mode 100644 index fbc9397e3..000000000 --- a/compiled/wechat/src/Skeleton/Paragraph/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonParagraphDefaultProps } from './props'; -Component(SkeletonParagraphDefaultProps); diff --git a/compiled/wechat/src/Skeleton/Paragraph/index.json b/compiled/wechat/src/Skeleton/Paragraph/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/wechat/src/Skeleton/Paragraph/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/wechat/src/Skeleton/Paragraph/index.wxml b/compiled/wechat/src/Skeleton/Paragraph/index.wxml deleted file mode 100644 index a3c1303e9..000000000 --- a/compiled/wechat/src/Skeleton/Paragraph/index.wxml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Paragraph/index.wxss b/compiled/wechat/src/Skeleton/Paragraph/index.wxss deleted file mode 100644 index 75e2586eb..000000000 --- a/compiled/wechat/src/Skeleton/Paragraph/index.wxss +++ /dev/null @@ -1,26 +0,0 @@ -@keyframes ant-skeleton-loading { - 0% { - background-position: 100% 50%; - } - 100% { - background-position: 0 50%; - } -} -.ant-skeleton-paragraph-animate .ant-skeleton-paragraph-row { - background: linear-gradient(90deg, var(--skeleton-animation-25, #e5e5e5) 25%, var(--skeleton-animation-37, rgba(204, 204, 204, 0.6)) 37%, var(--skeleton-animation-63, #e5e5e5) 63%); - background-size: 400% 100%; - animation: ant-skeleton-loading 1.4s ease infinite; -} -.ant-skeleton-paragraph-row { - width: 100%; - height: 30rpx; - margin-bottom: 24rpx; - border-radius: 8rpx; - background: var(--color-border, #e5e5e5); -} -.ant-skeleton-paragraph-row:nth-last-of-type(1) { - margin-bottom: 0; -} -.ant-skeleton-paragraph-row:nth-last-of-type(1):not(:nth-of-type(1)) { - width: 60%; -} diff --git a/compiled/wechat/src/Skeleton/Paragraph/props.js b/compiled/wechat/src/Skeleton/Paragraph/props.js deleted file mode 100644 index b9743058f..000000000 --- a/compiled/wechat/src/Skeleton/Paragraph/props.js +++ /dev/null @@ -1,13 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { SkeletonDefaultBaseProps } from '../props'; -export var SkeletonParagraphDefaultProps = __assign(__assign({}, SkeletonDefaultBaseProps), { rows: 3 }); diff --git a/compiled/wechat/src/Skeleton/Title/index.js b/compiled/wechat/src/Skeleton/Title/index.js deleted file mode 100644 index 492c6742e..000000000 --- a/compiled/wechat/src/Skeleton/Title/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../../_util/simply'; -import { SkeletonTitleDefaultProps } from './props'; -Component(SkeletonTitleDefaultProps); diff --git a/compiled/wechat/src/Skeleton/Title/index.json b/compiled/wechat/src/Skeleton/Title/index.json deleted file mode 100644 index a89ef4dbe..000000000 --- a/compiled/wechat/src/Skeleton/Title/index.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "component": true, - "usingComponents": {} -} diff --git a/compiled/wechat/src/Skeleton/Title/index.wxml b/compiled/wechat/src/Skeleton/Title/index.wxml deleted file mode 100644 index 6e91a4b25..000000000 --- a/compiled/wechat/src/Skeleton/Title/index.wxml +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/Title/index.wxss b/compiled/wechat/src/Skeleton/Title/index.wxss deleted file mode 100644 index 121dc503d..000000000 --- a/compiled/wechat/src/Skeleton/Title/index.wxss +++ /dev/null @@ -1,20 +0,0 @@ -@keyframes ant-skeleton-loading { - 0% { - background-position: 100% 50%; - } - 100% { - background-position: 0 50%; - } -} -.ant-skeleton-title { - height: 40rpx; - width: 45%; - margin-bottom: 40rpx; - border-radius: 8rpx; - background: var(--color-border, #e5e5e5); -} -.ant-skeleton-title-animate { - background: linear-gradient(90deg, var(--skeleton-animation-25, #e5e5e5) 25%, var(--skeleton-animation-37, rgba(204, 204, 204, 0.6)) 37%, var(--skeleton-animation-63, #e5e5e5) 63%); - background-size: 400% 100%; - animation: ant-skeleton-loading 1.4s ease infinite; -} diff --git a/compiled/wechat/src/Skeleton/Title/props.js b/compiled/wechat/src/Skeleton/Title/props.js deleted file mode 100644 index 2e9449396..000000000 --- a/compiled/wechat/src/Skeleton/Title/props.js +++ /dev/null @@ -1,13 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { SkeletonDefaultBaseProps } from '../props'; -export var SkeletonTitleDefaultProps = __assign({}, SkeletonDefaultBaseProps); diff --git a/compiled/wechat/src/Skeleton/index.en.md b/compiled/wechat/src/Skeleton/index.en.md deleted file mode 100644 index ebc155f2b..000000000 --- a/compiled/wechat/src/Skeleton/index.en.md +++ /dev/null @@ -1,167 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 12 -toc: 'content' ---- - -# Skeleton - -Provide a placeholder graphic combination where you need to wait for content to load. - -- The network is slow, requires a long wait to load, and is only used when it is loaded for the first time. -- On the premise of ensuring the performance of the mobile phone, try to use preloading, preferably without skeleton screen. -- It is suitable for home pages, lists and cards with more graphic information and important information. Do not use small module class components (such as pop-up windows). - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-skeleton": "antd-mini/es/Skeleton/index", - "skeleton-avatar": "antd-mini/es/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/es/Skeleton/Title/index", - "skeleton-button": "antd-mini/es/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/es/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/es/Skeleton/Input/index", -#endif -#if WECHAT - "ant-skeleton": "antd-mini/Skeleton/index", - "skeleton-avatar": "antd-mini/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/Skeleton/Title/index", - "skeleton-button": "antd-mini/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/Skeleton/Input/index", -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -### With avatar - -```xml - -``` - -### Custom Combinations - -```xml - - - - - - -``` - -### complex combination - -```xml - - - - - We supply a series of design principles, practical patterns and high - quality design resources, to help people create their product prototypes - beautifully and efficiently. - - - -``` - -### Demo Code - - - -## API - -### Skeleton - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | --------------------- | ------ | -| animate | Show animation effect | boolean | false | -| avatar | Whether to display avatar bitmap | `boolean \| Avatar` | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| paragraph | Paragraph | `number \| Paragraph` | true | -| style | Style | CSSProperties | - | -| title | Whether to display title bitmap | boolean | true | - -### Avatar - -| Property | Description | Type | Default Value | -| --------- | ------------------------------------------------ | ------------- | -------- | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| shape | Avatar Shape `circle` or `square` | string | `square` | -| size | Avatar size `x-small`、`small`、`medium` or `large` | string | `medium` | -| style | Style | CSSProperties | - | - -#### Paragraph paragraph - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| rows | Number of paragraph lines, greater than 0 | number | 3 | -| style | Style | CSSProperties | - | - -#### Title Title - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| style | Style | CSSProperties | - | - -#### Button Button - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | -------- | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| size | size,`small`、`medium` or `large` | string | `medium` | -| style | Style | CSSProperties | - | - -#### Input input box - -| Property | Description | Type | Default Value | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | Show animation effect | boolean | false | -| className | Class Name | string | - | -| loading | When true, displays the accounting bitmap. Otherwise, the subassembly is displayed directly. | boolean | true | -| style | Style | CSSProperties | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| Selector Background Color | -| --selector-item-background |
#f5f5f5
|
#121212
| Selector item background color | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| Selector Activate Item Background Color | -| --selector-item-color |
#1677ff
|
#3086ff
| Selector item color | -| --selector-item-sub-color |
#999999
|
#616161
| Selector item sub-color | diff --git a/compiled/wechat/src/Skeleton/index.js b/compiled/wechat/src/Skeleton/index.js deleted file mode 100644 index e8d2c8bf9..000000000 --- a/compiled/wechat/src/Skeleton/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../_util/simply'; -import { SkeletonDefaultProps } from './props'; -Component(SkeletonDefaultProps); diff --git a/compiled/wechat/src/Skeleton/index.json b/compiled/wechat/src/Skeleton/index.json deleted file mode 100644 index 04b9328d7..000000000 --- a/compiled/wechat/src/Skeleton/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "avatar": "./Avatar/index", - "paragraph": "./Paragraph/index", - "title": "./Title/index" - } -} diff --git a/compiled/wechat/src/Skeleton/index.md b/compiled/wechat/src/Skeleton/index.md deleted file mode 100644 index 5eecd2257..000000000 --- a/compiled/wechat/src/Skeleton/index.md +++ /dev/null @@ -1,167 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 12 -toc: 'content' ---- - -# Skeleton 骨架屏 - -在需要等待加载内容的位置提供一个占位图形组合。 - -- 网络较慢,需要长时间等待加载,并且只在第一次加载的时候使用。 -- 在确保手机性能的前提下,尽量使用预加载,最好不用骨架屏。 -- 适用于图文信息较多且重要的首页、列表、卡片中。小的模块类组件(例如弹窗)不要使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-skeleton": "antd-mini/es/Skeleton/index", - "skeleton-avatar": "antd-mini/es/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/es/Skeleton/Title/index", - "skeleton-button": "antd-mini/es/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/es/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/es/Skeleton/Input/index", -#endif -#if WECHAT - "ant-skeleton": "antd-mini/Skeleton/index", - "skeleton-avatar": "antd-mini/Skeleton/Avatar/index", - "skeleton-title": "antd-mini/Skeleton/Title/index", - "skeleton-button": "antd-mini/Skeleton/Button/index", - "skeleton-paragraph": "antd-mini/Skeleton/Paragraph/index", - "skeleton-input": "antd-mini/Skeleton/Input/index", -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -### 带头像 - -```xml - -``` - -### 自定义组合 - -```xml - - - - - - -``` - -### 复杂组合 - -```xml - - - - - We supply a series of design principles, practical patterns and high - quality design resources, to help people create their product prototypes - beautifully and efficiently. - - - -``` - -### Demo 代码 - - - -## API - -### Skeleton - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | --------------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| avatar | 是否显示头像占位图 | `boolean \| Avatar` | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| paragraph | 段落 | `number \| Paragraph` | true | -| style | 样式 | CSSProperties | - | -| title | 是否显示标题占位图 | boolean | true | - -### Avatar - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ------------------------------------------------ | ------------- | -------- | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| shape | 头像形状 `circle` 或 `square` | string | `square` | -| size | 头像大小 `x-small`、`small`、`medium` 或 `large` | string | `medium` | -| style | 样式 | CSSProperties | - | - -#### Paragraph 段落 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| rows | 段落行数,大于 0 展示 | number | 3 | -| style | 样式 | CSSProperties | - | - -#### Title 标题 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| style | 样式 | CSSProperties | - | - -#### Button 按钮 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | -------- | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| size | 大小,`small`、`medium` 或 `large` | string | `medium` | -| style | 样式 | CSSProperties | - | - -#### Input 输入框 - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | -------------------------------------------- | ------------- | ------ | -| animate | 是否展示动画效果 | boolean | false | -| className | 类名 | string | - | -| loading | 为 true 时,显示占位图。反之则直接展示子组件 | boolean | true | -| style | 样式 | CSSProperties | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | -| --selector-background-color |
#ffffff
|
#1a1a1a
| 选择器背景颜色 | -| --selector-item-background |
#f5f5f5
|
#121212
| 选择器项背景颜色 | -| --selector-item-active-background |
#e7f1ff
|
#0d2543
| 选择器激活项背景颜色 | -| --selector-item-color |
#1677ff
|
#3086ff
| 选择器项颜色 | -| --selector-item-sub-color |
#999999
|
#616161
| 选择器项子颜色 | diff --git a/compiled/wechat/src/Skeleton/index.wxml b/compiled/wechat/src/Skeleton/index.wxml deleted file mode 100644 index edbecf8c7..000000000 --- a/compiled/wechat/src/Skeleton/index.wxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Skeleton/index.wxss b/compiled/wechat/src/Skeleton/index.wxss deleted file mode 100644 index ca3ef66cd..000000000 --- a/compiled/wechat/src/Skeleton/index.wxss +++ /dev/null @@ -1,18 +0,0 @@ -.ant-skeleton { - display: flex; - align-items: flex-start; - width: 100%; - flex: 1; - flex-wrap: nowrap; -} -.ant-skeleton-avatar-wrapper { - flex-shrink: 0; - padding-right: 32rpx; -} -.ant-skeleton-avatar-wrapper + .ant-skeleton-content-wrapper { - padding-top: 24rpx; -} -.ant-skeleton-content-wrapper { - flex: 1; - width: 100%; -} diff --git a/compiled/wechat/src/Skeleton/props.js b/compiled/wechat/src/Skeleton/props.js deleted file mode 100644 index a294c7bd6..000000000 --- a/compiled/wechat/src/Skeleton/props.js +++ /dev/null @@ -1,11 +0,0 @@ -export var SkeletonDefaultBaseProps = { - loading: true, - animate: false, -}; -export var SkeletonDefaultProps = { - loading: true, - animate: false, - avatar: false, - title: true, - paragraph: true, -}; diff --git a/compiled/wechat/src/Skeleton/variable.wxss b/compiled/wechat/src/Skeleton/variable.wxss deleted file mode 100644 index a2d3a042b..000000000 --- a/compiled/wechat/src/Skeleton/variable.wxss +++ /dev/null @@ -1,8 +0,0 @@ -@keyframes ant-skeleton-loading { - 0% { - background-position: 100% 50%; - } - 100% { - background-position: 0 50%; - } -} diff --git a/compiled/wechat/src/Slider/index.en.md b/compiled/wechat/src/Slider/index.en.md deleted file mode 100644 index 5262fedb3..000000000 --- a/compiled/wechat/src/Slider/index.en.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry -toc: 'content' ---- - -# Slider - -You can take values within a range by moving the slider. Used to move the slider within a certain range to obtain a single or interval value. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-slider": "antd-mini/es/Slider/index" -#endif -#if WECHAT - "ant-slider": "antd-mini/Slider/index" -#endif -} -``` - -## Code example - -### Basic use - -> By default a slider,`change` event fires when the slider value changes, `afterChange` Events and `touchend` The trigger timing is consistent. - -```xml - -``` - -```js -Page({ - onChange(value, e) { - console.log('slider changed:', value, e); - }, - onAfterChange(value, e) { - console.log('Current Value:', value, e); -#if ALIPAY - my.showToast({ content: 'value: ' + value }); -#endif -#if WECHAT - wx.showToast({ title: `value: ${value.detail}` }); -#endif - }, -}); -``` - -### Disable state - -```xml - -``` - -### Dual Slider Mode - -> Incoming `range` property, the dual slider mode is supported,`value` The status value type will also become an array. - -```xml - -``` - -### Nodes and scales - -> Incoming `showTicks` property display scale, passing in `showNumber` Shows the data on the scale. - -```xml - -``` - -### Hover Tip - -> Incoming `showTooltip` Property, you can display a hovering prompt when dragging. - -```xml - -#if ALIPAY - - - Slot Customization:{{prop.value}} - -#endif -``` - -### Controlled Mode - -> `value` property and `change` event, cooperation can achieve a controlled mode. Here's the example through `ant-stepper` Component change `value` Status,`ant-slider` Components `value` States can also change together. - -```xml - - -``` - -```js -Page({ - data: { - value: 80, - }, - handleChange(value, e) { - console.log('slider changed:', value, e); -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif - }, -}); -``` - -### Custom Style - -> `activeLineStyle`、`activeDotStyle` Property to customize the style. - -```xml - -#if WECHAT - -#endif -#if ALIPAY - {{ props.value }}°C - {{ props.value }}°C - - - - - - -#endif - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | -------------------------------------------------- | ------------------------------------------------- | ------ | -| activeDotClassName | Class name of selected dot | string | - | -| activeLineClassName | The style of the selected line | string | - | -| activeDotStyle | Select the type of dot | string | - | -| activeLineStyle | The style of the selected line | string | - | -| className | Class Name | string | - | -| defaultValue | Initial value | number \| [number, number] | - | -| disabled | Disable | boolean | false | -| max | Maximum | number | 100 | -| min | Minimum | number | 0 | -| range | Whether it is a double slider | boolean | false | -| showNumber | Show data on scale | boolean | false | -| step | Step, the value must be greater than 0 and divisible by (max-min) | number | 1 | -| style | Style | string | - | -| showTicks | Show scale | boolean | false | -| showTooltip | Whether to display the floating prompt when dragging, support the use of scope slot customization | boolean | false | -| slider | Custom Slider | slot | - | -| tick | Custom Scale | slot | - | -| tooltip | Show hover prompt when custom drag | slot | - | -| value | Current Value | number \| [number, number] | - | -| #if ALIPAY onChange | Triggers when the slider value changes | (value: number | [number, number]) => void | - | -| #if ALIPAY onAfterChange | Consistent with the touchend trigger timing, the current value is passed in as a parameter. | (value: number | [number, number]) => void | - | -| #if WECHAT bind:change | Triggers when the slider value changes | (value: number | [number, number]) => void | - | -| #if WECHAT bind:afterchange | Consistent with the touchend trigger timing, the current value is passed in as a parameter. | (value: number | [number, number]) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --slide-block-shadow |
rgba(0, 0, 0, 0.12)
|
rgba(0, 0, 0, 0.12)
| Slider Block Shadow | -| --slider-default-primary-color |
#1677ff
|
#3086ff
| Slider default main color | -| --slider-track-bg |
#ffffff
|
#1a1a1a
| Slider track background color | -| --slider-fill-bg |
#f5f5f5
|
#121212
| Slider Fill Background Color | -| --slider-number-color |
#333333
|
#c5cad1
| Slider number color | -| --slide-block-bg |
#ffffff
|
#ffffff
| Slider block background color | -| --slide-back-bg |
#f5f5f5
|
#121212
| Slider Background Color | diff --git a/compiled/wechat/src/Slider/index.js b/compiled/wechat/src/Slider/index.js deleted file mode 100644 index 1bf3eee22..000000000 --- a/compiled/wechat/src/Slider/index.js +++ /dev/null @@ -1,300 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { sliderDefaultProps } from './props'; -import createValue from '../mixins/value'; -Component(sliderDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - formatValue: function (val) { - var _a = getValueFromProps(this, [ - 'min', - 'max', - 'step', - 'range', - ]), min = _a[0], max = _a[1], step = _a[2], range = _a[3]; - var value = this.fitSliderValue(val, min, max, step, range); - value = this.getRoundedValue(value, step); - return value; - }, - getRoundedValue: function (value, step) { - if (step === void 0) { step = 1; } - if (value === undefined) { - return 0; - } - if (typeof value === 'number') { - return Math.round(value / step) * step; - } - return [ - Math.round(value[0] / step) * step, - Math.round(value[1] / step) * step, - ]; - }, - setSliderStyleByValue: function (roundedValue) { - var leftValue = 0; - var rightValue = 0; - var _a = getValueFromProps(this, [ - 'min', - 'max', - ]), minFromProps = _a[0], maxFromProps = _a[1]; - var max = maxFromProps !== null && maxFromProps !== void 0 ? maxFromProps : sliderDefaultProps.max; - var min = minFromProps !== null && minFromProps !== void 0 ? minFromProps : sliderDefaultProps.min; - if (roundedValue !== undefined) { - if (typeof roundedValue === 'number') { - leftValue = min; - rightValue = roundedValue; - } - else { - leftValue = roundedValue[0]; - rightValue = roundedValue[1]; - } - } - // FIX_ME when min and max is equal - var width = ((rightValue - leftValue) / (max - min)) * 100; - var left = ((leftValue - min) / (max - min)) * 100; - this.setData({ - sliderLeft: left, - sliderWidth: width, - }); - }, - setTickList: function () { - var _a = getValueFromProps(this, [ - 'step', - 'min', - 'max', - 'showTicks', - ]), step = _a[0], min = _a[1], max = _a[2], showTicks = _a[3]; - if (!showTicks) { - return; - } - var tickList = []; - var stepCount = (max - min) / step; - for (var i = 0; i <= stepCount; i += 1) { - tickList.push({ - left: i * (100 / stepCount), - value: i * step + min, - }); - } - this.setData({ - tickList: tickList, - }); - }, - onTouchChanged: function (e, type) { - return __awaiter(this, void 0, void 0, function () { - var changeMoving, rect, _a, min, max, range, touchPosition, value, currentValue, leftValue, rightValue, leftDistance, rightDistance, isFarFromLeft, farValue; - var _this = this; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - if (getValueFromProps(this, 'disabled')) { - return [2 /*return*/]; - } - changeMoving = function (params) { - var newParams = {}; - for (var key in params) { - if (params[key] !== _this.data[key]) { - newParams[key] = params[key]; - } - } - if (Object.keys(newParams).length > 0) { - _this.setData(newParams); - } - }; - return [4 /*yield*/, this.getRect(e)]; - case 1: - rect = _b.sent(); - if (!rect) - return [2 /*return*/]; - _a = getValueFromProps(this, [ - 'min', - 'max', - 'range', - ]), min = _a[0], max = _a[1], range = _a[2]; - touchPosition = (rect.touch.pageX - rect.element.left) / rect.element.width; - value = min + touchPosition * (max - min); - if (!range) { - this.update(value, {}, !this.isControlled(), true); - changeMoving({ changingEnd: true }); - } - else { - currentValue = this.getValue(); - leftValue = currentValue[0]; - rightValue = currentValue[1]; - leftDistance = Math.abs(leftValue - value); - rightDistance = Math.abs(rightValue - value); - isFarFromLeft = leftDistance > rightDistance; - farValue = isFarFromLeft ? leftValue : rightValue; - this.update([value, farValue], {}, !this.isControlled(), 'onChange'); - if (isFarFromLeft) { - changeMoving({ changingEnd: true }); - } - else { - changeMoving({ changingStart: true }); - } - } - if (type === 'end') { - changeMoving({ changingEnd: false, changingStart: false }); - triggerEvent(this, 'afterChange', this.getValue(), e); - } - return [2 /*return*/]; - } - }); - }); - }, - getRect: function (e) { - return __awaiter(this, void 0, void 0, function () { - var element, touch; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), "#ant-slider-id-".concat(this.$id || ''))]; - case 1: - element = _a.sent(); - touch = e.changedTouches[0]; - if (element) { - return [2 /*return*/, { - touch: { - pageX: touch.pageX, - }, - element: { - left: element.left, - width: element.width, - }, - }]; - } - return [2 /*return*/]; - } - }); - }); - }, - cloneSliderValue: function (value) { - if (typeof value === 'object') { - return [value[0], value[1]]; - } - return value; - }, - isSliderValueEqual: function (value1, value2) { - if (value1 === value2) { - return true; - } - if (value1 === undefined || value2 === undefined) { - return false; - } - if (typeof value1 === 'number' || typeof value2 == 'number') { - return value1 === value2; - } - if (value1[0] === value2[0] && value1[1] === value2[1]) { - return true; - } - return false; - }, - fitSliderValue: function (value, min, max, step, isRange) { - if (value === undefined || value === null) { - if (isRange) { - return [min, min]; - } - else { - return min !== null && min !== void 0 ? min : 0; - } - } - if (typeof value === 'number') { - if (value > max) { - return max; - } - if (value < min) { - return min; - } - return value; - } - var leftValue = Math.min(value[0], value[1]); - var rightValue = Math.max(value[0], value[1]); - return [ - Math.max(min, leftValue), - Math.min(max, rightValue), - ]; - }, - handleTrackTouchStart: function (e) { - this.onTouchChanged(e, 'start'); - }, - handleTrackTouchMove: function (e) { - this.onTouchChanged(e, 'move'); - }, - handleTrackTouchEnd: function (e) { - this.onTouchChanged(e, 'end'); - }, -}, { - sliderLeft: 0, - sliderWidth: 0, - tickList: [], - changingStart: false, - changingEnd: false, -}, [ - createValue({ - transformValue: function (val, extra, needUpdate, emit) { - if (needUpdate === void 0) { needUpdate = true; } - var value = this.formatValue(val); - if (needUpdate) { - this.setSliderStyleByValue(value); - this.setTickList(); - } - this.onChangeValue = - typeof this.onChangeValue === 'undefined' - ? this.getValue() - : this.onChangeValue; - if (emit && !this.isSliderValueEqual(this.onChangeValue, value)) { - this.onChangeValue = value; - triggerEvent(this, 'change', value); - } - return { - value: value, - needUpdate: needUpdate, - }; - }, - }), -], { - onChangeValue: undefined, - observers: { - 'min, max, step, range, showTicks': function () { - var value = getValueFromProps(this, 'value'); - this.update(value); - }, - }, -}); diff --git a/compiled/wechat/src/Slider/index.json b/compiled/wechat/src/Slider/index.json deleted file mode 100644 index 66ee617da..000000000 --- a/compiled/wechat/src/Slider/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "popover": "../Popover/index" - } -} diff --git a/compiled/wechat/src/Slider/index.md b/compiled/wechat/src/Slider/index.md deleted file mode 100644 index 368184e25..000000000 --- a/compiled/wechat/src/Slider/index.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 -toc: 'content' ---- - -# Slider 滑块 - -可以通过移动滑块在某一范围内取值。用于在一定范围内移动滑块获取单个或者区间数值。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-slider": "antd-mini/es/Slider/index" -#endif -#if WECHAT - "ant-slider": "antd-mini/Slider/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> 默认情况下一个滑块,`change` 事件在 slider 值改变时触发, `afterChange` 事件与 `touchend` 触发时机一致。 - -```xml - -``` - -```js -Page({ - onChange(value, e) { - console.log('slider changed:', value, e); - }, - onAfterChange(value, e) { - console.log('当前值:', value, e); -#if ALIPAY - my.showToast({ content: 'value: ' + value }); -#endif -#if WECHAT - wx.showToast({ title: `value: ${value.detail}` }); -#endif - }, -}); -``` - -### 禁用状态 - -```xml - -``` - -### 双滑块模式 - -> 传入 `range` 属性之后,将支持双滑块模式,`value` 状态值类型也将变成数组。 - -```xml - -``` - -### 节点和刻度 - -> 传入 `showTicks` 属性显示刻度,传入 `showNumber` 展示刻度上的数据。 - -```xml - -``` - -### 悬浮提示 - -> 传入 `showTooltip` 属性,可以在拖动时显示悬浮提示。 - -```xml - -#if ALIPAY - - - 插槽自定义:{{prop.value}} - -#endif -``` - -### 受控模式 - -> `value` 属性和 `change` 事件,配合可以实现受控模式。这里的例子中通过 `ant-stepper` 组件改变 `value` 状态,`ant-slider` 组件 `value` 状态也能一起变化。 - -```xml - - -``` - -```js -Page({ - data: { - value: 80, - }, - handleChange(value, e) { - console.log('slider changed:', value, e); -#if ALIPAY - this.setData({ - value, - }); -#endif -#if WECHAT - this.setData({ - value: value.detail, - }); -#endif - }, -}); -``` - -### 自定义样式 - -> `activeLineStyle`、`activeDotStyle` 属性来自定义样式。 - -```xml - -#if WECHAT - -#endif -#if ALIPAY - {{ props.value }}°C - {{ props.value }}°C - - - - - - -#endif - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | -------------------------------------------------- | ------------------------------------------------- | ------ | -| activeDotClassName | 选中小圆点的类名 | string | - | -| activeLineClassName | 选中线条的样式 | string | - | -| activeDotStyle | 选中小圆点的类型 | string | - | -| activeLineStyle | 选中线条的样式 | string | - | -| className | 类名 | string | - | -| defaultValue | 初始值 | number \| [number, number] | - | -| disabled | 是否禁用 | boolean | false | -| max | 最大值 | number | 100 | -| min | 最小值 | number | 0 | -| range | 是否是双滑块 | boolean | false | -| showNumber | 是否展示刻度上的数据 | boolean | false | -| step | 步距,取值必须大于 0,并且可被 (max - min) 整除 | number | 1 | -| style | 样式 | string | - | -| showTicks | 是否显示刻度 | boolean | false | -| showTooltip | 是否在拖动时显示悬浮提示,支持使用作用域插槽自定义 | boolean | false | -| slider | 自定义滑块 | slot | - | -| tick | 自定义刻度 | slot | - | -| tooltip | 自定义拖动时显示悬浮提示 | slot | - | -| value | 当前值 | number \| [number, number] | - | -| #if ALIPAY onChange | slider 值改变时触发 | (value: number | [number, number]) => void | - | -| #if ALIPAY onAfterChange | 与 touchend 触发时机一致,把当前值作为参数传入 | (value: number | [number, number]) => void | - | -| #if WECHAT bind:change | slider 值改变时触发 | (value: number | [number, number]) => void | - | -| #if WECHAT bind:afterchange | 与 touchend 触发时机一致,把当前值作为参数传入 | (value: number | [number, number]) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| --slide-block-shadow |
rgba(0, 0, 0, 0.12)
|
rgba(0, 0, 0, 0.12)
| 滑块块阴影 | -| --slider-default-primary-color |
#1677ff
|
#3086ff
| 滑块默认主色 | -| --slider-track-bg |
#ffffff
|
#1a1a1a
| 滑块轨道背景颜色 | -| --slider-fill-bg |
#f5f5f5
|
#121212
| 滑块填充背景颜色 | -| --slider-number-color |
#333333
|
#c5cad1
| 滑块数字颜色 | -| --slide-block-bg |
#ffffff
|
#ffffff
| 滑块块背景颜色 | -| --slide-back-bg |
#f5f5f5
|
#121212
| 滑块背景颜色 | diff --git a/compiled/wechat/src/Slider/index.wxml b/compiled/wechat/src/Slider/index.wxml deleted file mode 100644 index 744df3a4c..000000000 --- a/compiled/wechat/src/Slider/index.wxml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - {{item.value}} - - - - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Slider/index.wxs b/compiled/wechat/src/Slider/index.wxs deleted file mode 100644 index e060bb7f0..000000000 --- a/compiled/wechat/src/Slider/index.wxs +++ /dev/null @@ -1,6 +0,0 @@ -var isFrontTick = function isFrontTick(item, sliderLeft, sliderWidth) { - return item.left >= sliderLeft && item.left <= sliderLeft + sliderWidth; -}; -module.exports = { - isFrontTick: isFrontTick -}; \ No newline at end of file diff --git a/compiled/wechat/src/Slider/index.wxss b/compiled/wechat/src/Slider/index.wxss deleted file mode 100644 index ffddbc42a..000000000 --- a/compiled/wechat/src/Slider/index.wxss +++ /dev/null @@ -1,131 +0,0 @@ -.ant-slider { - user-select: none; - width: 100%; -} -.ant-slider-track { - position: relative; - width: 100%; - height: 56rpx; - background-color: var(--slider-track-bg, #ffffff); -} -.ant-slider-track-number { - height: 97rpx; -} -.ant-slider-track-touch-area { - position: absolute; - left: 28rpx; - top: 0rpx; - right: 25rpx; - height: 100%; -} -.ant-slider-track-fill { - position: absolute; - left: 0rpx; - top: 25rpx; - right: 0rpx; - height: 6rpx; -} -.ant-slider-track-fill-background { - position: absolute; - background-color: var(--slider-fill-bg, #f5f5f5); - width: 100%; - height: 100%; - border-radius: 3rpx; -} -.ant-slider-track-fill-front { - position: absolute; - height: 100%; - border-radius: 3rpx; - background-color: var(--slider-default-primary-color, #1677ff); -} -.ant-slider-handler { - position: absolute; - touch-action: none; - left: 0; - transform: translate(-50%, -50%); - top: 3rpx; -} -.ant-slider-handler-block { - width: 56rpx; - height: 56rpx; - background: var(--slide-block-bg, #ffffff); - box-shadow: 0 4rpx 10rpx 0 var(--slide-block-shadow, rgba(0, 0, 0, 0.12)); - border-radius: 56rpx; - text-align: center; - line-height: 56rpx; - color: var(--slider-default-primary-color, #1677ff); -} -.ant-slider-handler-icon-default { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; -} -.ant-slider-handler-icon-default-line1 { - position: absolute; - width: 4rpx; - height: 16rpx; - background-color: var(--slider-default-primary-color, #1677ff); - border-radius: 2rpx; - top: 20rpx; - left: 16rpx; -} -.ant-slider-handler-icon-default-line2 { - position: absolute; - width: 4rpx; - height: 24rpx; - background-color: var(--slider-default-primary-color, #1677ff); - border-radius: 2rpx; - top: 16rpx; - right: 26rpx; -} -.ant-slider-handler-icon-default-line3 { - position: absolute; - width: 4rpx; - height: 16rpx; - background-color: var(--slider-default-primary-color, #1677ff); - border-radius: 2rpx; - top: 20rpx; - right: 16rpx; -} -.ant-slider-handler-icon-from-props { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - text-align: center; - line-height: 100%; -} -.ant-slider-handler-icon-from-props-icon { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); -} -.ant-slider-tick { - position: absolute; - width: 16rpx; - height: 16rpx; - border-radius: 16rpx; - top: 3rpx; - transform: translate(-50%, -50%); -} -.ant-slider-tick-front { - background-color: var(--slider-default-primary-color, #1677ff); -} -.ant-slider-tick-back { - background-color: var(--slide-back-bg, #f5f5f5); -} -.ant-slider-tick-number { - position: absolute; - color: var(--slider-number-color, #333333); - font-size: 24rpx; - transform: translateX(-50%); - top: 44rpx; - left: 8rpx; - text-align: center; - line-height: 33rpx; - height: 33rpx; -} diff --git a/compiled/wechat/src/Slider/props.js b/compiled/wechat/src/Slider/props.js deleted file mode 100644 index 1f06dda53..000000000 --- a/compiled/wechat/src/Slider/props.js +++ /dev/null @@ -1,16 +0,0 @@ -export var sliderDefaultProps = { - value: null, - defaultValue: null, - disabled: false, - max: 100, - min: 0, - range: false, - showNumber: false, - step: 1, - showTicks: false, - showTooltip: false, - activeLineStyle: '', - activeDotStyle: '', - activeLineClassName: '', - activeDotClassName: '', -}; diff --git a/compiled/wechat/src/Slider/variable.wxss b/compiled/wechat/src/Slider/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Stepper/index.en.md b/compiled/wechat/src/Stepper/index.en.md deleted file mode 100644 index 0c3628d02..000000000 --- a/compiled/wechat/src/Stepper/index.en.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Stepper - -A two-stage control used to increase, decrease, or modify values. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-stepper": "antd-mini/es/Stepper/index" -#endif -#if WECHAT - "ant-stepper": "antd-mini/Stepper/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - handleChange(value) { - console.log(value); - }, -}); -``` - -### Custom Styles - -```xml - -``` - -### Input box read-only - -```xml - -``` - -### Input box auto focus - -```xml - -``` - -### Event Binding - -```xml - -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| className | Class Name | string | - | -| disabled | Disable | boolean | false | -| inputReadOnly | Whether the input box is read-only | boolean | false | -| defaultValue | Initial value | number | - | -| focus | Input box check status | boolean | false | -| inputClassName | Input box type | string | - | -| inputStyle | Input box style | string | - | -| max | Maximum | number | - | -| min | Minimum | number | - | -| precision | Calculation accuracy, keep a few decimal places [See details in](https://github.com/ant-design/ant-design/issues/5998) | number | - | -| style | Style | string | - | -| step | Step distance, that is, the value of each addition and subtraction | number | 1 | -| type | Input box evokes keyboard type, optional `number` `digit` | string | `digit` | -| value | The value of the input box is valid when the form is submitted. | number | - | -| #if ALIPAY onBlur | Trigger this callback when the input box loses focus | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onChange | Trigger this callback after data changes | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onConfirm | This callback is triggered when the keyboard is clicked to complete | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onFocus | Trigger this callback when the input box is focused | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onDisabledTap | Click departure callback when disabled | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:blur | Trigger this callback when the input box loses focus | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | Trigger this callback after data changes | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:confirm | This callback is triggered when the keyboard is clicked to complete | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:focus | Trigger this callback when the input box is focused | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:disabledtap | Click departure callback when disabled | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --stepper-handler-tap-bg |
#ddd
|
#ddd
| Step Processor Click Background Color | -| --stepper-handler-border-color |
#e5e5e5
|
#444444
| Step Processor Border Color | -| --stepper-border-color |
#e5e5e5
|
#444444
| Step-Up Border Color | -| --stepper-background-color |
#ffffff
|
#1a1a1a
| Stepper background color | -| --stepper-hover-bg |
rgba(0, 0, 0, 0.92)
|
rgba(0, 0, 0, 0.92)
| stepper hover background color | diff --git a/compiled/wechat/src/Stepper/index.js b/compiled/wechat/src/Stepper/index.js deleted file mode 100644 index ac2f52b39..000000000 --- a/compiled/wechat/src/Stepper/index.js +++ /dev/null @@ -1,93 +0,0 @@ -import { Component, triggerEvent, getValueFromProps } from '../_util/simply'; -import { StepperDefaultProps } from './props'; -import { getPrecision, getValidNumber } from './utils'; -import mixinValue from '../mixins/value'; -Component(StepperDefaultProps, { - onFocus: function (e) { - var value = this.getValue(); - triggerEvent(this, 'focus', value === '' ? null : Number(value), e); - }, - onChange: function (val, e) { - var _a = this.update(val), needUpdate = _a.needUpdate, value = _a.value; - if (getValueFromProps(this, 'onChange') && needUpdate) { - triggerEvent(this, 'change', value === '' ? null : Number(value), e); - } - }, - onConfirm: function (val, e) { - var value = this.getValue(); - triggerEvent(this, 'confirm', value === '' ? null : Number(value), e); - }, - onBlur: function (e) { - if (this.isControlled()) { - this.update(getValueFromProps(this, 'value')); - } - var value = this.getValue(); - triggerEvent(this, 'blur', value === '' ? null : Number(value), e); - }, - onDisabledTap: function (e) { - var onDisabledTap = getValueFromProps(this, 'onDisabledTap'); - onDisabledTap && onDisabledTap(e); - }, - onTap: function (e) { - var _a = getValueFromProps(this, [ - 'step', - 'disabled', - 'min', - 'max', - 'precision', - ]), step = _a[0], disabled = _a[1], _b = _a[2], min = _b === void 0 ? -Infinity : _b, _c = _a[3], max = _c === void 0 ? Infinity : _c, precisionFormProps = _a[4]; - var value = Number(this.getValue() || 0); - if (!disabled) { - var mode = e.currentTarget.dataset.mode; - var result = value; - var precision = precisionFormProps >= 0 - ? precisionFormProps - : Math.max(getPrecision(value), getPrecision(step)); - if (mode === 'minus') { - // 【减】按钮的操作 - result = value - step; - if (result < min) { - result = min; - } - } - else if (mode === 'add') { - // 【加】按钮的操作 - result = value + step; - if (result > max) { - result = max; - } - } - if (!this.isControlled()) { - var needUpdate = this.update(result, {}, precision).needUpdate; - if (!needUpdate) { - return; - } - } - { - var value_1 = getValidNumber(result, min, max, step, precision).value; - triggerEvent(this, 'change', Number(value_1), e); - } - } - }, -}, undefined, [ - mixinValue({ - transformValue: function (num, extra, precision) { - var _a = getValueFromProps(this, [ - 'min', - 'max', - 'step', - 'precision', - ]), min = _a[0], max = _a[1], step = _a[2], precisionFormProps = _a[3]; - var _b = getValidNumber(num, min, max, step, precision >= 0 ? precision : precisionFormProps), valid = _b.valid, value = _b.value; - if (valid && this.getValue() !== value) { - return { - needUpdate: true, - value: value, - }; - } - return { - needUpdate: false, - }; - }, - }), -]); diff --git a/compiled/wechat/src/Stepper/index.json b/compiled/wechat/src/Stepper/index.json deleted file mode 100644 index 12bdacc36..000000000 --- a/compiled/wechat/src/Stepper/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-button": "../Button/index", - "ant-input": "../Input/InputBlur/index" - } -} diff --git a/compiled/wechat/src/Stepper/index.md b/compiled/wechat/src/Stepper/index.md deleted file mode 100644 index 2cc579d3d..000000000 --- a/compiled/wechat/src/Stepper/index.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Stepper 步进器 - -一种两段式控制,用于增加、减少或修改数值。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-stepper": "antd-mini/es/Stepper/index" -#endif -#if WECHAT - "ant-stepper": "antd-mini/Stepper/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - handleChange(value) { - console.log(value); - }, -}); -``` - -### 定制样式 - -```xml - -``` - -### 输入框只读 - -```xml - -``` - -### 输入框自动聚焦 - -```xml - -``` - -### 事件绑定 - -```xml - -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| className | 类名 | string | - | -| disabled | 是否禁用 | boolean | false | -| inputReadOnly | 输入框是否只读状态 | boolean | false | -| defaultValue | 初始值 | number | - | -| focus | 输入框选中状态 | boolean | false | -| inputClassName | 输入框类型 | string | - | -| inputStyle | 输入框样式 | string | - | -| max | 最大值 | number | - | -| min | 最小值 | number | - | -| precision | 计算精度,保留几位小数 [详见](https://github.com/ant-design/ant-design/issues/5998) | number | - | -| style | 样式 | string | - | -| step | 步距,即每次加减的值 | number | 1 | -| type | 输入框唤起键盘类型,可选 `number` `digit` | string | `digit` | -| value | 输入框的值, 表单提交的时候有效 | number | - | -| #if ALIPAY onBlur | 输入框失去焦点时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onChange | 数据变化后,触发此回调 | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onConfirm | 点击键盘完成时触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onFocus | 输入框聚焦时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if ALIPAY onDisabledTap | 禁用时点击出发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:blur | 输入框失去焦点时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:change | 数据变化后,触发此回调 | ( value: number | null, [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:confirm | 点击键盘完成时触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:focus | 输入框聚焦时,触发此回调 | (value: number | null, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | -| #if WECHAT bind:disabledtap | 禁用时点击出发回调 | (event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| --stepper-handler-tap-bg |
#ddd
|
#ddd
| 步进器处理器点击背景颜色 | -| --stepper-handler-border-color |
#e5e5e5
|
#444444
| 步进器处理器边框颜色 | -| --stepper-border-color |
#e5e5e5
|
#444444
| 步进器边框颜色 | -| --stepper-background-color |
#ffffff
|
#1a1a1a
| 步进器背景颜色 | -| --stepper-hover-bg |
rgba(0, 0, 0, 0.92)
|
rgba(0, 0, 0, 0.92)
| 步进器悬停背景颜色 | diff --git a/compiled/wechat/src/Stepper/index.wxml b/compiled/wechat/src/Stepper/index.wxml deleted file mode 100644 index 46f0b2ab8..000000000 --- a/compiled/wechat/src/Stepper/index.wxml +++ /dev/null @@ -1,48 +0,0 @@ - - - - {{mixin.value}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Stepper/index.wxss b/compiled/wechat/src/Stepper/index.wxss deleted file mode 100644 index 36df86384..000000000 --- a/compiled/wechat/src/Stepper/index.wxss +++ /dev/null @@ -1,58 +0,0 @@ -.ant-stepper { - position: relative; - display: inline-flex; - flex-wrap: nowrap; - height: 44rpx; - border-radius: 50vh; - border: 2rpx solid var(--stepper-border-color, #e5e5e5); - overflow: hidden; - box-sizing: border-box; -} -.ant-stepper .ant-stepper-button { - width: 44rpx; - height: 44rpx; - line-height: 44rpx; - padding: 0; - color: #1677ff; - background-color: var(--stepper-background-color, #ffffff); -} -.ant-stepper .ant-stepper-button .ant-icon { - font-size: 24rpx; -} -.ant-stepper .ant-stepper-button-hover { - background-color: var(--stepper-hover-bg, rgba(0, 0, 0, 0.08)); -} -.ant-stepper .ant-stepper-button-up { - border-top-left-radius: 0; - border-top-right-radius: 4rpx; - border-bottom-left-radius: 0; - border-bottom-right-radius: 4rpx; -} -.ant-stepper .ant-stepper-button-down { - border-top-right-radius: 0; - border-top-left-radius: 4rpx; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4rpx; -} -.ant-stepper .ant-stepper-button-disabled { - color: #999999; -} -.ant-stepper-input { - width: 64rpx; - height: 44rpx; - margin: 0 2rpx; - text-align: center; - line-height: normal; - font-size: 30rpx; - color: var(--stepper-input-font-color, #333333); - box-sizing: border-box; - background-color: var(--stepper-background-color, #ffffff); - caret-color: #1677ff; -} -.ant-stepper-input-wrap { - background-color: var(--stepper-border-color, #e5e5e5); -} -.ant-stepper-input-readonly { - padding: 0; - color: rgba(51, 51, 51, 0.4); -} diff --git a/compiled/wechat/src/Stepper/props.js b/compiled/wechat/src/Stepper/props.js deleted file mode 100644 index 8a85df4a5..000000000 --- a/compiled/wechat/src/Stepper/props.js +++ /dev/null @@ -1,13 +0,0 @@ -export var StepperDefaultProps = { - value: null, - defaultValue: null, - precision: -1, - min: Number.MIN_SAFE_INTEGER, - max: Number.MAX_SAFE_INTEGER, - step: 1, - type: 'digit', - inputClassName: '', - inputStyle: '', - disabled: false, - inputReadOnly: false, -}; diff --git a/compiled/wechat/src/Stepper/utils.js b/compiled/wechat/src/Stepper/utils.js deleted file mode 100644 index c17a19708..000000000 --- a/compiled/wechat/src/Stepper/utils.js +++ /dev/null @@ -1,58 +0,0 @@ -export function getPrecision(value) { - var valueString = String(value); - if (valueString.indexOf('e-') >= 0) { - return parseInt(valueString.slice(valueString.indexOf('e-') + 2), 10); - } - var p = 0; - if (valueString.indexOf('.') >= 0) { - p = valueString.length - valueString.indexOf('.') - 1; - } - return p; -} -export function getValidNumber(value, min, max, step, precision) { - if (min === void 0) { min = -Infinity; } - if (max === void 0) { max = Infinity; } - if (typeof value === 'undefined' || value === null) { - return { - valid: true, - value: '', - }; - } - var num; - if (typeof value === 'string') { - if (/^\s*$/.test(value)) { - return { - valid: true, - value: '', - }; - } - if (!isNaN(Number(value))) { - num = Number(value); - } - } - else { - num = value; - } - if (num > max) { - num = max; - } - else if (num < min) { - num = min; - } - if (typeof num === 'number' && !isNaN(num)) { - if (typeof precision === 'number' && precision >= 0) { - return { - valid: true, - value: num.toFixed(precision), - }; - } - precision = Math.max(getPrecision(num), getPrecision(step)); - return { - valid: true, - value: num.toFixed(precision), - }; - } - return { - valid: false, - }; -} diff --git a/compiled/wechat/src/Stepper/variable.wxss b/compiled/wechat/src/Stepper/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Steps/index.en.md b/compiled/wechat/src/Steps/index.en.md deleted file mode 100644 index a5df3564e..000000000 --- a/compiled/wechat/src/Steps/index.en.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# Steps - -A navigation bar that guides the user through the process. When the task is complex or there is a sequential relationship, it is broken down into a series of steps to simplify the task. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-steps": "antd-mini/es/Steps/index" -#endif -#if WECHAT - "ant-steps": "antd-mini/Steps/index" -#endif -} -``` - -## Code example - -### Basic use - -> [items](#item) Data-driven step bar rendering.`current` Specifies the current step,`status` Specifies the status of the current step, optional `finish` or `error`。 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, -}); -``` - -### Vertical step bar - -```xml - -``` - -### Controlled Mode - -```xml - - - Next step - Finish - - - Previous Step - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, - onNextTap() { - if (this.data.current === this.data.items.length - 1) { -#if ALIPAY - my.showToast({ content: 'Finish' }) -#endif -#if WECHAT - wx.showToast({ title: 'Finish' }) -#endif - return; - } - this.setData({ - current: this.data.current + 1, - }); - }, - onPrevTap() { - if (this.data.current === 0) { - return; - } - this.setData({ - current: this.data.current - 1, - }); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ----------- | -------------------------------------------- | --------------- | ------------ | -| className | Class Name | string | - | -| current | Current step | number | - | -| description | Custom description content rendering, receiving index and value | slot | - | -| direction | direction, optional `horizontal` or `vertical` | string | `horizontal` | -| icon | Custom icon rendering, receiving index and value | slot | - | -| items | Show Item | [Item](#item)[] | - | -| status | Specifies the status of the current step, optional `finish` or `error` | string | `finish` | -| style | Style | string | - | -| title | Custom title rendering, receiving index and value | slot | - | - -### Item - -| Property | Description | Type | Default Value | -| ----------- | ---- | ------ | ------ | -| description | Content | string | - | -| title | Title | string | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --steps-non-active-bg |
#e5e5e5
|
#444444
| Inactive Step Background Color | -| --steps-title-color |
#333333
|
#c5cad1
| Step Title Color | -| --steps-desc-color |
#999999
|
#616161
| Step Description Color | -| --steps-default-bg |
#1677ff
|
#3086ff
| Default Step Background Color | -| --steps-finish-bg |
#ff3141
|
#ff4a58
| Complete Steps Background Color | diff --git a/compiled/wechat/src/Steps/index.js b/compiled/wechat/src/Steps/index.js deleted file mode 100644 index afb7fcedb..000000000 --- a/compiled/wechat/src/Steps/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Component } from '../_util/simply'; -import { StepsFunctionalProps } from './props'; -Component(StepsFunctionalProps); diff --git a/compiled/wechat/src/Steps/index.json b/compiled/wechat/src/Steps/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Steps/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Steps/index.md b/compiled/wechat/src/Steps/index.md deleted file mode 100644 index 411b3bb21..000000000 --- a/compiled/wechat/src/Steps/index.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# Steps 步骤条 - -引导用户按照流程完成任务的导航条。当任务复杂或者存在先后关系时,将其分解成一系列步骤,从而简化任务。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-steps": "antd-mini/es/Steps/index" -#endif -#if WECHAT - "ant-steps": "antd-mini/Steps/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -> [items](#item) 数据驱动步骤条渲染。`current` 指定当前步骤,`status` 指定当前步骤的状态,可选 `finish` 或 `error`。 - -```xml - -``` - -```js -Page({ - data: { - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, -}); -``` - -### 纵向步骤条 - -```xml - -``` - -### 受控模式 - -```xml - - - 下一步 - 完成 - - - 上一步 - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'Step1', - description: 'description', - }, - { - title: 'Step2', - description: 'description', - }, - { - title: 'Step3', - description: 'description', - }, - ], - }, - onNextTap() { - if (this.data.current === this.data.items.length - 1) { -#if ALIPAY - my.showToast({ content: 'Finish' }) -#endif -#if WECHAT - wx.showToast({ title: 'Finish' }) -#endif - return; - } - this.setData({ - current: this.data.current + 1, - }); - }, - onPrevTap() { - if (this.data.current === 0) { - return; - } - this.setData({ - current: this.data.current - 1, - }); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | -------------------------------------------- | --------------- | ------------ | -| className | 类名 | string | - | -| current | 当前步骤 | number | - | -| description | 自定义描述内容渲染,接收 index 和 value | slot | - | -| direction | 方向,可选 `horizontal` 或 `vertical` | string | `horizontal` | -| icon | 自定义图标渲染,接收 index 和 value | slot | - | -| items | 展示项 | [Item](#item)[] | - | -| status | 指定当前步骤的状态,可选 `finish` 或 `error` | string | `finish` | -| style | 样式 | string | - | -| title | 自定义标题渲染,接收 index 和 value | slot | - | - -### Item - -| 属性 | 说明 | 类型 | 默认值 | -| ----------- | ---- | ------ | ------ | -| description | 内容 | string | - | -| title | 标题 | string | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| --------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -| --steps-non-active-bg |
#e5e5e5
|
#444444
| 未激活步骤背景颜色 | -| --steps-title-color |
#333333
|
#c5cad1
| 步骤标题颜色 | -| --steps-desc-color |
#999999
|
#616161
| 步骤描述颜色 | -| --steps-default-bg |
#1677ff
|
#3086ff
| 默认步骤背景颜色 | -| --steps-finish-bg |
#ff3141
|
#ff4a58
| 完成步骤背景颜色 | diff --git a/compiled/wechat/src/Steps/index.wxml b/compiled/wechat/src/Steps/index.wxml deleted file mode 100644 index 88c1f3936..000000000 --- a/compiled/wechat/src/Steps/index.wxml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - {{item.title}} - {{item.description}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Steps/index.wxs b/compiled/wechat/src/Steps/index.wxs deleted file mode 100644 index 5a5ac2893..000000000 --- a/compiled/wechat/src/Steps/index.wxs +++ /dev/null @@ -1,16 +0,0 @@ -function getClassName(current, index, status) { - current = current || 0; - if (index < current) { - return 'finish'; - } - if (index === current) { - if (status === 'error') { - return 'error'; - } - return 'active'; - } - return 'non-active'; -} -module.exports = { - getClassName: getClassName -}; \ No newline at end of file diff --git a/compiled/wechat/src/Steps/index.wxss b/compiled/wechat/src/Steps/index.wxss deleted file mode 100644 index 2df34d61b..000000000 --- a/compiled/wechat/src/Steps/index.wxss +++ /dev/null @@ -1,207 +0,0 @@ -.ant-steps { - display: flex; - overflow: hidden; - line-height: 1.4; -} -.ant-steps-horizontal { - flex-direction: row; - justify-content: space-around; -} -.ant-steps-vertical { - display: block; - padding: 64rpx; -} -.ant-steps-vertical .ant-steps-item-active::after { - background: linear-gradient(to top, var(--steps-non-active-bg, #e5e5e5) 0%, var(--steps-non-active-bg, #e5e5e5) 50%, var(--steps-default-bg, #1677ff) 50%, var(--steps-default-bg, #1677ff) 100%); -} -.ant-steps-vertical .ant-steps-item-non-active::after { - background: var(--steps-non-active-bg, #e5e5e5); -} -.ant-steps-item:last-child .ant-steps-item-indicator-vertical::after { - display: none; -} -.ant-steps-item-vertical:last-child { - padding-bottom: 0; -} -.ant-steps-item { - position: relative; - z-index: 5; - display: flex; - margin: 16rpx 0 16rpx 0; -} -.ant-steps-item-vertical { - padding-bottom: 24rpx; - margin: 0; -} -.ant-steps-item-vertical .ant-steps-item-title { - font-size: 34rpx; - color: var(--steps-title-color, #333333); -} -.ant-steps-item-vertical .ant-steps-item-desc { - font-size: 30rpx; - color: var(--steps-desc-color, #999999); - padding-top: 4rpx; -} -.ant-steps-item-vertical::after { - position: absolute; - height: 100%; - width: 2rpx; - content: ''; - top: 27rpx; - z-index: -1; - transform: translateX(-50%); -} -.ant-steps-item-vertical .ant-steps-item-text { - display: flex; - flex-direction: column; - flex: 1; -} -.ant-steps-item-horizontal { - flex-direction: column; - margin-top: 16rpx; - padding: 0 16rpx; -} -.ant-steps-item-horizontal::after { - position: absolute; - width: 100%; - height: 2rpx; - content: ''; - top: 34rpx; - left: 0; - transform: translate(50%, -50%); - z-index: -1; -} -.ant-steps-item-horizontal .ant-steps-item-title, -.ant-steps-item-horizontal .ant-steps-item-desc { - text-align: center; -} -.ant-steps-item-horizontal .ant-steps-item-desc { - margin-bottom: 0; -} -.ant-steps-item:last-child::after { - display: none; -} -.ant-steps-item-indicator-vertical { - transform: translateX(-50%); -} -.ant-steps-item-indicator-horizontal { - display: flex; - justify-content: center; - margin: 16rpx 0 16rpx 0; -} -.ant-steps-item-indicator-icon { - width: 18rpx; - height: 18rpx; - border-radius: 50%; -} -.ant-steps-item .ant-steps-item-active-icon-image { - transform: translateX(0); -} -.ant-steps-item-horizontal { - flex: 1; - display: flex; -} -.ant-steps-item-horizontal .ant-steps-item-title { - font-size: 24rpx; -} -.ant-steps-item-horizontal .ant-steps-item-title:empty { - display: none; -} -.ant-steps-item-horizontal .ant-steps-item-desc { - padding-top: 4rpx; - color: var(--steps-desc-color, #999999); - font-size: 24rpx; -} -.ant-steps-item-horizontal .ant-steps-item-desc:empty { - display: none; -} -.ant-steps-item-active::after { - background-color: var(--steps-non-active-bg, #e5e5e5); -} -.ant-steps-item-active-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - color: var(--steps-default-bg, #1677ff); -} -.ant-steps-item-active-icon, -.ant-steps-item-active-icon .a-image { - height: 36rpx; - width: 36rpx; -} -.ant-steps-item-active-icon-default { - height: 20rpx; - width: 20rpx; - border-radius: 50%; - background-color: var(--steps-default-bg, #1677ff); -} -.ant-steps-item-active .ant-steps-item-title { - color: var(--steps-default-bg, #1677ff); -} -.ant-steps-item-non-active::after { - background-color: var(--steps-non-active-bg, #e5e5e5); -} -.ant-steps-item-non-active-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - color: var(--steps-non-active-bg, #e5e5e5); -} -.ant-steps-item-non-active-icon, -.ant-steps-item-non-active-icon .a-image { - height: 36rpx; - width: 36rpx; -} -.ant-steps-item-non-active-icon-default { - height: 16rpx; - width: 16rpx; - border-radius: 50%; - background-color: var(--steps-non-active-bg, #e5e5e5); -} -.ant-steps-item-finish::after { - background-color: var(--steps-default-bg, #1677ff); -} -.ant-steps-item-finish-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - color: var(--steps-default-bg, #1677ff); -} -.ant-steps-item-finish-icon, -.ant-steps-item-finish-icon .a-image { - height: 36rpx; - width: 36rpx; -} -.ant-steps-item-finish-icon-default { - height: 16rpx; - width: 16rpx; - border-radius: 50%; - background-color: var(--steps-default-bg, #1677ff); -} -.ant-steps-item-finish .ant-steps-item-title { - color: var(--steps-title-color, #333333); -} -.ant-steps-item-error-icon { - display: flex; - justify-content: center; - align-items: center; - background: transparent; - color: var(--steps-finish-bg, #ff3141); -} -.ant-steps-item-error-icon, -.ant-steps-item-error-icon .a-image { - height: 36rpx; - width: 36rpx; -} -.ant-steps-item-error-icon-default { - height: 20rpx; - width: 20rpx; - border-radius: 50%; - background-color: var(--steps-finish-bg, #ff3141); -} -.ant-steps-item .ant-steps-item-title-error { - color: var(--steps-finish-bg, #ff3141); -} diff --git a/compiled/wechat/src/Steps/props.js b/compiled/wechat/src/Steps/props.js deleted file mode 100644 index 83469b77d..000000000 --- a/compiled/wechat/src/Steps/props.js +++ /dev/null @@ -1,11 +0,0 @@ -export var StepsDefaultProps = { - current: 0, - direction: 'horizontal', - status: 'finish', -}; -export var StepsFunctionalProps = { - current: 0, - direction: 'horizontal', - status: 'finish', - items: [], -}; diff --git a/compiled/wechat/src/Steps/variable.wxss b/compiled/wechat/src/Steps/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Sticky/index.en.md b/compiled/wechat/src/Sticky/index.en.md deleted file mode 100644 index 895a5b30c..000000000 --- a/compiled/wechat/src/Sticky/index.en.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -nav: - path: /components -group: - title: General - order: 2 -toc: 'content' ---- - -# Sticky -Used in cases where it is necessary to adsorb in some places during rolling. - -## Precautions - -The Sticky component implementation relies on `position: sticky` attribute, which may become invalid due to the influence of the parent element. [This document](https://developer.mozilla.org/en-US/docs/Web/CSS/position) Check the element layout of the page. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-sticky": "antd-mini/es/Sticky/index" -#endif -#if WECHAT - "ant-sticky": "antd-mini/Sticky/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - - - I will ceiling - - -``` - -### Specified ceiling height - -```xml - - - I will top the place 100px from the top - - -``` - -### Perceive whether the ceiling is absorbed - -```xml - - - I will ceiling at 180px from the top - Whether it has sucked {{stickyStatus}} - - -``` - -```js -Page({ - data: { - stickyStatus: false, - }, - handleStickyChange(status) { - this.setData({ stickyStatus: status }); - }, -}); -``` - -### Transparent head mode - -```xml - - - I will ceiling - - -``` - -### Demo Code - - - -## Property - -| Property | Type | Default Value | Description | -| ------------------------------- | -------- | -------------- | -------------------------------------------------------------------- | -| className | string | "" | Container className | -| top | string | "" | The ceiling height, need to write units, such as 10px,24rpx | -| check | bool | false | Whether it is necessary to sense whether the ceiling has been absorbed, because the ceiling inspection still has a certain cost. | -| sticky | bool | true | Whether to ceiling, some scenes do not necessarily need | -| transparentTitle | bool | false | Whether it is a transparent head, the transparent head will automatically calculate the titleBar height, and the default adsorption is under the titlebar | -| #if ALIPAY onStickyChange | Function | (status) => {} | Whether it is in the ceiling state, note that the check function needs to be turned on to have this callback. | -| #if ALIPAY onGetHeaderHeight | Function | (height) => {} | Calculate the height of the head to complete | -| #if WECHAT bind:stickychange | Function | (status) => {} | Whether it is in the ceiling state, note that the check function needs to be turned on to have this callback. | -| #if WECHAT bind:getheaderheight | Function | (height) => {} | Calculate the height of the head to complete | - -## Slot - -There is only one default slot for wrapping elements and components that want to be capped. - -## Other - -It should be noted that the automatic calculation of head height in the transparent page scene is only convenient to suck on the top. If there is an offset, it still needs to be calculated by itself. - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Default Value | Dark Mode Default | Remarks | -| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------- | -| --sticky-check-bg |
rgba(238, 238, 238, 0)
|
rgba(238, 238, 238, 0)
| Selector Background Color | diff --git a/compiled/wechat/src/Sticky/index.js b/compiled/wechat/src/Sticky/index.js deleted file mode 100644 index 5bc3e3ac7..000000000 --- a/compiled/wechat/src/Sticky/index.js +++ /dev/null @@ -1,91 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import equal from 'fast-deep-equal'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { StickyProps } from './props'; -Component(StickyProps, { - initTabsObserver: function () { - var _this = this; - this.stickyIO - .relativeTo('.ant-sticky-check') - .observe('.ant-sticky', function (res) { - // console.log(res, 'intersectionObserver'); - // console.log( - // '相交区域占目标节点的布局区域的比例', - // res.intersectionRatio, - // ); - // console.log('相交区域', res.intersectionRect); - // console.log('相交区域', res.intersectionRect.height); - // console.log('参照区域的边界', res.relativeRect); - // console.log('目标边界', res.boundingClientRect); - // console.log('时间戳', res.time); - triggerEvent(_this, 'stickyChange', res.intersectionRatio > 0); - }); - }, - initHeaderHeight: function (propsHeaderHeight) { - var _this = this; - // 如果外部有传入默认的高度,优先使用外部的高度,则不根据 getSystemInfo 获取 - if (propsHeaderHeight !== undefined) { - this.setData({ headerHeight: propsHeaderHeight }); - // 拿都拿到了,顺便抛出去 - triggerEvent(this, 'getHeaderHeight', propsHeaderHeight); - } - else { - my.getSystemInfo().then(function (res) { - var headerHeight = (res.statusBarHeight || 47) + (res.titleBarHeight || 44); - _this.setData({ headerHeight: headerHeight }); - // 拿都拿到了,顺便抛出去 - triggerEvent(_this, 'getHeaderHeight', propsHeaderHeight); - }); - } - }, -}, { - headerHeight: 91, // 透明头时的头部高度,单位是px -}, undefined, { - attached: function () { - var _a = getValueFromProps(this, ['transparentTitle', 'headerHeight', 'check']), transparentTitle = _a[0], propsHeaderHeight = _a[1], check = _a[2]; - // 如果是透明头,高度默认设为一个iPhoneX的默认高度,并通过JSAPI获取实际的高度进行替换 - if (transparentTitle) { - this.initHeaderHeight(propsHeaderHeight); - } - // 考虑到这个还是有点性能开销,用个属性控制 - if (check) { - this.stickyIO = this.createIntersectionObserver(); - this.initTabsObserver(); - } - }, - detached: function () { - this.stickyIO && this.stickyIO.disconnect(); - }, - observers: { - '**': function (data) { - var prevData = this._prevData || this.data; - this._prevData = __assign({}, data); - if (!equal(prevData, data)) { - var _a = getValueFromProps(this, [ - 'sticky', - 'headerHeight', - ]), sticky = _a[0], headerHeight = _a[1]; - if (sticky !== data.sticky) { - // 考虑到这个还是有点性能开销,用个属性控制 - if (data.check && !this.stickyIO) { - this.stickyIO = this.createIntersectionObserver(); - this.initTabsObserver(); - } - } - if (headerHeight !== data.headerHeight) { - this.initHeaderHeight(data.headerHeight); - } - } - }, - }, -}); diff --git a/compiled/wechat/src/Sticky/index.json b/compiled/wechat/src/Sticky/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Sticky/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Sticky/index.md b/compiled/wechat/src/Sticky/index.md deleted file mode 100644 index 38254085d..000000000 --- a/compiled/wechat/src/Sticky/index.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -nav: - path: /components -group: - title: 通用 - order: 2 -toc: 'content' ---- - -# Sticky 粘性吸附 -用在需要在滚动中吸附在某些地方的情况。 - -## 注意事项 - -Sticky 组件实现依赖了 `position: sticky` 特性,该特性受父元素的影响可能会失效,若遇到 Sticky 组件不生效的情况可根据 [这篇文档](https://developer.mozilla.org/en-US/docs/Web/CSS/position) 检查页面的元素布局。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-sticky": "antd-mini/es/Sticky/index" -#endif -#if WECHAT - "ant-sticky": "antd-mini/Sticky/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - - - 我会吸顶 - - -``` - -### 指定吸顶高度 - -```xml - - - 我会吸顶在距离顶部 100px 的地方 - - -``` - -### 感知是否吸顶 - -```xml - - - 我会吸顶在距离顶部 180px 的地方 - 是否吸上了 {{ stickyStatus }} - - -``` - -```js -Page({ - data: { - stickyStatus: false, - }, - handleStickyChange(status) { - this.setData({ stickyStatus: status }); - }, -}); -``` - -### 透明头模式 - -```xml - - - 我会吸顶 - - -``` - -### Demo 代码 - - - -## 属性 - -| 属性 | 类型 | 默认值 | 说明 | -| ------------------------------- | -------- | -------------- | -------------------------------------------------------------------- | -| className | string | "" | 容器 className | -| top | string | "" | 吸顶高度,需要写单位,比如 10px,24rpx | -| check | bool | false | 是否需要感知是否吸顶了,因为吸顶检查还是有一定成本的 | -| sticky | bool | true | 是否要吸顶,某些场景不一定需要 | -| transparentTitle | bool | false | 是否是透明头,透明头会自动计算 titleBar 高度,默认吸附在 titlebar 下 | -| #if ALIPAY onStickyChange | Function | (status) => {} | 是否在吸顶状态,注意需要打开 check 功能才有这个回调 | -| #if ALIPAY onGetHeaderHeight | Function | (height) => {} | 计算头的高度完成 | -| #if WECHAT bind:stickychange | Function | (status) => {} | 是否在吸顶状态,注意需要打开 check 功能才有这个回调 | -| #if WECHAT bind:getheaderheight | Function | (height) => {} | 计算头的高度完成 | - -## 插槽 - -仅有一个默认插槽,用于包裹想吸顶的元素、组件。 - -## 其他 - -需要注意的是,透明页面场景下自动计算头高度仅方便吸在顶上的情况,如果有偏移,还是需要自行计算的。 - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 默认值 | 深色模式默认值 | 备注 | -| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------- | -| --sticky-check-bg |
rgba(238, 238, 238, 0)
|
rgba(238, 238, 238, 0)
| 选择器背景颜色 | diff --git a/compiled/wechat/src/Sticky/index.wxml b/compiled/wechat/src/Sticky/index.wxml deleted file mode 100644 index 42182d3fe..000000000 --- a/compiled/wechat/src/Sticky/index.wxml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Sticky/index.wxss b/compiled/wechat/src/Sticky/index.wxss deleted file mode 100644 index 1114c8377..000000000 --- a/compiled/wechat/src/Sticky/index.wxss +++ /dev/null @@ -1,12 +0,0 @@ -.ant-sticky { - position: sticky; - top: 0; -} -.ant-sticky-check { - position: fixed; - height: 2px; - background: var(--sticky-check-bg, rgba(238, 238, 238, 0)); - top: 0; - width: 100%; - pointer-events: none; -} diff --git a/compiled/wechat/src/Sticky/props.js b/compiled/wechat/src/Sticky/props.js deleted file mode 100644 index 0245df0b4..000000000 --- a/compiled/wechat/src/Sticky/props.js +++ /dev/null @@ -1,10 +0,0 @@ -export var StickyProps = { - className: '', - headerHeight: undefined, - sticky: true, - top: '', - check: false, - transparentTitle: false, - onStickyChange: function (status) { return status; }, - onGetHeaderHeight: function (height) { return height; }, // 获取到header高度时顺便抛出去一份 -}; diff --git a/compiled/wechat/src/Sticky/variable.wxss b/compiled/wechat/src/Sticky/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/SwipeAction/index.en.md b/compiled/wechat/src/SwipeAction/index.en.md deleted file mode 100644 index 3d8f9aa9c..000000000 --- a/compiled/wechat/src/SwipeAction/index.en.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# SwipeAction - -List of functional extensions. Show hidden function menus by sliding. - -## Precautions - -1. The component's parent container must have width and height set. -2. The sum of the widths of the sliding buttons on both sides must be the same. -3. When elasticity is set to false, a smaller damping value provides a better experience. -4. The second confirmation of the sliding on each side will only trigger the first one, the others will not trigger. -5. It is recommended to use it in applets of the basic library 2.0.1.0 versions (such as DingTalk applets) have defects in sliding experience (lack of sliding transition effect after touchend). - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-swipe-action": "antd-mini/es/SwipeAction/index" -#endif - -#if WECHAT - "ant-swipe-action": "antd-mini/SwipeAction/index" -#endif -} -``` - -## Code example - -### Basic Usage - -```xml - - Right-three buttons - -``` - -### Button on the left - -Setup`leftButtons`Property - - -### Change the number of buttons - - - -### Disable sliding rebound - -Setup`elasticity`property is`false` - - -### Set button width - -Set the buttons`width`Property - - -### Set sliding speed - -Setup`damping`Property - - -### Button click twice to confirm - -Set buttons Properties`confirmType`For`tap` - - - -### Second confirmation of maximum sliding distance of button - -Set buttons Properties`confirmType`For`move` - - -### There are buttons on the left and right sides - -Can be set simultaneously`leftButtons`and`rightButtons` - - -### Custom Button - - - -### Demo Code - - - -## API - -| Property | Type | Default Value | Description | -| ------------- | ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------ | -| leftButtons | [SwipeButton](#SwipeButton) | [] | Left button | -| rightButtons | [SwipeButton](#SwipeButton) | [] | Right button | -| damping | number | 70 | Sliding speed | -| elasticity | boolean | `true` | sliding elasticity | -| swiped | `''` \| `'left'` \| `'right'` | `false` | Whether sliding open | -| defaultSwiped | `''` \| `'left'` \| `'right'` | `false` | Default slide open | -| disabled | boolean | `false` | No Sliding | -| onSwipeStart | Slide start callback function | (data: object, e: string) => void | E: data in the data-xxx on the component; Data: direction (whether the sliding button is left or right),swiped (whether to slide open) | -| onSwipeEnd | Slide End Callback Function | (data: object, e: string) => void | E: data in the data-xxx on the component; Data: direction (whether the sliding button is left or right),swiped (whether to slide open) | -| onButtonTap | Callback function triggered by the button | (data: object, e: string) => void | E: data in the data-xxx on the component; data: direction (whether the sliding button is left or right),btnIdx (the index of the button, the part near the main body is 0) | - -### SwipeButton - -| Property | Type | Default Value | Description | -| ----------- | --------------------------- | ------ | ----------------------------------------------------------------------------------- | -| text | string | - | Button Text | -| slotName | string | - | The name of the slot. You can customize the content of the corresponding button.`${slotName}-confirm`You can customize the content of the button at the time of confirmation | -| bgColor | string | - | Button background color | -| color | string | `#fff` | Button Font Color | -| width | number | 150 | Button width | -| confirmType | `''` \| `'move'` \| `'tap'` | - | Secondary confirmation type: do not trigger secondary confirmation | slide beyond the maximum distance to trigger secondary confirmation | click to trigger secondary confirmation | -| confirmText | string | - | Copy description of the second confirmation; if empty, text is displayed | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| -------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --swipe-action-color |
#ffffff
|
#ffffff
| Slide operation color | diff --git a/compiled/wechat/src/SwipeAction/index.js b/compiled/wechat/src/SwipeAction/index.js deleted file mode 100644 index 50728ae71..000000000 --- a/compiled/wechat/src/SwipeAction/index.js +++ /dev/null @@ -1,439 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -import { SwipeActionDefaultProps } from './props'; -import fmtEvent from '../_util/fmtEvent'; -import { compareVersion } from '../_util/compareVersion'; -import '../_util/assert-component2'; -import { platform } from '../_util/platform'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { transformOptions } from './wechat'; -var setStyleObj1 = function (buttons, inertiaWidth) { - var _a, _b, _c; - var widthPos = buttons.length === 2 ? 0.5 : 0.3333; - return [ - { marginLeft: 0 }, - { - marginLeft: "".concat(-(((_a = buttons[0]) === null || _a === void 0 ? void 0 : _a.width) + 1 + (inertiaWidth || 0) * widthPos) / 2, "px"), - }, - { - marginLeft: "".concat(-(((_b = buttons[0]) === null || _b === void 0 ? void 0 : _b.width) + - ((_c = buttons[1]) === null || _c === void 0 ? void 0 : _c.width) + - 1 + - (inertiaWidth || 0) * 0.6666) / 2, "px"), - }, - ]; -}; -var setStyleObj2 = function (buttons, inertiaWidth) { - var _a, _b, _c, _d; - var length = buttons.length; - if (length === 2) { - return [ - { marginRight: 0 }, - { - marginRight: "-".concat((((_a = buttons[0]) === null || _a === void 0 ? void 0 : _a.width) + (inertiaWidth || 0) * 0.5) / 2, "px"), - }, - ]; - } - if (length === 3) { - return [ - { marginRight: 0 }, - { - marginRight: "-".concat((((_b = buttons[0]) === null || _b === void 0 ? void 0 : _b.width) + (inertiaWidth || 0) * 0.3333) / 2, "px"), - }, - { - marginRight: "-".concat((((_c = buttons[0]) === null || _c === void 0 ? void 0 : _c.width) + - ((_d = buttons[1]) === null || _d === void 0 ? void 0 : _d.width) + - (inertiaWidth || 0) * 0.6666) / - 2, "px"), - }, - ]; - } - return [{ marginRight: 0 }]; -}; -var myTimeOut = null; -var getDirectionLeft = function (arr) { - if (arr.length < 2) { - arr = [0, arr[0]]; - } - return arr[0] + arr[1] <= 0; -}; -var isOldVersion = getIsOldVersion(); -function getIsOldVersion() { - if (typeof my === 'undefined') { - return false; - } - var SDKVersion = my.SDKVersion; - return compareVersion(SDKVersion, '2.0.0') < 0; -} -function getInitReady() { - if (platform() === 'wechat') { - return false; - } - if (isOldVersion) { - return false; - } - return true; -} -Component(transformOptions({ - props: SwipeActionDefaultProps, - didMount: function () { - var _this = this; - var _a = this.getProps(), defaultSwiped = _a.defaultSwiped, elasticity = _a.elasticity; - this.setButtonItemWidth(); - this.setData({ inertiaWidth: !isOldVersion && elasticity ? 20 : 0 }); - if (defaultSwiped) { - this.initWidth(function (maxSwipe) { - maxSwipe && - _this.setData({ - swipeX: (maxSwipe + 0.01) * (defaultSwiped === 'right' ? -1 : 1), - swipedR: defaultSwiped === 'right', - swipedL: defaultSwiped === 'left', - }); - }); - } - }, - didUpdate: function (prevProp) { - var _a = this.getProps(), swiped = _a.swiped, damping = _a.damping, elasticity = _a.elasticity; - // 设置不同的滑动位置时需要重置 - var rs = prevProp.swiped !== swiped && !swiped; - var is = prevProp.elasticity !== elasticity; - var ds = prevProp.damping !== damping; - if (rs || is || ds) { - this.setData({ - swipeX: 0, - swipedR: false, - swipedL: false, - tapTypeL: '', - tapTypeR: '', - }); - } - if (is) { - this.setData({ inertiaWidth: elasticity ? 20 : 0 }); - } - }, - data: { - // 在微信小程序与支付宝小程序基础库 1.0 - // 组件初始化时的 margin-left 决定了后续可移动的距离,所以需要等组件初始化以后再加载 - ready: getInitReady(), - swipeLeft: true, - swipeX: 0, - moveX: 0, - tapTypeL: '', - tapTypeR: '', - leftWidth: 20, - rightWidth: 20, - maxSwipeL: 0, - maxSwipeR: 0, - inTouch: false, - swipedR: false, - swipedL: false, - changeArr: [0, 0], - myStyle: {}, - inertiaWidth: 20, - animation: !isOldVersion, - _leftButtons: [], - _rightButtons: [], - }, - methods: { - setWidth: function () { - var _a = this.data, _leftButtons = _a._leftButtons, _rightButtons = _a._rightButtons; - var _rightArr = _rightButtons || []; - var _leftArr = _leftButtons || []; - this.setData({ - ready: true, - rightWidth: _rightArr.reduce(function (tolal, cur) { - return tolal + cur.width; - }, 0), - leftWidth: _leftArr.length - ? _leftArr.reduce(function (tolal, cur) { - return tolal + cur.width; - }, 0) - : 0, - }); - }, - setButtonItemWidth: function () { - var _this = this; - var _a = this.getProps(), leftButtons = _a.leftButtons, rightButtons = _a.rightButtons; - leftButtons.forEach(function (i) { - i.width = i.width || 150; - }); - rightButtons.forEach(function (i) { - i.width = i.width || 150; - }); - this.setData({ _leftButtons: leftButtons, _rightButtons: rightButtons }, function () { - _this.setWidth(); - }); - }, - getProps: function () { - var _this = this; - if (platform() === 'wechat') { - return __assign(__assign({}, this.data), { onSwipeStart: function (v) { - _this.triggerEvent('swipestart', v); - }, onSwipeEnd: function (v) { - _this.triggerEvent('swipeend', v); - }, onButtonTap: function (v) { - _this.triggerEvent('buttontap', v); - } }); - } - return this.props; - }, - initWidth: function (func) { - var _this = this; - var _a = this.getProps(), leftButtons = _a.leftButtons, rightButtons = _a.rightButtons; - // 获取宽度信息,设置滑轨的宽度、初始化滑动位置 - // 如果没有获取到该信息则把左滑禁用掉 - rightButtons.length > 0 && - this.boundingClientRect(".ant-swipe-action-movable-right".concat(this.$id ? '-' + this.$id : '')).then(function (ret) { - if (ret && ret.width) { - _this.setData({ maxSwipeR: ret.width }); - func && func(ret.width); - } - }); - leftButtons.length > 0 && - this.boundingClientRect(".ant-swipe-action-movable-left".concat(this.$id ? '-' + this.$id : '')).then(function (ret) { - if (ret && ret.width) { - _this.setData({ maxSwipeL: ret.width }); - func && func(ret.width); - } - }); - }, - boundingClientRect: function (id) { - if (typeof my === 'undefined') { - return getInstanceBoundingClientRect(this, id); - } - return getInstanceBoundingClientRect(my, id); - }, - // 向外透出事件 - onTouchStart: function () { - var onSwipeStart = this.getProps().onSwipeStart; - var _a = this.data, swipedR = _a.swipedR, swipedL = _a.swipedL; - this.initWidth(); - this.setData({ tapTypeL: '', tapTypeR: '', inTouch: true }); // 清空confirmType = auto 的表现 - onSwipeStart({ - swiped: !!(swipedR || swipedL), - direction: swipedL ? 'left' : swipedR ? 'right' : '', - }, fmtEvent(this.getProps())); - }, - onTouchEnd: function (e) { - // 因为微信小程序没有 onChangeEnd 事件 - // 所以用 onTouchEnd 模拟 onChangeEnd - if (platform() === 'wechat') { - this.onChangeEnd(e); - } - this.setData({ inTouch: false }); - }, - // 滑动过程中的事件,是内部事件不向外透出,用于控制右侧按钮的位置信息 - onChange: function (e) { - var _this = this; - var _a = this.data, changeArr = _a.changeArr, maxSwipeR = _a.maxSwipeR, maxSwipeL = _a.maxSwipeL, inTouch = _a.inTouch, swipedR = _a.swipedR, swipedL = _a.swipedL, inertiaWidth = _a.inertiaWidth; - var x = e.detail.x; - var L = x; - // changeArr用于精准的控制滑动的方向 - var newArr = changeArr[1] === L ? [changeArr] : [changeArr[1], L]; - this.setData({ moveX: L, changeArr: newArr }); - var ridx = this.getProps().rightButtons.findIndex(function (u) { return u.confirmType === 'move'; }); - var lidx = this.getProps().leftButtons.findIndex(function (u) { return u.confirmType === 'move'; }); - if (ridx === -1 && lidx === -1) - return; - var isRight = getDirectionLeft(changeArr); - // 左滑时的滑动确认、收起处理 - if (isRight) { - if (L < 0 && Math.abs(L) >= maxSwipeR && inTouch && !swipedR) { - clearTimeout(myTimeOut); - myTimeOut = setTimeout(function () { - var _a = _this.data, changeArr = _a.changeArr, maxSwipeR = _a.maxSwipeR, inTouch = _a.inTouch, swipedR = _a.swipedR, moveX = _a.moveX; - var _left = getDirectionLeft(changeArr) && changeArr[0] >= changeArr[1]; - if (inTouch && - maxSwipeR + inertiaWidth + 2 >= Math.abs(moveX) && - _left && - !swipedR) { - _this.onSetCheck(true); - } - }, 100); - } - if (changeArr[0] < changeArr[1] && maxSwipeR > L + 4 && inTouch) { - this.setData({ tapTypeR: '', myStyle: {} }); - } - } - else { - if (L > 0 && L + 1 >= maxSwipeL && inTouch && !swipedL) { - clearTimeout(myTimeOut); - myTimeOut = setTimeout(function () { - var _a = _this.data, changeArr = _a.changeArr, maxSwipeL = _a.maxSwipeL, inTouch = _a.inTouch, swipedL = _a.swipedL, moveX = _a.moveX; - var _right = !getDirectionLeft(changeArr) && changeArr[1] >= changeArr[0]; - if (inTouch && maxSwipeL <= moveX + 1 && _right && !swipedL) { - _this.onSetCheck(false); - } - }, 100); - } - if (changeArr[0] > changeArr[1] && maxSwipeL > L + 2 && inTouch) { - this.setData({ tapTypeL: '', myStyle: {} }); - } - } - }, - onSetCheck: function (isRight) { - var _a = this.getProps(), rightButtons = _a.rightButtons, leftButtons = _a.leftButtons; - var _b = this.data, inertiaWidth = _b.inertiaWidth, _leftButtons = _b._leftButtons, _rightButtons = _b._rightButtons; - var arr = isRight ? rightButtons : leftButtons; - var idx = arr.findIndex(function (u) { return u.confirmType === 'move'; }); - if (idx === -1) - return; - typeof my !== 'undefined' && my.vibrateShort({ success: function () { } }); - var styArr = isRight - ? setStyleObj1(_rightButtons, inertiaWidth) - : setStyleObj2(_leftButtons, inertiaWidth); - var sty = styArr[idx]; - this.setData({ myStyle: sty }); - isRight - ? this.setData({ tapTypeR: 'R-' + idx }) - : this.setData({ tapTypeL: 'L-' + idx }); - }, - // 意外中断了滑动,则立即开始结算滑动动作 - onTouchCancel: function (e) { - this.onChangeEnd(e); - }, - onChangeEnd: function (e) { - var x = e.detail.x; - var changeArr = this.data.changeArr; - // 如果是停留在初始态返回 - if (x === 0) - return; - // 判断是否是左滑 - var isRight = getDirectionLeft(changeArr); - this.setData({ swipeLeft: isRight }); - isRight ? this.onSetSwipeRight(x) : this.onSetSwipeLeft(x); - }, - onSetSwipeRight: function (x, needBack) { - var _a = this.data, swipedR = _a.swipedR, inTouch = _a.inTouch, tapTypeR = _a.tapTypeR, changeArr = _a.changeArr; - var onButtonTap = this.getProps().onButtonTap; - var isRight = Math.abs(changeArr[1]) > Math.abs(changeArr[0]); - if (!swipedR && Math.abs(x) < 10) { - isRight = false; - } - needBack && (isRight = false); - !isRight && this.setData({ tapTypeR: '', myStyle: {} }); - if (inTouch && !!tapTypeR) { - this.setData({ tapTypeR: '', myStyle: {} }); - onButtonTap({ - direction: 'right', - btnIdx: parseInt(tapTypeR.replace('R-', '')), - }, fmtEvent(this.getProps())); - this.onSwipeRight(false); - return; - } - this.setData({ changeArr: [0, 0] }); - this.onSwipeRight(isRight); - }, - onSetSwipeLeft: function (x, needBack) { - var _a = this.data, swipedL = _a.swipedL, inTouch = _a.inTouch, tapTypeL = _a.tapTypeL, changeArr = _a.changeArr; - var onButtonTap = this.getProps().onButtonTap; - // true:初始是往右滑,false: 右滑收起 - var isRight = changeArr[1] >= changeArr[0]; - if (!swipedL && Math.abs(x) < 10) { - isRight = false; - } - needBack && (isRight = false); - // 清空二次确认的状态 - !isRight && this.setData({ tapTypeL: '', myStyle: {} }); - // 处理滑动-触发事件 - if (inTouch && !!tapTypeL) { - this.setData({ tapTypeL: '', myStyle: {} }); - onButtonTap({ direction: 'left', btnIdx: parseInt(tapTypeL.replace('L-', '')) }, fmtEvent(this.getProps())); - this.onSwipeLeft(false); - return; - } - // 清空滑动方向 - this.setData({ changeArr: [0, 0] }); - this.onSwipeLeft(isRight); - }, - // 结算 - onSwipeLeft: function (isRight) { - var _this = this; - var onSwipeEnd = this.getProps().onSwipeEnd; - var _a = this.data, maxSwipeL = _a.maxSwipeL, inertiaWidth = _a.inertiaWidth; - // 为了处理到重置状态的效果 - var maxX = maxSwipeL + 0.01 + inertiaWidth; - this.setData({ - swipeX: isRight ? maxX : -0.01, - }, function () { - var flag = _this.data.swipeX === -0.01; - setTimeout(function () { - _this.setData({ - swipeX: flag ? 0 : maxSwipeL + 0.01, - swipedL: !flag, - }, function () { - onSwipeEnd({ direction: 'left', swiped: !!isRight }, fmtEvent(_this.getProps())); - }); - }, inertiaWidth > 0 ? 180 : 0); - }); - }, - onSwipeRight: function (isRight) { - var _this = this; - var _a = this.data, maxSwipeR = _a.maxSwipeR, inertiaWidth = _a.inertiaWidth; - var onSwipeEnd = this.getProps().onSwipeEnd; - // 处理x的位置,两次setData X是因为x如果相同位置不会变,刚好也把弹性在这里处理了 - // 为了处理到重置状态的效果 - var maxX = -(maxSwipeR + 0.01 + inertiaWidth); - this.setData({ - swipeX: isRight ? maxX : -0.01, - }, function () { - var flag = _this.data.swipeX === -0.01; - setTimeout(function () { - _this.setData({ - swipeX: flag ? 0 : -(maxSwipeR + 0.01), - swipedR: !flag, - }, function () { - onSwipeEnd({ direction: 'right', swiped: !!isRight }, fmtEvent(_this.getProps())); - }); - }, inertiaWidth > 0 ? 180 : 0); - }); - }, - // 处理右侧点击事件 - onItemTap: function (e) { - var _a = this.data, swipeLeft = _a.swipeLeft, tapTypeL = _a.tapTypeL, tapTypeR = _a.tapTypeR, _leftButtons = _a._leftButtons, _rightButtons = _a._rightButtons; - var onButtonTap = this.getProps().onButtonTap; - if (!onButtonTap) - return; - var _b = e.currentTarget.dataset.item, itemL = _b.itemL, idx = _b.idx, item = _b.item; - var confirmType = (swipeLeft ? item : itemL).confirmType; - if (tapTypeL === 'L-' + idx) { - this.onSetSwipeLeft(0, true); - this.setData({ tapTypeL: '', myStyle: {} }); - onButtonTap({ direction: 'left', btnIdx: idx }, fmtEvent(this.getProps())); - return; - } - if (tapTypeR === 'R-' + idx) { - this.onSetSwipeRight(0, true); - this.setData({ tapTypeR: '', myStyle: {} }); - onButtonTap({ direction: 'right', btnIdx: idx }, fmtEvent(this.getProps())); - return; - } - // auto 是展开按钮二次确认的效果 - if (confirmType === 'tap' || confirmType === 'move') { - var styArr = swipeLeft - ? setStyleObj1(_rightButtons) - : setStyleObj2(_leftButtons); - var sty = styArr[idx]; - this.setData({ myStyle: sty }); - !swipeLeft - ? this.setData({ tapTypeL: 'L-' + idx }) - : this.setData({ tapTypeR: 'R-' + idx }); - } - else { - !swipeLeft - ? this.onSetSwipeLeft(0, true) - : this.onSetSwipeRight(0, true); - onButtonTap({ direction: !swipeLeft ? 'left' : 'right', btnIdx: idx }, fmtEvent(this.getProps())); - } - }, - }, -})); diff --git a/compiled/wechat/src/SwipeAction/index.json b/compiled/wechat/src/SwipeAction/index.json deleted file mode 100644 index 32640e0dc..000000000 --- a/compiled/wechat/src/SwipeAction/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} \ No newline at end of file diff --git a/compiled/wechat/src/SwipeAction/index.md b/compiled/wechat/src/SwipeAction/index.md deleted file mode 100644 index 11592c577..000000000 --- a/compiled/wechat/src/SwipeAction/index.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# SwipeAction 滑动组件 - -列表的功能扩展。通过滑动操作来展示隐藏的功能菜单。 - -## 注意事项 - -1. 该组件的父级容器必须设置 width 和 height。 -2. 两侧滑动按钮的宽度总和需一致。 -3. 若 elasticity 设置为 false 时,较小的 damping 值可提供更佳的体验。 -4. 每一侧的滑动二次确认只会触发第一个,其他不会触发。 -5. 建议在基础库 2.0 的小程序中使用,1.0 版本(如钉钉小程序)中存在滑动体验缺陷(缺少 touchend 之后的滑动过渡效果)。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-swipe-action": "antd-mini/es/SwipeAction/index" -#endif - -#if WECHAT - "ant-swipe-action": "antd-mini/SwipeAction/index" -#endif -} -``` - -## 代码示例 - -### 基础用法 - -```xml - - 右侧-三个按钮 - -``` - -### 按钮在左侧 - -设置`leftButtons`属性 - - -### 改变按钮数量 - - - -### 禁用滑动回弹 - -设置`elasticity`属性为`false` - - -### 设置按钮宽度 - -设置 buttons 的`width`属性 - - -### 设置滑动速度 - -设置`damping`属性 - - -### 按钮点击二次确认 - -设置 buttons 属性`confirmType`为`tap` - - - -### 按钮滑出最大距离二次确认 - -设置 buttons 属性`confirmType`为`move` - - -### 左右两侧都有按钮 - -可同时设置`leftButtons`和`rightButtons` - - -### 自定义按钮 - - - -### Demo 代码 - - - -## API - -| 属性 | 类型 | 默认值 | 说明 | -| ------------- | ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------ | -| leftButtons | [SwipeButton](#SwipeButton) | [] | 左侧按钮 | -| rightButtons | [SwipeButton](#SwipeButton) | [] | 右侧按钮 | -| damping | number | 70 | 滑动速度 | -| elasticity | boolean | `true` | 滑动弹性 | -| swiped | `''` \| `'left'` \| `'right'` | `false` | 是否滑开 | -| defaultSwiped | `''` \| `'left'` \| `'right'` | `false` | 是否默认滑开 | -| disabled | boolean | `false` | 禁止滑动 | -| onSwipeStart | 滑动开始的回调函数 | (data: object, e: string) => void | e: 组件上 data-xxx 中的数据;data: direction(滑动的按钮是左边还是右边),swiped(是否滑开) | -| onSwipeEnd | 滑动结束的回调函数 | (data: object, e: string) => void | e: 组件上 data-xxx 中的数据;data: direction(滑动的按钮是左边还是右边),swiped(是否滑开) | -| onButtonTap | 按钮触发的回调函数 | (data: object, e: string) => void | e: 组件上 data-xxx 中的数据;data: direction(滑动的按钮是左边还是右边),btnIdx(按钮的索引,靠近主体部分为 0) | - -### SwipeButton - -| 属性 | 类型 | 默认值 | 说明 | -| ----------- | --------------------------- | ------ | ----------------------------------------------------------------------------------- | -| text | string | - | 按钮文字 | -| slotName | string | - | slot 名称,可以自定义对应按钮的内容。`${slotName}-confirm`可以自定义确认时的按钮内容 | -| bgColor | string | - | 按钮背景颜色 | -| color | string | `#fff` | 按钮字体颜色 | -| width | number | 150 | 按钮宽度 | -| confirmType | `''` \| `'move'` \| `'tap'` | - | 二次确认类型:不触发二次确认 \| 滑动超出最大距离触发二次确认 \| 点击触发二次确认 | -| confirmText | string | - | 二次确认的文案描述;若为空,则展示 text | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| -------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --swipe-action-color |
#ffffff
|
#ffffff
| 滑动操作颜色 | diff --git a/compiled/wechat/src/SwipeAction/index.wxml b/compiled/wechat/src/SwipeAction/index.wxml deleted file mode 100644 index bd9c7fb6f..000000000 --- a/compiled/wechat/src/SwipeAction/index.wxml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - {{util.getRightText(tapTypeR, idx, item)}} - - - - - - - - - - - {{util.getLeftText(tapTypeL, idx, itemL)}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/SwipeAction/index.wxs b/compiled/wechat/src/SwipeAction/index.wxs deleted file mode 100644 index b69f88ff7..000000000 --- a/compiled/wechat/src/SwipeAction/index.wxs +++ /dev/null @@ -1,144 +0,0 @@ -var getWidth = function getWidth(rightWidth, leftWidth, inertiaWidth) { - var num = (rightWidth || leftWidth) * 2 + inertiaWidth; - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return rightWidth && leftWidth ? "calc(100% + ".concat(width + inertiaWidth, "px)") : "calc(100% + ".concat(num / 2, "px)"); -}; -var getMarginLeft = function getMarginLeft(rightWidth, leftWidth, inertiaWidth) { - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return "calc(-".concat((width + inertiaWidth) / 2, "px)"); -}; -var getSlotWidthStyle = function getSlotWidthStyle(rightWidth, leftWidth) { - var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var right = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; - var inertiaWidth = arguments.length > 4 ? arguments[4] : undefined; - // 右 - if (right.length > 0 && left.length === 0) { - return "calc(100% - ".concat((1 + inertiaWidth) / 2, "px)"); - } - // 左 - if (left.length > 0 && right.length === 0) { - return "width: calc(100% - ".concat(leftWidth / 2, "px); margin-left: ").concat((leftWidth + inertiaWidth) / 2, "px;"); - } - if (left.length > 0 && right.length > 0) { - return "width: 100%;margin-left: 0;"; - } -}; -var getLeft = function getLeft(tapType, idx, right, isLeft) { - var tip = !isLeft ? 'L-' : 'R-'; - if (right.length === 1) { - return tapType && tapType === "".concat(tip).concat(idx) ? 'text-move-midd' : ''; - } - if (right.length === 3 && idx === 1) { - return tapType && tapType === "".concat(tip).concat(idx) ? 'text-move-midd' : ''; - } - var cls = ''; - if (idx === 0) { - cls = isLeft ? 'text-move-left' : 'text-move-right'; - } else { - cls = isLeft ? 'text-move-right' : 'text-move-left'; - } - return tapType && tapType === "".concat(tip).concat(idx) ? cls : ''; -}; -var getWidth2 = function getWidth2(rightWidth, leftWidth, inertiaWidth) { - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return rightWidth && leftWidth ? "calc(100% - ".concat(width + inertiaWidth, "px)") : "calc(100% - ".concat((width + inertiaWidth) / 2, "px)"); -}; -var getMarginLeft2 = function getMarginLeft2(rightWidth, leftWidth, inertiaWidth) { - var num = rightWidth > 0 ? inertiaWidth : 0; - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return leftWidth && rightWidth ? "".concat((width + num) / 2, "px") : leftWidth > 0 ? 0 : "".concat((width + inertiaWidth) / 2, "px"); -}; -var getMarginLeft3 = function getMarginLeft3(rightWidth, leftWidth, inertiaWidth) { - var width = rightWidth > leftWidth ? rightWidth : leftWidth; - return leftWidth && rightWidth ? "calc(100% - ".concat((width + inertiaWidth) / 2, "px)") : "calc(100% - ".concat(rightWidth / 2 - 1, "px)"); -}; -var getMoveX = function getMoveX(rightButtons, idx) { - var arr = rightButtons.slice(idx, rightButtons.length); - return arr.reduce(function (tolal, cur) { - return parseFloat(tolal) + cur.width; - }, 0); -}; -var getMovableContentRightStyle = function getMovableContentRightStyle(item, tapTypeR, idx, rightWidth, inTouch, inertiaWidth, myStyle) { - var isTapTypeR = tapTypeR && tapTypeR === "R-".concat(idx); - var myStyleString = isTapTypeR ? styleObjectToString(myStyle) : ''; - return "\n font-size: ".concat((item.fontSize || 28) / 2, "px;\n color: ").concat(item.color, ";\n background: ").concat(item.bgColor, ";\n height: calc(100% + 2px);\n ").concat(isTapTypeR ? "width: ".concat((rightWidth + 1 + (item.confirmType === 'move' && inTouch ? inertiaWidth : 0)) / 2, "px;") : "width: ".concat(item.width / 2, "px;"), "\n ").concat(myStyleString); -}; -var styleKeyMap = { - 'marginRight': 'margin-right', - 'marginLeft': 'margin-left', - 'fontSize': 'font-size', - zIndex: 'z-index' -}; -function styleObjectToString(myStyle) { - var styleKeys = keys(myStyle); - var res = ''; - for (var i = 0; i < styleKeys.length; i++) { - var key = styleKeys[i]; - res = res + "".concat(styleKeyMap[key] || key, ": ").concat(myStyle[key], "; "); - } - return res; -} -var getMovableContentLeftStyle = function getMovableContentLeftStyle(itemL, tapTypeL, idx, leftWidth, inTouch, inertiaWidth, myStyle) { - var isTapTypeL = tapTypeL && tapTypeL === "L-".concat(idx); - var myStyleString = isTapTypeL ? styleObjectToString(myStyle) : ''; - return "\n background: ".concat(itemL.bgColor, ";\n height: calc(100% + 2px);\n font-size: ").concat((itemL.fontSize || 28) / 2, "px;\n color: ").concat(itemL.color, ";\n ").concat(isTapTypeL ? "width: ".concat((leftWidth + 1 + (itemL.confirmType === 'move' && inTouch ? inertiaWidth : 0)) / 2, "px;") : "width: ".concat(itemL.width / 2, "px;"), "\n ").concat(myStyleString); -}; -var getLeftSlotName = function getLeftSlotName(tapTypeL, idx, itemL) { - if (!itemL.slotName) { - return ''; - } - return tapTypeL && tapTypeL === "L-".concat(idx) ? "".concat(itemL.slotName, "-confirm") : itemL.slotName; -}; -var getRightSlotName = function getRightSlotName(tapTypeR, idx, item) { - if (!item.slotName) { - return ''; - } - return tapTypeR && tapTypeR === "R-".concat(idx) ? "".concat(item.slotName, "-confirm") : item.slotName; -}; -var getLeftText = function getLeftText(tapTypeL, idx, itemL) { - return tapTypeL && tapTypeL === "L-".concat(idx) ? itemL.confirmText || itemL.text : itemL.text; -}; -var getRightText = function getRightText(tapTypeR, idx, item) { - return tapTypeR && tapTypeR === "R-".concat(idx) ? item.confirmText || item.text : item.text; -}; -var getRightMovableContentStyle = function getRightMovableContentStyle(tapTypeR, idx, rightWidth, leftWidth, inertiaWidth) { - return styleObjectToString({ - zIndex: tapTypeR === "R-".concat(idx) ? 1 : 0, - marginLeft: getMarginLeft3(rightWidth, leftWidth, inertiaWidth), - width: (rightWidth - 0.1) / 2 + 'px' - }); -}; -var getLeftMovableContentStyle = function getLeftMovableContentStyle(tapTypeL, idx, leftWidth, inertiaWidth) { - return styleObjectToString({ - zIndex: tapTypeL === "L-".concat(idx) ? 1 : 0, - marginLeft: "".concat(inertiaWidth / 2, "px"), - width: (leftWidth - 1) / 2 + 'px' - }); -}; -var axmlObj = function axmlObj(obj) { - return obj; -}; -module.exports = { - axmlObj: axmlObj, - getWidth2: getWidth2, - getMarginLeft2: getMarginLeft2, - getMarginLeft3: getMarginLeft3, - getRightMovableContentStyle: getRightMovableContentStyle, - getLeftMovableContentStyle: getLeftMovableContentStyle, - getLeft: getLeft, - getWidth: getWidth, - getSlotWidthStyle: getSlotWidthStyle, - getMarginLeft: getMarginLeft, - getMoveX: getMoveX, - getMovableContentRightStyle: getMovableContentRightStyle, - getMovableContentLeftStyle: getMovableContentLeftStyle, - getRightText: getRightText, - getLeftText: getLeftText, - getLeftSlotName: getLeftSlotName, - getRightSlotName: getRightSlotName -}; -function keys(obj) { - return JSON.stringify(obj).replace(getRegExp('{|}|"', 'g'), '').split(',').map(function (item) { - return item.split(':')[0]; - }); -} \ No newline at end of file diff --git a/compiled/wechat/src/SwipeAction/index.wxss b/compiled/wechat/src/SwipeAction/index.wxss deleted file mode 100644 index b38f71270..000000000 --- a/compiled/wechat/src/SwipeAction/index.wxss +++ /dev/null @@ -1,111 +0,0 @@ -@keyframes text-animate-right { - 33% { - margin-left: -10rpx; - } - 66% { - margin-left: 10rpx; - } - 100% { - margin-left: 0rpx; - } -} -@keyframes text-animate-midd { - 0% { - margin-left: 44rpx; - } - 100% { - margin-left: 0rpx; - } -} -@keyframes text-animate-left { - 33% { - margin-left: 10rpx; - } - 66% { - margin-left: -10rpx; - } - 100% { - margin-left: 0rpx; - } -} -.text-move-right { - animation-name: text-animate-right; - animation-duration: 500ms; -} -.text-move-left { - animation-name: text-animate-left; - animation-duration: 500ms; -} -.text-move-midd { - animation-name: text-animate-midd; - animation-duration: 500ms; -} -.ant-swipe { - width: 100%; - height: 100%; - overflow: hidden; -} -.ant-swipe-action { - height: 100%; - position: relative; -} -.ant-swipe-action-movable { - width: 100%; - height: 100%; -} -.ant-swipe-action-movable-content { - height: 100%; - position: relative; -} -.ant-swipe-action-movable-content-view { - height: 100%; -} -.ant-swipe-action-movable-content-view-modal { - width: 100%; - height: 100%; - background: transparent; - position: absolute; - left: 0; - top: 0; - z-index: 9; -} -.ant-swipe-action-movable-content-right { - height: 100%; - color: var(--swipe-action-color, #ffffff); -} -.ant-swipe-action-movable-content-right-text { - height: 100%; - display: flex; - align-items: center; - justify-content: center; - transition: all 120ms cubic-bezier(0.2, 0.2, 0.8, 1); -} -.ant-swipe-action-movable-content-right-text .right-text { - text-align: center; - white-space: nowrap; -} -.ant-swipe-action-movable-content-left { - position: absolute; - right: 0; - top: 0; - color: var(--swipe-action-color, #ffffff); - display: flex; - flex-direction: row; - justify-content: flex-end; -} -.ant-swipe-action-movable-content-left-text1 { - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; - transition: all 120ms cubic-bezier(0.2, 0.2, 0.8, 1); -} -.ant-swipe-action-movable-content-left-text1 .right-text { - text-align: center; - white-space: nowrap; -} -.ant-swipe-action-is-right-swipe { - display: flex; - flex-direction: row; - justify-content: flex-end; -} diff --git a/compiled/wechat/src/SwipeAction/props.js b/compiled/wechat/src/SwipeAction/props.js deleted file mode 100644 index 1b9bff07c..000000000 --- a/compiled/wechat/src/SwipeAction/props.js +++ /dev/null @@ -1,12 +0,0 @@ -export var SwipeActionDefaultProps = { - leftButtons: [], - rightButtons: [], - elasticity: true, - swiped: '', - defaultSwiped: '', - damping: 70, - disabled: false, - onSwipeEnd: function () { }, - onSwipeStart: function () { }, - onButtonTap: function () { }, -}; diff --git a/compiled/wechat/src/SwipeAction/variable.wxss b/compiled/wechat/src/SwipeAction/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/SwipeAction/wechat.js b/compiled/wechat/src/SwipeAction/wechat.js deleted file mode 100644 index 3a30f76a0..000000000 --- a/compiled/wechat/src/SwipeAction/wechat.js +++ /dev/null @@ -1,67 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -}; -import { platform } from '../_util/platform'; -export function transformOptions(original) { - if (platform() === 'wechat') { - var props = original.props, didMount_1 = original.didMount, didUpdate = original.didUpdate, rest = __rest(original, ["props", "didMount", "didUpdate"]); - return __assign(__assign({}, rest), { properties: transformProperties(props), lifetimes: { - attached: function () { - return didMount_1.call(this); - }, - }, options: { - multipleSlots: true, - styleIsolation: 'shared', - }, observers: { - 'damping, swiped': function () { - this.setData({ - swipeX: 0, - swipedR: false, - swipedL: false, - tapTypeL: '', - tapTypeR: '', - }); - }, - 'elasticity': function (elasticity) { - this.setData({ - swipeX: 0, - swipedR: false, - swipedL: false, - tapTypeL: '', - tapTypeR: '', - }); - this.setData({ inertiaWidth: elasticity ? 20 : 0 }); - }, - } }); - } - return __assign({}, original); -} -export function transformProperties(props) { - var properties = {}; - Object.keys(props).forEach(function (key) { - properties[key] = { - type: null, - value: props[key], - }; - }); - return properties; -} diff --git a/compiled/wechat/src/Switch/index.en.md b/compiled/wechat/src/Switch/index.en.md deleted file mode 100644 index d40963d71..000000000 --- a/compiled/wechat/src/Switch/index.en.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Entry - order: 10 -toc: 'content' ---- - -# Switch - -Switch selector, compared to the native Switch, it achieves a consistent experience on iOS and Android. - -- Used when it is necessary to indicate the state of a switch or to switch between two states. -- The difference with Checkbox is that switching Switch will directly trigger a state change, while Checkbox is usually used for state markers and needs to be used in conjunction with commit operations. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-switch": "antd-mini/es/Switch/index" -#endif -#if WECHAT - "ant-switch": "antd-mini/Switch/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - onChange(checked, e) { - console.log(checked); - }, -}); -``` - -### Disable Mode - -> Incoming `disabled` property, disable the collocated gray switch button. - -```xml - -``` - -### Custom Style - -> - `checkedText`、`uncheckedText` Property, you can modify the contents when checked/unchecked. -> - `color` property, you can color the overall button atmosphere. -> - ` size` property, the switch can be resized, support `medium`、`small`、`x-small` Three options. -> - `loading` Property to set the loading state. - -```xml - -#if ALIPAY - - - - - -#endif - - - - - - - - - - -``` - -### Controlled Mode - -> `checked` property and `change` Events, used in conjunction with the implementation of controlled mode. - -```xml - - - Switch - -``` - -```js -Page({ - data: { - checked: true, - }, - handleChange(checked, e) { -#if ALIPAY - this.setData({ - checked, - }); -#endif -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif - }, - handleChangeByButton() { - console.log(this.data.checked); - this.setData({ - checked: !this.data.checked, - }); - }, -}); -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------- | -| className | Class Name | string | - | -| checkedText | Content when selected | string \| slot | - | -| checked | Check | boolean | - | -| color | Selected background color | string | - | -| defaultChecked | Checked by default | boolean | `false` | -| disabled | Disable | boolean | `false` | -| loading | Load status | boolean | `false` | -| uncheckedText | Content when not selected | string \| slot | - | -| size | Component size, optional value is `medium`、`small`、`x-small` | string | `medium` | -| style | Style | string | - | -| #if ALIPAY onChange | Callback triggered when Switch is clicked | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | Callback triggered when Switch is clicked | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ---------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --switch-fill |
#1677ff
|
#3086ff
| Switch Fill Color | -| --switch-border-color |
#eeeeee
|
#2b2b2b
| Switch border color | -| --switch-loading-color |
#1677ff
|
#3086ff
| Switch loading color | -| --switch-handle-bg |
#ffffff
|
#ffffff
| Switch handle background color | -| --switch-inner-color |
#999999
|
#616161
| Switch internal color | diff --git a/compiled/wechat/src/Switch/index.js b/compiled/wechat/src/Switch/index.js deleted file mode 100644 index 6a9826eb1..000000000 --- a/compiled/wechat/src/Switch/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { Component, triggerEvent } from '../_util/simply'; -import { SwitchDefaultProps } from './props'; -import mixinValue from '../mixins/value'; -Component(SwitchDefaultProps, { - onChange: function (e) { - var value = !this.getValue(); - if (!this.isControlled()) { - this.update(value); - } - triggerEvent(this, 'change', value, e); - }, -}, null, [ - mixinValue({ - valueKey: 'checked', - defaultValueKey: 'defaultChecked', - }), -]); diff --git a/compiled/wechat/src/Switch/index.json b/compiled/wechat/src/Switch/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Switch/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Switch/index.md b/compiled/wechat/src/Switch/index.md deleted file mode 100644 index 065bad443..000000000 --- a/compiled/wechat/src/Switch/index.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据录入 - order: 10 -toc: 'content' ---- - -# Switch 开关 - -Switch 开关选择器,比起原生 Switch,它实现了在 iOS 和 Android 端一致的体验。 - -- 当需要表示开关状态或两种状态之间切换时使用。 -- 与 Checkbox 的区别在于,切换 Switch 会直接触发状态改变,而 Checkbox 通常用于状态标记,需要与提交操作配合使用。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-switch": "antd-mini/es/Switch/index" -#endif -#if WECHAT - "ant-switch": "antd-mini/Switch/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - onChange(checked, e) { - console.log(checked); - }, -}); -``` - -### 禁用模式 - -> 传入 `disabled` 属性,禁用并置灰开关按钮。 - -```xml - -``` - -### 自定义样式 - -> - `checkedText`、`uncheckedText` 属性,可以修改选中/未选中时的内容。 -> - `color` 属性,可以整体按钮的颜色氛围。 -> - ` size` 属性,可以调整开关大小,支持 `medium`、`small`、`x-small` 三种选项。 -> - `loading` 属性,设置加载态。 - -```xml - -#if ALIPAY - - - - - -#endif - - - - - - - - - - -``` - -### 受控模式 - -> `checked` 属性和 `change` 事件,配合使用实现受控模式。 - -```xml - - - 切换 - -``` - -```js -Page({ - data: { - checked: true, - }, - handleChange(checked, e) { -#if ALIPAY - this.setData({ - checked, - }); -#endif -#if WECHAT - this.setData({ - checked: checked.detail, - }); -#endif - }, - handleChangeByButton() { - console.log(this.data.checked); - this.setData({ - checked: !this.data.checked, - }); - }, -}); -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------- | -| className | 类名 | string | - | -| checkedText | 选中时的内容 | string \| slot | - | -| checked | 是否勾选 | boolean | - | -| color | 选中背景色 | string | - | -| defaultChecked | 默认是否勾选 | boolean | `false` | -| disabled | 是否禁用 | boolean | `false` | -| loading | 是否加载状态 | boolean | `false` | -| uncheckedText | 非选中时的内容 | string \| slot | - | -| size | 组件尺寸,可选值为 `medium`、`small`、`x-small` | string | `medium` | -| style | 样式 | string | - | -| #if ALIPAY onChange | 点击 Switch 时触发的回调 | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 点击 Switch 时触发的回调 | (checked: boolean, event: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ---------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------- | -| --switch-fill |
#1677ff
|
#3086ff
| 开关填充颜色 | -| --switch-border-color |
#eeeeee
|
#2b2b2b
| 开关边框颜色 | -| --switch-loading-color |
#1677ff
|
#3086ff
| 开关加载颜色 | -| --switch-handle-bg |
#ffffff
|
#ffffff
| 开关手柄背景颜色 | -| --switch-inner-color |
#999999
|
#616161
| 开关内部颜色 | diff --git a/compiled/wechat/src/Switch/index.wxml b/compiled/wechat/src/Switch/index.wxml deleted file mode 100644 index 77ee15d4f..000000000 --- a/compiled/wechat/src/Switch/index.wxml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - {{checkedText}} - {{uncheckedText}} - - \ No newline at end of file diff --git a/compiled/wechat/src/Switch/index.wxss b/compiled/wechat/src/Switch/index.wxss deleted file mode 100644 index df2f50ca9..000000000 --- a/compiled/wechat/src/Switch/index.wxss +++ /dev/null @@ -1,110 +0,0 @@ -@keyframes loading-rotate { - 100% { - transform: rotate(1turn); - } -} -.ant-switch { - display: inline-block; - vertical-align: middle; - box-sizing: border-box; - position: relative; - align-self: center; - min-width: 102rpx; - height: 62rpx; - border: 4rpx solid var(--switch-border-color, #e5e5e5); - border-radius: 31rpx; - background: #ffffff; - overflow: hidden; - line-height: 62rpx; -} -.ant-switch-checked { - background: var(--switch-fill, #1677ff); - border-color: var(--switch-fill, #1677ff); -} -.ant-switch-checked .ant-switch-handle { - left: calc(100% - (62rpx - 2 * 4rpx)); -} -.ant-switch-checked .ant-switch-inner { - color: #ffffff; - justify-content: flex-start; -} -.ant-switch-disabled { - opacity: 0.4; - pointer-events: none; -} -.ant-switch-loading { - pointer-events: none; -} -.ant-switch-loading ant-icon { - animation: loading-rotate 1s linear infinite; - font-size: 10px; - line-height: 1; -} -.ant-switch-loading-icon { - font-size: 20rpx; - color: var(--switch-loading-color, #1677ff); -} -.ant-switch-handle { - display: flex; - justify-content: center; - align-items: center; - width: 54rpx; - height: 54rpx; - border-radius: 50%; - background: var(--switch-handle-bg, #ffffff); - position: absolute; - top: 0; - left: 0; - transition: all 200ms; - box-shadow: 0 0 2px 0 var(--color-black-fade-20, rgba(0, 0, 0, 0.2)), 0 2px 11.5px 0 var(--color-black-fade-8, rgba(0, 0, 0, 0.08)), -1px 2px 2px 0 var(--color-black-fade-10, rgba(0, 0, 0, 0.1)); -} -.ant-switch-inner { - position: relative; - display: flex; - justify-content: flex-end; - align-items: center; - height: 100%; - color: var(--switch-inner-color, #999999); - transition: margin 200ms; - font-size: 30rpx; - padding: 0 14rpx; - min-width: 108rpx; - box-sizing: border-box; -} -.ant-switch-inner:empty { - display: none; -} -.ant-switch-small { - min-width: 72rpx; - height: 42rpx; - border-radius: 21rpx; -} -.ant-switch-small .ant-switch-handle { - width: 34rpx; - height: 34rpx; -} -.ant-switch-small .ant-switch-inner { - font-size: 16rpx; - padding: 0 10rpx; - min-width: 72rpx; -} -.ant-switch-small.ant-switch-checked .ant-switch-handle { - left: calc(100% - (42rpx - 2 * 4rpx)); -} -.ant-switch-x-small { - min-width: 52rpx; - height: 32rpx; - border-radius: 16rpx; -} -.ant-switch-x-small .ant-switch-handle { - width: 24rpx; - height: 24rpx; -} -.ant-switch-x-small .ant-switch-inner { - font-size: 10rpx; - padding: 0 6rpx; - min-width: 56rpx; -} -.ant-switch-x-small.ant-switch-checked .ant-switch-handle { - left: calc(100% - (32rpx - 2 * 4rpx)); -} diff --git a/compiled/wechat/src/Switch/props.js b/compiled/wechat/src/Switch/props.js deleted file mode 100644 index c80c3dba3..000000000 --- a/compiled/wechat/src/Switch/props.js +++ /dev/null @@ -1,10 +0,0 @@ -export var SwitchDefaultProps = { - checked: null, - loading: false, - color: '', - checkedText: '', - uncheckedText: '', - size: 'medium', - disabled: false, - defaultChecked: false, -}; diff --git a/compiled/wechat/src/Switch/variable.wxss b/compiled/wechat/src/Switch/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/TabBar/index.en.md b/compiled/wechat/src/TabBar/index.en.md deleted file mode 100644 index b49c642bd..000000000 --- a/compiled/wechat/src/TabBar/index.en.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# TabBar - -Used to switch between different pages. - -## Introduction - -In `index.json` Introducing Components in -```json -"usingComponents": { -#if ALIPAY - "ant-tab-bar": "antd-mini/es/TabBar/index" -#endif -#if WECHAT - "ant-tab-bar": "antd-mini/TabBar/index" -#endif -} -``` - -## Code example - -### Basic use -```xml - - -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data: { - tabs: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: 'homr', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: 'favor', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: 'like', - }, - ], - current: 0, - }, - handleChange(index) { - console.log(index); - }, -}); -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------- | ------------------------------------------------------- | ----------------------- | ------ | -| activeClassName | Tab activation class name | string | - | -| activeStyle | Tab Activation Style | string | - | -| className | Class Name | string | - | -| current | Selected Items | number | - | -| defaultCurrent | Initial Checked | number | 0 | -| icon | Tab icon scope slot, receiving item, index, active parameters | slot | - | -| items | Bottom Icon Configuration | [TabItem](#tabitem)[] | [] | -| style | Style | string | - | -| text | Tab bottom text scope slot, receiving item, index, active parameters | slot | - | -| #if ALIPAY onChange | Trigger callback on Tab switch | `(index: number) => void` | - | -| #if WECHAT bind:change | Trigger callback on Tab switch | `(index: number) => void` | - | - -### TabItem - -| Parameters | Description | Type | Default Value | -| ---------- | -------------------------------------------------- | ------ | ------ | -| icon | bottom icon, support [Icon](./Icon) or picture address | string | - | -| activeIcon | bottom icon for active state, support [Icon](./Icon) or picture address | string | - | -| text | Bottom Text | string | - | -| badge | Type of logo, see [Badge](./Badge) Components | object | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------- | -| --tabbar-bg |
#ffffff
|
#1a1a1a
| TabBar Background Color | -| --tabbar-item-color |
#666666
|
#808080
| TabBar Entry Color | -| --tabbar-active-color |
#1677ff
|
#3086ff
| TabBar Activate Color | diff --git a/compiled/wechat/src/TabBar/index.js b/compiled/wechat/src/TabBar/index.js deleted file mode 100644 index 9d7b364f3..000000000 --- a/compiled/wechat/src/TabBar/index.js +++ /dev/null @@ -1,20 +0,0 @@ -import { TabBarDefaultProps } from './props'; -import { Component, triggerEvent } from '../_util/simply'; -import mixinValue from '../mixins/value'; -Component(TabBarDefaultProps, { - onChange: function (e) { - var index = e.currentTarget.dataset.index; - if (index === this.getValue()) { - return; - } - if (!this.isControlled()) { - this.update(index); - } - triggerEvent(this, 'change', index, e); - }, -}, null, [ - mixinValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - }), -]); diff --git a/compiled/wechat/src/TabBar/index.json b/compiled/wechat/src/TabBar/index.json deleted file mode 100644 index a7c04bf5b..000000000 --- a/compiled/wechat/src/TabBar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-badge": "../Badge/index", - "image-icon": "../ImageIcon/index" - } -} diff --git a/compiled/wechat/src/TabBar/index.md b/compiled/wechat/src/TabBar/index.md deleted file mode 100644 index e0217a9fc..000000000 --- a/compiled/wechat/src/TabBar/index.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# TabBar 底部导航栏 - -用于在不同页面之间进行切换。 - -## 引入 - -在 `index.json` 中引入组件 -```json -"usingComponents": { -#if ALIPAY - "ant-tab-bar": "antd-mini/es/TabBar/index" -#endif -#if WECHAT - "ant-tab-bar": "antd-mini/TabBar/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 -```xml - - -#if ALIPAY - -#endif -#if WECHAT - -#endif -``` - -```js -Page({ - data: { - tabs: [ - { - icon: 'AlipayCircleFill', - activeIcon: 'AlipayCircleFill', - text: 'homr', - }, - { - icon: 'StarOutline', - activeIcon: 'StarFill', - text: 'favor', - }, - { - icon: 'HeartOutline', - activeIcon: 'HeartFill', - text: 'like', - }, - ], - current: 0, - }, - handleChange(index) { - console.log(index); - }, -}); -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------- | ------------------------------------------------------- | ----------------------- | ------ | -| activeClassName | 选项卡激活类名 | string | - | -| activeStyle | 选项卡激活样式 | string | - | -| className | 类名 | string | - | -| current | 选中项 | number | - | -| defaultCurrent | 初始选中项 | number | 0 | -| icon | 选项卡图标作用域插槽,接收 item、index、active 参数 | slot | - | -| items | 底部图标配置 | [TabItem](#tabitem)[] | [] | -| style | 样式 | string | - | -| text | 选项卡底部文字作用域插槽,接收 item、index、active 参数 | slot | - | -| #if ALIPAY onChange | Tab 切换时触发回调 | `(index: number) => void` | - | -| #if WECHAT bind:change | Tab 切换时触发回调 | `(index: number) => void` | - | - -### TabItem - -| 参数 | 说明 | 类型 | 默认值 | -| ---------- | -------------------------------------------------- | ------ | ------ | -| icon | 底部图标,支持 [Icon](./Icon) 或图片地址 | string | - | -| activeIcon | 激活状态的底部图标,支持 [Icon](./Icon) 或图片地址 | string | - | -| text | 底部文字 | string | - | -| badge | 徽标类型,参见 [Badge](./Badge) 组件 | object | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------- | -| --tabbar-bg |
#ffffff
|
#1a1a1a
| TabBar 背景颜色 | -| --tabbar-item-color |
#666666
|
#808080
| TabBar 条目颜色 | -| --tabbar-active-color |
#1677ff
|
#3086ff
| TabBar 激活颜色 | diff --git a/compiled/wechat/src/TabBar/index.wxml b/compiled/wechat/src/TabBar/index.wxml deleted file mode 100644 index ab1f5ef01..000000000 --- a/compiled/wechat/src/TabBar/index.wxml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - {{item.text}} - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/TabBar/index.wxss b/compiled/wechat/src/TabBar/index.wxss deleted file mode 100644 index 75af5accf..000000000 --- a/compiled/wechat/src/TabBar/index.wxss +++ /dev/null @@ -1,31 +0,0 @@ -.ant-tab-bar-wrap { - display: flex; - align-items: center; - background-color: var(--tabbar-bg, #ffffff); -} -.ant-tab-bar-item { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 8rpx 0; - color: var(--tabbar-item-color, #666666); -} -.ant-tab-bar-item-active { - color: var(--tabbar-active-color, #1677ff); -} -.ant-tab-bar-icon { - font-size: 44rpx; -} -.ant-tab-bar-large-icon { - font-size: 72rpx; -} -.ant-tab-bar-image { - font-size: 44rpx; - max-width: 44rpx; - max-height: 44rpx; -} -.ant-tab-bar-text { - font-size: 20rpx; -} diff --git a/compiled/wechat/src/TabBar/props.js b/compiled/wechat/src/TabBar/props.js deleted file mode 100644 index b73866d38..000000000 --- a/compiled/wechat/src/TabBar/props.js +++ /dev/null @@ -1,7 +0,0 @@ -export var TabBarDefaultProps = { - items: [], - current: null, - defaultCurrent: 0, - activeClassName: '', - activeStyle: '', -}; diff --git a/compiled/wechat/src/TabBar/variable.wxss b/compiled/wechat/src/TabBar/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Tabs/index.en.md b/compiled/wechat/src/Tabs/index.en.md deleted file mode 100644 index 527275c0c..000000000 --- a/compiled/wechat/src/Tabs/index.en.md +++ /dev/null @@ -1,373 +0,0 @@ ---- -nav: - path: /components -group: - title: Navigation - order: 6 -toc: 'content' ---- - -# Tabs - -Navigate between content groups. - -- Navigate between content groups. -- The current content needs to be divided into groups of the same hierarchical structure for content switching and display, which is used at the top of the form or standard list interface. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-tabs": "antd-mini/es/Tabs/index" -#endif -#if WECHAT - "ant-tabs": "antd-mini/Tabs/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - badge: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### With content - -```xml - - - {{ item.value.content }} - - -``` - -### Capsule - -```xml - -``` - -### With subtitle - -```xml - -``` - -### With logo - -```xml - - - - {{ item.value.title }} - - {{ item.value.title }} - - -``` - -### Disable state - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - disabled: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### plus button - -```xml - - - - - -``` - -### Control mode - -```xml - -``` - -### Center Scroll After Selection - -```xml - -``` - -### Swiper - -```xml - - - - - {{ item.content }} - - - - -``` - -### Elevator mode - -- Scrolling will correspond to tab. -- Click tab to scroll to the corresponding tab title. -- The onChange will only be triggered in tab switching. In the example, the custom title onTap can scroll current tab. - - - -### ceiling - -- Sliding to the very top will suck the ceiling. -- Toggling the tab content scrolls to the very top. - -```xml - -``` - -```css -.sticky-tabs { - position: sticky; - top: -1px; - z-index: 999; -} -``` - -### Portrait mode - -```xml - - - {{ items[current].content }} - - -``` - -### Longitudinal elevator mode - - - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| ---------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------- | -| className | Class Name | string | - | -| current | Selected Index | number | - | -| defaultCurrent | Selected index initial value | number | 0 | -| direction | tabs direction,`horizontal`(Horizontal) `vertical`(Vertical) | string | horizontal | -| items | option, quantity must be greater than 0 | `Item[]` | - | -| plus | Operation button slot in upper right corner;
`slot-scope` Include `value`(corresponding `Item`) `index`(corresponding `Item` index of) | slot | - | -| scrollMode | Scrolling mode, optional 'edge', 'center' | string | edge | -| style | Style | string | - | -| tabsBarClassName | tabs bar class name | string | - | -| tabClassName | tab class name | string | - | -| tabActiveClassName | tab active class name | string | - | -| title | Custom `Items` Title;
`slot-scope` Include `value`(corresponding `Item`) `index`(corresponding `Item` index of) | slot | - | -| type | Type,`basic`(basis),`capsule`(capsule),`mixin`(Mixed) | string | `basic` | -| #if ALIPAY onChange | When the panel is switched, the callback is triggered. | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | When the panel is switched, the callback is triggered. | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Item - -| Property | Description | Type | Default Value | -| ----- | ---- | ------ | ------ | -| title | Title | string | - | - -In addition to item can have `title`, you can also add custom properties, such. `content`, `badge` and so on, these properties can be used. `slot-scope` Visit: - -```js -Page({ - data: { - items: [ - { - title: 'tab 1', - content: 'tab 1 content', - }, - { - title: 'tab 2', - content: 'tab 2 content', - }, - { - title: 'tab 3', - content: 'tab 3 content', - }, - ], - }, -}); -``` - -```html - - - {{ tab.index }}:{{ tab.value.title }},{{ tab.value.content }} - - -``` - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --tabs-basic-color |
#333333
|
#c5cad1
| Tabs Basic Colors | -| --tabs-weaken-color |
#999999
|
#616161
| Tabs Weaken Color | -| --tabs-inverse-color |
#ffffff
|
#1a1a1a
| Tabs Invert Color | -| --tabs-active-color |
#1677ff
|
#3086ff
| Tabs Activate Colors | -| --tabs-active-decorate-color |
#1677ff
|
#3086ff
| Tabs Activate Decorative Colors | -| --tabs-underline-border-color |
#eeeeee
|
#2b2b2b
| Tabs Underline Border Color | -| --tabs-plus-color |
#000000
|
#000000
| Tabs Plus Color | -| --tabs-capsule-title-bg |
#f5f5f5
|
#121212
| Tabs Capsule Title Background Color | -| --tabs-subtitle-color |
#ffffff
|
#1a1a1a
| Tabs Subtitle Color | -| --tabs-count-color |
#cccccc
|
#474747
| Tabs Count Color | - -## FAQ - -### onChange can only be triggered by modification. What do you need to do if you want to click on the trigger current label? - -can be used `slot` From the definition. - -```xml - - - {{ tab.value.title }} - - -``` - -```js -Page({ - onChange(index) { - console.log(index); - }, - onTap(e) { - const { index } = e.currentTarget.dataset; - }, -}); -``` diff --git a/compiled/wechat/src/Tabs/index.js b/compiled/wechat/src/Tabs/index.js deleted file mode 100644 index f04f8bcd5..000000000 --- a/compiled/wechat/src/Tabs/index.js +++ /dev/null @@ -1,237 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -import createValue from '../mixins/value'; -import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect'; -import { Component, getValueFromProps, triggerEvent } from '../_util/simply'; -import { TabsDefaultProps } from './props'; -Component(TabsDefaultProps, { - getInstance: function () { - if (this.$id) { - return my; - } - return this; - }, - get$Id: function () { - return this.$id ? "-".concat(this.$id) : ''; - }, - getBoundingClientRect: function (query) { - return __awaiter(this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, getInstanceBoundingClientRect(this.getInstance(), query)]; - case 1: return [2 /*return*/, _a.sent()]; - } - }); - }); - }, - updateFade: function () { - return __awaiter(this, void 0, void 0, function () { - var items, _a, view, item; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - this.setData({ - leftFade: !!this.scrollLeft, - }); - items = getValueFromProps(this, 'items'); - return [4 /*yield*/, Promise.all([ - this.getBoundingClientRect("#ant-tabs-bar-scroll-view".concat(this.get$Id())), - this.getBoundingClientRect("#ant-tabs-bar-item".concat(this.get$Id(), "-").concat(items.length - 1)), - ])]; - case 1: - _a = _b.sent(), view = _a[0], item = _a[1]; - if (!item || !view) { - return [2 /*return*/]; - } - this.setData({ - rightFade: item.left + item.width / 2 > view.width, - }); - return [2 /*return*/]; - } - }); - }); - }, - updateScroll: function () { - return __awaiter(this, void 0, void 0, function () { - var current, _a, view, item, _b, direction, scrollMode, scrollTop, needScroll_1, distance, scrollLeft, needScroll, distance; - return __generator(this, function (_c) { - switch (_c.label) { - case 0: - current = this.getValue(); - return [4 /*yield*/, Promise.all([ - this.getBoundingClientRect("#ant-tabs-bar-scroll-view".concat(this.get$Id())), - this.getBoundingClientRect("#ant-tabs-bar-item".concat(this.get$Id(), "-").concat(current)), - ])]; - case 1: - _a = _c.sent(), view = _a[0], item = _a[1]; - if (!view || !item) { - return [2 /*return*/]; - } - _b = getValueFromProps(this, [ - 'direction', - 'scrollMode', - ]), direction = _b[0], scrollMode = _b[1]; - if (direction === 'vertical') { - scrollTop = this.scrollTop || 0; - needScroll_1 = false; - if (scrollMode === 'center') { - needScroll_1 = true; - scrollTop += - item.top - view.top - Math.max((view.height - item.height) / 2, 0); - } - else { - distance = item.top - view.top; - if (distance < 0) { - scrollTop += distance; - needScroll_1 = true; - } - else if (distance + item.height > view.height) { - scrollTop += Math.min(distance + item.height - view.height, distance); - needScroll_1 = true; - } - } - if (needScroll_1) { - if (scrollTop === this.data.scrollTop) { - scrollTop += Math.random(); - } - this.setData({ - scrollTop: scrollTop, - }); - } - return [2 /*return*/]; - } - scrollLeft = this.scrollLeft || 0; - needScroll = false; - if (scrollMode === 'center') { - needScroll = true; - scrollLeft += - item.left - view.left - Math.max((view.width - item.width) / 2, 0); - } - else { - distance = item.left - view.left; - if (distance < 0) { - scrollLeft += distance; - needScroll = true; - } - else if (distance + item.width > view.width) { - scrollLeft += Math.min(distance + item.width - view.width, distance); - needScroll = true; - } - } - if (needScroll) { - if (scrollLeft === this.data.scrollLeft) { - scrollLeft += Math.random(); - } - this.setData({ - scrollLeft: scrollLeft, - }); - this.updateFade(); - } - return [2 /*return*/]; - } - }); - }); - }, - onScroll: function (e) { - return __awaiter(this, void 0, void 0, function () { - var direction; - return __generator(this, function (_a) { - direction = getValueFromProps(this, 'direction'); - if (direction === 'vertical') { - this.scrollTop = e.detail.scrollTop; - return [2 /*return*/]; - } - this.scrollLeft = e.detail.scrollLeft; - this.updateFade(); - return [2 /*return*/]; - }); - }); - }, - onChange: function (e) { - var index = parseInt(e.currentTarget.dataset.index, 10); - var items = getValueFromProps(this, 'items'); - if (items[index].disabled) { - return; - } - if (this.getValue() === index) { - return; - } - if (!this.isControlled()) { - this.update(index); - } - triggerEvent(this, 'change', index, e); - }, -}, { - scrollHeight: 0, - scrollLeft: 0, - scrollTop: 0, - leftFade: false, - rightFade: false, -}, [ - createValue({ - valueKey: 'current', - defaultValueKey: 'defaultCurrent', - }), -], { - scrollLeft: 0, - scrollTop: 0, - attached: function () { - var _this = this; - this.updateScroll(); - this.getBoundingClientRect('.ant-tabs-bar-item').then(function (res) { - var direction = getValueFromProps(_this, 'direction'); - if (res && res.height > 0 && direction !== 'vertical') { - _this.setData({ - scrollHeight: res.height, - }); - } - else { - _this.setData({ - scrollHeight: direction === 'vertical' ? 0 : 40, - }); - } - }); - }, - observers: { - 'items': function () { - this.updateScroll(); - }, - 'mixin.current': function () { - this.updateScroll(); - }, - }, -}); diff --git a/compiled/wechat/src/Tabs/index.json b/compiled/wechat/src/Tabs/index.json deleted file mode 100644 index 467ce2945..000000000 --- a/compiled/wechat/src/Tabs/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/compiled/wechat/src/Tabs/index.md b/compiled/wechat/src/Tabs/index.md deleted file mode 100644 index b578be7c5..000000000 --- a/compiled/wechat/src/Tabs/index.md +++ /dev/null @@ -1,373 +0,0 @@ ---- -nav: - path: /components -group: - title: 导航 - order: 6 -toc: 'content' ---- - -# Tabs 标签页 - -内容组之间进行导航切换。 - -- 内容组之间进行导航切换。 -- 当前内容需要分成同层级结构的组,进行内容切换展示,用在表单或者标准列表界面的顶部。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-tabs": "antd-mini/es/Tabs/index" -#endif -#if WECHAT - "ant-tabs": "antd-mini/Tabs/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - badge: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### 带有 content - -```xml - - - {{ item.value.content }} - - -``` - -### 胶囊 - -```xml - -``` - -### 带副标题 - -```xml - -``` - -### 带徽标 - -```xml - - - - {{ item.value.title }} - - {{ item.value.title }} - - -``` - -### 禁用状态 - -```xml - -``` - -```js -Page({ - data: { - current: 0, - items: [ - { - title: 'fruits', - subTitle: 'desc', - content: 'watermelon', - }, - { - title: 'vegetables', - subTitle: 'desc', - disabled: true, - content: 'tomato', - }, - { - title: 'animals', - subTitle: 'desc', - content: 'monkey', - }, - ], - }, -}); -``` - -### plus 按钮 - -```xml - - - - - -``` - -### 控制模式 - -```xml - -``` - -### 选择后居中滚动 - -```xml - -``` - -### Swiper - -```xml - - - - - {{ item.content }} - - - - -``` - -### 电梯模式 - -- 滚动会对应到 tab。 -- 点击 tab 可滚动到对应 tab title。 -- onChange 只会在 tab 切换触发,示例里自定义 title onTap 可滚动 current tab。 - - - -### 吸顶 - -- 滑动到最顶部会吸顶。 -- 切换 tab content 会滚动到最顶部。 - -```xml - -``` - -```css -.sticky-tabs { - position: sticky; - top: -1px; - z-index: 999; -} -``` - -### 纵向模式 - -```xml - - - {{ items[current].content }} - - -``` - -### 纵向电梯模式 - - - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| ---------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------- | -| className | 类名 | string | - | -| current | 选中索引 | number | - | -| defaultCurrent | 选中索引初始值 | number | 0 | -| direction | tabs 方向,`horizontal`(水平) `vertical`(垂直) | string | horizontal | -| items | 选项,数量必须大于 0 | `Item[]` | - | -| plus | 右上角操作按钮插槽;
`slot-scope` 包括 `value`(对应 `Item`) `index`(对应 `Item` 的索引) | slot | - | -| scrollMode | 滚动方式,可选 'edge', 'center' | string | edge | -| style | 样式 | string | - | -| tabsBarClassName | tabs bar 类名 | string | - | -| tabClassName | tab 类名 | string | - | -| tabActiveClassName | tab active 类名 | string | - | -| title | 自定义 `Items` 标题;
`slot-scope` 包括 `value`(对应 `Item`) `index`(对应 `Item` 的索引) | slot | - | -| type | 类型,`basic`(基础),`capsule`(胶囊),`mixin`(混合) | string | `basic` | -| #if ALIPAY onChange | 面板切换时候,触发回调 | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | -| #if WECHAT bind:change | 面板切换时候,触发回调 | (index: number, e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - | - -### Item - -| 属性 | 说明 | 类型 | 默认值 | -| ----- | ---- | ------ | ------ | -| title | 标题 | string | - | - -在 Item 里除了可以有 `title`,还可以加上自定义的属性,比如 `content`, `badge` 等,这些属性可使用 `slot-scope` 访问: - -```js -Page({ - data: { - items: [ - { - title: 'tab 1', - content: 'tab 1 content', - }, - { - title: 'tab 2', - content: 'tab 2 content', - }, - { - title: 'tab 3', - content: 'tab 3 content', - }, - ], - }, -}); -``` - -```html - - - {{ tab.index }}:{{ tab.value.title }},{{ tab.value.content }} - - -``` - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------- | -| --tabs-basic-color |
#333333
|
#c5cad1
| Tabs 基本颜色 | -| --tabs-weaken-color |
#999999
|
#616161
| Tabs 弱化颜色 | -| --tabs-inverse-color |
#ffffff
|
#1a1a1a
| Tabs 反转色 | -| --tabs-active-color |
#1677ff
|
#3086ff
| Tabs 激活颜色 | -| --tabs-active-decorate-color |
#1677ff
|
#3086ff
| Tabs 激活装饰颜色 | -| --tabs-underline-border-color |
#eeeeee
|
#2b2b2b
| Tabs 下划线边框颜色 | -| --tabs-plus-color |
#000000
|
#000000
| Tabs 加号颜色 | -| --tabs-capsule-title-bg |
#f5f5f5
|
#121212
| Tabs 胶囊标题背景色 | -| --tabs-subtitle-color |
#ffffff
|
#1a1a1a
| Tabs 副标题颜色 | -| --tabs-count-color |
#cccccc
|
#474747
| Tabs 计数颜色 | - -## FAQ - -### onChange 只有修改才能触发,想要在触发 current 标签的点击需要怎么做 - -可以使用 `slot` 来自定义。 - -```xml - - - {{ tab.value.title }} - - -``` - -```js -Page({ - onChange(index) { - console.log(index); - }, - onTap(e) { - const { index } = e.currentTarget.dataset; - }, -}); -``` diff --git a/compiled/wechat/src/Tabs/index.wxml b/compiled/wechat/src/Tabs/index.wxml deleted file mode 100644 index 7f8bfa5e8..000000000 --- a/compiled/wechat/src/Tabs/index.wxml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - {{item.title}} - - - {{item.title}} - - - {{item.title}} - {{item.subTitle}} - - - - - - - - - - - - - - - - - - {{item.title}} - - - - - - - {{items[mixin.value].content}} - - \ No newline at end of file diff --git a/compiled/wechat/src/Tabs/index.wxss b/compiled/wechat/src/Tabs/index.wxss deleted file mode 100644 index 72712d38f..000000000 --- a/compiled/wechat/src/Tabs/index.wxss +++ /dev/null @@ -1,252 +0,0 @@ -.ant-tabs { - width: 100%; -} -.ant-tabs-bar { - position: relative; - width: 100%; - display: flex; - align-content: stretch; - background-color: var(--tabs-inverse-color, #ffffff); - box-sizing: border-box; -} -.ant-tabs-bar-underline { - border-bottom: 2rpx solid var(--tabs-underline-border-color, #e5e5e5); -} -.ant-tabs-bar-fade { - display: none; - position: absolute; - top: 0; - bottom: 0; - z-index: 9; - width: 36rpx; - background-color: var(--tabs-inverse-color, #ffffff); - pointer-events: none; - transition: all 0.2s; -} -.ant-tabs-bar-fade-left { - left: 0; - background: linear-gradient(90deg, var(--tabs-subtitle-color, #ffffff), hsla(0, 0%, 100%, 0)); -} -.ant-tabs-bar-fade-right { - right: 84rpx; - background: linear-gradient(270deg, var(--tabs-subtitle-color, #ffffff), hsla(0, 0%, 100%, 0)); -} -.ant-tabs-bar-plus { - display: flex; - width: 72rpx; - height: 72rpx; - color: var(--tabs-plus-color, #000000); - align-self: center; - align-items: center; - justify-content: center; - overflow: hidden; - margin-right: 24rpx; - order: 1; -} -.ant-tabs-bar-plus:empty { - display: none; -} -.ant-tabs-bar-scroll-view { - width: 100%; - display: flex; - flex-direction: row; - justify-content: space-between; - flex-wrap: nowrap; - overflow: hidden; - will-change: auto; -} -.ant-tabs-bar-scroll-view::-webkit-scrollbar { - display: none; -} -.ant-tabs-bar-wrap { - display: flex; - flex-shrink: 0; - align-items: flex-start; -} -.ant-tabs-bar-wrap-capsule { - flex: 1; -} -.ant-tabs-bar-wrap:nth-of-type(2) .ant-tabs-bar-capsule, -.ant-tabs-bar-wrap:nth-of-type(2) .ant-tabs-bar-mixin { - margin-left: 24rpx; -} -.ant-tabs-bar-wrap:nth-last-of-type(2) .ant-tabs-bar-capsule, -.ant-tabs-bar-wrap:nth-last-of-type(2) .ant-tabs-bar-mixin { - margin-right: 24rpx; -} -.ant-tabs-bar-item { - display: flex; - align-items: center; - justify-content: center; - flex: 1 0 auto; - font-size: 34rpx; - white-space: nowrap; - color: var(--tabs-basic-color, #333333); -} -.ant-tabs-bar-item .ant-badge { - width: 100%; -} -.ant-tabs-bar-basic { - position: relative; - display: flex; - align-items: center; - padding: 16rpx 24rpx; - box-sizing: border-box; -} -.ant-tabs-bar-basic.ant-tabs-bar-active { - color: var(--tabs-active-color, #1677ff); - position: relative; -} -.ant-tabs-bar-basic.ant-tabs-bar-active:after { - content: ''; - position: absolute; - bottom: 0; - width: calc(100% - 24rpx * 2); - height: 4rpx; - overflow: hidden; - font-size: 0; - border-radius: 50vh; - box-sizing: border-box; - background-color: var(--tabs-active-decorate-color, #1677ff); -} -.ant-tabs-bar-capsule { - padding: 24rpx 0; - margin: 0 24rpx / 2; - box-sizing: border-box; - position: relative; -} -.ant-tabs-bar-capsule-title { - flex: 1; - justify-content: center; - margin-right: 0; - padding: 16rpx 30rpx; - font-size: 30rpx; - text-align: center; - line-height: 1; - border-radius: 10vh; - background-color: var(--tabs-capsule-title-bg, #f5f5f5); - border-bottom: 0 none; -} -.ant-tabs-bar-capsule.ant-tabs-bar-active .ant-tabs-bar-capsule-title { - color: var(--tabs-subtitle-color, #ffffff); - background-color: var(--tabs-active-decorate-color, #1677ff); -} -.ant-tabs-bar-mixin { - flex-direction: column; - margin: 0 16rpx; - padding: 24rpx 0; - text-align: center; -} -.ant-tabs-bar-mixin-title { - margin: 2rpx 0; - position: relative; -} -.ant-tabs-bar-mixin-subtitle { - padding: 0 16rpx; - font-size: 26rpx; - line-height: 1.5; - color: var(--tabs-weaken-color, #999999); - border-radius: 50vh; - background-color: var(--tabs-capsule-title-bg, #f5f5f5); - margin: 2rpx 0; -} -.ant-tabs-bar-mixin.ant-tabs-bar-active .ant-tabs-bar-mixin-title { - color: var(--tabs-active-color, #1677ff); -} -.ant-tabs-bar-mixin.ant-tabs-bar-active .ant-tabs-bar-mixin-subtitle { - color: var(--tabs-subtitle-color, #ffffff); - background-color: var(--tabs-active-decorate-color, #1677ff); -} -.ant-tabs-bar-disabled { - opacity: 0.4; - pointer-events: none; - cursor: not-allowed; -} -.ant-tabs-content { - overflow: hidden; - background-color: var(--tabs-subtitle-color, #ffffff); - color: var(--tabs-basic-color, #333333); -} -.ant-vtabs { - width: 100%; - display: flex; - flex-direction: row; -} -.ant-vtabs-bar { - width: 210rpx; - overflow: hidden; -} -.ant-vtabs-bar-scroll-view { - display: flex; - flex-direction: column; - width: 100%; - height: 100%; - background-color: var(--tabs-capsule-title-bg, #f5f5f5); -} -.ant-vtabs-bar-scroll-view::-webkit-scrollbar { - display: none; -} -.ant-vtabs-bar-item { - position: relative; - width: 100%; - padding: 32rpx 24rpx; - overflow: hidden; - display: flex; - align-items: center; - font-size: 26rpx; - line-height: 37rpx; - color: var(--tabs-basic-color, #333333); - background-color: var(--tabs-capsule-title-bg, #f5f5f5); - box-sizing: border-box; - transition: background-color 100ms linear, color 300ms linear; -} -.ant-vtabs-bar-item-wrap { - background-color: var(--tabs-inverse-color, #ffffff); -} -.ant-vtabs-bar-item-active { - color: var(--tabs-active-color, #1677ff); - background-color: var(--tabs-inverse-color, #ffffff); -} -.ant-vtabs-bar-item-active::after { - position: absolute; - content: ''; - top: 32rpx; - bottom: 32rpx; - left: 0; - width: 4rpx; - border-radius: 4rpx; - background-color: var(--tabs-active-color, #1677ff); -} -.ant-vtabs-bar-item-disabled { - pointer-events: none; - cursor: not-allowed; -} -.ant-vtabs-bar-item-disabled .ant-vtabs-bar-item-title, -.ant-vtabs-bar-item-disabled .ant-vtabs-bar-item-count { - opacity: 0.4; -} -.ant-vtabs-bar-item-count { - color: var(--tabs-count-color, #cccccc); - margin-left: 8rpx; -} -.ant-vtabs-bar-item-icon { - padding-left: 8rpx; - width: 28rpx; - height: 28rpx; - font-size: 26rpx; - overflow: hidden; - position: relative; - top: -4rpx; - display: flex; - justify-content: center; - align-items: center; -} -.ant-vtabs-bar-item-icon:empty { - display: none; -} -.ant-vtabs-content { - overflow: hidden; - flex: 1; - background-color: var(--tabs-inverse-color, #ffffff); - color: var(--tabs-basic-color, #333333); -} diff --git a/compiled/wechat/src/Tabs/props.js b/compiled/wechat/src/Tabs/props.js deleted file mode 100644 index 777b176b3..000000000 --- a/compiled/wechat/src/Tabs/props.js +++ /dev/null @@ -1,11 +0,0 @@ -export var TabsDefaultProps = { - type: 'basic', - direction: 'horizontal', - current: null, - defaultCurrent: 0, - items: [], - scrollMode: 'edge', - tabsBarClassName: '', - tabActiveClassName: '', - tabClassName: '', -}; diff --git a/compiled/wechat/src/Tabs/variable.wxss b/compiled/wechat/src/Tabs/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Tag/index.en.md b/compiled/wechat/src/Tag/index.en.md deleted file mode 100644 index 89020a1d8..000000000 --- a/compiled/wechat/src/Tag/index.en.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: 'content' ---- - -# Tag - -Small labels for labeling and classification. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-tag": "antd-mini/es/Tag/index" -#endif -#if WECHAT - "ant-tag": "antd-mini/Tag/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml -Label -``` - -### semantic label - -```xml -default -success -warning -danger -``` - -### Fill mode - -```xml -fill -outline -fill-light -``` - -### Custom icon - -```xml -Label -``` - -### Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------- | ---------------------------------------------------------------------------------------- | ------------ | --------- | -| className | Class Name | string | - | -| color | Label color, built-in `primary`(blue),`success`(Green),`warning`(yellow),`danger`(Red) | string | `primary` | -| icon | Icon, support Icon type and slot | string\|slot | - | -| style | Style | string | - | -| type | type, optional `outline`、`fill`、`fill-light` | string | `fill` | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -------------------- | -| --tag-primary-color |
#1677ff
|
#3086ff
| Primary Label Color | -| --tag-warning-color |
#ff6430
|
#e65a2b
| Warning Label Color | -| --tag-danger-color |
#ff3141
|
#ff4a58
| Hazard label color | -| --tag-success-color |
#22b35e
|
#34b368
| Success Label Color | -| --tag-primary-light-color |
#e7f1ff
|
#0d2543
| Main label light | -| --tag-warning-light-color |
#ffefdf
|
#ffefdf
| Warning label light color | -| --tag-danger-light-color |
#ffece3
|
#ffece3
| Hazard label light color | -| --tag-success-light-color |
#d4fff1
|
#d4fff1
| Success Label Light | -| --tag-base-color |
#ffffff
|
#ffffff
| Base Label Color | -| --tag-primary-color-faded |
rgba(22, 119, 255, 0.3)
|
rgba(22, 119, 255, 0.3)
| Main label color (faded) | -| --tag-warning-color-faded |
rgba(255, 100, 48, 0.7)
|
rgba(255, 100, 48, 0.7)
| Warning label color (faded) | -| --tag-danger-color-faded |
rgba(255, 49, 65, 0.7)
|
rgba(255, 49, 65, 0.7)
| Hazard label color (faded) | -| --tag-success-color-faded |
rgba(34, 179, 94, 0.7)
|
rgba(34, 179, 94, 0.7)
| Success Label Color (Faded) | diff --git a/compiled/wechat/src/Tag/index.js b/compiled/wechat/src/Tag/index.js deleted file mode 100644 index 240331128..000000000 --- a/compiled/wechat/src/Tag/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import { TagDefaultProps } from './props'; -import '../_util/assert-component2'; -Component({ - properties: { - type: { - value: 'fill', - type: String, - }, - color: { - value: 'primary', - type: String, - }, - icon: { - type: String, - }, - style: { - type: String, - }, - className: { - type: String, - }, - }, - options: { - styleIsolation: 'shared', - }, - props: TagDefaultProps, -}); diff --git a/compiled/wechat/src/Tag/index.json b/compiled/wechat/src/Tag/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Tag/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Tag/index.md b/compiled/wechat/src/Tag/index.md deleted file mode 100644 index 7bb58665e..000000000 --- a/compiled/wechat/src/Tag/index.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: 'content' ---- - -# Tag 标签 - -用于标记和分类的小标签。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-tag": "antd-mini/es/Tag/index" -#endif -#if WECHAT - "ant-tag": "antd-mini/Tag/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml -标签 -``` - -### 语义标签 - -```xml -default -success -warning -danger -``` - -### 填充模式 - -```xml -fill -outline -fill-light -``` - -### 自定义图标 - -```xml -标签 -``` - -### Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------- | ---------------------------------------------------------------------------------------- | ------------ | --------- | -| className | 类名 | string | - | -| color | 标签颜色,内建 `primary`(蓝色)、`success`(绿色)、`warning`(黄色)、`danger`(红色) | string | `primary` | -| icon | 图标,支持 Icon 类型和插槽 | string\|slot | - | -| style | 样式 | string | - | -| type | 类型,可选 `outline`、`fill`、`fill-light` | string | `fill` | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -------------------- | -| --tag-primary-color |
#1677ff
|
#3086ff
| 主要标签颜色 | -| --tag-warning-color |
#ff6430
|
#e65a2b
| 警告标签颜色 | -| --tag-danger-color |
#ff3141
|
#ff4a58
| 危险标签颜色 | -| --tag-success-color |
#22b35e
|
#34b368
| 成功标签颜色 | -| --tag-primary-light-color |
#e7f1ff
|
#0d2543
| 主要标签浅色 | -| --tag-warning-light-color |
#ffefdf
|
#ffefdf
| 警告标签浅色 | -| --tag-danger-light-color |
#ffece3
|
#ffece3
| 危险标签浅色 | -| --tag-success-light-color |
#d4fff1
|
#d4fff1
| 成功标签浅色 | -| --tag-base-color |
#ffffff
|
#ffffff
| 基础标签颜色 | -| --tag-primary-color-faded |
rgba(22, 119, 255, 0.3)
|
rgba(22, 119, 255, 0.3)
| 主要标签颜色(褪色) | -| --tag-warning-color-faded |
rgba(255, 100, 48, 0.7)
|
rgba(255, 100, 48, 0.7)
| 警告标签颜色(褪色) | -| --tag-danger-color-faded |
rgba(255, 49, 65, 0.7)
|
rgba(255, 49, 65, 0.7)
| 危险标签颜色(褪色) | -| --tag-success-color-faded |
rgba(34, 179, 94, 0.7)
|
rgba(34, 179, 94, 0.7)
| 成功标签颜色(褪色) | diff --git a/compiled/wechat/src/Tag/index.wxml b/compiled/wechat/src/Tag/index.wxml deleted file mode 100644 index 02d9fa4f8..000000000 --- a/compiled/wechat/src/Tag/index.wxml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Tag/index.wxss b/compiled/wechat/src/Tag/index.wxss deleted file mode 100644 index 1320b06e0..000000000 --- a/compiled/wechat/src/Tag/index.wxss +++ /dev/null @@ -1,81 +0,0 @@ -.ant-tag { - position: relative; - display: inline-flex; - align-items: center; - padding: 2rpx 8rpx; - font-size: 22rpx; - line-height: 30rpx; - box-sizing: border-box; - border-radius: 4rpx; - color: var(--tag-base-color, #ffffff); -} -.ant-tag-icon-container { - margin-right: 6rpx; - display: flex; - justify-content: center; - align-self: center; - align-items: center; -} -.ant-tag-icon-container .ant-icon { - font-size: 24rpx; -} -.ant-tag-icon-container ant-icon { - font-size: 24rpx; -} -.ant-tag-primary { - background-color: var(--tag-primary-color, #1677ff); -} -.ant-tag-primary.ant-tag-fill-light { - color: var(--tag-primary-color, #1677ff); - background-color: var(--tag-primary-light-color, #e7f1ff); -} -.ant-tag-primary.ant-tag-outline { - color: var(--tag-primary-color, #1677ff); - border-color: var(--tag-primary-color-faded, rgba(22, 119, 255, 0.3)); -} -.ant-tag-warning { - background-color: var(--tag-warning-color, #ff6430); -} -.ant-tag-warning.ant-tag-fill-light { - color: var(--tag-warning-color, #ff6430); - background-color: var(--tag-warning-light-color, #ffefdf); -} -.ant-tag-warning.ant-tag-outline { - color: var(--tag-warning-color, #ff6430); - border-color: var(--tag-warning-color-faded, rgba(255, 100, 48, 0.3)); -} -.ant-tag-danger { - background-color: var(--tag-danger-color, #ff3141); -} -.ant-tag-danger.ant-tag-fill-light { - color: var(--tag-danger-color, #ff3141); - background-color: var(--tag-danger-light-color, #ffece3); -} -.ant-tag-danger.ant-tag-outline { - color: var(--tag-danger-color, #ff3141); - border-color: var(--tag-danger-color-faded, rgba(255, 49, 65, 0.3)); -} -.ant-tag-success { - background-color: var(--tag-success-color, #22b35e); -} -.ant-tag-success.ant-tag-fill-light { - color: var(--tag-success-color, #22b35e); - background-color: var(--tag-success-light-color, #d4fff1); -} -.ant-tag-success.ant-tag-outline { - color: var(--tag-success-color, #22b35e); - border-color: var(--tag-success-color-faded, rgba(34, 179, 94, 0.3)); -} -.ant-tag-image { - background-color: rgba(0, 0, 0, 0.5); -} -.ant-tag-outline { - border-width: 2rpx; - border-style: solid; - background-color: var(--tag-base-color, #ffffff); -} -.ant-tag-content { - display: flex; - justify-content: center; - align-items: center; -} diff --git a/compiled/wechat/src/Tag/props.js b/compiled/wechat/src/Tag/props.js deleted file mode 100644 index d6250962d..000000000 --- a/compiled/wechat/src/Tag/props.js +++ /dev/null @@ -1,4 +0,0 @@ -export var TagDefaultProps = { - type: 'fill', - color: 'primary', -}; diff --git a/compiled/wechat/src/Tag/variable.wxss b/compiled/wechat/src/Tag/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Toast/index.en.md b/compiled/wechat/src/Toast/index.en.md deleted file mode 100644 index 633473b5f..000000000 --- a/compiled/wechat/src/Toast/index.en.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -nav: - path: /components -group: - title: Feedback - order: 14 -toc: 'content' ---- - -# Toast - -Lightweight feedback on the results of the operation, without user action can disappear. The longest copy can be no more than 2 lines and can display up to 24 characters. If the copy is too long, it will be truncated. - -## Introduction - -In `index.json` Introducing Components in - -```json -"usingComponents": { -#if ALIPAY - "ant-toast": "antd-mini/es/Toast/index" -#endif -#if WECHAT - "ant-toast": "antd-mini/Toast/index" -#endif -} -``` - -## Code example - -### Basic use - -```xml - -``` - -```js -Page({ - data: { - toastShow: true, - }, - handleCloseToast(e) { - this.setData({ - toastShow: false, - }); - }, -}); -``` - -### Icon type - -> Incoming `type` property, you can use the built-in icon, optional `success`、`error`、`warning`、`loading`. Support `icon` property specifies [ant-icon](/components/icon) type, also supports `image` Property to customize the image. - -```xml - - - - - - -``` - -## Demo Code - - - -## API - -| Property | Description | Type | Default Value | -| --------------------- | ----------------------------------------------------------------- | ----------- | ------ | -| className | Component root node class name | string | - | -| content | Text content | string | - | -| duration | Duration, does not automatically close when 0 | number | 2000 | -| maskCloseable | Click whether the mask is closed | boolean | false | -| icon | Icon, supports all types of Icon components | string | - | -| image | Picture Link | string | - | -| maskStyle | Mat Style | string | - | -| showMask | Whether to show the layer | boolean | false | -| style | Style | string | - | -| type | Built-in icon type, optional `success` `error` `warning` `loading` `alipay` | string | - | -| textType | Text type, optional `short` `long`the short type has a larger fillet | string | `long` | -| visible | Whether to hide | boolean | false | -| #if ALIPAY onClose | Callback after Toast is closed | (e) => void | - | -| #if WECHAT bind:close | Callback after Toast is closed | (e) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| --------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------ | -| --toast-default-bg |
rgba(0, 0, 0, 0.75)
|
rgba(0, 0, 0, 0.75)
| Toast Default Background Color | -| --toast-default-color |
#ffffff
|
#ffffff
| Toast default text color | diff --git a/compiled/wechat/src/Toast/index.js b/compiled/wechat/src/Toast/index.js deleted file mode 100644 index b1c41bd08..000000000 --- a/compiled/wechat/src/Toast/index.js +++ /dev/null @@ -1,57 +0,0 @@ -import { Component, triggerEventOnly, getValueFromProps, } from '../_util/simply'; -import { ToastDefaultProps } from './props'; -Component(ToastDefaultProps, { - closeMask: function () { - if (this.timer) { - clearTimeout(this.timer); - } - this.setData({ show: false }); - this.timer = null; - triggerEventOnly(this, 'close'); - }, - handleShowToast: function () { - var _this = this; - this.setData({ show: true }); - var duration = getValueFromProps(this, 'duration'); - if (duration > 0) { - var timer = setTimeout(function () { - _this.closeMask(); - }, duration); - this.timer = timer; - } - }, - handleClickMask: function () { - var _a = getValueFromProps(this, [ - 'showMask', - 'maskCloseable', - ]), showMask = _a[0], maskCloseable = _a[1]; - if (showMask && maskCloseable) { - this.closeMask(); - } - }, -}, { - show: false, -}, undefined, { - timer: null, - observers: { - 'visible': function (visible) { - if (visible) { - this.handleShowToast(); - } - else if (!visible && this.data.show) { - this.closeMask(); - } - }, - 'content': function (content) { - this.setData({ - displayContent: content === 'string' ? content.substring(0, 24) : content, - }); - }, - }, - attached: function () { - var visible = getValueFromProps(this, 'visible'); - if (visible) { - this.handleShowToast(); - } - }, -}); diff --git a/compiled/wechat/src/Toast/index.json b/compiled/wechat/src/Toast/index.json deleted file mode 100644 index 09e719032..000000000 --- a/compiled/wechat/src/Toast/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": { - "am-icon": "../Icon/index", - "ant-mask": "../Mask/index", - "loading": "../Loading/index" - } -} diff --git a/compiled/wechat/src/Toast/index.md b/compiled/wechat/src/Toast/index.md deleted file mode 100644 index c865bc1e0..000000000 --- a/compiled/wechat/src/Toast/index.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -nav: - path: /components -group: - title: 反馈引导 - order: 14 -toc: 'content' ---- - -# Toast 轻提示 - -对操作结果的轻量级反馈,无需用户操作即可自行消失。最长文案不超过 2 行,最多可以显示 24 个字符,文案过长会被截断。 - -## 引入 - -在 `index.json` 中引入组件 - -```json -"usingComponents": { -#if ALIPAY - "ant-toast": "antd-mini/es/Toast/index" -#endif -#if WECHAT - "ant-toast": "antd-mini/Toast/index" -#endif -} -``` - -## 代码示例 - -### 基本使用 - -```xml - -``` - -```js -Page({ - data: { - toastShow: true, - }, - handleCloseToast(e) { - this.setData({ - toastShow: false, - }); - }, -}); -``` - -### 图标类型 - -> 传入 `type` 属性,可以使用内置图标,可选 `success`、`error`、`warning`、`loading`。支持 `icon` 属性指定 [ant-icon](/components/icon) 类型,还支持 `image` 属性自定义图片。 - -```xml - - - - - - -``` - -## Demo 代码 - - - -## API - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------- | ----------------------------------------------------------------- | ----------- | ------ | -| className | 组件根节点类名 | string | - | -| content | 文本内容 | string | - | -| duration | 持续时间,为 0 时不会自动关闭 | number | 2000 | -| maskCloseable | 点击蒙层是否关闭 | boolean | false | -| icon | 图标,支持 Icon 组件所有 type | string | - | -| image | 图片链接 | string | - | -| maskStyle | 蒙层样式 | string | - | -| showMask | 是否展示蒙层 | boolean | false | -| style | 样式 | string | - | -| type | 内置图标类型,可选 `success` `error` `warning` `loading` `alipay` | string | - | -| textType | 文字类型,可选 `short` `long`,short 类型的圆角更大 | string | `long` | -| visible | 是否隐藏 | boolean | false | -| #if ALIPAY onClose | Toast 关闭后的回调 | (e) => void | - | -| #if WECHAT bind:close | Toast 关闭后的回调 | (e) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| --------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------ | -| --toast-default-bg |
rgba(0, 0, 0, 0.75)
|
rgba(0, 0, 0, 0.75)
| Toast 默认背景颜色 | -| --toast-default-color |
#ffffff
|
#ffffff
| Toast 默认文字颜色 | diff --git a/compiled/wechat/src/Toast/index.wxml b/compiled/wechat/src/Toast/index.wxml deleted file mode 100644 index 3eab38e3e..000000000 --- a/compiled/wechat/src/Toast/index.wxml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - {{displayContent}} - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Toast/index.wxss b/compiled/wechat/src/Toast/index.wxss deleted file mode 100644 index 0c3c72d7f..000000000 --- a/compiled/wechat/src/Toast/index.wxss +++ /dev/null @@ -1,75 +0,0 @@ -.ant-toast { - color: var(--toast-default-color, #ffffff); - position: fixed; - top: 50%; - left: 50%; - transform: translate3d(-50%, -50%, 0); - z-index: 999; - padding: 24rpx 32rpx; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - background: var(--toast-default-bg, rgba(0, 0, 0, 0.75)); - border-radius: 24rpx; -} -.ant-toast-icon, -.ant-toast-image, -.ant-toast-normal { - margin-bottom: 24rpx; -} -.ant-toast-normal { - height: 80rpx; -} -.ant-toast-text-long { - border-radius: 24rpx; -} -.ant-toast-text-short { - border-radius: 50vh; -} -.ant-toast-icon { - display: flex; - justify-content: center; - align-items: center; - font-size: 100rpx; -} -.ant-toast-icon.ant-icon { - color: var(--toast-default-color, #ffffff); -} -.ant-toast-image, -.ant-toast-icon { - width: 80rpx; - height: 80rpx; - background-size: contain; - background-repeat: no-repeat; -} -.ant-toast-text-body { - display: flex; - max-width: 380rpx; - max-height: 84rpx; - justify-content: center; -} -.ant-toast-text-box { - min-width: 0; - max-height: 84rpx; -} -.ant-toast-text-content { - font-size: 28rpx; - line-height: 40rpx; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; -} -.ant-toast-icon-wrapper { - width: 240rpx; - height: 240rpx; - border-radius: 32rpx; - padding: 0; - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; -} -.ant-toast-mask { - z-index: 998; -} diff --git a/compiled/wechat/src/Toast/props.js b/compiled/wechat/src/Toast/props.js deleted file mode 100644 index a30504e78..000000000 --- a/compiled/wechat/src/Toast/props.js +++ /dev/null @@ -1,12 +0,0 @@ -export var ToastDefaultProps = { - content: null, - icon: null, - image: null, - duration: 2000, - visible: false, - showMask: false, - maskCloseable: false, - maskStyle: '', - type: null, - textType: 'long', -}; diff --git a/compiled/wechat/src/Toast/variable.wxss b/compiled/wechat/src/Toast/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/Typography/index.en.md b/compiled/wechat/src/Typography/index.en.md deleted file mode 100644 index 727184420..000000000 --- a/compiled/wechat/src/Typography/index.en.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -nav: - path: /components -group: - title: Information Display - order: 8 -toc: content ---- - -# Typography - -- It is used when a piece of text needs to be displayed. It supports ellipsis and is compatible with bold on different platforms. -- It can be used when action point operation buttons with icons are required. - -## Precautions - -- `icon` properties can support `Icon` Components `type` property, you can also pass in the link address of the icon directly. -- In disabled mode, you can pass in `onDisabledTap` Event, used to listen for the user's click on the text in the disabled state. - -## Code example - -### Basic Usage - - - -## Property - -| Property | Description | Type | Default Value | -| --------------------------- | ------------------------------------------------------------------- | ------------------------------ | -------- | -| text | Text content | string | - | -| iconPosition | Icon Location | `left` \| `right` | `right` | -| icon | Icon, you can support the type attribute of the Icon component, or you can directly pass in the link address of the icon. | IconType \| string | '' | -| className | Style Class | string | - | -| activeClassName | Click to activate the style class. | string | - | -| style | Style | string | - | -| disabled | Disable | boolean | false | -| selectable | Can be selected | boolean | false | -| fontWeight | Heavy characters, compatible with iOS and Android platforms | `normal` \| `medium` \| `bold` | `normal` | -| lineThrough | Add Strikethrough Style | boolean | false | -| underline | Add Underline Style | boolean | false | -| ellipsisRow | Multiple lines are omitted, and the value must be greater than or equal to 1, which is consistent with the-webkit-line-clamp attribute of css. | number | - | -| #if ALIPAY onTap | Click the button to trigger this callback | (e: Event) => void | - | -| #if ALIPAY catchTap | Click the button to trigger this callback, non-bubbling | (e: Event) => void | - | -| #if ALIPAY onDisabledTap | In the disabled state, click the button to trigger this callback | (e: Event) => void | - | -| #if WECHAT bind:tap | Click the button to trigger this callback | (e: Event) => void | - | -| #if WECHAT bind:disabledtap | In the disabled state, click the button to trigger this callback | (e: Event) => void | - | - -### Theme customization - -#### Style Variables - -Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components. - -| Variable name | Light Mode Default | Dark Mode Default | Remarks | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --typography-container-color |
#333333
|
#c5cad1
| typography container color | diff --git a/compiled/wechat/src/Typography/index.js b/compiled/wechat/src/Typography/index.js deleted file mode 100644 index 300a3ff50..000000000 --- a/compiled/wechat/src/Typography/index.js +++ /dev/null @@ -1,35 +0,0 @@ -import { Component, getValueFromProps, triggerCatchEvent, triggerEventOnly, } from '../_util/simply'; -import { TypographyDefaultProps } from './props'; -Component(TypographyDefaultProps, { - onTap: function (e) { - var disabled = getValueFromProps(this, 'disabled'); - if (disabled) { - triggerEventOnly(this, 'disabledTap', e); - return; - } - triggerEventOnly(this, 'tap', e); - }, - catchTap: function (e) { - var disabled = getValueFromProps(this, 'disabled'); - if (disabled) { - triggerEventOnly(this, 'disabledTap', e); - return; - } - triggerCatchEvent(this, 'catchTap', e); - }, -}, { phonemodel: '' }, null, { - attached: function () { - // @ts-ignore - var platform = wx.getDeviceInfo().platform; - var p = ''; - if (platform === 'android') { - p = 'Android'; - } - else { - p = 'iOS'; - } - this.setData({ - phonemodel: p, - }); - }, -}); diff --git a/compiled/wechat/src/Typography/index.json b/compiled/wechat/src/Typography/index.json deleted file mode 100644 index 090c137c7..000000000 --- a/compiled/wechat/src/Typography/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ant-icon": "../Icon/index" - } -} diff --git a/compiled/wechat/src/Typography/index.md b/compiled/wechat/src/Typography/index.md deleted file mode 100644 index b8b73c778..000000000 --- a/compiled/wechat/src/Typography/index.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -nav: - path: /components -group: - title: 数据展示 - order: 8 -toc: content ---- - -# Typography 排版 - -- 需要对一段文本进行展示时使用,支持省略,兼容不同平台的加粗等。 -- 当需要带图标的行动点操作按钮时可以使用。 - -## 注意事项 - -- `icon` 属性可以支持 `Icon` 组件的 `type` 属性,也可以直接传入图标的链接地址。 -- 禁用模式下,可以传入 `onDisabledTap` 事件,用于监听禁用状态下,用户对文本的点击。 - -## 代码示例 - -### 基础用法 - - - -## 属性 - -| 属性 | 说明 | 类型 | 默认值 | -| --------------------------- | ------------------------------------------------------------------- | ------------------------------ | -------- | -| text | 文本内容 | string | - | -| iconPosition | 图标位置 | `left` \| `right` | `right` | -| icon | 图标,可以支持 Icon 组件的 type 属性,也可以直接传入图标的链接地址 | IconType \| string | '' | -| className | 样式类 | string | - | -| activeClassName | 点击是激活态样式类 | string | - | -| style | 样式 | string | - | -| disabled | 是否禁用 | boolean | false | -| selectable | 是否可被选中 | boolean | false | -| fontWeight | 字重,兼容 iOS、Android 平台的加粗效果 | `normal` \| `medium` \| `bold` | `normal` | -| lineThrough | 添加删除线样式 | boolean | false | -| underline | 添加下划线样式 | boolean | false | -| ellipsisRow | 多行省略,值须大于等于 1,表现同 css 的 -webkit-line-clamp 属性一致 | number | - | -| #if ALIPAY onTap | 点击按钮,触发此回调 | (e: Event) => void | - | -| #if ALIPAY catchTap | 点击按钮,触发此回调,非冒泡 | (e: Event) => void | - | -| #if ALIPAY onDisabledTap | 禁用状态下,点击按钮,触发此回调 | (e: Event) => void | - | -| #if WECHAT bind:tap | 点击按钮,触发此回调 | (e: Event) => void | - | -| #if WECHAT bind:disabledtap | 禁用状态下,点击按钮,触发此回调 | (e: Event) => void | - | - -### 主题定制 - -#### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 ConfigProvider 组件。 - -| 变量名 | 浅色模式默认值 | 深色模式默认值 | 备注 | -| ---------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ | -| --typography-container-color |
#333333
|
#c5cad1
| 排版容器颜色 | diff --git a/compiled/wechat/src/Typography/index.wxml b/compiled/wechat/src/Typography/index.wxml deleted file mode 100644 index 19e21fc1a..000000000 --- a/compiled/wechat/src/Typography/index.wxml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - {{text}} - - - - - - - \ No newline at end of file diff --git a/compiled/wechat/src/Typography/index.wxs b/compiled/wechat/src/Typography/index.wxs deleted file mode 100644 index c76a378a1..000000000 --- a/compiled/wechat/src/Typography/index.wxs +++ /dev/null @@ -1,28 +0,0 @@ -function isUrl(string) { - return !!(string.indexOf('http://') === 0 || string.indexOf('https://') === 0); -} -function getFontWeight(fontWeight, phonemodel) { - var type2weight = { - normal: { - Android: 'normal', - iOS: 'normal' - }, - medium: { - Android: 'bold', - iOS: '500' - }, - bold: { - Android: 'bold', - iOS: 'bold' - } - }; - return (type2weight[fontWeight] || type2weight['normal'])[phonemodel]; -} -function isiOS(phonemodel) { - return phonemodel === 'iOS'; -} -module.exports = { - isUrl: isUrl, - getFontWeight: getFontWeight, - isiOS: isiOS -}; \ No newline at end of file diff --git a/compiled/wechat/src/Typography/index.wxss b/compiled/wechat/src/Typography/index.wxss deleted file mode 100644 index 7a3b45ddf..000000000 --- a/compiled/wechat/src/Typography/index.wxss +++ /dev/null @@ -1,45 +0,0 @@ -.ant-typography-container { - font-size: 28rpx; - display: flex; - align-items: center; - width: fit-content; - color: var(--typography-container-color, #333333); -} -.ant-typography-container .ant-typography-text { - line-height: 1.4; -} -.ant-typography-container .ant-typography-text.lineThrough { - text-decoration: line-through; -} -.ant-typography-container .ant-typography-text.underline { - text-decoration: underline; - text-decoration-skip-ink: auto; -} -.ant-typography-container .ant-typography-text-normal { - font-family: PingFangSC-Regular; -} -.ant-typography-container .ant-typography-text-medium { - font-family: PingFangSC-Medium; -} -.ant-typography-container .ant-typography-text-bold { - font-family: PingFangSC-SemiBold; -} -.ant-typography-container .ant-typography-icon-container { - display: flex; - align-items: center; -} -.ant-typography-container .ant-typography-icon-container.left { - margin-right: 8rpx; -} -.ant-typography-container .ant-typography-icon-container.right { - margin-left: 8rpx; -} -.ant-typography-container .ant-typography-icon-image { - display: block; -} -.ant-typography-disabled { - opacity: 0.4; -} -.ant-typography-hover { - opacity: 0.4; -} diff --git a/compiled/wechat/src/Typography/props.js b/compiled/wechat/src/Typography/props.js deleted file mode 100644 index 159575547..000000000 --- a/compiled/wechat/src/Typography/props.js +++ /dev/null @@ -1,17 +0,0 @@ -export var TypographyDefaultProps = { - text: '', - iconPosition: 'right', - icon: '', - className: '', - activeClassName: '', - style: '', - disabled: false, - selectable: false, - fontWeight: 'normal', - lineThrough: false, - underline: false, - ellipsisRow: null, - onTap: null, - catchTap: null, - onDisabledTap: null, -}; diff --git a/compiled/wechat/src/Typography/variable.wxss b/compiled/wechat/src/Typography/variable.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/_locale/ar-SA.js b/compiled/wechat/src/_locale/ar-SA.js deleted file mode 100644 index 76e66a6b9..000000000 --- a/compiled/wechat/src/_locale/ar-SA.js +++ /dev/null @@ -1,63 +0,0 @@ -//ar-SA 阿拉伯语 -var arSA = { - // locales for all components - locale: 'ar-SA', - global: { - placeholder: 'يرجى الاختيار', - emptyText: 'لا توجد بيانات حتى الآن', - okText: 'تأكيد', - cancelText: 'إلغاء', - }, - input: { - placeholder: 'الرجاء إدخال', - }, - calendar: { - weekdayNames: [ - 'الإثنين', - 'الثلاثاء', - 'الأربعاء', - 'الخميس', - 'الجمعة', - 'السبت', - 'الأحد', - ], - today: 'اليوم', - start: 'ابدأ', - end: 'النهاية', - startAndEnd: 'البداية/النهاية', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'لم يبدأ الاختيار', - endPlaceholder: 'لم يكتمل الاختيار', - }, - guideTour: { - gotItText: 'فهمت ذلك', - nextStepText: 'الخطوة التالية', - prevStepText: 'الخطوة السابقة', - jumpText: 'تخطي', - }, - imageUpload: { - uploadingText: 'جارٍ التحميل', - uploadfailedText: 'فشل في التحميل', - }, - pageContainer: { - failed: { - title: 'تواجه الصفحة بعض المشكلات البسيطة', - message: 'سأحاول ذلك لاحقًا', - }, - disconnected: { - title: 'الشبكة مشغولة بعض الشيء', - message: 'حرّك إصبعك للمساعدة في الإصلاح', - }, - empty: { - title: 'لا يوجد شيء هنا', - message: 'انظر إلى أشياء أخرى', - }, - busy: { - title: 'الازدحام الأمامي', - message: 'جرّب الانتعاش.', - }, - }, -}; -export default arSA; diff --git a/compiled/wechat/src/_locale/de-DE.js b/compiled/wechat/src/_locale/de-DE.js deleted file mode 100644 index 96e1d8ce8..000000000 --- a/compiled/wechat/src/_locale/de-DE.js +++ /dev/null @@ -1,62 +0,0 @@ -var deDE = { - // locales for all components - locale: 'de-DE', - global: { - placeholder: 'Bitte wählen Sie', - emptyText: 'Keine Daten verfügbar', - okText: 'Bestimmt', - cancelText: 'Abbrechen', - }, - input: { - placeholder: 'Bitte geben Sie ein', - }, - calendar: { - weekdayNames: [ - 'Montag', - 'Dienstag', - 'Mittwoch', - 'Donnerstag', - 'Freitag', - 'Samstag', - 'Sonntag', - ], - today: 'Heute', - start: 'Start', - end: 'Ende', - startAndEnd: 'Anfang/Ende', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'Die Auswahl hat noch nicht begonnen', - endPlaceholder: 'Unvollständige Auswahl', - }, - guideTour: { - gotItText: 'Ich habe es verstanden', - nextStepText: 'Nächster Schritt', - prevStepText: 'Vorheriger Schritt', - jumpText: 'Überspringen', - }, - imageUpload: { - uploadingText: 'Hochladen', - uploadfailedText: 'Der Upload ist fehlgeschlagen', - }, - pageContainer: { - failed: { - title: 'Auf der Seite treten einige kleinere Probleme auf', - message: 'Ich werde es später ausprobieren', - }, - disconnected: { - title: 'Das Netzwerk ist etwas beschäftigt', - message: 'Bewegen Sie bitte Ihre Finger, um zu helfen, es zu reparieren.', - }, - empty: { - title: 'Hier gibt es nichts.', - message: 'Schauen Sie sich auch die anderen an.', - }, - busy: { - title: 'Stau voraus', - message: 'Versuchen Sie es erneut.', - }, - }, -}; -export default deDE; diff --git a/compiled/wechat/src/_locale/en-US.js b/compiled/wechat/src/_locale/en-US.js deleted file mode 100644 index c66ee84e3..000000000 --- a/compiled/wechat/src/_locale/en-US.js +++ /dev/null @@ -1,54 +0,0 @@ -var enUS = { - // locales for all components - locale: 'en-US', - global: { - placeholder: 'Please select', - emptyText: 'No data available', - okText: 'Ok', - cancelText: 'Cancel', - }, - input: { - placeholder: 'Please enter', - }, - calendar: { - weekdayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - today: 'Today', - start: 'Start', - end: 'End', - startAndEnd: 'Start/End', - format: 'MMM D, YYYY', - }, - rangePicker: { - startPlaceholder: 'No selection started', - endPlaceholder: 'Incomplete selection', - }, - guideTour: { - gotItText: 'Got it', - nextStepText: 'Next step', - prevStepText: 'Prev step', - jumpText: 'Skip', - }, - imageUpload: { - uploadingText: 'Uploading', - uploadfailedText: 'Upload failed', - }, - pageContainer: { - failed: { - title: 'The page is experiencing some minor issues', - message: "I'll try it later", - }, - disconnected: { - title: 'The network is a bit busy', - message: 'Move your fingers to help repair', - }, - empty: { - title: "There's nothing here", - message: 'Check out the others', - }, - busy: { - title: 'Congestion ahead', - message: 'Try refreshing', - }, - }, -}; -export default enUS; diff --git a/compiled/wechat/src/_locale/es-ES.js b/compiled/wechat/src/_locale/es-ES.js deleted file mode 100644 index 37fcb8027..000000000 --- a/compiled/wechat/src/_locale/es-ES.js +++ /dev/null @@ -1,62 +0,0 @@ -var esES = { - // locales for all components - locale: 'es-ES', - global: { - placeholder: 'Por favor, seleccione', - emptyText: 'No hay datos disponibles', - okText: 'Confirmar', - cancelText: 'Cancelar', - }, - input: { - placeholder: 'Por favor, introduzca', - }, - calendar: { - weekdayNames: [ - 'Lunes', - 'Martes', - 'Miércoles', - 'Jueves', - 'Viernes', - 'Sábado', - 'Domingo', - ], - format: 'MM/YYYY', - today: 'Hoy', - start: 'Empezar', - end: 'Fin', - startAndEnd: 'Inicio/Fin', - }, - rangePicker: { - startPlaceholder: 'No ha comenzado la selección', - endPlaceholder: 'Selección no completada', - }, - guideTour: { - gotItText: 'Entendido', - nextStepText: 'Siguiente paso', - prevStepText: 'Paso anterior', - jumpText: 'Saltar', - }, - imageUpload: { - uploadingText: 'Subiendo', - uploadfailedText: 'Error al subir', - }, - pageContainer: { - failed: { - title: 'La página ha encontrado algunos pequeños problemas', - message: 'Lo probaré más tarde', - }, - disconnected: { - title: 'La red está un poco ocupada', - message: 'Mueve tus dedos para ayudar a arreglarlo', - }, - empty: { - title: 'Aquí no hay nada', - message: 'Echa un vistazo a los demás', - }, - busy: { - title: 'Congestión por delante', - message: 'Intente refrescar', - }, - }, -}; -export default esES; diff --git a/compiled/wechat/src/_locale/fr-FR.js b/compiled/wechat/src/_locale/fr-FR.js deleted file mode 100644 index 024ef0e61..000000000 --- a/compiled/wechat/src/_locale/fr-FR.js +++ /dev/null @@ -1,62 +0,0 @@ -var frFR = { - // locales for all components - locale: 'fr-FR', - global: { - placeholder: 'Veuillez sélectionner', - emptyText: 'Aucune donnée disponible', - okText: 'Déterminer', - cancelText: 'Annuler', - }, - input: { - placeholder: 'Veuillez entrer', - }, - calendar: { - weekdayNames: [ - 'Lundi', - 'Mardi', - 'Mercredi', - 'Jeudi', - 'Vendredi', - 'Samedi', - 'Dimanche', - ], - format: 'MM/YYYY', - today: "Aujourd'hui", - start: 'Commencer', - end: 'Fin', - startAndEnd: 'Début/Fin', - }, - rangePicker: { - startPlaceholder: "La sélection n'a pas commencé", - endPlaceholder: 'Sélection incomplète', - }, - guideTour: { - gotItText: "J'ai compris", - nextStepText: 'Prochaine étape', - prevStepText: 'Étape précédente', - jumpText: 'Sauter', - }, - imageUpload: { - uploadingText: 'Téléchargement en cours', - uploadfailedText: 'Échec du téléchargement', - }, - pageContainer: { - failed: { - title: 'La page rencontre quelques problèmes mineurs', - message: 'Je l’essaierai plus tard', - }, - disconnected: { - title: 'Le réseau est un peu occupé.', - message: 'Bougez vos doigts pour aider à le réparer', - }, - empty: { - title: "Il n'y a rien ici.", - message: 'Regardez les autres.', - }, - busy: { - title: "La congestion à l'avant", - message: 'Essayez de rafraîchir.', - }, - }, -}; -export default frFR; diff --git a/compiled/wechat/src/_locale/in-ID.js b/compiled/wechat/src/_locale/in-ID.js deleted file mode 100644 index a7c1defdf..000000000 --- a/compiled/wechat/src/_locale/in-ID.js +++ /dev/null @@ -1,62 +0,0 @@ -var inID = { - // locales for all components - locale: 'in-ID', - global: { - placeholder: 'Silakan pilih', - emptyText: 'Tidak ada data', - okText: 'Tentu', - cancelText: 'Pembatalan', - }, - input: { - placeholder: 'Silakan masukkan', - }, - calendar: { - weekdayNames: [ - 'Senin', - 'Selasa', - 'Rabu', - 'Kamis', - 'Jumat', - 'Sabtu', - 'Minggu', - ], - format: 'MM/YYYY', - today: 'Hari ini', - start: 'Mulai', - end: 'Akhir', - startAndEnd: 'Mulai/Akhir', - }, - rangePicker: { - startPlaceholder: 'Seleksi belum dimulai', - endPlaceholder: 'Seleksi belum selesai', - }, - guideTour: { - gotItText: 'Aku tahu', - nextStepText: 'Langkah selanjutnya', - prevStepText: 'Langkah sebelumnya', - jumpText: 'Lewati', - }, - imageUpload: { - uploadingText: 'Sedang diunggah', - uploadfailedText: 'Gagal mengunggah', - }, - pageContainer: { - failed: { - title: 'Halaman ini mengalami beberapa masalah kecil', - message: 'Saya akan mencobanya nanti.', - }, - disconnected: { - title: 'Jaringannya agak sibuk', - message: 'Gerakkan jari Anda untuk membantu memperbaikinya', - }, - empty: { - title: 'Tidak ada apa-apa di sini.', - message: 'Lihat yang lain.', - }, - busy: { - title: 'Kemacetan di depan', - message: 'Cobalah menyegarkan', - }, - }, -}; -export default inID; diff --git a/compiled/wechat/src/_locale/index.js b/compiled/wechat/src/_locale/index.js deleted file mode 100644 index cb0ff5c3b..000000000 --- a/compiled/wechat/src/_locale/index.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/compiled/wechat/src/_locale/it-IT.js b/compiled/wechat/src/_locale/it-IT.js deleted file mode 100644 index 085482a37..000000000 --- a/compiled/wechat/src/_locale/it-IT.js +++ /dev/null @@ -1,62 +0,0 @@ -var itIT = { - // locales for all components - locale: 'it-IT', - global: { - placeholder: 'Seleziona', - emptyText: 'Nessun dato disponibile', - okText: 'Certamente', - cancelText: 'Annulla', - }, - input: { - placeholder: 'Inserisci', - }, - calendar: { - weekdayNames: [ - 'Lunedì', - 'Martedì', - 'Mercoledì', - 'Giovedì', - 'Venerdì', - 'Sabato', - 'Domenica', - ], - format: 'MM/YYYY', - today: 'Oggi', - start: 'Inizia', - end: 'Fine', - startAndEnd: 'Inizio/Fine', - }, - rangePicker: { - startPlaceholder: 'Nessuna selezione avviata', - endPlaceholder: 'Selezione non completata', - }, - guideTour: { - gotItText: 'Capito', - nextStepText: 'Passo successivo', - prevStepText: 'Passaggio precedente', - jumpText: 'Salta', - }, - imageUpload: { - uploadingText: 'Caricamento in corso', - uploadfailedText: 'Caricamento non riuscito', - }, - pageContainer: { - failed: { - title: 'La pagina ha riscontrato alcuni problemi minori', - message: 'Lo proverò più tardi', - }, - disconnected: { - title: "La rete è un po' occupata", - message: 'Muovi le dita per ripararlo', - }, - empty: { - title: "Non c'è niente qui", - message: 'Guarda gli altri', - }, - busy: { - title: 'Congestione in vista', - message: 'Prova a ricaricare', - }, - }, -}; -export default itIT; diff --git a/compiled/wechat/src/_locale/ja-JP.js b/compiled/wechat/src/_locale/ja-JP.js deleted file mode 100644 index a7acb048c..000000000 --- a/compiled/wechat/src/_locale/ja-JP.js +++ /dev/null @@ -1,62 +0,0 @@ -var jaJP = { - // locales for all components - locale: 'ja-JP', - global: { - placeholder: '選択してください', - emptyText: 'データはありません。', - okText: '確定', - cancelText: 'キャンセル', - }, - input: { - placeholder: '入力してください', - }, - calendar: { - weekdayNames: [ - '月曜日', - '火曜日', - '水曜日', - '木曜日', - '金曜日', - '土曜日', - '日曜日', - ], - format: 'MM/YYYY', - today: '今日です', - start: '開始', - end: '終了', - startAndEnd: '開始/終了', - }, - rangePicker: { - startPlaceholder: '選択が開始されていません', - endPlaceholder: '未完成の選択', - }, - guideTour: { - gotItText: 'わかりました', - nextStepText: '次のステップ', - prevStepText: '前のステップ', - jumpText: 'スキップ', - }, - imageUpload: { - uploadingText: 'アップロード中です', - uploadfailedText: 'アップロードに失敗しました', - }, - pageContainer: { - failed: { - title: 'ページにいくつかの小さな問題が発生しています', - message: '後で試してみます', - }, - disconnected: { - title: 'ネットワークが少し混雑しています', - message: '指を動かして修正してください', - }, - empty: { - title: 'ここには何もありません', - message: '他のものをチェックしてください', - }, - busy: { - title: '前方が渋滞しています', - message: 'リフレッシュしてみてください', - }, - }, -}; -export default jaJP; diff --git a/compiled/wechat/src/_locale/ko-KR.js b/compiled/wechat/src/_locale/ko-KR.js deleted file mode 100644 index 07851360b..000000000 --- a/compiled/wechat/src/_locale/ko-KR.js +++ /dev/null @@ -1,62 +0,0 @@ -var koKR = { - // locales for all components - locale: 'ko-KR', - global: { - placeholder: '선택해 주세요', - emptyText: '데이터가 없습니다', - okText: '확실합니다', - cancelText: '취소', - }, - input: { - placeholder: '입력해 주세요', - }, - calendar: { - weekdayNames: [ - '월요일', - '화요일', - '수요일', - '목요일', - '금요일', - '토요일', - '일요일', - ], - format: 'MM/YYYY', - today: '오늘', - start: '시작', - end: '끝', - startAndEnd: '시작/종료', - }, - rangePicker: { - startPlaceholder: '선택이 시작되지 않았습니다', - endPlaceholder: '선택이 완료되지 않았습니다', - }, - guideTour: { - gotItText: '알았어요', - nextStepText: '다음 단계', - prevStepText: '이전 단계', - jumpText: '건너뛰기', - }, - imageUpload: { - uploadingText: '업로드 중', - uploadfailedText: '업로드 실패', - }, - pageContainer: { - failed: { - title: '페이지에 작은 문제가 발생했습니다', - message: '나중에 해볼게요', - }, - disconnected: { - title: '네트워크가 좀 바쁩니다', - message: '손가락을 움직여 문제를 해결하세요', - }, - empty: { - title: '여기에는 아무것도 없습니다', - message: '다른 것을 보세요', - }, - busy: { - title: '전방 혼잡', - message: '새로 고침 해보세요', - }, - }, -}; -export default koKR; diff --git a/compiled/wechat/src/_locale/ms-MY.js b/compiled/wechat/src/_locale/ms-MY.js deleted file mode 100644 index ce802cbb0..000000000 --- a/compiled/wechat/src/_locale/ms-MY.js +++ /dev/null @@ -1,62 +0,0 @@ -var msMY = { - // locales for all components - locale: 'ms-MY', - global: { - placeholder: 'Sila pilih', - emptyText: 'Tiada data', - okText: 'Tentu', - cancelText: 'Batal', - }, - input: { - placeholder: 'Sila masukkan', - }, - calendar: { - weekdayNames: [ - 'Isnin', - 'Selasa', - 'Rabu', - 'Khamis', - 'Jumaat', - 'Sabtu', - 'Ahad', - ], - format: 'MM/YYYY', - today: 'Hari ini', - start: 'Mula', - end: 'Tamat', - startAndEnd: 'Mula/Tamat', - }, - rangePicker: { - startPlaceholder: 'Pemilihan belum bermula', - endPlaceholder: 'Pilihan yang belum selesai', - }, - guideTour: { - gotItText: 'Tahu', - nextStepText: 'Langkah seterusnya', - prevStepText: 'Langkah sebelumnya', - jumpText: 'Langkau', - }, - imageUpload: { - uploadingText: 'Sedang memuat naik', - uploadfailedText: 'Muat naik gagal', - }, - pageContainer: { - failed: { - title: 'Halaman ini mengalami beberapa masalah kecil', - message: 'Saya akan cuba nanti', - }, - disconnected: { - title: 'Jaringan agak sibuk', - message: 'Gerakkan jari anda untuk membantu membetulkan', - }, - empty: { - title: 'Tiada apa-apa di sini', - message: 'Lihat yang lain', - }, - busy: { - title: 'Kesesakan di hadapan', - message: 'Cuba segarkan semula', - }, - }, -}; -export default msMY; diff --git a/compiled/wechat/src/_locale/pt-BR.js b/compiled/wechat/src/_locale/pt-BR.js deleted file mode 100644 index 40e8236eb..000000000 --- a/compiled/wechat/src/_locale/pt-BR.js +++ /dev/null @@ -1,62 +0,0 @@ -var ptBR = { - // locales for all components - locale: 'pt-BR', - global: { - placeholder: 'Por favor, selecione', - emptyText: 'Não há dados disponíveis', - okText: 'Confirmar', - cancelText: 'Cancelar', - }, - input: { - placeholder: 'Por favor, insira.', - }, - calendar: { - weekdayNames: [ - 'Segunda-feira', - 'Terça-feira', - 'Quarta-feira', - 'Quinta-feira', - 'Sexta-feira', - 'Sábado', - 'Domingo', - ], - format: 'MM/YYYY', - today: 'Hoje', - start: 'Início', - end: 'Fim', - startAndEnd: 'Início/Fim', - }, - rangePicker: { - startPlaceholder: 'Nenhuma seleção foi iniciada', - endPlaceholder: 'Seleção não concluída', - }, - guideTour: { - gotItText: 'Entendi', - nextStepText: 'Próximo passo', - prevStepText: 'Etapa anterior', - jumpText: 'Pular', - }, - imageUpload: { - uploadingText: 'Carregando', - uploadfailedText: 'Falha no upload', - }, - pageContainer: { - failed: { - title: 'A página encontrou alguns pequenos problemas', - message: 'Vou tentar mais tarde', - }, - disconnected: { - title: 'A rede está um pouco ocupada', - message: 'Mova os dedos para ajudar a consertar', - }, - empty: { - title: 'Não há nada aqui', - message: 'Veja outros', - }, - busy: { - title: 'Congestionamento à frente', - message: 'Tente atualizar', - }, - }, -}; -export default ptBR; diff --git a/compiled/wechat/src/_locale/ru-RU.js b/compiled/wechat/src/_locale/ru-RU.js deleted file mode 100644 index 32d9c75e7..000000000 --- a/compiled/wechat/src/_locale/ru-RU.js +++ /dev/null @@ -1,62 +0,0 @@ -var ruRU = { - // locales for all components - locale: 'ru-RU', - global: { - placeholder: 'Пожалуйста, выберите', - emptyText: 'Нет данных', - okText: 'Конечно', - cancelText: 'Отмена', - }, - input: { - placeholder: 'Пожалуйста, введите', - }, - calendar: { - weekdayNames: [ - 'Понедельник', - 'Вторник', - 'Среда', - 'Четверг', - 'Пятница', - 'Суббота', - 'Воскресенье', - ], - format: 'MM/YYYY', - today: 'Сегодня', - start: 'Начать', - end: 'Конец', - startAndEnd: 'Начало/конец', - }, - rangePicker: { - startPlaceholder: 'Выбор не начался', - endPlaceholder: 'Выбор не завершен', - }, - guideTour: { - gotItText: 'Понял', - nextStepText: 'Следующий шаг', - prevStepText: 'Предыдущий шаг', - jumpText: 'Пропустить', - }, - imageUpload: { - uploadingText: 'Загрузка', - uploadfailedText: 'Загрузка не удалась', - }, - pageContainer: { - failed: { - title: 'На странице возникли небольшие проблемы', - message: 'Попробую позже', - }, - disconnected: { - title: 'Сеть немного загружена', - message: 'Пожалуйста, помогите исправить, немного пошевелив пальцами', - }, - empty: { - title: 'Здесь ничего нет', - message: 'Посмотрите на другие', - }, - busy: { - title: 'Впереди заторы', - message: 'Попробуйте обновить', - }, - }, -}; -export default ruRU; diff --git a/compiled/wechat/src/_locale/th-TH.js b/compiled/wechat/src/_locale/th-TH.js deleted file mode 100644 index 99d9e9b17..000000000 --- a/compiled/wechat/src/_locale/th-TH.js +++ /dev/null @@ -1,62 +0,0 @@ -var thTH = { - // locales for all components - locale: 'th-TH', - global: { - placeholder: 'กรุณาเลือก', - emptyText: 'ยังไม่มีข้อมูล', - okText: 'แน่นอน', - cancelText: 'ยกเลิก', - }, - input: { - placeholder: 'กรุณากรอก', - }, - calendar: { - weekdayNames: [ - 'วันจันทร์', - 'วันอังคาร', - 'วันพุธ', - 'วันพฤหัสบดี', - 'วันศุกร์', - 'วันเสาร์', - 'วันอาทิตย์', - ], - format: 'MM/YYYY', - today: 'วันนี้', - start: 'เริ่มต้น', - end: 'สิ้นสุด', - startAndEnd: 'เริ่ม/สิ้นสุด', - }, - rangePicker: { - startPlaceholder: 'ยังไม่ได้เริ่มเลือก', - endPlaceholder: 'การเลือกไม่สมบูรณ์', - }, - guideTour: { - gotItText: 'รู้แล้ว', - nextStepText: 'ขั้นตอนต่อไป', - prevStepText: 'ขั้นตอนก่อนหน้า', - jumpText: 'ข้าม', - }, - imageUpload: { - uploadingText: 'กำลังอัปโหลด', - uploadfailedText: 'อัปโหลดล้มเหลว', - }, - pageContainer: { - failed: { - title: 'หน้าเว็บพบปัญหาเล็กน้อย', - message: 'จะลองในภายหลัง', - }, - disconnected: { - title: 'เครือข่ายยุ่งนิดหน่อย', - message: 'ขยับนิ้วของคุณเพื่อช่วยแก้ไข', - }, - empty: { - title: 'ที่นี่ไม่มีอะไรเลย', - message: 'ดูสิ่งอื่นๆ', - }, - busy: { - title: 'ความแออัดข้างหน้า', - message: 'ลองรีเฟรชดูครับ', - }, - }, -}; -export default thTH; diff --git a/compiled/wechat/src/_locale/tr-TR.js b/compiled/wechat/src/_locale/tr-TR.js deleted file mode 100644 index 9321d12d9..000000000 --- a/compiled/wechat/src/_locale/tr-TR.js +++ /dev/null @@ -1,62 +0,0 @@ -var trTR = { - // locales for all components - locale: 'tr-TR', - global: { - placeholder: 'Lütfen seçin', - emptyText: 'Henüz veri yok.', - okText: 'Kesinlikle', - cancelText: 'İptal', - }, - input: { - placeholder: 'Lütfen girin', - }, - calendar: { - weekdayNames: [ - 'Pazartesi', - 'Salı', - 'Çarşamba', - 'Perşembe', - 'Cuma', - 'Cumartesi', - 'Pazar', - ], - format: 'MM/YYYY', - today: 'Bugün', - start: 'Başla', - end: 'Bitiyor', - startAndEnd: 'Başlangıç/Bitiş', - }, - rangePicker: { - startPlaceholder: 'Seçim henüz başlamadı', - endPlaceholder: 'Seçim tamamlanmadı', - }, - guideTour: { - gotItText: 'Anladım', - nextStepText: 'Sonraki adım', - prevStepText: 'Önceki adım', - jumpText: 'Atla', - }, - imageUpload: { - uploadingText: 'Yükleniyor', - uploadfailedText: 'Yükleme başarısız oldu', - }, - pageContainer: { - failed: { - title: 'Sayfa bazı küçük sorunlar yaşıyor', - message: 'Daha sonra deneyeceğim', - }, - disconnected: { - title: 'Ağ biraz meşgul', - message: 'Düzeltmeye yardımcı olmak için parmağınızı hareket ettirin', - }, - empty: { - title: 'Burada hiçbir şey yok', - message: 'Diğerlerine bir göz atın', - }, - busy: { - title: 'Önümüzde trafik sıkışıklığı', - message: 'Yenilemeyi deneyin', - }, - }, -}; -export default trTR; diff --git a/compiled/wechat/src/_locale/vi-VN.js b/compiled/wechat/src/_locale/vi-VN.js deleted file mode 100644 index 52cd407a2..000000000 --- a/compiled/wechat/src/_locale/vi-VN.js +++ /dev/null @@ -1,62 +0,0 @@ -var viVN = { - // locales for all components - locale: 'vi-VN', - global: { - placeholder: 'Vui lòng chọn', - emptyText: 'Hiện tại không có dữ liệu', - okText: 'Xác định', - cancelText: 'Hủy bỏ', - }, - input: { - placeholder: 'Vui lòng nhậper', - }, - calendar: { - weekdayNames: [ - 'Thứ Hai', - 'Thứ ba', - 'Thứ Tư', - 'Thứ Năm', - 'Thứ Sáu', - 'Thứ Bảy', - 'Chủ nhật', - ], - today: 'Hôm nay', - start: 'Bắt đầu', - end: 'Kết thúc', - startAndEnd: 'Bắt đầu/Kết thúc', - format: 'MM/YYYY', - }, - rangePicker: { - startPlaceholder: 'Lựa chọn chưa bắt đầu', - endPlaceholder: 'Lựa chọn chưa hoàn thành', - }, - guideTour: { - gotItText: 'Biết rồi', - nextStepText: 'Bước tiếp theo', - prevStepText: 'Bước trước', - jumpText: 'Bỏ qua', - }, - imageUpload: { - uploadingText: 'Đang tải lên', - uploadfailedText: 'Tải lên không thành công', - }, - pageContainer: { - failed: { - title: 'Trang gặp phải một số vấn đề nhỏ', - message: 'Chờ một chút rồi thử xem', - }, - disconnected: { - title: 'Mạng hơi bận', - message: 'Di chuyển ngón tay của bạn để giúp khắc phục sự cố', - }, - empty: { - title: 'Ở đây không có gì cả', - message: 'Hãy xem những cái khác đi', - }, - busy: { - title: 'Tắc nghẽn phía trước', - message: 'Hãy thử làm mới', - }, - }, -}; -export default viVN; diff --git a/compiled/wechat/src/_locale/zh-CN.js b/compiled/wechat/src/_locale/zh-CN.js deleted file mode 100644 index aeee0e52b..000000000 --- a/compiled/wechat/src/_locale/zh-CN.js +++ /dev/null @@ -1,54 +0,0 @@ -var zhCN = { - // locales for all components - locale: 'zh-CN', - global: { - placeholder: '请选择', - emptyText: '暂无数据', - okText: '确定', - cancelText: '取消', - }, - input: { - placeholder: '请输入', - }, - calendar: { - weekdayNames: ['一', '二', '三', '四', '五', '六', '日'], - today: '今日', - start: '开始', - end: '结束', - startAndEnd: '开始/结束', - format: 'YYYY年MM月', - }, - rangePicker: { - startPlaceholder: '未选择', - endPlaceholder: '未选择', - }, - guideTour: { - gotItText: '知道了', - nextStepText: '下一步', - prevStepText: '上一步', - jumpText: '跳过', - }, - imageUpload: { - uploadingText: '上传中', - uploadfailedText: '上传失败', - }, - pageContainer: { - failed: { - title: '页面遇到一些小问题', - message: '待会来试试', - }, - disconnected: { - title: '网络有点忙', - message: '动动手指帮忙修复', - }, - empty: { - title: '这里什么也没有', - message: '看看其它吧', - }, - busy: { - title: '前方拥堵', - message: '刷新试试', - }, - }, -}; -export default zhCN; diff --git a/compiled/wechat/src/_locale/zh-HK.js b/compiled/wechat/src/_locale/zh-HK.js deleted file mode 100644 index 7c24b1f14..000000000 --- a/compiled/wechat/src/_locale/zh-HK.js +++ /dev/null @@ -1,54 +0,0 @@ -var zhHK = { - // locales for all components - locale: 'zh_HK', - global: { - placeholder: '請選擇', - emptyText: '暫無數據', - okText: '確定', - cancelText: '取消', - }, - input: { - placeholder: '請輸入', - }, - calendar: { - weekdayNames: ['一', '二', '三', '四', '五', '六', '日'], - today: '今日', - start: '開始', - end: '結束', - startAndEnd: '開始/結束', - format: 'YYYY年MM月', - }, - rangePicker: { - startPlaceholder: '未選擇', - endPlaceholder: '未選擇', - }, - guideTour: { - gotItText: '知道了', - nextStepText: '下一步', - prevStepText: '上一步', - jumpText: '跳過', - }, - imageUpload: { - uploadingText: '上傳中', - uploadfailedText: '上傳失敗', - }, - pageContainer: { - failed: { - title: '頁面遇到一些小問題', - message: '待會來試試', - }, - disconnected: { - title: '網絡有點忙', - message: '動動手指幫忙修復', - }, - empty: { - title: '這裡什麼也沒有', - message: '看看其它吧', - }, - busy: { - title: '前方擁堵', - message: '刷新試試', - }, - }, -}; -export default zhHK; diff --git a/compiled/wechat/src/_locale/zh-TW.js b/compiled/wechat/src/_locale/zh-TW.js deleted file mode 100644 index de51f5b2f..000000000 --- a/compiled/wechat/src/_locale/zh-TW.js +++ /dev/null @@ -1,54 +0,0 @@ -var zhTW = { - // locales for all components - locale: 'zh_TW', - global: { - placeholder: '請選擇', - emptyText: '暫無數據', - okText: '確定', - cancelText: '取消', - }, - input: { - placeholder: '請輸入', - }, - calendar: { - weekdayNames: ['一', '二', '三', '四', '五', '六', '日'], - today: '今日', - start: '開始', - end: '結束', - startAndEnd: '開始/結束', - format: 'YYYY年MM月', - }, - rangePicker: { - startPlaceholder: '未選擇', - endPlaceholder: '未選擇', - }, - guideTour: { - gotItText: '知道了', - nextStepText: '下一步', - prevStepText: '上一步', - jumpText: '跳過', - }, - imageUpload: { - uploadingText: '上傳中', - uploadfailedText: '上傳失敗', - }, - pageContainer: { - failed: { - title: '頁面遇到一些小問題', - message: '待會來試試', - }, - disconnected: { - title: '網路有點忙', - message: '動動手指幫忙修復', - }, - empty: { - title: '這裡什麼也沒有', - message: '看看其它吧', - }, - busy: { - title: '前方擁堵', - message: '刷新試試', - }, - }, -}; -export default zhTW; diff --git a/compiled/wechat/src/_util/arrow.wxs b/compiled/wechat/src/_util/arrow.wxs deleted file mode 100644 index 6f094ae13..000000000 --- a/compiled/wechat/src/_util/arrow.wxs +++ /dev/null @@ -1,14 +0,0 @@ -var arrowType = { - right: 'RightOutline', - up: 'UpOutline', - down: 'DownOutline' -}; -var getArrow = function getArrow(arrow) { - if (arrow === true) { - return arrowType.right; - } - return arrowType[arrow] || ''; -}; -module.exports = { - getArrow: getArrow -}; \ No newline at end of file diff --git a/compiled/wechat/src/_util/assert-component2.js b/compiled/wechat/src/_util/assert-component2.js deleted file mode 100644 index 9213ee610..000000000 --- a/compiled/wechat/src/_util/assert-component2.js +++ /dev/null @@ -1,13 +0,0 @@ -export function assertComponent2() { - if (typeof my === 'undefined') { - return; - } - var component2 = my.canIUse('component2'); - if (!component2) { - console.log('项目未开启 component2,无法使用 Ant Design Mini 组件库'); - console.log('请在 IDE 中的 详情 > 项目配置 中,勾选 启用 component2 编译 。'); - console.log('参考文档 https://mini.ant.design/guide/migration-v2'); - throw new Error('Ant Design Mini 组件库需要依赖 component2 特性'); - } -} -assertComponent2(); diff --git a/compiled/wechat/src/_util/base.js b/compiled/wechat/src/_util/base.js deleted file mode 100644 index cb0ff5c3b..000000000 --- a/compiled/wechat/src/_util/base.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/compiled/wechat/src/_util/compareVersion.js b/compiled/wechat/src/_util/compareVersion.js deleted file mode 100644 index ee1249dbb..000000000 --- a/compiled/wechat/src/_util/compareVersion.js +++ /dev/null @@ -1,23 +0,0 @@ -export function compareVersion(v1, v2) { - if (v1 === v2) - return 0; - var v1Arr = v1.split('.'); - var v2Arr = v2.split('.'); - var len = v1Arr.length < v2Arr.length ? v1Arr.length : v2Arr.length; - var i = 0; - while (i <= len) { - if (v1Arr[i] === v2Arr[i]) { - i++; - } - else if (!v1Arr[i] || !v2Arr[i]) { - return v1Arr.length > v2Arr.length ? 1 : -1; - } - else { - return Number(v1Arr[i]) === Number(v2Arr[i]) - ? 0 - : Number(v1Arr[i]) > Number(v2Arr[i]) - ? 1 - : -1; - } - } -} diff --git a/compiled/wechat/src/_util/console.js b/compiled/wechat/src/_util/console.js deleted file mode 100644 index b04ec8ac5..000000000 --- a/compiled/wechat/src/_util/console.js +++ /dev/null @@ -1,74 +0,0 @@ -export var EComponents; -(function (EComponents) { - EComponents["Alphabet"] = "Alphabet"; - EComponents["AmountInput"] = "AmountInput"; - EComponents["Badge"] = "Badge"; - EComponents["Button"] = "Button"; - EComponents["Checkbox"] = "Checkbox"; - EComponents["CheckboxGroup"] = "CheckboxGroup"; - EComponents["CheckboxItem"] = "CheckboxItem"; - EComponents["Collapse"] = "Collapse"; - EComponents["CollapseItem"] = "CollapseItem"; - EComponents["Container"] = "Container"; - EComponents["DatePicker"] = "DatePicker"; - EComponents["Filter"] = "Filter"; - EComponents["Footer"] = "Footer"; - EComponents["FooterEnd"] = "FooterEnd"; - EComponents["FooterImage"] = "FooterImage"; - EComponents["FooterLink"] = "FooterLink"; - EComponents["FooterTag"] = "FooterTag"; - EComponents["FooterText"] = "FooterText"; - EComponents["Form"] = "Form"; - EComponents["FormItem"] = "FormItem"; - EComponents["Grid"] = "Grid"; - EComponents["GuideModal"] = "GuideModal"; - EComponents["GuideItem"] = "GuideItem"; - EComponents["HorizontalScrollbar"] = "HorizontalScrollbar"; - EComponents["Icon"] = "Icon"; - EComponents["Input"] = "Input"; - EComponents["List"] = "List"; - EComponents["ListItem"] = "ListItem"; - EComponents["Loading"] = "Loading"; - EComponents["Mask"] = "Mask"; - EComponents["Modal"] = "Modal"; - EComponents["NoticeBar"] = "NoticeBar"; - EComponents["NoticeBarCapsule"] = "NoticeBarCapsule"; - EComponents["Pagination"] = "Pagination"; - EComponents["Picker"] = "Picker"; - EComponents["Popover"] = "Popover"; - EComponents["PopoverItem"] = "PopoverItem"; - EComponents["Popup"] = "Popup"; - EComponents["RadioGroup"] = "RadioGroup"; - EComponents["Radio"] = "Radio"; - EComponents["Result"] = "Result"; - EComponents["SafeArea"] = "SafeArea"; - EComponents["SearchBar"] = "SearchBar"; - EComponents["Selector"] = "Selector"; - EComponents["Stepper"] = "Stepper"; - EComponents["Steps"] = "Steps"; - EComponents["StepItem"] = "StepItem"; - EComponents["SwipeAction"] = "SwipeAction"; - EComponents["Switch"] = "Switch"; - EComponents["Tabs"] = "Tabs"; - EComponents["TabItem"] = "TabItem"; - EComponents["Tag"] = "Tag"; - EComponents["Terms"] = "Terms"; - EComponents["Textarea"] = "Textarea"; - EComponents["Tips"] = "Tips"; - EComponents["Title"] = "Title"; - EComponents["VerifyCode"] = "VerifyCode"; - EComponents["WhiteSpace"] = "WhiteSpace"; - EComponents["GuideTour"] = "GuideTour"; -})(EComponents || (EComponents = {})); -export var log = { - warn: function (component, message) { - var info = "[antd-mini: ".concat(component, "] \uD83D\uDCE1 ").concat(message); - // eslint-disable-next-line no-console - console.warn(info); - }, - error: function (component, message) { - var info = "[antd-mini: ".concat(component, "] \uD83D\uDCE1 ").concat(message); - // eslint-disable-next-line no-console - console.error(info); - }, -}; diff --git a/compiled/wechat/src/_util/dayjs/iso-weekday.js b/compiled/wechat/src/_util/dayjs/iso-weekday.js deleted file mode 100644 index 882db7781..000000000 --- a/compiled/wechat/src/_util/dayjs/iso-weekday.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * see https://github.com/iamkun/dayjs/blob/305f54099172ada45d10ba4c9bb5ec95e2a9d441/src/plugin/isoWeek/index.js#L37 - */ -export function isoWeekday(day) { - return day.day() || 7; -} diff --git a/compiled/wechat/src/_util/event.wxs b/compiled/wechat/src/_util/event.wxs deleted file mode 100644 index b7b1e6838..000000000 --- a/compiled/wechat/src/_util/event.wxs +++ /dev/null @@ -1,10 +0,0 @@ -function disableScrollEvent(event) { - event.preventDefault(); -} -function enableScrollEvent(event) { - event.stopPropagation(); -} -module.exports = { - disableScrollEvent: disableScrollEvent, - enableScrollEvent: enableScrollEvent -}; \ No newline at end of file diff --git a/compiled/wechat/src/_util/fmtEvent.js b/compiled/wechat/src/_util/fmtEvent.js deleted file mode 100644 index dfd26b0d7..000000000 --- a/compiled/wechat/src/_util/fmtEvent.js +++ /dev/null @@ -1,14 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -export default function fmtEvent(props, e) { - if (e === void 0) { e = {}; } - var dataset = {}; - for (var key in props) { - if (/data-/gi.test(key)) { - dataset[key.replace(/data-/gi, '')] = props[key]; - } - } - return Object.assign({}, e, { - currentTarget: { dataset: dataset }, - target: { dataset: dataset, targetDataset: dataset }, - }); -} diff --git a/compiled/wechat/src/_util/get.js b/compiled/wechat/src/_util/get.js deleted file mode 100644 index 87ae2485d..000000000 --- a/compiled/wechat/src/_util/get.js +++ /dev/null @@ -1,10 +0,0 @@ -export function get(obj, path, defaultValue) { - // If path is not an array, convert it to an array - if (!Array.isArray(path)) { - path = path.split('.').map(function (key) { return key.replace(/\[(\d+)]/g, '$1'); }); - } - // Use reduce to traverse the path - var result = path.reduce(function (acc, key) { return (acc && acc[key] !== undefined ? acc[key] : undefined); }, obj); - return result === undefined ? defaultValue : result; -} -export default get; diff --git a/compiled/wechat/src/_util/isPropsEmpty.wxs b/compiled/wechat/src/_util/isPropsEmpty.wxs deleted file mode 100644 index b2e44b421..000000000 --- a/compiled/wechat/src/_util/isPropsEmpty.wxs +++ /dev/null @@ -1,6 +0,0 @@ -function isPropsEmpty(propsValue) { - return [undefined, null].indexOf(propsValue) !== -1; -} -module.exports = { - isPropsEmpty: isPropsEmpty -}; \ No newline at end of file diff --git a/compiled/wechat/src/_util/jsapi/base.js b/compiled/wechat/src/_util/jsapi/base.js deleted file mode 100644 index 1d5ce568e..000000000 --- a/compiled/wechat/src/_util/jsapi/base.js +++ /dev/null @@ -1,14 +0,0 @@ -import { platform } from '../platform'; -export function implJsapi(impl) { - return function (args) { - if (platform() === 'wechat' && impl.wechat) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - return impl.wechat(wx, args); - } - if (platform() === 'alipay' && impl.alipay) { - return impl.alipay(my, args); - } - throw new Error('unsupported platform'); - }; -} diff --git a/compiled/wechat/src/_util/jsapi/choose-image.js b/compiled/wechat/src/_util/jsapi/choose-image.js deleted file mode 100644 index dfa2bd2f6..000000000 --- a/compiled/wechat/src/_util/jsapi/choose-image.js +++ /dev/null @@ -1,46 +0,0 @@ -import { implJsapi } from './base'; -export var chooseImage = implJsapi({ - wechat: function (instance, args) { - return new Promise(function (resolve, reject) { - /** - * @see https://developers.weixin.qq.com/minigame/dev/api/media/video/wx.chooseMedia.html - */ - instance.chooseMedia({ - mediaType: ['image'], - count: args.count, - sourceType: args.sourceType, - success: function (res) { - var tempFiles = res.tempFiles.map(function (file) { - return { - size: file.size, - path: file.tempFilePath, - }; - }); - resolve({ - tempFiles: tempFiles, - }); - }, - fail: function (err) { - reject(err); - }, - }); - }); - }, - alipay: function (instance, args) { - return new Promise(function (resolve, reject) { - /** - * @see https://opendocs.alipay.com/mini/api/media/image/my.chooseimage - */ - instance.chooseImage({ - count: args.count, - sourceType: args.sourceType, - success: function (res) { - resolve(res); - }, - fail: function (err) { - reject(err); - }, - }); - }); - }, -}); diff --git a/compiled/wechat/src/_util/jsapi/create-canvas-context.js b/compiled/wechat/src/_util/jsapi/create-canvas-context.js deleted file mode 100644 index 39f13fecc..000000000 --- a/compiled/wechat/src/_util/jsapi/create-canvas-context.js +++ /dev/null @@ -1,15 +0,0 @@ -import { implJsapi } from './base'; -export var createCanvasContext = implJsapi({ - wechat: function (instance, args) { - return new Promise(function (resolve) { - var res = instance.createCanvasContext(args[0], args[1]); - resolve(res); - }); - }, - alipay: function (instance, args) { - return new Promise(function (resolve) { - var res = instance.createCanvasContext(args[0]); - resolve(res); - }); - }, -}); diff --git a/compiled/wechat/src/_util/jsapi/get-instance-bounding-client-rect.js b/compiled/wechat/src/_util/jsapi/get-instance-bounding-client-rect.js deleted file mode 100644 index 0a9898e91..000000000 --- a/compiled/wechat/src/_util/jsapi/get-instance-bounding-client-rect.js +++ /dev/null @@ -1,16 +0,0 @@ -export function getInstanceBoundingClientRect(instance, selector) { - return new Promise(function (resolve) { - instance - .createSelectorQuery() - .select(selector) - .boundingClientRect() - .exec(function (ret) { - if (ret && ret[0]) { - resolve(ret[0]); - } - else { - resolve(null); - } - }); - }); -} diff --git a/compiled/wechat/src/_util/jsapi/get-system-info.js b/compiled/wechat/src/_util/jsapi/get-system-info.js deleted file mode 100644 index 26916bfbe..000000000 --- a/compiled/wechat/src/_util/jsapi/get-system-info.js +++ /dev/null @@ -1,27 +0,0 @@ -import { implJsapi } from './base'; -export var getSystemInfo = implJsapi({ - wechat: function (instance) { - return new Promise(function (resolve, reject) { - instance.getSystemInfo({ - success: function (res) { - resolve(res); - }, - fail: function (err) { - reject(err); - }, - }); - }); - }, - alipay: function (instance) { - return new Promise(function (resolve, reject) { - instance.getSystemInfo({ - success: function (res) { - resolve(res); - }, - fail: function () { - reject(); - }, - }); - }); - }, -}); diff --git a/compiled/wechat/src/_util/jsapi/load-font-face.js b/compiled/wechat/src/_util/jsapi/load-font-face.js deleted file mode 100644 index f6e31b006..000000000 --- a/compiled/wechat/src/_util/jsapi/load-font-face.js +++ /dev/null @@ -1,31 +0,0 @@ -import { implJsapi } from './base'; -export var loadFontFace = implJsapi({ - wechat: function (instance, options) { - return new Promise(function (resolve, reject) { - instance.loadFontFace({ - family: options.family, - source: options.source, - success: function (res) { - resolve(res); - }, - fail: function (err) { - reject(err); - }, - }); - }); - }, - alipay: function (instance, options) { - return new Promise(function (resolve, reject) { - instance.loadFontFace({ - family: options.family, - source: options.source, - success: function (res) { - resolve(res); - }, - fail: function (err) { - reject(err); - }, - }); - }); - }, -}); diff --git a/compiled/wechat/src/_util/platform.js b/compiled/wechat/src/_util/platform.js deleted file mode 100644 index 3f1f4ddd4..000000000 --- a/compiled/wechat/src/_util/platform.js +++ /dev/null @@ -1,44 +0,0 @@ -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { compareVersion } from './compareVersion'; -export function supportUndefinedProperty() { - var support = true; - support = false; - return support; -} -export function platform() { - var platform = 'unknown'; - platform = 'wechat'; - return platform; -} -export function resolveEventValue(value) { - if (platform() === 'wechat') { - return value.detail; - } - return value; -} -export function resolveEventValues(args1, args2) { - var rest = []; - for (var _i = 2; _i < arguments.length; _i++) { - rest[_i - 2] = arguments[_i]; - } - if (platform() === 'wechat') { - return args1.detail; - } - return __spreadArray([args1, args2], rest, true); -} -export function isOldSDKVersion() { - if (platform() === 'wechat') { - return false; - } - var SDKVersion = my.SDKVersion; - var isOldVersion = compareVersion(SDKVersion, '2.0.0') < 0; - return isOldVersion; -} diff --git a/compiled/wechat/src/_util/promisify.js b/compiled/wechat/src/_util/promisify.js deleted file mode 100644 index e834e23f5..000000000 --- a/compiled/wechat/src/_util/promisify.js +++ /dev/null @@ -1,28 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -/* - *@Description: 把所有my.xx的方法变成promise - */ -function promisifyMy(name) { - return function (options) { - return new Promise(function (resolve, reject) { - my[name](__assign(__assign({}, options), { success: resolve, fail: reject })); - }); - }; -} -export var chooseImage = promisifyMy('chooseImage'); -export var chooseVideo = promisifyMy('chooseVideo'); -export var chooseFileFromDisk = promisifyMy('chooseFileFromDisk'); -export var uploadFile = promisifyMy('uploadFile'); -export var getFileInfo = promisifyMy('getFileInfo'); -export var previewImage = promisifyMy('previewImage'); -export var downloadFile = promisifyMy('downloadFile'); diff --git a/compiled/wechat/src/_util/set.js b/compiled/wechat/src/_util/set.js deleted file mode 100644 index 84272e373..000000000 --- a/compiled/wechat/src/_util/set.js +++ /dev/null @@ -1,21 +0,0 @@ -export function set(obj, path, value) { - // If path is not an array, convert it to an array - if (!Array.isArray(path)) { - path = path.split('.').reduce(function (acc, key) { - key.split(/\[([^}]+)\]/g).forEach(function (k) { - if (k !== '') - acc.push(isNaN(k) ? k : Number(k)); - }); - return acc; - }, []); - } - // Traverse the object according to the path - path.slice(0, -1).reduce(function (acc, key, index) { - if (acc[key] === undefined) { - acc[key] = typeof path[index + 1] === 'number' ? [] : {}; - } - return acc[key]; - }, obj)[path[path.length - 1]] = value; - return obj; -} -export default set; diff --git a/compiled/wechat/src/_util/simply.js b/compiled/wechat/src/_util/simply.js deleted file mode 100644 index fda351b30..000000000 --- a/compiled/wechat/src/_util/simply.js +++ /dev/null @@ -1,145 +0,0 @@ -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -function removeNullProps(props) { - var newProps = {}; - for (var key in props) { - if (props[key] !== null) { - newProps[key] = props[key]; - } - } - return newProps; -} -function buildProperties(props) { - var newProperties = {}; - for (var key in props) { - var type = null; - switch (typeof props[key]) { - case 'string': - type = String; - break; - case 'number': - type = Number; - break; - case 'boolean': - type = Boolean; - break; - } - newProperties[key] = { - type: type, - value: props[key], - }; - } - return newProperties; -} -function mergeDefaultProps(defaultProps) { - if (defaultProps === void 0) { defaultProps = {}; } - return __assign({ className: '', style: '' }, defaultProps); -} -export var ComponentWithSignalStoreImpl = function (storeOptions, defaultProps, methods, data, mixins, instanceMethods) { - var storeBinder = new StoreBinder(storeOptions); - var defaultOnInit = function () { - storeBinder.init(this); - }; - var instanceMethodsCopy = __assign({}, instanceMethods); - var attachedBackup = instanceMethodsCopy.attached || (function () { }); - var detachedBackup = instanceMethodsCopy.detached || (function () { }); - instanceMethodsCopy.attached = function () { - defaultOnInit.call(this); - if (attachedBackup) { - attachedBackup.call(this); - } - }; - instanceMethodsCopy.detached = function () { - if (detachedBackup) { - detachedBackup.call(this); - } - storeBinder.dispose(); - }; - if (!instanceMethodsCopy.created) { - instanceMethodsCopy.created = defaultOnInit; - } - Component(__assign({ properties: buildProperties(mergeDefaultProps(defaultProps)), options: { - styleIsolation: 'shared', - multipleSlots: true, - virtualHost: true, - }, methods: methods, behaviors: mixins, data: data }, (instanceMethodsCopy || {}))); -}; -var StoreBinder = /** @class */ (function () { - function StoreBinder(storeOptions) { - this.storeOptions = storeOptions; - this.disposeStore = undefined; - } - /** - * 绑定和 store 的关系 - */ - StoreBinder.prototype.init = function (theThis) { - var _this = this; - var store = this.storeOptions.store(); - var disposes = Object.keys(this.storeOptions.mapState).map(function (key) { - return _this.storeOptions.updateHook(function () { - var _a; - theThis.setData((_a = {}, - _a[key] = _this.storeOptions.mapState[key]({ store: store }), - _a)); - }); - }); - theThis.$store = store; - this.disposeStore = function () { return disposes.forEach(function (d) { return d(); }); }; - }; - /** - * 释放和 store 的关系 - */ - StoreBinder.prototype.dispose = function () { - if (this.disposeStore) { - this.disposeStore(); - } - }; - return StoreBinder; -}()); -export { StoreBinder }; -function ComponentImpl(defaultProps, methods, data, mixins, instanceMethods) { - Component(__assign({ properties: buildProperties(mergeDefaultProps(defaultProps)), options: { - styleIsolation: 'shared', - multipleSlots: true, - virtualHost: true, - }, methods: methods, behaviors: mixins, data: data }, instanceMethods)); -} -export function triggerEvent(instance, eventName, value, e) { - // 首字母大写,然后加上 on - instance.triggerEvent(eventName.toLocaleLowerCase(), value); -} -export function triggerEventOnly(instance, eventName, e) { - // 首字母大写,然后加上 on - instance.triggerEvent(eventName.toLocaleLowerCase()); -} -export function triggerEventValues(instance, eventName, values, e) { - // 首字母大写,然后加上 on - instance.triggerEvent(eventName.toLocaleLowerCase(), values); -} -export function triggerCatchEvent(instance, eventName, e) { - instance.triggerEvent(eventName.toLocaleLowerCase()); -} -export function getValueFromProps(instance, propName) { - var value; - var properties = instance.properties; - if (!propName) { - return properties; - } - if (typeof propName === 'string') { - value = properties[propName]; - } - if (Array.isArray(propName)) { - value = propName.map(function (name) { return properties[name]; }); - } - return value; -} -export { ComponentWithSignalStoreImpl as ComponentWithSignalStore, ComponentImpl as Component, }; diff --git a/compiled/wechat/src/_util/store.js b/compiled/wechat/src/_util/store.js deleted file mode 100644 index b5fa62329..000000000 --- a/compiled/wechat/src/_util/store.js +++ /dev/null @@ -1,30 +0,0 @@ -import { signal } from '@preact/signals-core'; -import zhCN from '../_locale/zh-CN'; -var SharedStore = /** @class */ (function () { - function SharedStore() { - // 当前语种 - this.currentLocale = signal(zhCN); - // 当前主题 - this.currentTheme = signal('light'); - // 语种全局切换标记 - this.localeChangeFlag = signal(false); - // 主题全局切换标记 - this.themeChangeFlag = signal(false); - } - // 切换语言, 确保每个page只能切换一次 - SharedStore.prototype.switchLocale = function (locale) { - if (!this.localeChangeFlag.value && locale !== this.currentLocale.value) { - this.currentLocale.value = locale; - this.localeChangeFlag.value = true; - } - }; - // 切换主题, 确保每个page只能切换一次 - SharedStore.prototype.switchTheme = function (theme) { - if (!this.themeChangeFlag.value && theme !== this.currentTheme.value) { - this.currentTheme.value = theme; - this.themeChangeFlag.value = true; - } - }; - return SharedStore; -}()); -export default new SharedStore(); diff --git a/compiled/wechat/src/mixins/computed.js b/compiled/wechat/src/mixins/computed.js deleted file mode 100644 index f6e25a887..000000000 --- a/compiled/wechat/src/mixins/computed.js +++ /dev/null @@ -1,42 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import deepEqual from 'fast-deep-equal'; -import { getValueFromProps } from '../_util/simply'; -function computedData() { - var _this = this; - var nextData = this.computed(getValueFromProps(this)); - // 浅比较就行了 - var changedData = Object.keys(nextData).reduce(function (prev, item) { - // 移除 _ $ 开头的保留 props - if (item[0] === '_' || item[0] === '$') { - return prev; - } - if (typeof nextData[item] === 'function') { - return prev; - } - if (deepEqual(_this.data[item], nextData[item])) { - return prev; - } - // eslint-disable-next-line no-param-reassign - prev[item] = nextData[item]; - return prev; - }, {}); - if (Object.keys(changedData).length === 0) { - return; - } - this.setData(changedData); -} -export default function () { - var mixin = { - attached: function () { - computedData.call(this); - }, - observers: { - '**': function () { - computedData.call(this); - }, - }, - }; - // @ts-ignore - mixin = Behavior(mixin); - return mixin; -} diff --git a/compiled/wechat/src/mixins/value.js b/compiled/wechat/src/mixins/value.js deleted file mode 100644 index d9957240e..000000000 --- a/compiled/wechat/src/mixins/value.js +++ /dev/null @@ -1,118 +0,0 @@ -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -import { getValueFromProps } from '../_util/simply'; -function equal(a, b) { - if (a === b) { - return true; - } - if (a !== a && b !== b) { - return true; - } - return false; -} -export default (function (_a) { - var _b, _c; - var _d = _a === void 0 ? {} : _a, _e = _d.valueKey, valueKey = _e === void 0 ? 'value' : _e, _f = _d.defaultValueKey, defaultValueKey = _f === void 0 ? 'defaultValue' : _f, _g = _d.scopeKey, scopeKey = _g === void 0 ? 'mixin' : _g, _h = _d.transformValue, transformValue = _h === void 0 ? function (value) { return ({ - needUpdate: true, - value: value, - }); } : _h; - var mixin = { - data: (_b = {}, - _b[scopeKey] = { - value: undefined, - updated: false, - controlled: false, - }, - _b), - created: function () { - this.init(); - }, - observers: (_c = {}, - _c["".concat(valueKey)] = function (value) { - this.update(value, { - nextProps: this.properties, - }); - }, - _c), - attached: function () { - var value = this.properties[valueKey] !== null - ? this.properties[valueKey] - : this.properties[defaultValueKey]; - var needUpdate = this.update(value, { - nextProps: this.properties, - }).needUpdate; - if (!needUpdate) { - this.updateControlled(); - } - }, - methods: { - init: function () { - var value; - value = - getValueFromProps(this, valueKey) !== null - ? getValueFromProps(this, valueKey) - : getValueFromProps(this, defaultValueKey); - var needUpdate = this.update(value, { - nextProps: getValueFromProps(this), - }).needUpdate; - if (!needUpdate) { - this.updateControlled(); - } - }, - getValue: function (prevData) { - return (prevData || this.data)[scopeKey].value; - }, - isEqualValue: function (prevData) { - if (!prevData[scopeKey].updated) { - return true; - } - return equal(this.getValue(prevData), this.getValue()); - }, - isControlled: function () { - if ('controlled' in getValueFromProps(this)) { - return getValueFromProps(this, 'controlled'); - } - return getValueFromProps(this, valueKey) !== null; - }, - updateControlled: function () { - var _a; - this.setData((_a = {}, - _a[scopeKey] = { - controlled: this.isControlled(), - }, - _a)); - }, - update: function (val, extra) { - var _a; - var args = []; - for (var _i = 2; _i < arguments.length; _i++) { - args[_i - 2] = arguments[_i]; - } - var _b = transformValue.call.apply(transformValue, __spreadArray([this, val, extra], args, false)) || {}, needUpdate = _b.needUpdate, value = _b.value; - if (needUpdate) { - this.setData((_a = {}, - _a[scopeKey] = { - value: value, - updated: true, - controlled: this.isControlled(), - }, - _a)); - } - return { - needUpdate: needUpdate, - value: value, - }; - }, - }, - }; - // @ts-ignore - mixin = Behavior(mixin); - return mixin; -}); diff --git a/compiled/wechat/src/style/mixins/hairline.wxss b/compiled/wechat/src/style/mixins/hairline.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/style/themes/color.wxss b/compiled/wechat/src/style/themes/color.wxss deleted file mode 100644 index 3345444fd..000000000 --- a/compiled/wechat/src/style/themes/color.wxss +++ /dev/null @@ -1 +0,0 @@ -/* 给css变量的默认底色,用来兜底使用 */ diff --git a/compiled/wechat/src/style/themes/index.wxss b/compiled/wechat/src/style/themes/index.wxss deleted file mode 100644 index e69de29bb..000000000 diff --git a/compiled/wechat/src/style/themes/theme-black.wxss b/compiled/wechat/src/style/themes/theme-black.wxss deleted file mode 100644 index 1aec2361f..000000000 --- a/compiled/wechat/src/style/themes/theme-black.wxss +++ /dev/null @@ -1,375 +0,0 @@ -/* 深色主题 */ -:root, -page { - --color-brand1: #3086ff; - --color-border-faded: rgba(48, 134, 255, 0.9); - --color-brand2: #0a0a0a; - --color-link: #3f5980; - --color-wathet: #0d2543; - --color-orange: #e65a2b; - --color-yellow: #ffa930; - --color-green: #34b368; - --color-red: #ff4a58; - --color-text-primary: #c5cad1; - --color-text-secondary: #808080; - --color-text-assist: #616161; - --color-text-weak: #474747; - --color-text-weak-faded: rgba(71, 71, 71, 0.6); - --color-border: #2b2b2b; - --color-border-greycard: #444444; - --color-background2: #121212; - --color-background: #121212; - --color-card: #1a1a1a; - --color-card2: #222222; - --color-white-card: #2b2b2b; - --color-grey-card: #2b2b2b; - --color-black-card: #525252; - --color_text_secondary: #808080; - --color-white: #ffffff; - --color-black: #000000; - --color-black-fade: #000000; - --color-white-dynamic: #c5cad1; - --color-white-change: #000000; - --color-black-change: #ffffff; - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #444444; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - --popover-content-bg: rgba(255, 255, 255, 0.45); - --popover-content-color: #c5cad1; - --calendar-weekday-names-bg: #303030; - --button-disabled-opacity: 0.4; - --button-color: #3086ff; - --button-background-color: #1a1a1a; - --button-border-color: #3086ff; - --button-primary-border-color: #3086ff; - --button-primary-background-color: #3086ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #0d2543; - --button-primary-aide-color: #3086ff; - --button-default-aide-border-color: #121212; - --button-default-aide-background-color: #1a1a1a; - --button-default-aide-color: #c5cad1; - --button-primary-danger-background-color: #ff4a58; - --button-primary-danger-border-color: #ff4a58; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #1a1a1a; - --button-default-danger-border-color: #ff4a58; - --button-default-danger-color: #ff4a58; - --button-text-danger-color: #ff4a58; - --button-danger-default-color: #ff4a58; - --button-active-bg: rgba(255, 255, 255, 0.08); - --actionsheet-danger-color: #ff4a58; - --actionsheet-title-color: #616161; - --actionsheet-item-color: #c5cad1; - --actionsheet-item-active-bg: #2b2b2b; - --activesheet-item-cancel-bg: #121212; - --tabbar-bg: #1a1a1a; - --tabbar-item-color: #808080; - --tabbar-active-color: #3086ff; - --tabs-basic-color: #c5cad1; - --tabs-weaken-color: #616161; - --tabs-inverse-color: #1a1a1a; - --tabs-active-color: #3086ff; - --tabs-active-decorate-color: #3086ff; - --tabs-underline-border-color: #2b2b2b; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #121212; - --tabs-subtitle-color: #1a1a1a; - --tabs-count-color: #474747; - --tabs-badge-size: 28rpx; - --feedback-text-color: #c5cad1; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #121212; - --feedback-list-text-color: #c5cad1; - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #c5cad1; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #616161; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #3086ff; - --collapse-title-background-color: #1a1a1a; - --collapse-title-color: #c5cad1; - --collapse-title-icon-color: #474747; - --collapse-content-background-color: #1a1a1a; - --collapse-border-color: #2b2b2b; - --collapse-node-text-color: #616161; - --collapse-container-background-color: #1a1a1a; - --container-header-color: #c5cad1; - --container-color-text-assist: #616161; - --container-background-color: #1a1a1a; - --divider-text-color: #c5cad1; - --divider-border-color: #2b2b2b; - --empty-text-color: #c5cad1; - --empty-asisst-text-color: #616161; - --ant-grid-title-color: #c5cad1; - --ant-grid-description-color: #616161; - --ant-grid-border-color: #2b2b2b; - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #616161; - --guide-tour-dot-color: #616161; - --guide-tour-border-color: #2b2b2b; - --guide-tour-btn-color: #333333; - --index-bar-tip-background-color: #474747; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #616161; - --index-bar-active-color: #3086ff; - --input-item-color: #c5cad1; - --input-item-placeholder-color: #474747; - --input-item-clear-color: #616161; - --input-background-color: #1a1a1a; - --list-header-color: #616161; - --list-footer-color: #616161; - --list-background-color: #1a1a1a; - --list-content-color: #c5cad1; - --list-extra-brief-color: #616161; - --list-item-border-color: #2b2b2b; - --list-item-text-color: #474747; - --progress-stroke-color: #3086ff; - --progress-trail-color: #121212; - --progress-success-color: #34b368; - --progress-indicator-color: #c5cad1; - --progress-exception-color: #ff4a58; - --progress-assist-color: #616161; - --steps-non-active-bg: #444444; - --steps-title-color: #c5cad1; - --steps-desc-color: #616161; - --steps-default-bg: #3086ff; - --steps-finish-bg: #ff4a58; - --swipe-action-color: #ffffff; - --tag-primary-color: #3086ff; - --tag-warning-color: #e65a2b 橙色; - --tag-danger-color: #ff4a58; - --tag-success-color: #34b368; - --tag-primary-light-color: #0d2543; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - --checkbox-header-color: #616161; - --checkbox-border-color: #474747; - --checkbox-background-color: #3086ff; - --checkbox-disabled-background: #121212; - --checkbox-text-color: #c5cad1; - --checkbox-fake-icon-background-color: #1a1a1a; - --checklist-background-color: #3086ff; - --check-list-item-title-color: #c5cad1; - --check-list-item-background-color: #1a1a1a; - --check-list-item-hover-background-color: #2b2b2b; - --check-list-item-content-color: #c5cad1; - --check-list-item-description-color: #616161; - --range-picker-shadow-color: #000000; - --range-picker-item-color: #c5cad1; - --range-picker-active-color: #3086ff; - --range-picker-placeholder-color: #474747; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - --form-text-color: #474747; - --form-item-color: #808080; - --form-item-bg: #1a1a1a; - --form-error-color: #ff4a58; - --form-extra-color: #616161; - --form-asterisk-color: #ff3b30; - --image-upload-wrapper-background: #121212; - --image-upload-cover-background: rgba(0, 0, 0, 0.4); - --image-upload-text-color: #ffffff; - --image-upload-background-color: #1a1a1a; - --loading-text-color: #454955; - --loading-icon-light-color: #999; - --mask-background-color: rgba(0, 0, 0, 0.55); - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #c5cad1; - --number-key-board-none-text-color: #616161; - --number-key-board-iphonex-safe-background-color: #1a1a1a; - --number-key-board-background-color: #121212; - --number-key-board-border-color: #2b2b2b; - --number-key-board-transfer-color: #3086ff; - --number-key-board-transfer-color: #ffffff; - --picker-item-color: #c5cad1; - --picker-header-action-color: #3086ff; - --picker-placeholder-color: #474747; - --picker-header-color: #2b2b2b; - --picker-content-background-color: #1a1a1a; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.02); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.01); - --radio-header-color: #616161; - --radio-border-color: #474747; - --radio-background-color: #3086ff; - --radio-disabled-background: #121212; - --radio-text-color: #c5cad1; - --radio-fake-icon-background-color: #1a1a1a; - --radio-icon-color: #ffffff; - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #1a1a1a; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #444444; - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #4a4a4a; - --rare-words-keyboard-color: #c5cad1; - --rare-words-border-color: #2b2b2b; - --rare-words-kb-bg: #121212; - --rare-words-pinyin-key-color: #1a1a1a; - --rare-words-inner-bg: #474747; - --rare-words-active-color: #3086ff; - --rare-words-pinyin-color: #121212; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #808080; - --selector-background-color: #1a1a1a; - --selector-item-background: #121212; - --selector-item-active-background: #0d2543; - --selector-item-color: #c5cad1; - --selector-item-sub-color: #616161; - --selector-item-color: #3086ff; - --slider-default-primary-color: #3086ff; - --slider-track-bg: #1a1a1a; - --slider-fill-bg: #121212; - --slider-number-color: #c5cad1; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #121212; - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #444444; - --stepper-border-color: #444444; - --stepper-background-color: #1a1a1a; - --stepper-hover-bg: rgba(0, 0, 0, 0.92); - --switch-fill: #3086ff; - --switch-border-color: #2b2b2b; - --switch-loading-color: #3086ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #616161; - --modal-background-color: #1a1a1a; - --modal-title-color: #c5cad1; - --modal-content-color: #c5cad1; - --modal-close-text-color: #616161; - --color-background-popover: #404040; - --popover-bg: #1a1a1a; - --popover-text-color: #000000; - --popover-inner-color: #ff4a58; - --popup-background: #1a1a1a; - --popup-color: #c5cad1; - --popup-assit-color: #616161; - --popup-mask-close-bg: #000000; - --rate-active-icon: #ffa930; - --rate-icon-color: #2b2b2b; - --result-main-background: #1a1a1a; - --result-title-color: #ffffff; - --result-desc-color: #c5cad1; - --result-success-color: #3086ff; - --result-error-color: #ff544a; - --result-warning-color: #ff9c38; - --result-wait-color: #12b57e; - --skeleton-animation-25: #2b2b2b; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #2b2b2b; - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - --badge-text-color: #ffffff; - --badge-background-color: #ff4a58; - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff4a58; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #3086ff; - --notice-primary-background-color: #d0e4ff; - --notice-info-text-color: #ffffff; - --notice-info-background-color: #808080; - --page-container-background-color: #121212; - --typography-container-color: #c5cad1; - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #3086ff; - --table-item-color: #c5cad1; - --table-item-bg: #1a1a1a; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #c5cad1; - --sticky-check-bg: rgba(238, 238, 238, 0); - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #808080; - --voucher-action-btn-color: #ff4a58; - --voucher-action-bg: #ffffff; - --voucher-action-left-bg: #c5cad1; - --voucher-action-left-threshold-bg: #c5cad1; - --voucher-action-right-color: #c5cad1; - --voucher-action-right-title-color: #c5cad1; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #808080; - --ant-card-bg: #1a1a1a; - --ant-card-header-title-color: #c5cad1; - --ant-card-header-link-color: #616161; - --ant-card-fold-btn-color: #3086ff; - --ant-countdown-color: #808080; - --ant-countdown-number-color: #000000; - --ant-countdown-number-bg: #3086ff; - --select-contact-search-bar-focus-color: #3086ff; - --select-contact-search-cancel-color: #c5cad1; - --select-contact-wrap-loading-bg: #1a1a1a; - --select-contact-scroll-bg: #1a1a1a; - --select-contact-list-bg: #1a1a1a; - --select-contact-title-bg: #1a1a1a; - --select-contact-title-color: #999; - --select-contact-title-first-color: #c5cad1; - --select-contact-title-first-border: #2b2b2b; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #1a1a1a; - --select-contact-empty-color: #616161; - --select-contact-loading-bg: #616161; - --select-contact-display-light-color: #fa6300; - --number-input-background-color: #1a1a1a; - --number-input-title-color: #c5cad1; - --number-input-link-color: #3f5980; - --number-input-unit-color: #616161; - --number-input-border-color: #2b2b2b; - --number-input-prefix-color: #c5cad1; - --number-input-caret-color: #3086ff; - --number-input-quick-text-color: #3086ff; - --number-input-quick-border-color: #3086ff; - --postscript-background-color: #1a1a1a; - --postscript-title-color: #c5cad1; - --postscript-input-color: #c5cad1; - --postscript-caret-color: #3086ff; - --postscript-placeholder-color: #474747; - --postscript-quick-text-color: #808080; - --postscript-quick-border-color: #2b2b2b; -} diff --git a/compiled/wechat/src/style/themes/theme-mode.wxss b/compiled/wechat/src/style/themes/theme-mode.wxss deleted file mode 100644 index f5f55f6e7..000000000 --- a/compiled/wechat/src/style/themes/theme-mode.wxss +++ /dev/null @@ -1,789 +0,0 @@ -/* 浅色模式的css变量 */ -@media (prefers-color-scheme: light) { - :root, - page { - --color-brand1: #1677ff; - --color-brand1-faded: rgba(22, 119, 255, 0.1); - --color-brand1-faded-3: rgba(22, 119, 255, 0.3); - --color-brand2: #1677ff; - --color-link: #4b6b99; - --color-wathet: #e7f1ff; - --color-orange: #ff6430; - --color-orange-faded: rgba(255, 100, 48, 0.7); - --color-yellow: #ff9f18; - --color-green: #22b35e; - --color-green-faded: rgba(34, 179, 94, 0.7); - --color-red: #ff3141; - --color-red-faded: rgba(255, 49, 65, 0.7); - --color-text-primary: #333333; - --color-text-secondary: #666666; - --color-text-assist: #999999; - --color-text-weak: #cccccc; - --color-text-weak-faded: rgba(204, 204, 204, 0.6); - --color-border: #eeeeee; - --color-border-greycard: #e5e5e5; - --color-background2: #f0f3f7; - --color-background: #f5f5f5; - --color-card: #ffffff; - --color-card-faded-95: rgba(255, 255, 255, 0.05); - --color-card-faded-60: rgba(255, 255, 255, 0.4); - --color-card2: #ffffff; - --color-white-card: #ffffff; - --color-grey-card: #f5f5f5; - --color-black-card: #000000e6; - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: #000000; - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #ffffff; - --color-white-change: #ffffff; - --color-black-change: #000000; - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #e5e5e5; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - --button-disabled-opacity: 0.4; - --button-color: #1677ff; - --button-background-color: #ffffff; - --button-border-color: #1677ff; - --button-primary-border-color: #1677ff; - --button-primary-background-color: #1677ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #e7f1ff; - --button-primary-aide-color: #1677ff; - --button-default-aide-border-color: #f5f5f5; - --button-default-aide-background-color: #ffffff; - --button-default-aide-color: #333333; - --button-primary-danger-background-color: #ff3141; - --button-primary-danger-border-color: #ff3141; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #ffffff; - --button-default-danger-border-color: #ff3141; - --button-default-danger-color: #ff3141; - --button-text-danger-color: #ff3141; - --button-danger-default-color: #ff3141; - --button-active-bg: rgba(255, 255, 255, 0.08); - --button-inline-size: 30rpx; - --button-font-size: 38rpx; - --button-large-font-size: 38rpx; - --button-medium-font-size: 34rpx; - --button-small-font-size: 30rpx; - --button-icon-size: 44rpx; - --button-padding: 24rpx; - --button-large-padding: 24rpx; - --button-medium-padding-top: 16rpx; - --button-medium-padding-left: 24rpx; - --button-small-padding-top: 8rpx; - --button-small-padding-left: 24rpx; - --button-subtext-size: 24rpx; - --button-border-size: 2rpx; - --actionsheet-danger-color: #ff3141; - --actionsheet-title-color: #999999; - --actionsheet-item-color: #333333; - --actionsheet-item-active-bg: #eeeeee; - --activesheet-item-cancel-bg: #f5f5f5; - --icon-color: #333333; - --tabbar-bg: #ffffff; - --tabbar-item-color: #666666; - --tabbar-active-color: #1677ff; - --tabs-basic-color: #333333; - --tabs-weaken-color: #999999; - --tabs-inverse-color: #ffffff; - --tabs-active-color: #1677ff; - --tabs-active-decorate-color: #1677ff; - --tabs-underline-border-color: #eeeeee; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #f5f5f5; - --tabs-subtitle-color: #ffffff; - --tabs-count-color: #cccccc; - --tabs-badge-size: 28rpx; - --feedback-text-color: #333333; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #f5f5f5; - --feedback-list-text-color: #333333; - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #333333; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #999999; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #1677ff; - --collapse-title-background-color: #ffffff; - --collapse-title-color: #333333; - --collapse-title-icon-color: #cccccc; - --collapse-content-background-color: #ffffff; - --collapse-border-color: #eeeeee; - --collapse-node-text-color: #999999; - --collapse-container-background-color: #ffffff; - --container-header-color: #333333; - --container-color-text-assist: #999999; - --container-background-color: #ffffff; - --divider-text-color: #333333; - --divider-border-color: #e5e5e5; - --empty-text-color: #333333; - --empty-asisst-text-color: #999999; - --ant-grid-title-color: #333333; - --ant-grid-description-color: #999999; - --ant-grid-border-color: #eeeeee; - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #999999; - --guide-tour-dot-color: #999999; - --guide-tour-border-color: #eeeeee; - --guide-tour-btn-color: #333333; - --guide-tour-right-btn-color: #333333; - --index-bar-tip-background-color: #cccccc; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #999999; - --index-bar-active-color: #1677ff; - --input-item-color: #333333; - --input-item-placeholder-color: #cccccc; - --input-item-clear-color: #999999; - --input-background-color: #ffffff; - --list-header-color: #999999; - --list-footer-color: #999999; - --list-background-color: #ffffff; - --list-content-color: #333333; - --list-extra-brief-color: #999999; - --list-item-border-color: #eeeeee; - --list-item-text-color: #cccccc; - --progress-stroke-color: #1677ff; - --progress-trail-color: #f5f5f5; - --progress-success-color: #22b35e; - --progress-indicator-color: #333333; - --progress-exception-color: #ff3141; - --progress-assist-color: #999999; - --steps-non-active-bg: #e5e5e5; - --steps-title-color: #333333; - --steps-desc-color: #999999; - --steps-default-bg: #1677ff; - --steps-finish-bg: #ff3141; - --swipe-action-color: #ffffff; - --tag-primary-color: #1677ff; - --tag-warning-color: #ff6430; - --tag-danger-color: #ff3141; - --tag-success-color: #22b35e; - --tag-primary-light-color: #e7f1ff; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - --checkbox-header-color: #999999; - --checkbox-border-color: #cccccc; - --checkbox-background-color: #1677ff; - --checkbox-disabled-background: #f5f5f5; - --checkbox-text-color: #333333; - --checkbox-fake-icon-background-color: #ffffff; - --checklist-background-color: #1677ff; - --check-list-item-title-color: #333333; - --check-list-item-background-color: #ffffff; - --check-list-item-hover-background-color: #eeeeee; - --check-list-item-content-color: #333333; - --check-list-item-description-color: #999999; - --range-picker-shadow-color: #000000; - --range-picker-item-color: #333333; - --range-picker-active-color: #1677ff; - --range-picker-placeholder-color: #cccccc; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - --form-text-color: #cccccc; - --form-item-color: #666666; - --form-item-bg: #ffffff; - --form-error-color: #ff3141; - --form-extra-color: #999999; - --form-asterisk-color: #ff3b30; - --image-upload-cover-background: #ffffff; - --image-upload-wrapper-background: #f5f5f5; - --image-upload-background-color: #ffffff; - --image-upload-text-color: #ffffff; - --loading-text-color: #d8d8d8; - --loading-icon-light-color: rgba(255, 255, 255, 0.6); - --mask-background-color: rgba(0, 0, 0, 0.55); - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #333333; - --number-key-board-none-text-color: #999999; - --number-key-board-iphonex-safe-background-color: #ffffff; - --number-key-board-background-color: #f5f5f5; - --number-key-board-border-color: #eeeeee; - --number-key-board-transfer-bg: #1677ff; - --number-key-board-transfer-color: #ffffff; - --picker-item-color: #333333; - --picker-header-action-color: #1677ff; - --picker-placeholder-color: #cccccc; - --picker-header-color: #eeeeee; - --picker-content-background-color: #ffffff; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.05); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.4); - --radio-header-color: #999999; - --radio-border-color: #cccccc; - --radio-background-color: #1677ff; - --radio-disabled-background: #f5f5f5; - --radio-text-color: #333333; - --radio-fake-icon-background-color: #ffffff; - --radio-icon-color: #ffffff; - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #ffffff; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #e5e5e5; - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #d8d8d8; - --rare-words-keyboard-color: #333333; - --rare-words-border-color: #eeeeee; - --rare-words-kb-bg: #f5f5f5; - --rare-words-pinyin-key-color: #ffffff; - --rare-words-inner-bg: #cccccc; - --rare-words-active-color: #1677ff; - --rare-words-pinyin-color: #f5f5f5; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #666666; - --selector-background-color: #ffffff; - --selector-item-background: #f5f5f5; - --selector-item-active-background: #e7f1ff; - --selector-item-color: #333333; - --selector-item-sub-color: #999999; - --selector-item-color: #1677ff; - --slider-default-primary-color: #1677ff; - --slider-track-bg: #ffffff; - --slider-fill-bg: #f5f5f5; - --slider-number-color: #333333; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #f5f5f5; - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #e5e5e5; - --stepper-border-color: #e5e5e5; - --stepper-background-color: #ffffff; - --stepper-hover-bg: rgba(0, 0, 0, 0.08); - --stepper-input-font-color: #333333; - --switch-fill: #1677ff; - --switch-border-color: #eeeeee; - --switch-loading-color: #1677ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #999999; - --dialog-background-color: #ffffff; - --dialog-title-color: #333333; - --dialog-content-color: #333333; - --dialog-close-text-color: #999999; - --modal-background-color: #ffffff; - --modal-title-color: #333333; - --modal-content-color: #333333; - --modal-close-text-color: #999999; - --popover-color-background: #404040; - --popover-bg: #ffffff; - --popover-text-color: #000000; - --popover-inner-color: #ffffff; - --popup-background: #ffffff; - --popup-color: #333333; - --popup-assit-color: #999999; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - --rate-active-icon: #ff9f18; - --rate-icon-color: #eeeeee; - --result-main-background: #ffffff; - --result-title-color: #000000; - --result-desc-color: #333333; - --result-success-color: #1677ff; - --result-error-color: #ff3b30; - --result-warning-color: #ff8f1f; - --result-wait-color: #00b578; - --skeleton-animation-25: #eeeeee; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #eeeeee; - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - --badge-text-color: #ffffff; - --badge-background-color: #ff3141; - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff3141; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #1677ff; - --notice-primary-background-color: #d0e4ff; - --notice-info-text-color: #ffffff; - --notice-info-background-color: #666666; - --page-container-background-color: #f5f5f5; - --typography-container-color: #333333; - --pagination-area-background-color: #121212; - --pagination-move-background-color: #3086ff; - --table-item-color: #333333; - --table-item-bg: #ffffff; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #fff; - --sticky-check-bg: rgba(238, 238, 238, 0); - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #666; - --voucher-action-btn-color: #ff3141; - --voucher-action-bg: #fff; - --voucher-action-left-bg: #fff; - --voucher-action-left-threshold-bg: #fff; - --voucher-action-right-color: #fff; - --voucher-action-right-title-color: #fff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #666; - --ant-card-bg: #ffffff; - --ant-card-header-title-color: #333333; - --ant-card-header-link-color: #999999; - --ant-card-fold-btn-color: #1677ff; - --ant-countdown-color: #666; - --ant-countdown-number-color: #fff; - --ant-countdown-number-bg: #1677ff; - --search-bar-focus-color: #1677ff; - --select-contact-search-cancel-color: #333333; - --select-contact-loading-bg: #fff; - --select-contact-scroll-bg: #fff; - --select-contact-list-bg: #fff; - --select-contact-title-bg: #fff; - --select-contact-title-color: #999; - --select-contact-title-first-color: #333; - --select-contact-title-first-border: #eee; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #fff; - --select-contact-empty-color: #999; - --select-contact-loading-bg: #999; - --select-contact-display-light-color: #fa6300; - --number-input-background-color: #ffffff; - --number-input-title-color: #333333; - --number-input-link-color: #4b6b99; - --number-input-unit-color: #999999; - --number-input-border-color: #eeeeee; - --number-input-prefix-color: #333333; - --number-input-caret-color: #1677ff; - --number-input-quick-text-color: #1677ff; - --number-input-quick-border-color: #1677ff; - --postscript-background-color: #ffffff; - --postscript-title-color: #333; - --postscript-input-color: #333; - --postscript-caret-color: #1677ff; - --postscript-placeholder-color: #cccccc; - --postscript-quick-text-color: #666; - --postscript-quick-border-color: #eeeeee; - } -} -/* 深色模式的css变量 */ -@media (prefers-color-scheme: dark) { - :root, - page { - --color-brand1: #3086ff; - --color-border-faded: rgba(48, 134, 255, 0.9); - --color-brand2: #0a0a0a; - --color-link: #3f5980; - --color-wathet: #0d2543; - --color-orange: #e65a2b; - --color-yellow: #ffa930; - --color-green: #34b368; - --color-red: #ff4a58; - --color-text-primary: #c5cad1; - --color-text-secondary: #808080; - --color-text-assist: #616161; - --color-text-weak: #474747; - --color-text-weak-faded: rgba(71, 71, 71, 0.6); - --color-border: #2b2b2b; - --color-border-greycard: #444444; - --color-background2: #121212; - --color-background: #121212; - --color-card: #1a1a1a; - --color-card2: #222222; - --color-white-card: #2b2b2b; - --color-grey-card: #2b2b2b; - --color-black-card: #525252; - --color_text_secondary: #808080; - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: #000000; - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #c5cad1; - --color-white-change: #000000; - --color-black-change: #ffffff; - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #444444; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - --popover-content-bg: rgba(255, 255, 255, 0.45); - --popover-content-color: #c5cad1; - --button-disabled-opacity: 0.4; - --button-color: #3086ff; - --button-background-color: #1a1a1a; - --button-border-color: #3086ff; - --button-primary-border-color: #3086ff; - --button-primary-background-color: #3086ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #0d2543; - --button-primary-aide-color: #3086ff; - --button-default-aide-border-color: #121212; - --button-default-aide-background-color: #1a1a1a; - --button-default-aide-color: #c5cad1; - --button-primary-danger-background-color: #ff4a58; - --button-primary-danger-border-color: #ff4a58; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #1a1a1a; - --button-default-danger-border-color: #ff4a58; - --button-default-danger-color: #ff4a58; - --button-text-danger-color: #ff4a58; - --button-danger-default-color: #ff4a58; - --button-active-bg: rgba(255, 255, 255, 0.08); - --actionsheet-danger-color: #ff4a58; - --actionsheet-title-color: #616161; - --actionsheet-item-color: #c5cad1; - --actionsheet-item-active-bg: #2b2b2b; - --activesheet-item-cancel-bg: #121212; - --tabbar-bg: #1a1a1a; - --tabbar-item-color: #808080; - --tabbar-active-color: #3086ff; - --tabs-basic-color: #c5cad1; - --tabs-weaken-color: #616161; - --tabs-inverse-color: #1a1a1a; - --tabs-active-color: #3086ff; - --tabs-active-decorate-color: #3086ff; - --tabs-underline-border-color: #2b2b2b; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #121212; - --tabs-subtitle-color: #1a1a1a; - --tabs-count-color: #474747; - --tabs-badge-size: 28rpx; - --feedback-text-color: #c5cad1; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #1a1a1a; - --feedback-list-background-color: #121212; - --feedback-list-text-color: #c5cad1; - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #303030; - --calendar-default-color: #c5cad1; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #616161; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #3086ff; - --collapse-title-background-color: #1a1a1a; - --collapse-title-color: #c5cad1; - --collapse-title-icon-color: #474747; - --collapse-content-background-color: #1a1a1a; - --collapse-border-color: #2b2b2b; - --collapse-node-text-color: #616161; - --collapse-container-background-color: #1a1a1a; - --container-header-color: #c5cad1; - --container-color-text-assist: #616161; - --container-background-color: #1a1a1a; - --divider-text-color: #c5cad1; - --divider-border-color: #2b2b2b; - --empty-text-color: #c5cad1; - --empty-asisst-text-color: #616161; - --ant-grid-title-color: #c5cad1; - --ant-grid-description-color: #616161; - --ant-grid-border-color: #2b2b2b; - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #616161; - --guide-tour-dot-color: #616161; - --guide-tour-border-color: #2b2b2b; - --guide-tour-btn-color: #333333; - --index-bar-tip-background-color: #474747; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #616161; - --index-bar-active-color: #3086ff; - --input-item-color: #c5cad1; - --input-item-placeholder-color: #474747; - --input-item-clear-color: #616161; - --input-background-color: #1a1a1a; - --list-header-color: #616161; - --list-footer-color: #616161; - --list-background-color: #1a1a1a; - --list-content-color: #c5cad1; - --list-extra-brief-color: #616161; - --list-item-border-color: #2b2b2b; - --list-item-text-color: #474747; - --progress-stroke-color: #3086ff; - --progress-trail-color: #121212; - --progress-success-color: #34b368; - --progress-indicator-color: #c5cad1; - --progress-exception-color: #ff4a58; - --progress-assist-color: #616161; - --steps-non-active-bg: #444444; - --steps-title-color: #c5cad1; - --steps-desc-color: #616161; - --steps-default-bg: #3086ff; - --steps-finish-bg: #ff4a58; - --swipe-action-color: #ffffff; - --tag-primary-color: #3086ff; - --tag-warning-color: #e65a2b 橙色; - --tag-danger-color: #ff4a58; - --tag-success-color: #34b368; - --tag-primary-light-color: #0d2543; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - --checkbox-header-color: #616161; - --checkbox-border-color: #474747; - --checkbox-background-color: #3086ff; - --checkbox-disabled-background: #121212; - --checkbox-text-color: #c5cad1; - --checkbox-fake-icon-background-color: #1a1a1a; - --checklist-background-color: #3086ff; - --check-list-item-title-color: #c5cad1; - --check-list-item-background-color: #1a1a1a; - --check-list-item-hover-background-color: #2b2b2b; - --check-list-item-content-color: #c5cad1; - --check-list-item-description-color: #616161; - --range-picker-shadow-color: #000000; - --range-picker-item-color: #c5cad1; - --range-picker-active-color: #3086ff; - --range-picker-placeholder-color: #474747; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - --form-text-color: #474747; - --form-item-color: #808080; - --form-item-bg: #1a1a1a; - --form-error-color: #ff4a58; - --form-extra-color: #616161; - --form-asterisk-color: #ff3b30; - --image-upload-wrapper-background: #121212; - --image-upload-cover-background: rgba(0, 0, 0, 0.4); - --image-upload-text-color: #ffffff; - --image-upload-background-color: #1a1a1a; - --loading-text-color: #454955; - --loading-icon-light-color: #999; - --mask-background-color: rgba(0, 0, 0, 0.55); - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #c5cad1; - --number-key-board-none-text-color: #616161; - --number-key-board-iphonex-safe-background-color: #1a1a1a; - --number-key-board-background-color: #121212; - --number-key-board-border-color: #2b2b2b; - --number-key-board-transfer-bg: #3086ff; - --number-key-board-transfer-color: #ffffff; - --picker-item-color: #c5cad1; - --picker-header-action-color: #3086ff; - --picker-placeholder-color: #474747; - --picker-header-color: #2b2b2b; - --picker-content-background-color: #1a1a1a; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.02); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.01); - --radio-header-color: #616161; - --radio-border-color: #474747; - --radio-background-color: #3086ff; - --radio-disabled-background: #121212; - --radio-text-color: #c5cad1; - --radio-fake-icon-background-color: #1a1a1a; - --radio-icon-color: #ffffff; - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-item-bg: #444444; - --popover-list-badge-color: #ff411c; - --popover-list-content-color: #1a1a1a; - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #4a4a4a; - --rare-words-keyboard-color: #c5cad1; - --rare-words-border-color: #2b2b2b; - --rare-words-kb-bg: #121212; - --rare-words-pinyin-key-color: #1a1a1a; - --rare-words-inner-bg: #474747; - --rare-words-active-color: #3086ff; - --rare-words-pinyin-color: #121212; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #808080; - --selector-background-color: #1a1a1a; - --selector-item-background: #121212; - --selector-item-active-background: #0d2543; - --selector-item-color: #c5cad1; - --selector-item-sub-color: #616161; - --selector-item-color: #3086ff; - --slider-default-primary-color: #3086ff; - --slider-track-bg: #1a1a1a; - --slider-fill-bg: #121212; - --slider-number-color: #c5cad1; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #121212; - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #444444; - --stepper-border-color: #444444; - --stepper-background-color: #1a1a1a; - --stepper-hover-bg: rgba(0, 0, 0, 0.92); - --stepper-input-font-color: #ffffff; - --switch-fill: #3086ff; - --switch-border-color: #2b2b2b; - --switch-loading-color: #3086ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #616161; - --dialog-background-color: #1a1a1a; - --dialog-title-color: #c5cad1; - --dialog-content-color: #c5cad1; - --dialog-close-text-color: #616161; - --modal-background-color: #1a1a1a; - --modal-title-color: #c5cad1; - --modal-content-color: #c5cad1; - --modal-close-text-color: #616161; - --popover-color-background: #404040; - --popover-bg: #1a1a1a; - --popover-text-color: #ffffff; - --popover-inner-color: #ffffff; - --popup-background: #1a1a1a; - --popup-color: #c5cad1; - --popup-assit-color: #616161; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - --rate-active-icon: #ffa930; - --rate-icon-color: #2b2b2b; - --result-main-background: #1a1a1a; - --result-title-color: #ffffff; - --result-desc-color: #c5cad1; - --result-success-color: #3086ff; - --result-error-color: #ff544a; - --result-warning-color: #ff9c38; - --result-wait-color: #12b57e; - --skeleton-animation-25: #2b2b2b; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #2b2b2b; - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - --badge-text-color: #ffffff; - --badge-background-color: #ff4a58; - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff4a58; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #3086ff; - --notice-primary-background-color: #d0e4ff; - --notice-info-text-color: #ffffff; - --notice-info-background-color: #808080; - --page-container-background-color: #121212; - --typography-container-color: #c5cad1; - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #3086ff; - --table-item-color: #c5cad1; - --table-item-bg: #1a1a1a; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #c5cad1; - --sticky-check-bg: rgba(238, 238, 238, 0); - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #808080; - --voucher-action-btn-color: #ff4a58; - --voucher-action-bg: #ffffff; - --voucher-action-left-bg: #ffffff; - --voucher-action-left-threshold-bg: #ffffff; - --voucher-action-right-color: #ffffff; - --voucher-action-right-title-color: #ffffff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #808080; - --ant-card-bg: #1a1a1a; - --ant-card-header-title-color: #c5cad1; - --ant-card-header-link-color: #616161; - --ant-card-fold-btn-color: #3086ff; - --ant-countdown-color: #808080; - --ant-countdown-number-color: #000000; - --ant-countdown-number-bg: #3086ff; - --select-contact-search-bar-focus-color: #3086ff; - --select-contact-search-cancel-color: #c5cad1; - --select-contact-wrap-loading-bg: #1a1a1a; - --select-contact-scroll-bg: #1a1a1a; - --select-contact-list-bg: #1a1a1a; - --select-contact-title-bg: #1a1a1a; - --select-contact-title-color: #999; - --select-contact-title-first-color: #c5cad1; - --select-contact-title-first-border: #2b2b2b; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #1a1a1a; - --select-contact-empty-color: #616161; - --select-contact-loading-bg: #616161; - --select-contact-display-light-color: #fa6300; - --number-input-background-color: #1a1a1a; - --number-input-title-color: #c5cad1; - --number-input-link-color: #3f5980; - --number-input-unit-color: #616161; - --number-input-border-color: #2b2b2b; - --number-input-prefix-color: #c5cad1; - --number-input-caret-color: #3086ff; - --number-input-quick-text-color: #3086ff; - --number-input-quick-border-color: #3086ff; - --postscript-background-color: #1a1a1a; - --postscript-title-color: #c5cad1; - --postscript-input-color: #c5cad1; - --postscript-caret-color: #3086ff; - --postscript-placeholder-color: #474747; - --postscript-quick-text-color: #808080; - --postscript-quick-border-color: #2b2b2b; - } -} diff --git a/compiled/wechat/src/style/variables.wxss b/compiled/wechat/src/style/variables.wxss deleted file mode 100644 index 7a0aa112c..000000000 --- a/compiled/wechat/src/style/variables.wxss +++ /dev/null @@ -1,399 +0,0 @@ -/* default主题,浅色主题 */ -:root, -page { - --color-brand1: #1677ff; - --color-brand1-faded: rgba(22, 119, 255, 0.1); - --color-brand1-faded-3: rgba(22, 119, 255, 0.3); - --color-brand2: #1677ff; - --color-link: #4b6b99; - --color-wathet: #e7f1ff; - --color-orange: #ff6430; - --color-orange-faded: rgba(255, 100, 48, 0.7); - --color-yellow: #ff9f18; - --color-green: #22b35e; - --color-green-faded: rgba(34, 179, 94, 0.7); - --color-red: #ff3141; - --color-red-faded: rgba(255, 49, 65, 0.7); - --color-text-primary: #333333; - --color-text-assist: #999999; - --color-text-weak: #cccccc; - --color-text-weak-faded: rgba(204, 204, 204, 0.6); - --color-border: #eeeeee; - --color-border-greycard: #e5e5e5; - --color-background2: #f0f3f7; - --color-background: #f5f5f5; - --color-card: #ffffff; - --color-card-faded-95: rgba(255, 255, 255, 0.05); - --color-card-faded-60: rgba(255, 255, 255, 0.4); - --color-card2: #ffffff; - --color-white-card: #ffffff; - --color-grey-card: #f5f5f5; - --color-black-card: #000000e6; - --color-text-secondary: #666666; - --color-white: #ffffff; - --color-white-faded: rgba(255, 255, 255, 0.08); - --color-black: #000000; - --color-black-fade: #000000; - --color-black-fade-20: rgba(0, 0, 0, 0.2); - --color-black-fade-10: rgba(0, 0, 0, 0.1); - --color-black-fade-8: rgba(0, 0, 0, 0.08); - --color-white-dynamic: #ffffff; - --color-white-change: #ffffff; - --color-black-change: #000000; - --color-golden-2: #fff3d9; - --color-golden-3: #fff9ed; - --color-tangerine-1: #ff6010; - --color-tangerine-2: #ffece3; - --color-grey-2: #e5e5e5; - --color-text-warning: #ff3b30; - --color-orange-1: #ff8f1f; - --color-orange-2: #ffefdf; - --color-pomonagreen-1: #00b578; - --color-pomonagree-2: #d4fff1; - --size-radius-xs: 8rpx; - --size-radius-s: 16rpx; - --size-radius-m: 24rpx; - --size-radius-l: 32rpx; - --size-radius-xl: 40rpx; - --size-radius-xxl: 48rpx; - --size-space-page-margin: 16rpx; - --size-space1: 4rpx; - --opacity-press: 0.08; - --opacity-disabled: 0.4; - --opacity-mask: 0.55; - --opacity-module: 0.9; - --size-font1: 22rpx; - --size-font2: 24rpx; - --size-font3: 26rpx; - --size-font4: 28rpx; - --size-font5: 30rpx; - --size-font6: 32rpx; - --size-font7: 34rpx; - --size-font8: 36rpx; - --size-font9: 40rpx; - --size-font10: 48rpx; - --size-font11: 56rpx; - --size-font12: 64rpx; - --button-disabled-opacity: 0.4; - --button-color: #1677ff; - --button-background-color: #ffffff; - --button-border-color: #1677ff; - --button-primary-border-color: #1677ff; - --button-primary-background-color: #1677ff; - --button-primary-color: #ffffff; - --button-primary-aide-border-color: #e7f1ff; - --button-primary-aide-color: #1677ff; - --button-default-aide-border-color: #f5f5f5; - --button-default-aide-background-color: #ffffff; - --button-default-aide-color: #333333; - --button-primary-danger-background-color: #ff3141; - --button-primary-danger-border-color: #ff3141; - --button-primary-danger-color: #ffffff; - --button-default-danger-background-color: #ffffff; - --button-default-danger-border-color: #ff3141; - --button-default-danger-color: #ff3141; - --button-text-danger-color: #ff3141; - --button-danger-default-color: #ff3141; - --button-active-bg: rgba(255, 255, 255, 0.08); - --button-inline-size: 30rpx; - --button-font-size: 38rpx; - --button-large-font-size: 38rpx; - --button-medium-font-size: 34rpx; - --button-small-font-size: 30rpx; - --button-icon-size: 44rpx; - --button-padding: 24rpx; - --button-large-padding: 24rpx; - --button-medium-padding-top: 16rpx; - --button-medium-padding-left: 24rpx; - --button-small-padding-top: 8rpx; - --button-small-padding-left: 24rpx; - --button-subtext-size: 24rpx; - --button-border-size: 2rpx; - --actionsheet-danger-color: #ff3141; - --actionsheet-title-color: #999999; - --actionsheet-item-color: #333333; - --actionsheet-item-active-bg: #eeeeee; - --activesheet-item-cancel-bg: #f5f5f5; - --tabbar-bg: #ffffff; - --tabbar-item-color: #666666; - --tabbar-active-color: #1677ff; - --tabs-basic-color: #333333; - --tabs-weaken-color: #999999; - --tabs-inverse-color: #ffffff; - --tabs-active-color: #1677ff; - --tabs-active-decorate-color: #1677ff; - --tabs-underline-border-color: #eeeeee; - --tabs-plus-color: #000000; - --tabs-capsule-title-bg: #f5f5f5; - --tabs-subtitle-color: #ffffff; - --tabs-count-color: #cccccc; - --tabs-badge-size: 28rpx; - --feedback-text-color: #333333; - --feedback-background-color: rgba(216, 216, 216, 0.42); - --feedback-mask-color: rgba(0, 0, 0, 0.25); - --feedback-content-background-color: #ffffff; - --feedback-list-background-color: #f5f5f5; - --feedback-list-text-color: #333333; - --calendar-cell-disabled-opacity: 0.4; - --calendar-weekday-names-bg: #f8f8f8; - --calendar-default-color: #333333; - --calendar-selected-color: rgba(22, 119, 255, 0.1); - --calendar-assist-color: #999999; - --calendar-selected-end-color: #ffffff; - --calendar-selected-color: #1677ff; - --collapse-title-background-color: #ffffff; - --collapse-title-color: #333333; - --collapse-title-icon-color: #cccccc; - --collapse-content-background-color: #ffffff; - --collapse-border-color: #eeeeee; - --collapse-node-text-color: #999999; - --collapse-container-background-color: #ffffff; - --container-header-color: #333333; - --container-color-text-assist: #999999; - --container-background-color: #ffffff; - --divider-text-color: #333333; - --divider-border-color: #e5e5e5; - --empty-text-color: #333333; - --empty-asisst-text-color: #999999; - --ant-grid-title-color: #333333; - --ant-grid-description-color: #999999; - --ant-grid-border-color: #eeeeee; - --guide-tour-text-color: #ffffff; - --guide-tour-clear-color: #999999; - --guide-tour-dot-color: #999999; - --guide-tour-border-color: #eeeeee; - --guide-tour-btn-color: #333333; - --index-bar-tip-background-color: #cccccc; - --index-bar-text-color: #ffffff; - --index-bar-assist-color: #999999; - --index-bar-active-color: #1677ff; - --input-item-color: #333333; - --input-item-placeholder-color: #cccccc; - --input-item-clear-color: #999999; - --input-background-color: #ffffff; - --list-header-color: #999999; - --list-footer-color: #999999; - --list-background-color: #ffffff; - --list-content-color: #333333; - --list-extra-brief-color: #999999; - --list-item-border-color: #eeeeee; - --list-item-text-color: #cccccc; - --progress-stroke-color: #1677ff; - --progress-trail-color: #f5f5f5; - --progress-success-color: #22b35e; - --progress-indicator-color: #333333; - --progress-exception-color: #ff3141; - --progress-assist-color: #999999; - --steps-non-active-bg: #e5e5e5; - --steps-title-color: #333333; - --steps-desc-color: #999999; - --steps-default-bg: #1677ff; - --steps-finish-bg: #ff3141; - --swipe-action-color: #ffffff; - --tag-primary-color: #1677ff; - --tag-warning-color: #ff6430; - --tag-danger-color: #ff3141; - --tag-success-color: #22b35e; - --tag-primary-light-color: #e7f1ff; - --tag-warning-light-color: #ffefdf; - --tag-danger-light-color: #ffece3; - --tag-success-light-color: #d4fff1; - --tag-base-color: #ffffff; - --tag-primary-color-faded: rgba(22, 119, 255, 0.3); - --tag-warning-color-faded: rgba(255, 100, 48, 0.7); - --tag-danger-color-faded: rgba(255, 49, 65, 0.7); - --tag-success-color-faded: rgba(34, 179, 94, 0.7); - --checkbox-header-color: #999999; - --checkbox-border-color: #cccccc; - --checkbox-background-color: #1677ff; - --checkbox-disabled-background: #f5f5f5; - --checkbox-text-color: #333333; - --checkbox-fake-icon-background-color: #ffffff; - --checklist-background-color: #1677ff; - --check-list-item-title-color: #333333; - --check-list-item-background-color: #ffffff; - --check-list-item-hover-background-color: #eeeeee; - --check-list-item-content-color: #333333; - --check-list-item-description-color: #999999; - --range-picker-shadow-color: #000000; - --range-picker-item-color: #333333; - --range-picker-active-color: #1677ff; - --range-picker-placeholder-color: #cccccc; - --range-picker-shadow-color-faded: rgba(0, 0, 0, 0.9); - --form-text-color: #cccccc; - --form-item-color: #666666; - --form-item-bg: #ffffff; - --form-error-color: #ff3141; - --form-extra-color: #999999; - --form-asterisk-color: #ff3b30; - --image-upload-cover-background: #ffffff; - --image-upload-wrapper-background: #f5f5f5; - --image-upload-background-color: #ffffff; - --image-upload-text-color: #ffffff; - --loading-text-color: #d8d8d8; - --loading-icon-light-color: rgba(255, 255, 255, 0.6); - --mask-background-color: rgba(0, 0, 0, 0.55); - --number-key-board-active-background-color: #d3d3d3; - --number-key-board-text-color: #333333; - --number-key-board-none-text-color: #999999; - --number-key-board-iphonex-safe-background-color: #ffffff; - --number-key-board-background-color: #f5f5f5; - --number-key-board-border-color: #eeeeee; - --number-key-board-transfer-bg: #1677ff; - --number-key-board-transfer-color: #ffffff; - --picker-item-color: #333333; - --picker-header-action-color: #1677ff; - --picker-placeholder-color: #cccccc; - --picker-header-color: #eeeeee; - --picker-content-background-color: #ffffff; - --picker-mask-bg-faded-95: rgba(255, 255, 255, 0.05); - --picker-mask-bg-faded-60: rgba(255, 255, 255, 0.4); - --radio-header-color: #999999; - --radio-border-color: #cccccc; - --radio-background-color: #1677ff; - --radio-disabled-background: #f5f5f5; - --radio-text-color: #333333; - --radio-fake-icon-background-color: #ffffff; - --radio-icon-color: #ffffff; - --popover-list-content-bg: rgba(0, 0, 0, 0.93); - --popover-list-content-color: #ffffff; - --popover-list-badge-color: #ff411c; - --popover-list-item-bg: #e5e5e5; - --rare-words-bg: rgba(0, 0, 0, 0.45); - --rare-keyboard-bg: #d8d8d8; - --rare-words-keyboard-color: #333333; - --rare-words-border-color: #eeeeee; - --rare-words-kb-bg: #f5f5f5; - --rare-words-pinyin-key-color: #ffffff; - --rare-words-inner-bg: #cccccc; - --rare-words-active-color: #1677ff; - --rare-words-pinyin-color: #f5f5f5; - --rare-words-keyboard-bg: #4a4a4a; - --rare-words-item-tips-color: #666666; - --selector-background-color: #ffffff; - --selector-item-background: #f5f5f5; - --selector-item-active-background: #e7f1ff; - --selector-item-color: #333333; - --selector-item-sub-color: #999999; - --selector-item-color: #1677ff; - --slider-default-primary-color: #1677ff; - --slider-track-bg: #ffffff; - --slider-fill-bg: #f5f5f5; - --slider-number-color: #333333; - --slide-block-bg: #ffffff; - --slide-block-shadow: rgba(0, 0, 0, 0.12); - --slide-back-bg: #f5f5f5; - --stepper-handler-tap-bg: #ddd; - --stepper-handler-border-color: #e5e5e5; - --stepper-border-color: #e5e5e5; - --stepper-background-color: #ffffff; - --stepper-hover-bg: rgba(0, 0, 0, 0.08); - --stepper-input-font-color: #333333; - --switch-fill: #1677ff; - --switch-border-color: #eeeeee; - --switch-loading-color: #1677ff; - --switch-handle-bg: #ffffff; - --switch-inner-color: #999999; - --dialog-background-color: #ffffff; - --dialog-title-color: #333333; - --dialog-content-color: #333333; - --dialog-close-text-color: #999999; - --modal-background-color: #ffffff; - --modal-title-color: #333333; - --modal-content-color: #333333; - --modal-close-text-color: #999999; - --popover-color-background: #404040; - --popover-bg: #ffffff; - --popover-text-color: #000000; - --popover-inner-color: #ffffff; - --popup-background: #ffffff; - --popup-color: #333333; - --popup-assit-color: #999999; - --popup-mask-close-bg: rgba(0, 0, 0, 0); - --rate-active-icon: #ff9f18; - --rate-icon-color: #eeeeee; - --result-main-background: #ffffff; - --result-title-color: #000000; - --result-desc-color: #333333; - --result-success-color: #1677ff; - --result-error-color: #ff3b30; - --result-warning-color: #ff8f1f; - --result-wait-color: #00b578; - --skeleton-animation-25: #eeeeee; - --skeleton-animation-37: rgba(204, 204, 204, 0.6); - --skeleton-animation-63: #eeeeee; - --toast-default-bg: rgba(0, 0, 0, 0.75); - --toast-default-color: #ffffff; - --badge-text-color: #ffffff; - --badge-background-color: #ff3141; - --notice-background-color: #fff9ed; - --notice-border-color: #fff3d9; - --notice-color: #ff6010; - --notice-error-border-color: #fff3d9; - --notice-error-color: #ffffff; - --notice-error-background-color: #ff3141; - --notice-primary-border-color: rgba(22, 119, 255, 0.72); - --notice-primary-color: #1677ff; - --notice-primary-background-color: #d0e4ff; - --notice-info-text-color: #ffffff; - --notice-info-background-color: #666666; - --page-container-background-color: #f5f5f5; - --typography-container-color: #333333; - --pagination-area-background-color: #f5f5f5; - --pagination-move-background-color: #1677ff; - --table-item-color: #333333; - --table-item-bg: #ffffff; - --table-shadow-color: rgba(5, 5, 5, 0.06); - --table-empty-bg: #fff; - --sticky-check-bg: rgba(238, 238, 238, 0); - --voucher-background-image-start: rgba(255, 255, 255, 0); - --voucher-background-image-end: #fff; - --voucher-multi-money-color: #ff3b30; - --voucher-threshold-color: #666; - --voucher-action-btn-color: #ff3141; - --voucher-action-bg: #fff; - --voucher-action-left-bg: #fff; - --voucher-action-left-threshold-bg: #fff; - --voucher-action-right-color: #fff; - --voucher-action-right-title-color: #fff; - --voucher-action-right-desc-color: rgba(255, 255, 255, 0.8); - --voucher-item-right-title-color: #383939; - --voucher-item-right-title-color: #666; - --ant-card-bg: #ffffff; - --ant-card-header-title-color: #333333; - --ant-card-header-link-color: #999999; - --ant-card-fold-btn-color: #1677ff; - --ant-countdown-color: #666; - --ant-countdown-number-color: #ffffff; - --ant-countdown-number-bg: #1677ff; - --select-contact-search-bar-focus-color: #1677ff; - --select-contact-search-cancel-color: #333333; - --select-contact-wrap-loading-bg: #fff; - --select-contact-scroll-bg: #fff; - --select-contact-list-bg: #fff; - --select-contact-list-color: #999; - --select-contact-title-first-color: #333; - --select-contact-title-first-border: #eee; - --select-contact-tag-color: #ff6010; - --select-contact-tag-border: #ffcfb7; - --select-contact-empty-bg: #fff; - --select-contact-empty-color: #999; - --select-contact-loading-bg: #999; - --select-contact-display-light-color: #fa6300; - --number-input-background-color: #ffffff; - --number-input-title-color: #333333; - --number-input-link-color: #4b6b99; - --number-input-unit-color: #999999; - --number-input-border-color: #eeeeee; - --number-input-prefix-color: #333333; - --number-input-caret-color: #1677ff; - --number-input-quick-text-color: #1677ff; - --number-input-quick-border-color: #1677ff; - --postscript-background-color: #ffffff; - --postscript-title-color: #333; - --postscript-input-color: #333; - --postscript-caret-color: #1677ff; - --postscript-placeholder-color: #cccccc; - --postscript-quick-text-color: #666; - --postscript-quick-border-color: #eeeeee; -} diff --git a/compiled/alipay/demo/app.js b/config/alipay/app.js similarity index 100% rename from compiled/alipay/demo/app.js rename to config/alipay/app.js diff --git a/compiled/alipay/demo/app.json b/config/alipay/app.json similarity index 100% rename from compiled/alipay/demo/app.json rename to config/alipay/app.json diff --git a/compiled/alipay/demo/app.less b/config/alipay/app.less similarity index 100% rename from compiled/alipay/demo/app.less rename to config/alipay/app.less diff --git a/compiled/alipay/demo/mini.project.json b/config/alipay/mini.project.json similarity index 100% rename from compiled/alipay/demo/mini.project.json rename to config/alipay/mini.project.json diff --git a/compiled/wechat/app.js b/config/wechat/app.js similarity index 100% rename from compiled/wechat/app.js rename to config/wechat/app.js diff --git a/compiled/wechat/app.json b/config/wechat/app.json similarity index 100% rename from compiled/wechat/app.json rename to config/wechat/app.json diff --git a/compiled/wechat/app.wxss b/config/wechat/app.wxss similarity index 100% rename from compiled/wechat/app.wxss rename to config/wechat/app.wxss diff --git a/compiled/wechat/package.json b/config/wechat/package.json similarity index 100% rename from compiled/wechat/package.json rename to config/wechat/package.json diff --git a/package.json b/package.json index 197d71f37..eb49656ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd-mini", - "version": "3.0.1", + "version": "3.0.2-beta.2", "description": "antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。", "miniprogram": "compiled/wechat/src", "scripts": { diff --git a/scripts/mini-compiler.ts b/scripts/mini-compiler.ts index 7c09c4340..84f9af766 100644 --- a/scripts/mini-compiler.ts +++ b/scripts/mini-compiler.ts @@ -387,6 +387,14 @@ export async function compileAntdMini(watch: boolean) { assets: ['md', 'js', 'json'], buildOption: wechatBuildOption, }); + miniCompiler({ + tsconfig: resolve(__dirname, '..', 'tsconfig.wechat.json'), + source: resolve(__dirname, '..', 'config', 'wechat'), + dest: resolve(__dirname, '..', 'compiled', 'wechat'), + watch, + assets: ['wxss', 'json', 'js'], + buildOption: wechatBuildOption, + }); const alipayBuildOption = { platformId: 'ALIPAY', @@ -423,4 +431,12 @@ export async function compileAntdMini(watch: boolean) { compileTs: true, }, }); + miniCompiler({ + tsconfig: resolve(__dirname, '..', 'tsconfig.json'), + source: resolve(__dirname, '..', 'config', 'alipay'), + dest: resolve(__dirname, '..', 'compiled', 'alipay', 'demo'), + watch, + assets: ['less', 'js', 'json'], + buildOption: alipayBuildOption, + }); }