sea-chart 0.0.1-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/README.md +120 -0
  2. package/dist/assets/icons/area-chart.svg +10 -0
  3. package/dist/assets/icons/bar-chart.svg +12 -0
  4. package/dist/assets/icons/card.svg +22 -0
  5. package/dist/assets/icons/combination-chart.svg +17 -0
  6. package/dist/assets/icons/dtable-logo.svg +16 -0
  7. package/dist/assets/icons/facet-chart.svg +12 -0
  8. package/dist/assets/icons/gauge.svg +18 -0
  9. package/dist/assets/icons/heat-map.svg +14 -0
  10. package/dist/assets/icons/histogram.svg +12 -0
  11. package/dist/assets/icons/line-chart.svg +12 -0
  12. package/dist/assets/icons/map.svg +20 -0
  13. package/dist/assets/icons/pie-chart.svg +11 -0
  14. package/dist/assets/icons/rectangular-tree-diagram.svg +10 -0
  15. package/dist/assets/icons/scatter-chart.svg +15 -0
  16. package/dist/assets/icons/type-change.svg +17 -0
  17. package/dist/assets/img/area-chart.png +0 -0
  18. package/dist/assets/img/area-group-chart.png +0 -0
  19. package/dist/assets/img/bar-group.png +0 -0
  20. package/dist/assets/img/bar-stack.png +0 -0
  21. package/dist/assets/img/bar.png +0 -0
  22. package/dist/assets/img/combination-chart.png +0 -0
  23. package/dist/assets/img/compared-chart.png +0 -0
  24. package/dist/assets/img/completeness-chart.png +0 -0
  25. package/dist/assets/img/custom-bar.png +0 -0
  26. package/dist/assets/img/dashboard-chart.png +0 -0
  27. package/dist/assets/img/group-completeness-chart.png +0 -0
  28. package/dist/assets/img/group_line.png +0 -0
  29. package/dist/assets/img/heat-map.png +0 -0
  30. package/dist/assets/img/horizontal-bar.png +0 -0
  31. package/dist/assets/img/horizontal-group-bar.png +0 -0
  32. package/dist/assets/img/line.png +0 -0
  33. package/dist/assets/img/map-bubble.png +0 -0
  34. package/dist/assets/img/map.png +0 -0
  35. package/dist/assets/img/mirror.png +0 -0
  36. package/dist/assets/img/number-card.png +0 -0
  37. package/dist/assets/img/pie.png +0 -0
  38. package/dist/assets/img/pivot-table.png +0 -0
  39. package/dist/assets/img/ring.png +0 -0
  40. package/dist/assets/img/scatter.png +0 -0
  41. package/dist/assets/img/stacked-horizontal-bar.png +0 -0
  42. package/dist/assets/img/treemap.png +0 -0
  43. package/dist/assets/img/trend-chart.png +0 -0
  44. package/dist/assets/img/world-map-bubble.png +0 -0
  45. package/dist/assets/img/world-map.png +0 -0
  46. package/dist/components/collaborator/index.js +26 -0
  47. package/dist/components/icon/index.css +5 -0
  48. package/dist/components/icon/index.js +24 -0
  49. package/dist/components/index.js +8 -0
  50. package/dist/components/loading/index.css +54 -0
  51. package/dist/components/loading/index.js +12 -0
  52. package/dist/components/number-input/index.js +31 -0
  53. package/dist/components/pixel-editor/index.css +29 -0
  54. package/dist/components/pixel-editor/index.js +38 -0
  55. package/dist/components/select-group/index.css +67 -0
  56. package/dist/components/select-group/index.js +52 -0
  57. package/dist/components/types-dialog/index.css +97 -0
  58. package/dist/components/types-dialog/index.js +116 -0
  59. package/dist/constants/geolocation.js +11 -0
  60. package/dist/constants/index.js +184 -0
  61. package/dist/constants/model.js +187 -0
  62. package/dist/constants/style.js +15 -0
  63. package/dist/constants/type-image.js +59 -0
  64. package/dist/constants/type.js +124 -0
  65. package/dist/context.js +33 -0
  66. package/dist/editor/index.css +0 -0
  67. package/dist/editor/index.js +36 -0
  68. package/dist/index.js +6 -0
  69. package/dist/intl.js +37 -0
  70. package/dist/locale/index.js +18 -0
  71. package/dist/locale/lang/de.js +141 -0
  72. package/dist/locale/lang/en.js +143 -0
  73. package/dist/locale/lang/es.js +141 -0
  74. package/dist/locale/lang/fr.js +141 -0
  75. package/dist/locale/lang/pt.js +141 -0
  76. package/dist/locale/lang/ru.js +141 -0
  77. package/dist/locale/lang/zh_CN.js +143 -0
  78. package/dist/model/area-group.js +41 -0
  79. package/dist/model/area.js +32 -0
  80. package/dist/model/bar-group.js +44 -0
  81. package/dist/model/bar-stack.js +41 -0
  82. package/dist/model/bar.js +38 -0
  83. package/dist/model/base-model.js +9 -0
  84. package/dist/model/basic-number-card.js +22 -0
  85. package/dist/model/chart.js +23 -0
  86. package/dist/model/combination.js +38 -0
  87. package/dist/model/compare-bar.js +39 -0
  88. package/dist/model/completeness-group.js +24 -0
  89. package/dist/model/completeness.js +18 -0
  90. package/dist/model/dashboard.js +16 -0
  91. package/dist/model/generic-model.js +224 -0
  92. package/dist/model/heat-map.js +23 -0
  93. package/dist/model/horizontal-bar.js +38 -0
  94. package/dist/model/horizontal-group-bar.js +43 -0
  95. package/dist/model/index.js +63 -0
  96. package/dist/model/line-group.js +44 -0
  97. package/dist/model/line.js +38 -0
  98. package/dist/model/map-bubble.js +27 -0
  99. package/dist/model/map.js +27 -0
  100. package/dist/model/mirror.js +26 -0
  101. package/dist/model/pie.js +26 -0
  102. package/dist/model/ring.js +26 -0
  103. package/dist/model/scatter.js +19 -0
  104. package/dist/model/stacked-horizontal-bar.js +32 -0
  105. package/dist/model/table.js +23 -0
  106. package/dist/model/tree-map.js +20 -0
  107. package/dist/model/trend.js +24 -0
  108. package/dist/model/user.js +15 -0
  109. package/dist/model/world-map-bubble.js +26 -0
  110. package/dist/model/world-map.js +26 -0
  111. package/dist/settings/advance-bar-settings/data-settings.js +143 -0
  112. package/dist/settings/advance-bar-settings/index.js +3 -0
  113. package/dist/settings/advance-bar-settings/style-settings.js +161 -0
  114. package/dist/settings/bar-settings/data-settings.js +162 -0
  115. package/dist/settings/bar-settings/index.js +3 -0
  116. package/dist/settings/bar-settings/style-settings.js +179 -0
  117. package/dist/settings/basic-number-card/data-settings.js +126 -0
  118. package/dist/settings/basic-number-card/index.js +3 -0
  119. package/dist/settings/basic-number-card/style-settings.js +42 -0
  120. package/dist/settings/combination-settings/data-settings.js +279 -0
  121. package/dist/settings/combination-settings/index.js +3 -0
  122. package/dist/settings/combination-settings/style-settings.js +174 -0
  123. package/dist/settings/dashboard-settings/data-settings.js +179 -0
  124. package/dist/settings/dashboard-settings/index.js +2 -0
  125. package/dist/settings/data-settings.js +73 -0
  126. package/dist/settings/horizontal-bar-settings/data-settings.js +55 -0
  127. package/dist/settings/horizontal-bar-settings/index.js +3 -0
  128. package/dist/settings/horizontal-bar-settings/style-settings.js +46 -0
  129. package/dist/settings/index.css +85 -0
  130. package/dist/settings/index.js +76 -0
  131. package/dist/settings/pie-settings/data-settings.js +146 -0
  132. package/dist/settings/pie-settings/index.js +3 -0
  133. package/dist/settings/pie-settings/style-settings.js +141 -0
  134. package/dist/settings/style-settings.js +118 -0
  135. package/dist/settings/table-settings/data-settings.js +549 -0
  136. package/dist/settings/table-settings/index.js +2 -0
  137. package/dist/settings/time-comparison-settings/data-settings.js +172 -0
  138. package/dist/settings/time-comparison-settings/index.js +3 -0
  139. package/dist/settings/time-comparison-settings/style-settings.js +213 -0
  140. package/dist/settings/widgets/basic-summary/index.css +12 -0
  141. package/dist/settings/widgets/basic-summary/index.js +176 -0
  142. package/dist/settings/widgets/chart-type/index.css +31 -0
  143. package/dist/settings/widgets/chart-type/index.js +59 -0
  144. package/dist/settings/widgets/common-data-settings.js +48 -0
  145. package/dist/settings/widgets/data-filter/index.css +17 -0
  146. package/dist/settings/widgets/data-filter/index.js +89 -0
  147. package/dist/settings/widgets/data-sort.js +44 -0
  148. package/dist/settings/widgets/date-summary-item.js +111 -0
  149. package/dist/settings/widgets/display-values-settings/index.css +13 -0
  150. package/dist/settings/widgets/display-values-settings/index.js +42 -0
  151. package/dist/settings/widgets/divider/index.css +4 -0
  152. package/dist/settings/widgets/divider/index.js +12 -0
  153. package/dist/settings/widgets/font-settings/font-size-settings.js +33 -0
  154. package/dist/settings/widgets/font-settings/font-weight-settings.js +44 -0
  155. package/dist/settings/widgets/font-settings/index.js +3 -0
  156. package/dist/settings/widgets/group-by.js +160 -0
  157. package/dist/settings/widgets/label-color.js +30 -0
  158. package/dist/settings/widgets/min-max-setting.js +52 -0
  159. package/dist/settings/widgets/mininum-slice-percent.js +63 -0
  160. package/dist/settings/widgets/numeric-summary-item.js +90 -0
  161. package/dist/settings/widgets/select-table/index.css +0 -0
  162. package/dist/settings/widgets/select-table/index.js +38 -0
  163. package/dist/settings/widgets/stack.js +50 -0
  164. package/dist/settings/widgets/summary-method-setting.js +66 -0
  165. package/dist/settings/widgets/summary-settings.js +411 -0
  166. package/dist/settings/widgets/switch/index.css +37 -0
  167. package/dist/settings/widgets/switch/index.js +24 -0
  168. package/dist/settings/widgets/text-horizontal-settings.js +25 -0
  169. package/dist/settings/widgets/time-picker.js +173 -0
  170. package/dist/settings/widgets/title-settings/index.js +60 -0
  171. package/dist/settings/widgets/title-settings/title-text.js +25 -0
  172. package/dist/settings/widgets/x-axios.js +0 -0
  173. package/dist/settings/widgets/y-axis-group-settings.js +438 -0
  174. package/dist/utils/cell-format-utils.js +42 -0
  175. package/dist/utils/chart-data-sql.js +606 -0
  176. package/dist/utils/chart-utils.js +1800 -0
  177. package/dist/utils/chart.js +6 -0
  178. package/dist/utils/collaborator-utils.js +39 -0
  179. package/dist/utils/column-2-sql-column.js +551 -0
  180. package/dist/utils/column-utils.js +208 -0
  181. package/dist/utils/custom-g2.js +612 -0
  182. package/dist/utils/date-translate.js +66 -0
  183. package/dist/utils/index.js +48 -0
  184. package/dist/utils/key-generator.js +13 -0
  185. package/dist/utils/object-utils.js +45 -0
  186. package/dist/utils/options-utils.js +60 -0
  187. package/dist/view/index.css +53 -0
  188. package/dist/view/index.js +189 -0
  189. package/dist/view/title/index.css +3 -0
  190. package/dist/view/title/index.js +46 -0
  191. package/dist/view/wrapper/area.js +150 -0
  192. package/dist/view/wrapper/bar-group.js +148 -0
  193. package/dist/view/wrapper/bar.js +138 -0
  194. package/dist/view/wrapper/basic-number-card.js +127 -0
  195. package/dist/view/wrapper/chart-component.js +261 -0
  196. package/dist/view/wrapper/combination.js +399 -0
  197. package/dist/view/wrapper/dashboard.js +164 -0
  198. package/dist/view/wrapper/horizontal-bar-group.js +149 -0
  199. package/dist/view/wrapper/horizontal-bar.js +140 -0
  200. package/dist/view/wrapper/horizontal-component.js +78 -0
  201. package/dist/view/wrapper/index.js +200 -0
  202. package/dist/view/wrapper/line-group.js +145 -0
  203. package/dist/view/wrapper/line.js +157 -0
  204. package/dist/view/wrapper/pie.js +185 -0
  205. package/dist/view/wrapper/ring.js +264 -0
  206. package/dist/view/wrapper/table/index.css +103 -0
  207. package/dist/view/wrapper/table/index.js +31 -0
  208. package/dist/view/wrapper/table/one-dimension-table-no-numeric-columns.js +144 -0
  209. package/dist/view/wrapper/table/one-dimension-table-with-numeric-columns.js +198 -0
  210. package/dist/view/wrapper/table/pivot-table-display-name.js +247 -0
  211. package/dist/view/wrapper/table/two-dimension-table.js +249 -0
  212. package/dist/view/wrapper/treemap.js +186 -0
  213. package/package.json +151 -0
package/README.md ADDED
@@ -0,0 +1,120 @@
1
+ # sea-chart
2
+ > The seatable chart displays the data in the seatable in the form of a chart.
3
+
4
+ # 本地调试
5
+ 1. 下载源码并进入文件夹
6
+ ```
7
+ git clone https://gitlab.seafile.top/seatable-extends/sea-chart/
8
+ cd sea-chart
9
+ ```
10
+ 2. 安装依赖
11
+ ```
12
+ npm install
13
+ ```
14
+ 3. 配置以及测试用例
15
+ > 可以将自定义页面中关于统计元素的配置拿过来
16
+
17
+ 3.1 配置图标
18
+ > /example/body/charts.js
19
+ ```
20
+ const CHARTS = [
21
+ {
22
+ 'id': '73c8',
23
+ 'type': 'statistic',
24
+ 'style_config': {
25
+ 'border': {
26
+ 'is_show_border': false,
27
+ 'is_show_shadow': false,
28
+ 'width': 0,
29
+ 'radius': 0,
30
+ 'color': '#EFEFEF'
31
+ },
32
+ 'title': {
33
+ 'text': 'table',
34
+ 'font_size': 24,
35
+ 'font_weight': 700,
36
+ 'horizontal_align': 'left'
37
+ }
38
+ },
39
+ 'config': {
40
+ 'type': 'table',
41
+ 'table_id': '0000',
42
+ 'filters': [],
43
+ 'filter_conjunction': 'And',
44
+ 'groupby_column_key': '_ctime',
45
+ 'groupby_date_granularity': 'month',
46
+ 'groupby_geolocation_granularity': null,
47
+ 'groupby_include_empty_cells': false,
48
+ 'summary_column_key': null,
49
+ 'summary_method': 'Sum',
50
+ 'summary_type': 'count',
51
+ 'column_groupby_multiple_numeric_column': null,
52
+ 'summary_columns': [],
53
+ 'column_groupby_column_key': null,
54
+ 'column_groupby_date_granularity': null,
55
+ 'column_groupby_geolocation_granularity': null
56
+ }
57
+ }
58
+ ];
59
+
60
+ export default CHARTS;
61
+
62
+ ```
63
+ 3.2
64
+ ```
65
+ {
66
+ APIToken: '0268604f535ad4fa88a2c499455a82711b6e23a4',
67
+ server: 'https://dev.seatable.cn',
68
+ fileName: '全类型数据',
69
+ workspaceID: '24',
70
+ dtableUuid: 'f7288f72-03ff-4a69-85e3-3e8a86dbfa20',
71
+ lang: 'zh-cn',
72
+ mediaUrl: '/media/',
73
+ permission: 'rw',
74
+ accessToken: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDQ0NDk1NzksImR0YWJsZV91dWlkIjoiZjcyODhmNzItMDNmZi00YTY5LTg1ZTMtM2U4YTg2ZGJmYTIwIiwidXNlcm5hbWUiOiJndW94dWFuLnlhbmdAc2VhZmlsZS5jb20iLCJpZF9pbl9vcmciOiJXLTAwMDE3IiwidXNlcl9kZXBhcnRtZW50X2lkc19tYXAiOnsiY3VycmVudF91c2VyX2RlcGFydG1lbnRfaWRzIjpbMTRdLCJjdXJyZW50X3VzZXJfZGVwYXJ0bWVudF9hbmRfc3ViX2lkcyI6WzE0XX0sInBlcm1pc3Npb24iOiJydyJ9.6AEwL9jIbX6vfV2SVEpxZsvtwSgLAXN-E_jlu780HSc',
75
+ dtableDb: 'https://dtable-db-proxy-dev.seatable.cn/',
76
+ }
77
+ ```
78
+ 4. 启动
79
+ ```
80
+ npm start
81
+ ```
82
+
83
+ # 增加新类型
84
+ 1. 定义类型
85
+ > 为 CHART_TYPE 追加新类型
86
+
87
+ 2. 定义配置模型及设置UI
88
+ 2.1 为新类型增加模型,便于字段的统一管理 同时写入数据类型文档中
89
+ 2.2 为新类型增加设置字段的UI,以更改配置
90
+
91
+ 3. 定义查询数据的SQL
92
+ > 构造恰当的 SQL 语句来获取数据
93
+
94
+ 4. 定义渲染机制
95
+ > 未新类型增加渲染机制
96
+
97
+ 5. 追加渲染机制到 View 组件中
98
+ > View 组件将根据类型自动渲染该类型
99
+
100
+ # 使用
101
+ 1. 安装 sea-chart
102
+ ```
103
+ npm install sea-chart
104
+ ```
105
+
106
+ 2. 渲染
107
+ ```
108
+ import React from 'react';
109
+ import View from 'sea-chart';
110
+
111
+ const ComponentName = ({ chart }) => {
112
+ return (
113
+ <View chart={chart} ... />
114
+ )
115
+ };
116
+
117
+ export default ComponentName;
118
+
119
+ ```
120
+
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M1.5,1h2C3.8,1,4,1.2,4,1.5V28H1V1.5C1,1.2,1.2,1,1.5,1z M1,28h29.5c0.3,0,0.5,0.2,0.5,0.5v2
9
+ c0,0.3-0.2,0.5-0.5,0.5H1V28z M29,9.3L18.1,19l-6.5-4.3L6,21.3V27h23V9.3z"/>
10
+ </svg>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M4,10h23.5c0.3,0,0.5,0.2,0.5,0.5v3c0,0.3-0.2,0.5-0.5,0.5H4V10z M4,22h12.5c0.3,0,0.5,0.2,0.5,0.5v3
9
+ c0,0.3-0.2,0.5-0.5,0.5H4V22z M4,4h14.5C18.8,4,19,4.2,19,4.5v3C19,7.8,18.8,8,18.5,8H4V4z M4,16h9.5c0.3,0,0.5,0.2,0.5,0.5v3
10
+ c0,0.3-0.2,0.5-0.5,0.5H4V16z M1.5,1h2C3.8,1,4,1.2,4,1.5V28H1V1.5C1,1.2,1.2,1,1.5,1z M1,28h29.5c0.3,0,0.5,0.2,0.5,0.5v2
11
+ c0,0.3-0.2,0.5-0.5,0.5H1V28z"/>
12
+ </svg>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M30,2c1.1,0,2,0.9,2,2v24c0,1.1-0.9,2-2,2H2c-1.1,0-2-0.9-2-2V4c0-1.1,0.9-2,2-2H30z M27,6H5C4.4,6,4,6.4,4,7
9
+ v18c0,0.6,0.4,1,1,1h22c0.6,0,1-0.4,1-1V7C28,6.4,27.6,6,27,6z"/>
10
+ <path class="st0" d="M9,21c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S8.4,21,9,21z M23,21c0.6,0,1,0.4,1,1s-0.4,1-1,1H12
11
+ c-0.6,0-1-0.4-1-1s0.4-1,1-1H23z M21.3,10c0.8,0,1.5,0.2,1.8,0.6c0.4,0.4,0.6,0.8,0.6,1.4c0,0.3-0.1,0.6-0.2,0.9
12
+ c-0.2,0.3-0.4,0.5-0.7,0.7l0.6,0.3c0.2,0.2,0.4,0.4,0.5,0.6c0.1,0.3,0.2,0.6,0.2,0.9c0,0.5-0.1,0.9-0.3,1.3c-0.2,0.4-0.5,0.7-0.9,1
13
+ C22.5,17.9,22,18,21.4,18s-1.1-0.1-1.4-0.2c-0.3-0.2-0.6-0.4-0.8-0.7c-0.2-0.4-0.4-0.8-0.5-1.2l1.8-0.3v0.2c0,0.2,0.1,0.5,0.3,0.7
14
+ c0.1,0.2,0.3,0.2,0.6,0.2c0.2,0,0.5-0.1,0.6-0.3c0.2-0.2,0.3-0.5,0.2-0.8c0-0.4-0.1-0.6-0.2-0.8c-0.2-0.2-0.4-0.3-0.6-0.3
15
+ c-0.1,0-0.3,0-0.6,0.1l0.1-1.5h0.2c0.2,0,0.4-0.1,0.6-0.3s0.2-0.4,0.2-0.6c0-0.2-0.1-0.4-0.2-0.6c-0.1-0.1-0.3-0.2-0.5-0.2
16
+ s-0.4,0.1-0.5,0.2c-0.1,0.2-0.2,0.4-0.3,0.8L18.7,12l0.1-0.3c0.2-0.5,0.4-0.9,0.7-1.2C20,10.2,20.5,10,21.3,10z M10.7,10v7.9H8.9
17
+ v-5.2C8.6,13,8.3,13.2,8,13.4v-1.8c0.5-0.4,1-0.9,1.2-1.6C9.2,10,10.7,10,10.7,10z M15.3,10c0.6,0,1.1,0.1,1.5,0.3s0.6,0.4,0.8,0.8
18
+ c0.2,0.4,0.3,0.8,0.3,1.2c0,0.5-0.1,0.9-0.3,1.4c-0.2,0.4-0.7,0.9-1.3,1.4c-0.2,0.2-0.5,0.4-0.7,0.6c-0.1,0.1-0.3,0.3-0.4,0.5H18V18
19
+ h-5.4l0.1-0.4c0.1-0.5,0.3-1,0.5-1.4c0.3-0.6,0.9-1.2,1.8-2c0.5-0.5,0.9-0.8,1-1.1c0.1-0.2,0.2-0.4,0.2-0.7c0-0.2-0.1-0.4-0.2-0.6
20
+ c-0.1-0.2-0.3-0.3-0.6-0.3c-0.2,0-0.4,0.1-0.6,0.3c-0.1,0.2-0.2,0.5-0.3,0.9l-1.8-0.2l0.1-0.3c0.1-0.4,0.2-0.8,0.3-1.1
21
+ c0.2-0.3,0.5-0.6,0.8-0.8S14.7,10,15.3,10z"/>
22
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M13,28V15.5c0-0.2,0.2-0.5,0.4-0.5h3.3c0.2,0,0.4,0.2,0.4,0.5V28H13z M19,28v-9.7c0-0.2,0.2-0.3,0.4-0.3h3.3
9
+ c0.2,0,0.4,0.2,0.4,0.3V28H19z M28.6,13c0.2,0,0.4,0.1,0.4,0.3V28h-4V13.3c0-0.1,0.2-0.3,0.4-0.3H28.6z M10.6,20
10
+ c0.2,0,0.4,0.2,0.4,0.5V28H7v-7.5C7,20.2,7.2,20,7.4,20H10.6z M1.5,1h2C3.8,1,4,1.2,4,1.5V28H1V1.5C1,1.2,1.2,1,1.5,1z M1,28h29.5
11
+ c0.3,0,0.5,0.2,0.5,0.5v2c0,0.3-0.2,0.5-0.5,0.5H1V28z"/>
12
+ <path class="st0" d="M26.9,7C28.1,7,29,8,29,9.1c0,1.2-1,2.1-2.1,2.1c-0.4,0-0.8-0.1-1.2-0.4L22.9,13c0.4,1-0.1,2.3-1.1,2.7
13
+ c-0.8,0.3-1.8,0-2.4-0.6c-0.4-0.4-0.6-0.9-0.5-1.5l-2.4-1.2c-0.7,0.7-1.7,0.7-2.5,0.3l-3,2.6c0.5,1,0.1,2.3-1,2.8
14
+ c-0.9,0.4-1.8,0.1-2.5-0.5c-0.7-0.9-0.6-2.2,0.3-2.9c0.7-0.6,1.6-0.7,2.4-0.2l3-2.6c-0.5-1-0.1-2.3,1-2.8c0.3-0.1,0.6-0.2,0.9-0.2
15
+ c1.2,0,2.1,1,2.1,2.1c0,0.1,0,0.3-0.1,0.5l2.3,1.2c0.7-0.8,1.9-1,2.8-0.4l2.9-2.2c-0.4-1,0.1-2.3,1.1-2.7C26.4,7.1,26.6,7,26.9,7z"
16
+ />
17
+ </svg>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M9.4,21.6c0.6,0,1,0.4,1,1V29c0,0.6-0.4,1-1,1H3c-0.6,0-1-0.4-1-1v-6.4c0-0.6,0.4-1,1-1H9.4z M19.2,21.6
9
+ c0.6,0,1,0.4,1,1V29c0,0.6-0.4,1-1,1h-6.4c-0.6,0-1-0.4-1-1v-6.4c0-0.6,0.4-1,1-1H19.2z M29,21.6c0.6,0,1,0.4,1,1V29
10
+ c0,0.6-0.4,1-1,1h-6.4c-0.6,0-1-0.4-1-1v-6.4c0-0.6,0.4-1,1-1H29z M9.4,11.8c0.6,0,1,0.4,1,1v6.4c0,0.6-0.4,1-1,1H3
11
+ c-0.6,0-1-0.4-1-1v-6.4c0-0.6,0.4-1,1-1C3,11.8,9.4,11.8,9.4,11.8z M29,11.8c0.6,0,1,0.4,1,1v6.4c0,0.6-0.4,1-1,1h-6.4
12
+ c-0.6,0-1-0.4-1-1v-6.4c0-0.6,0.4-1,1-1C22.6,11.8,29,11.8,29,11.8z M19.2,11.8c0.6,0,1,0.4,1,1v6.4c0,0.6-0.4,1-1,1h-6.4
13
+ c-0.6,0-1-0.4-1-1v-6.4c0-0.6,0.4-1,1-1C12.8,11.8,19.2,11.8,19.2,11.8z M9.4,2c0.6,0,1,0.4,1,1v6.4c0,0.6-0.4,1-1,1H3
14
+ c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1H9.4z M19.2,2c0.6,0,1,0.4,1,1v6.4c0,0.6-0.4,1-1,1h-6.4c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1
15
+ H19.2z M29,2c0.6,0,1,0.4,1,1v6.4c0,0.6-0.4,1-1,1h-6.4c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1H29z"/>
16
+ </svg>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M15,1h2c0.3,0,0.5,0.2,0.5,0.5V28h-3V1.5C14.5,1.2,14.7,1,15,1z M0,28h32v3H0V28z M11.5,4C11.8,4,12,4.2,12,4.5
9
+ V28H9.3v-3H4.7v3H2V4.5C2,4.2,2.2,4,2.5,4H11.5z M9.3,19H4.7v3h4.5v-3H9.3z M9.3,13H4.7v3h4.5v-3H9.3z M9.3,7H4.7v3h4.5V7H9.3z
10
+ M29.5,4C29.8,4,30,4.2,30,4.5V28h-2.7v-3h-4.5v3H20V4.5C20,4.2,20.2,4,20.5,4H29.5z M27.3,19h-4.5v3h4.5V19z M27.3,13h-4.5v3h4.5
11
+ V13z M27.3,7h-4.5v3h4.5V7z"/>
12
+ </svg>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M29.3,21.1h-1.8c-0.5,0-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9h1.8c0.5,0,0.9,0.4,0.9,0.9S29.8,21.1,29.3,21.1z
9
+ M25.2,14.8c-0.3-0.4-0.1-1,0.3-1.2l1.5-0.9c0.4-0.2,1-0.1,1.2,0.4c0.2,0.4,0.1,0.9-0.3,1.2l-1.5,0.9C26,15.4,25.5,15.3,25.2,14.8z
10
+ M17.6,20.7c0,0.9-0.5,1.8-1.3,2.3c-0.6,0.4-1.3,0.5-2.1,0.3c-0.7-0.2-1.3-0.6-1.7-1.2S12,20.7,12.1,20c0.2-0.8,0.6-1.3,1.2-1.8
11
+ c0.9-0.6,1.9-0.6,2.8,0l7.5-3.1C23.6,15.1,17.6,20.7,17.6,20.7z M10.7,10.9c-0.4,0.2-1,0.1-1.2-0.3L8.6,9C8.3,8.5,8.5,8,8.9,7.7
12
+ C9.3,7.5,9.8,7.6,10.1,8L11,9.6C11.2,10.1,11.1,10.6,10.7,10.9z M6.8,14.8c-0.2,0.4-0.8,0.6-1.2,0.4L4,14.3C3.6,14,3.4,13.5,3.7,13
13
+ c0.2-0.4,0.8-0.6,1.2-0.4l1.5,0.9C6.9,13.8,7,14.4,6.8,14.8z M4.4,21.1H2.7c-0.5,0-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9h1.8
14
+ c0.5,0,0.9,0.4,0.9,0.9C5.3,20.7,5,21.1,4.4,21.1z M15.1,6.7c0-0.5,0.4-0.9,0.9-0.9c0.5,0,0.9,0.4,0.9,0.9v1.8
15
+ c0,0.5-0.4,0.9-0.9,0.9c-0.2,0-0.5-0.1-0.6-0.3c-0.2-0.2-0.3-0.4-0.3-0.6V6.7z M21,9.6L21.9,8c0.2-0.4,0.8-0.6,1.2-0.3
16
+ C23.5,8,23.7,8.5,23.4,9l-0.9,1.5c-0.2,0.4-0.8,0.6-1.2,0.3C20.9,10.6,20.8,10.1,21,9.6z M26,7.7c-5.8-4.9-14.2-4.9-20,0
17
+ C0.1,12.6-1.7,21,1.7,28h28.7C33.7,21,31.9,12.6,26,7.7z"/>
18
+ </svg>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32.1 32" style="enable-background:new 0 0 32.1 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M30.2,18.6c-5.2-5.2-4.7-7.1-3.9-9.2s-1.1-11.2-8-7.6s-4.8,8.3-9.8,8.1c-4.9-0.2-11,2.4-7.4,11.8
9
+ c1.4,3.7,4.1,7.3,8.2,7.8s11-0.8,15.1,1.2S35.4,23.8,30.2,18.6z M23.4,28.3c-3.5-1.6-9.2-0.7-12.7-1c-3.5-0.4-6.2-2.8-7.4-5.8
10
+ c-3-7.6,2.8-9.8,6.9-9.7s2.4-4.6,8.3-7.5s6.3,4.7,5.6,6.4c-0.8,1.9-0.7,3.8,3.8,8.1C32.3,22.9,26.9,29.9,23.4,28.3z"/>
11
+ <path class="st0" d="M5.9,17.3c-1.9,1.6-0.3,5.5,2.2,6.3c2.4,0.8,4.9-0.1,6.8-1.7c1.9-1.7,1.6-7.3-1.5-5.9
12
+ C10.2,17.5,9.8,14,5.9,17.3z M19.7,6.4c-2.3,0.6-4.4,4.4-3.5,6.1s2.9,4.7,2.2,6.9s-0.2,4.8,2,5.6s6.8,0.5,6.8-1.8s-5.4-4.7-5.6-8.4
13
+ C21.5,11,23.3,5.4,19.7,6.4z"/>
14
+ </svg>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M1.5,1h2C3.8,1,4,1.2,4,1.5V28H1V1.5C1,1.2,1.2,1,1.5,1z M7.5,20h3c0.3,0,0.5,0.2,0.5,0.5V28H7v-7.5
9
+ C7,20.2,7.2,20,7.5,20z M13.5,7h3C16.8,7,17,7.2,17,7.5V28h-4V7.5C13,7.2,13.2,7,13.5,7z M25.5,14h3c0.3,0,0.5,0.2,0.5,0.5V28h-4
10
+ V14.5C25,14.2,25.2,14,25.5,14z M19.5,17h3c0.3,0,0.5,0.2,0.5,0.5V28h-4V17.5C19,17.2,19.2,17,19.5,17z M1,28h29.5
11
+ c0.3,0,0.5,0.2,0.5,0.5v2c0,0.3-0.2,0.5-0.5,0.5H1V28z"/>
12
+ </svg>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M1.5,1h2C3.8,1,4,1.2,4,1.5V28H1V1.5C1,1.2,1.2,1,1.5,1z M1,28h29.5c0.3,0,0.5,0.2,0.5,0.5v2
9
+ c0,0.3-0.2,0.5-0.5,0.5H1V28z M28.9,9.8l0.3,0.2c0.8,0.6,0.7,1.7,0.3,2.3l-0.2,0.1l-8.9,9l-0.1,0.1l-0.2,0.2
10
+ c-0.5,0.4-0.9,0.8-1.8,0.4L18,22l-5.8-5.8l-4,4c-0.5,0.5-1.6,0.7-2.3,0L5.7,20c-0.5-0.7-0.5-1.5,0-2.2L6,17.6l5.4-5.4
11
+ c0.2-0.2,0.6-0.4,0.8-0.4h0.3c0.2,0,0.5,0.1,0.7,0.2l0.2,0.2l5.6,5.6l7.9-8C27.3,9.5,28.2,9.3,28.9,9.8z"/>
12
+ </svg>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M16,1C7.7,1,1,7.7,1,16s6.7,15,15,15s15-6.7,15-15S24.3,1,16,1z M10.9,28.1c-1.6-0.7-3-1.6-4.2-2.8
9
+ c-1.2-1.2-2.2-2.6-2.8-4.2c-0.7-1.6-1-3.3-1-5.1c0-0.8,0.1-1.7,0.2-2.5c0.2,0.1,0.4,0.1,0.6,0.1c0.3,0,0.6-0.1,0.8-0.2
10
+ c0.2-0.2,0.5-0.2,0.8-0.2c0.2,0,0.5,0.1,0.7,0.2c0.2,0.1,0.4,0.3,0.4,0.7c0,2.4,0.1,4.9,2.3,5c0.1,0,1.2,0.4,1.8,1.9
11
+ c0.1,0.2,0.2,0.2,0.4,0.2c0.3,0,0.8-0.2,1.4-0.2c0.4,0,0,0.7,0,2.2s3.2,3.8,3.2,3.8c0,0.9,0,1.7,0.1,2.3
12
+ C13.9,29,12.3,28.7,10.9,28.1z M25.3,25.3c-1.2,1.2-2.6,2.2-4.2,2.8c-0.7,0.3-1.4,0.5-2.2,0.7h-0.5c0.5-1.9,0.7-3,1.6-3.8
13
+ c1.3-1.1,0.3-2.4-0.7-2.4h-0.2H19c-0.7,0-0.2-1-0.9-1.1c-0.7-0.1-1.7-1.5-2.7-2c-0.6-0.3-1.1-1-2-1c-0.5,0-1.2,0.3-1.6,0.3
14
+ c-0.1,0-0.2-0.1-0.2-0.2c0-1.7-0.2-2.9-0.2-3.3c0-0.2-0.1-0.2,0-0.2c0,0,0.2,0.1,0.8,0.1c0.5,0,0.3-1.1,0.8-1.2h0.1
15
+ c0.5,0,1.4,0.3,1.9,0.3h0.2c0.3,0,1.3,2.5,1.8,2.5c0.2,0,0.4-0.4,0.4-1.6c0-0.5-0.3-1.4,0-1.9c1-1.9,2-3.4,1.9-3.6
16
+ c0-0.1-0.3-0.1-0.7-0.1c-0.3,0-0.8,0-1.1,0.2c-0.3,0.1,0.1,0.5-0.3,0.6c-0.3,0.1-0.5,0.1-0.7,0.1c-1.1,0-1.9-0.6-1.6-1.2
17
+ C15.4,8.6,17,9,17.2,7.6c0.1-0.7,0.1-1.4,0.2-2c0-0.2,0.2-0.4,0.4-0.4C18.9,5.1,19,3.8,18,3c1.1,0.2,2.2,0.5,3.2,0.9
18
+ c1.6,0.7,3,1.6,4.2,2.8c1.1,1.1,2,2.4,2.6,3.7c-0.2-0.1-0.3-0.2-0.5-0.2c-0.8,0-1.6,1.1-1.1,2.4c-3.9,3-2.9,5.1-1.6,6.3
19
+ c0.4,0.4,0.7,0.8,1.1,1.3c0.3,0.4,0.5,0.9,0.6,1.4c0,0.2,0.2,0.3,0.4,0.3c0.3,0,0.8-0.2,1.3-0.6C27.3,22.8,26.4,24.1,25.3,25.3z"/>
20
+ </svg>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M31,15.2H16.8V1c3.8,0.2,7.2,1.8,9.8,4.4S30.8,11.5,31,15.2z M4.6,25.9C2.3,23.2,1,19.8,1,16.4
9
+ C1,12.5,2.5,8.8,5.3,6c2.5-2.5,5.8-4,9.3-4.2V16C14.6,16,4.6,25.9,4.6,25.9z M15.6,31c3.8,0,7.6-1.5,10.3-4.3c2.5-2.5,4-5.8,4.2-9.3
10
+ H16l-9.9,10C8.8,29.7,12.2,31,15.6,31z"/>
11
+ </svg>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M13,15v14H0V15H13z M23,19v10h-8V19H23z M32,19v10h-7V19H32z M20,11v6h-5v-6H20z M26,11v6h-4v-6H26z M32,11v6
9
+ h-4v-6H32z M13,3v10H0V3H13z M20,3v6h-5V3H20z M26,7v2h-4V7H26z M32,7v2h-4V7H32z M26,3v2h-4V3H26z M32,3v2h-4V3H32z"/>
10
+ </svg>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#999999;}
7
+ </style>
8
+ <path class="st0" d="M1.5,1h2C3.8,1,4,1.2,4,1.5V28H1V1.5C1,1.2,1.2,1,1.5,1z M1,28h29.5c0.3,0,0.5,0.2,0.5,0.5v2
9
+ c0,0.3-0.2,0.5-0.5,0.5H1V28z M21.4,18.9c0,1.4,1.1,2.6,2.6,2.6c1.4,0,2.6-1.1,2.6-2.6c0-1.4-1.1-2.6-2.6-2.6S21.4,17.5,21.4,18.9z
10
+ M19.4,12.9c1.3,0,2.3-1,2.3-2.3s-1-2.3-2.3-2.3s-2.3,1-2.3,2.3S18.1,12.9,19.4,12.9z M24.8,8.7c1.3,0,2.3-1,2.3-2.3s-1-2.3-2.3-2.3
11
+ s-2.3,1-2.3,2.3S23.5,8.7,24.8,8.7z M26.7,14.6c1.3,0,2.3-1,2.3-2.3S28,10,26.7,10s-2.3,1-2.3,2.3S25.4,14.6,26.7,14.6z M6,20.6
12
+ c0,1.1,0.9,2,2,2s2-0.9,2-2s-0.9-2-2-2S6,19.5,6,20.6 M11.7,17.5c1.6,0,2.8-1.3,2.8-2.8c0-1.6-1.3-2.8-2.8-2.8S8.8,13,8.8,14.6
13
+ S10.1,17.5,11.7,17.5z M12.2,22.9c0,1.1,0.9,2,2,2s2-0.9,2-2s-0.9-2-2-2S12.2,21.8,12.2,22.9z M17.7,20.9c1.1,0,2-0.9,2-2
14
+ s-0.9-2-2-2s-2,0.9-2,2S16.6,20.9,17.7,20.9z"/>
15
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#949494;}
7
+ </style>
8
+ <title>switch</title>
9
+ <g id="switch">
10
+ <g id="batch-replacement" transform="translate(1.000000, 3.000000)">
11
+ <path id="形状" class="st0" d="M9.1,11.7V8.9h12.8c1.4,0,2.5,1.2,3,2.3c0.4-0.6,0.7-1.8,0.7-2.7c0-2.1-1.7-4.5-3.8-4.5H9.1V0.7
12
+ c0-0.5-0.5-0.9-1-0.5L0.2,5.7c-0.3,0.2-0.3,0.8,0,1.1l7.8,5.6C8.6,12.6,9.1,12.3,9.1,11.7z M29.8,20.2l-7.8-5.6
13
+ c-0.4-0.3-1,0-1,0.5v3.2H8.1c-1.4,0-2.4-1.4-3.1-2.6c-0.4,0.6-0.8,2-0.8,2.9c0,2.1,1.7,4.3,3.8,4.3h12.8v3.2c0,0.5,0.5,0.9,1,0.5
14
+ l7.8-5.6C30.1,21,30.1,20.5,29.8,20.2L29.8,20.2z"/>
15
+ </g>
16
+ </g>
17
+ </svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ const Collaborator = _ref => {
3
+ let {
4
+ collaborator = {}
5
+ } = _ref;
6
+ const {
7
+ avatar_url,
8
+ name
9
+ } = collaborator || {};
10
+ return /*#__PURE__*/React.createElement("div", {
11
+ className: "collaborators-formatter"
12
+ }, /*#__PURE__*/React.createElement("div", {
13
+ className: "collaborator"
14
+ }, /*#__PURE__*/React.createElement("span", {
15
+ className: "collaborator-avatar-container"
16
+ }, /*#__PURE__*/React.createElement("img", {
17
+ src: avatar_url,
18
+ alt: '',
19
+ className: "collaborator-avatar"
20
+ })), /*#__PURE__*/React.createElement("span", {
21
+ className: "collaborator-name",
22
+ title: name,
23
+ "aria-label": name
24
+ }, name)));
25
+ };
26
+ export default Collaborator;
@@ -0,0 +1,5 @@
1
+ .sea-chart-icon {
2
+ font-size: 14px;
3
+ fill: currentColor;
4
+ color: #212529;
5
+ }
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import './index.css';
3
+ const importAll = requireContext => {
4
+ requireContext.keys().forEach(requireContext);
5
+ };
6
+ try {
7
+ importAll(require.context('../../assets/icons', true, /\.svg$/));
8
+ } catch (error) {
9
+ // eslint-disable-next-line no-console
10
+ console.log(error);
11
+ }
12
+ const Icon = props => {
13
+ const {
14
+ className,
15
+ symbol
16
+ } = props;
17
+ const iconClass = "sea-chart-icon sea-chart-icon-".concat(symbol, " ").concat(className || '');
18
+ return /*#__PURE__*/React.createElement("svg", {
19
+ className: iconClass
20
+ }, /*#__PURE__*/React.createElement("use", {
21
+ xlinkHref: "#".concat(symbol)
22
+ }));
23
+ };
24
+ export default Icon;
@@ -0,0 +1,8 @@
1
+ import Collaborator from './collaborator';
2
+ import Loading from './loading';
3
+ import Icon from './icon';
4
+ import NumberInput from './number-input';
5
+ import SelectGroup from './select-group';
6
+ import TypesDialog from './types-dialog';
7
+ import PixelEditor from './pixel-editor';
8
+ export { Collaborator, Loading, Icon, NumberInput, SelectGroup, TypesDialog, PixelEditor };
@@ -0,0 +1,54 @@
1
+ /** loading **/
2
+ @-moz-keyframes loading {
3
+ 0% {
4
+ -moz-transform: rotate(0deg);
5
+ transform: rotate(0deg);
6
+ }
7
+ 100% {
8
+ -moz-transform: rotate(360deg);
9
+ transform: rotate(360deg);
10
+ }
11
+ }
12
+
13
+ @-webkit-keyframes loading {
14
+ 0% {
15
+ -webkit-transform: rotate(0deg);
16
+ transform: rotate(0deg);
17
+ }
18
+ 100% {
19
+ -webkit-transform: rotate(360deg);
20
+ transform: rotate(360deg);
21
+ }
22
+ }
23
+
24
+ @keyframes loading {
25
+ 0% {
26
+ -moz-transform: rotate(0deg);
27
+ -ms-transform: rotate(0deg);
28
+ -webkit-transform: rotate(0deg);
29
+ transform: rotate(0deg);
30
+ }
31
+ 100% {
32
+ -moz-transform: rotate(360deg);
33
+ -ms-transform: rotate(360deg);
34
+ -webkit-transform: rotate(360deg);
35
+ transform: rotate(360deg);
36
+ }
37
+ }
38
+
39
+ .loading-icon {
40
+ display: inline-block;
41
+ width: 20px;
42
+ height: 20px;
43
+ border: 2px solid #eee;
44
+ border-left-color: #aaa;
45
+ border-radius: 50%;
46
+ -moz-animation: loading 0.9s infinite linear;
47
+ -webkit-animation: loading 0.9s infinite linear;
48
+ animation: loading 0.9s infinite linear;
49
+ }
50
+
51
+ .loading-tip {
52
+ display: block;
53
+ margin: 0 auto;
54
+ }
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import classnames from 'classnames';
3
+ import './index.css';
4
+ const Loading = _ref => {
5
+ let {
6
+ className
7
+ } = _ref;
8
+ return /*#__PURE__*/React.createElement("span", {
9
+ className: classnames('loading-icon loading-tip', className)
10
+ });
11
+ };
12
+ export default Loading;
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import { Input } from 'reactstrap';
3
+ function NumberInput(props) {
4
+ const {
5
+ value,
6
+ onChange,
7
+ min,
8
+ step,
9
+ max,
10
+ readOnly,
11
+ className,
12
+ ...otherProps
13
+ } = props;
14
+ return /*#__PURE__*/React.createElement(Input, Object.assign({
15
+ type: "number",
16
+ className: className,
17
+ value: value || '0',
18
+ min: min,
19
+ step: step,
20
+ max: max,
21
+ readOnly: readOnly,
22
+ onChange: onChange
23
+ }, otherProps));
24
+ }
25
+ NumberInput.defaultProps = {
26
+ min: 0,
27
+ step: 1,
28
+ max: Infinity,
29
+ readOnly: false
30
+ };
31
+ export default NumberInput;