@titaui/pc 1.12.6 → 1.12.7-beta.1

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 (191) hide show
  1. package/lib/components/attachments-preview/index.css +11 -0
  2. package/lib/components/attachments-preview/index.js +112 -0
  3. package/lib/components/auto-save/img/failed.svg +17 -0
  4. package/lib/components/auto-save/img/success.svg +16 -0
  5. package/lib/components/auto-save/index.css +39 -0
  6. package/lib/components/auto-save/index.js +78 -0
  7. package/lib/components/auto-save/interface.js +5 -0
  8. package/lib/components/dialog-upload/img/doc.svg +1 -0
  9. package/lib/components/dialog-upload/img/other.svg +1 -0
  10. package/lib/components/dialog-upload/img/pdf.svg +1 -0
  11. package/lib/components/dialog-upload/img/ppt.svg +1 -0
  12. package/lib/components/dialog-upload/img/radio.svg +1 -0
  13. package/lib/components/dialog-upload/img/video.svg +1 -0
  14. package/lib/components/dialog-upload/img/xls.svg +1 -0
  15. package/lib/components/dialog-upload/index.css +77 -0
  16. package/lib/components/dialog-upload/index.js +330 -0
  17. package/lib/components/dialog-upload/type.js +35 -0
  18. package/lib/components/dialog-upload/uploaded-preview.css +77 -0
  19. package/lib/components/dialog-upload/uploaded-preview.js +132 -0
  20. package/lib/components/dialog-upload/util.js +131 -0
  21. package/lib/components/dynamic/dynamic-item/components/comments-dialog/encourage.js +119 -0
  22. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/APP-shoucang-m.png +0 -0
  23. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/ascore.png +0 -0
  24. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curEfforts.png +0 -0
  25. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curGood.png +0 -0
  26. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curGreat.png +0 -0
  27. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/efforts.png +0 -0
  28. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/good.png +0 -0
  29. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/great.png +0 -0
  30. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/halfscore.png +0 -0
  31. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/loading.gif +0 -0
  32. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/score.png +0 -0
  33. package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/top.svg +14 -0
  34. package/lib/components/dynamic/dynamic-item/components/comments-dialog/index.css +68 -0
  35. package/lib/components/dynamic/dynamic-item/components/comments-dialog/index.js +116 -0
  36. package/lib/components/dynamic/dynamic-item/components/comments-dialog/rate.js +143 -0
  37. package/lib/components/dynamic/dynamic-item/components/header/img/evalute.png +0 -0
  38. package/lib/components/dynamic/dynamic-item/components/header/img/fighting.png +0 -0
  39. package/lib/components/dynamic/dynamic-item/components/header/img/happy.png +0 -0
  40. package/lib/components/dynamic/dynamic-item/components/header/img/long-story.png +0 -0
  41. package/lib/components/dynamic/dynamic-item/components/header/img/pressure.png +0 -0
  42. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.css +170 -0
  43. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +120 -0
  44. package/lib/components/dynamic/dynamic-item/components/okr-progress/interface.js +5 -0
  45. package/lib/components/dynamic/dynamic-item/components/okr-progress/request-api.js +10 -0
  46. package/lib/components/dynamic/dynamic-item/components/okr-progress/utils.js +10 -0
  47. package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.css +8 -0
  48. package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.js +26 -0
  49. package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.css +8 -0
  50. package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.js +26 -0
  51. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.css +197 -0
  52. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +220 -0
  53. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/request-api.js +20 -0
  54. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/util.js +134 -0
  55. package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.css +10 -0
  56. package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.js +60 -0
  57. package/lib/components/dynamic/dynamic-item/components/progress/index.css +25 -0
  58. package/lib/components/dynamic/dynamic-item/components/progress/index.js +71 -0
  59. package/lib/components/dynamic/dynamic-item/components/progress/interface.js +5 -0
  60. package/lib/components/dynamic/dynamic-item/components/schedule/index.css +31 -0
  61. package/lib/components/dynamic/dynamic-item/components/schedule/index.js +59 -0
  62. package/lib/components/dynamic/dynamic-item/components/schedule/interface.js +5 -0
  63. package/lib/components/dynamic/dynamic-item/components/summary-header/img/evalute.png +0 -0
  64. package/lib/components/dynamic/dynamic-item/components/summary-header/img/fighting.png +0 -0
  65. package/lib/components/dynamic/dynamic-item/components/summary-header/img/happy.png +0 -0
  66. package/lib/components/dynamic/dynamic-item/components/summary-header/img/long-story.png +0 -0
  67. package/lib/components/dynamic/dynamic-item/components/summary-header/img/pressure.png +0 -0
  68. package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +136 -0
  69. package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +348 -0
  70. package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.css +24 -0
  71. package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +52 -0
  72. package/lib/components/dynamic/dynamic-item/components/table-row-o-project/interface.js +5 -0
  73. package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.css +50 -0
  74. package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.js +65 -0
  75. package/lib/components/dynamic/dynamic-item/components/table-row-okr/interface.js +5 -0
  76. package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +201 -0
  77. package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +95 -0
  78. package/lib/components/dynamic/dynamic-item/components/task-progress/interface.js +5 -0
  79. package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +10 -0
  80. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-big.png +0 -0
  81. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-small.png +0 -0
  82. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/evaluate-big.png +0 -0
  83. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png +0 -0
  84. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png +0 -0
  85. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-big.png +0 -0
  86. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-small.png +0 -0
  87. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.css +32 -0
  88. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +43 -0
  89. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +37 -0
  90. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js +79 -0
  91. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/evalute.png +0 -0
  92. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/fighting.png +0 -0
  93. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/happy.png +0 -0
  94. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/long-story.png +0 -0
  95. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/pressure.png +0 -0
  96. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +155 -0
  97. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +155 -0
  98. package/lib/components/dynamic/dynamic-item/index.js +4 -3
  99. package/lib/components/import-modal/helper.js +179 -0
  100. package/lib/components/import-modal/image/loading.gif +0 -0
  101. package/lib/components/import-modal/import-okr-modal/index.css +18 -0
  102. package/lib/components/import-modal/import-okr-modal/index.js +132 -0
  103. package/lib/components/import-modal/import-task-modal/index.css +18 -0
  104. package/lib/components/import-modal/import-task-modal/index.js +240 -0
  105. package/lib/components/import-modal/import-task-modal/search-form.js +135 -0
  106. package/lib/components/import-modal/index.css +30 -0
  107. package/lib/components/import-modal/index.js +20 -0
  108. package/lib/components/import-modal/radio.js +62 -0
  109. package/lib/components/import-modal/request-api.js +204 -0
  110. package/lib/components/import-modal/search/category-select.js +74 -0
  111. package/lib/components/import-modal/search/okr-classify-select.js +74 -0
  112. package/lib/components/import-modal/search/okr-status-select.js +74 -0
  113. package/lib/components/import-modal/search/okr-type-select.js +87 -0
  114. package/lib/components/import-modal/search/principal.js +135 -0
  115. package/lib/components/import-modal/search/relation.js +77 -0
  116. package/lib/components/import-modal/search/search-dropdown/index.css +50 -0
  117. package/lib/components/import-modal/search/search-dropdown/index.js +32 -0
  118. package/lib/components/import-modal/search/task-relation.js +83 -0
  119. package/lib/components/import-modal/search/task-status-select.js +87 -0
  120. package/lib/components/import-modal/search/work-relation.js +83 -0
  121. package/lib/components/import-modal/search/work-status-select.js +74 -0
  122. package/lib/components/import-modal/tree/okr-tree/index.css +61 -0
  123. package/lib/components/import-modal/tree/okr-tree/index.js +265 -0
  124. package/lib/components/import-modal/tree/okr-tree/search-form.js +161 -0
  125. package/lib/components/import-modal/tree/task-work-tree/index.css +123 -0
  126. package/lib/components/import-modal/tree/task-work-tree/index.js +187 -0
  127. package/lib/components/import-modal/tree-node/index.css +0 -0
  128. package/lib/components/import-modal/tree-node/index.js +51 -0
  129. package/lib/components/import-modal/tree-node/kr-node/index.css +58 -0
  130. package/lib/components/import-modal/tree-node/kr-node/index.js +108 -0
  131. package/lib/components/import-modal/tree-node/milestone-node/index.css +61 -0
  132. package/lib/components/import-modal/tree-node/milestone-node/index.js +118 -0
  133. package/lib/components/import-modal/tree-node/o-node/index.css +46 -0
  134. package/lib/components/import-modal/tree-node/o-node/index.js +138 -0
  135. package/lib/components/import-modal/tree-node/work-node/index.css +51 -0
  136. package/lib/components/import-modal/tree-node/work-node/index.js +108 -0
  137. package/lib/components/menus/components/menu-tree/images/summary-menu/caidan-enjoy.svg +14 -0
  138. package/lib/components/menus/components/menu-tree/images/summary-menu/my-setup.svg +18 -0
  139. package/lib/components/menus/components/menu-tree/images/summary-menu/my-zongjie.svg +15 -0
  140. package/lib/components/menus/components/menu-tree/images/summary-menu/zongjie-s.svg +15 -0
  141. package/lib/components/menus/components/menu-tree/tree-node/index.css +120 -0
  142. package/lib/components/menus/components/menu-tree/tree-node/index.js +22 -2
  143. package/lib/components/menus/components/menu-tree/tree-node/subordinates.js +74 -0
  144. package/lib/components/menus/components/menu-tree/tree-node/summary-share.js +74 -0
  145. package/lib/components/menus/export-modules/summary-menus/depart-menus/helper.js +56 -0
  146. package/lib/components/menus/export-modules/summary-menus/depart-menus/index.css +32 -0
  147. package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +201 -0
  148. package/lib/components/menus/export-modules/summary-menus/index.css +9 -0
  149. package/lib/components/menus/export-modules/summary-menus/index.js +134 -0
  150. package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +76 -0
  151. package/lib/components/menus/export-modules/summary-menus/menus.js +199 -0
  152. package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +199 -0
  153. package/lib/components/menus/i18n.js +8 -0
  154. package/lib/components/menus/index.js +6 -0
  155. package/lib/components/nav-top/components/menu/index.js +1 -1
  156. package/lib/components/new-confidence/constant.js +53 -0
  157. package/lib/components/new-confidence/img/1.svg +40 -0
  158. package/lib/components/new-confidence/img/10.svg +33 -0
  159. package/lib/components/new-confidence/img/2.svg +40 -0
  160. package/lib/components/new-confidence/img/3.svg +40 -0
  161. package/lib/components/new-confidence/img/4.svg +40 -0
  162. package/lib/components/new-confidence/img/5.svg +40 -0
  163. package/lib/components/new-confidence/img/6.svg +40 -0
  164. package/lib/components/new-confidence/img/7.svg +40 -0
  165. package/lib/components/new-confidence/img/8.svg +40 -0
  166. package/lib/components/new-confidence/img/9.svg +40 -0
  167. package/lib/components/new-confidence/index.css +62 -0
  168. package/lib/components/new-confidence/index.js +115 -0
  169. package/lib/components/new-confidence/interface.js +5 -0
  170. package/lib/components/okr-detail/components/o-progress-update/index.js +8 -4
  171. package/lib/components/okr-progress/components/o-progress-update/index.js +4 -2
  172. package/lib/components/picker/components/panels/week-panel/index.css +42 -0
  173. package/lib/components/picker/components/panels/week-panel/index.js +49 -0
  174. package/lib/components/picker/components/panels/week-panel/week-body.js +127 -0
  175. package/lib/components/picker/components/panels/week-panel/week-head.js +80 -0
  176. package/lib/components/picker/components/picker-trigger/index.js +3 -2
  177. package/lib/components/picker/picker-panels.js +45 -4
  178. package/lib/components/picker/picker.js +7 -3
  179. package/lib/components/rate/index.js +52 -0
  180. package/lib/components/rich-editor-at/components/index.css +66 -0
  181. package/lib/components/rich-editor-at/components/index.js +188 -0
  182. package/lib/components/rich-editor-at/index.css +40 -0
  183. package/lib/components/rich-editor-at/index.js +108 -0
  184. package/lib/components/rich-editor-upload/index.css +11 -0
  185. package/lib/components/rich-editor-upload/index.js +84 -0
  186. package/lib/components/search-input/index.js +5 -0
  187. package/lib/components/textarea/index.js +7 -5
  188. package/lib/index.js +40 -0
  189. package/lib/utils/bs-global.js +1 -1
  190. package/lib/utils/helpers.js +8 -0
  191. package/package.json +2 -1
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _menus = require("./menus");
9
+
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+
12
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
13
+
14
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
+
16
+ var _default = /*#__PURE__*/function () {
17
+ function _default(history) {
18
+ _classCallCheck(this, _default);
19
+
20
+ this.history = null;
21
+ this.history = history;
22
+ }
23
+
24
+ _createClass(_default, [{
25
+ key: "highlight",
26
+ value: function highlight(cb) {
27
+ if (this.isALLSummary()) {
28
+ cb(_menus.PAGE_SUMMARY_ALl);
29
+ } else if (this.isMySummary()) {
30
+ cb(_menus.PAGE_SUMMARY_MY);
31
+ } else if (this.isSummaryChart()) {
32
+ cb(_menus.PAGE_SUMMARY_CHART);
33
+ } else if (this.isShare()) {
34
+ cb(_menus.PAGE_SUMMARY_SHARE);
35
+ } else if (this.isSubordinatesSummary()) {
36
+ cb(_menus.PAGE_SUMMARY_SUBORDINATE);
37
+ }
38
+
39
+ return null;
40
+ }
41
+ }, {
42
+ key: "isALLSummary",
43
+ value: function isALLSummary() {
44
+ var pathname = this.history.location.pathname;
45
+ return pathname.match(/summary\/all/);
46
+ }
47
+ }, {
48
+ key: "isMySummary",
49
+ value: function isMySummary() {
50
+ var pathname = this.history.location.pathname;
51
+ return pathname.match(/summary\/my/);
52
+ }
53
+ }, {
54
+ key: "isSubordinatesSummary",
55
+ value: function isSubordinatesSummary() {
56
+ var pathname = this.history.location.pathname;
57
+ return pathname.match(/summary\/subordinates/);
58
+ }
59
+ }, {
60
+ key: "isShare",
61
+ value: function isShare() {
62
+ var pathname = this.history.location.pathname;
63
+ return pathname.match(/summary\/share/);
64
+ }
65
+ }, {
66
+ key: "isSummaryChart",
67
+ value: function isSummaryChart() {
68
+ var pathname = this.history.location.pathname;
69
+ return pathname.match(/summary\/chart/);
70
+ }
71
+ }]);
72
+
73
+ return _default;
74
+ }();
75
+
76
+ exports["default"] = _default;
@@ -0,0 +1,199 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.defaultRefObject = exports["default"] = exports.PAGE_SUMMARY_SUBORDINATE = exports.PAGE_SUMMARY_SHARE = exports.PAGE_SUMMARY_ROLE = exports.PAGE_SUMMARY_MY = exports.PAGE_SUMMARY_DEPART = exports.PAGE_SUMMARY_CHART = exports.PAGE_SUMMARY_ALl = void 0;
7
+
8
+ var _auth = require("../../../../utils/auth");
9
+
10
+ var _i18n = require("../../i18n");
11
+
12
+ var _index = require("../../components/menu-tree/tree-node/index");
13
+
14
+ var _getLocale = require("../../../../utils/getLocale");
15
+
16
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
+
18
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
19
+
20
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
+
22
+ var defaultRefObject = {
23
+ menus: [],
24
+ insertSubordinates: function insertSubordinates() {},
25
+ getMenus: function getMenus() {},
26
+ setSubordinatesLoading: function setSubordinatesLoading() {},
27
+ SUBORDINATES: ""
28
+ };
29
+ exports.defaultRefObject = defaultRefObject;
30
+ var PAGE_SUMMARY_ALl = "summaryall";
31
+ exports.PAGE_SUMMARY_ALl = PAGE_SUMMARY_ALl;
32
+ var PAGE_SUMMARY_MY = "summarymy";
33
+ exports.PAGE_SUMMARY_MY = PAGE_SUMMARY_MY;
34
+ var PAGE_SUMMARY_SUBORDINATE = "subordinates";
35
+ exports.PAGE_SUMMARY_SUBORDINATE = PAGE_SUMMARY_SUBORDINATE;
36
+ var PAGE_SUMMARY_SHARE = "share";
37
+ exports.PAGE_SUMMARY_SHARE = PAGE_SUMMARY_SHARE;
38
+ var PAGE_SUMMARY_DEPART = "depart";
39
+ exports.PAGE_SUMMARY_DEPART = PAGE_SUMMARY_DEPART;
40
+ var PAGE_SUMMARY_ROLE = "role";
41
+ exports.PAGE_SUMMARY_ROLE = PAGE_SUMMARY_ROLE;
42
+ var PAGE_SUMMARY_CHART = "chart";
43
+ exports.PAGE_SUMMARY_CHART = PAGE_SUMMARY_CHART;
44
+
45
+ var summaryMenus = /*#__PURE__*/function () {
46
+ function summaryMenus() {
47
+ _classCallCheck(this, summaryMenus);
48
+
49
+ this.COMPANYALL = _index.COMPANY_ALL_NODE;
50
+ this.SHARE = _index.SHARE_NODE;
51
+ this.SUBORDINATES = 'subordinates';
52
+ var hasDashboardAuth = false;
53
+ var baseAuth = new _auth.BaseAuth();
54
+
55
+ if (baseAuth.isBoss() || baseAuth.isManager() || baseAuth.isDepartmentLeader()) {
56
+ hasDashboardAuth = true;
57
+ }
58
+
59
+ this.menus = [{
60
+ icon: "all-zongjie",
61
+ label: _i18n.locale.menu_all_summary,
62
+ key: PAGE_SUMMARY_ALl,
63
+ type: _index.MENU_ITEM_NOE,
64
+ href: "#/summary/all"
65
+ }, {
66
+ icon: "caidan-my",
67
+ label: _i18n.locale.menu_my_summary,
68
+ key: PAGE_SUMMARY_MY,
69
+ type: _index.MENU_ITEM_NOE,
70
+ href: "#/summary/my"
71
+ }, {
72
+ icon: "caidan-xiashu",
73
+ label: _i18n.locale.menu_my_subordinates,
74
+ key: this.SUBORDINATES,
75
+ type: _index.SUBORDINATES_NODE,
76
+ isLeaf: false,
77
+ children: [],
78
+ href: "#/summary/subordinates",
79
+ isShow: window.BSGlobal.loginUserInfo.HasSub
80
+ }, {
81
+ icon: "caidan-enjoy",
82
+ label: _i18n.locale.menu_my_share,
83
+ key: PAGE_SUMMARY_SHARE,
84
+ type: _index.MENU_ITEM_NOE,
85
+ href: "#/summary/share"
86
+ }, {
87
+ icon: "bumen",
88
+ label: _i18n.locale.menu_department,
89
+ key: this.COMPANYALL,
90
+ type: this.COMPANYALL,
91
+ href: ""
92
+ }, {
93
+ icon: "",
94
+ label: _i18n.locale.menu_summary,
95
+ key: "other",
96
+ type: _index.GROUP_NAME_NODE,
97
+ href: ""
98
+ }, {
99
+ icon: "my-setup",
100
+ label: _i18n.locale.menu_summary_role,
101
+ key: PAGE_SUMMARY_ROLE,
102
+ type: _index.MENU_ITEM_NOE,
103
+ href: "#/enterprise/manage?reactRouterName=daily"
104
+ }, {
105
+ icon: "yibiao",
106
+ label: _i18n.locale.menu_summary_count,
107
+ key: PAGE_SUMMARY_CHART,
108
+ type: _index.MENU_ITEM_NOE,
109
+ href: "#/summary/chart",
110
+ isShow: hasDashboardAuth
111
+ }];
112
+ }
113
+
114
+ _createClass(summaryMenus, [{
115
+ key: "setSubordinatesLoading",
116
+ value: function setSubordinatesLoading(loading) {
117
+ this.menus[1].children = [];
118
+
119
+ if (loading) {
120
+ this.menus[1].children.push({
121
+ icon: "",
122
+ label: "loading",
123
+ key: "loading-subordinates",
124
+ type: _index.LOADING_NODE,
125
+ href: "",
126
+ data: {}
127
+ });
128
+ }
129
+ }
130
+ }, {
131
+ key: "insertSubordinates",
132
+ value: function insertSubordinates(users) {
133
+ if (!users || !users.length) {
134
+ this.menus[2].children = [{
135
+ icon: "",
136
+ label: "empty-subordinates",
137
+ key: "empty-subordinates",
138
+ type: _index.NO_SUBORDINATES_NODE,
139
+ href: "",
140
+ data: {}
141
+ }];
142
+ return;
143
+ }
144
+
145
+ var treeNodeUsers = [];
146
+
147
+ for (var i = 0; i < users.length; i++) {
148
+ var user = users[i];
149
+ treeNodeUsers.push({
150
+ icon: "",
151
+ label: user.name,
152
+ key: "".concat(user.userId),
153
+ type: _index.USER_NODE,
154
+ href: "",
155
+ data: user
156
+ });
157
+ }
158
+
159
+ this.menus[2].children = treeNodeUsers;
160
+ }
161
+ }, {
162
+ key: "getMenus",
163
+ value: function getMenus() {
164
+ var menus = this.formateToTreeNodeData(this.menus.filter(function (it) {
165
+ return it.isShow === undefined || it.isShow == true;
166
+ }));
167
+ return menus;
168
+ }
169
+ }, {
170
+ key: "formateToTreeNodeData",
171
+ value: function formateToTreeNodeData(menus) {
172
+ var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
173
+ var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
174
+ var treeNodes = [];
175
+
176
+ for (var i = 0; i < menus.length; i++) {
177
+ var menu = menus[i];
178
+ var hasChildren = !!(menu.children && menu.children.length);
179
+ var isLeaf = menu.isLeaf !== undefined ? menu.isLeaf : !hasChildren;
180
+ var nodeType = menu.type;
181
+ if (!nodeType) nodeType = !isLeaf ? _index.PARENT_MENU_NODE : _index.SUB_MENU_ITEM_NOE;
182
+ treeNodes.push({
183
+ key: "".concat(menu.key),
184
+ title: (0, _getLocale.getLocale)(menu.label) ? (0, _getLocale.getLocale)(menu.label) : menu.label,
185
+ data: menu.data || menu,
186
+ isLeaf: isLeaf,
187
+ children: this.formateToTreeNodeData(menu.children || [], level + 1, menu.key),
188
+ nodeType: nodeType
189
+ });
190
+ }
191
+
192
+ return treeNodes;
193
+ }
194
+ }]);
195
+
196
+ return summaryMenus;
197
+ }();
198
+
199
+ exports["default"] = summaryMenus;
@@ -0,0 +1,199 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _resizeObserverPolyfill = _interopRequireDefault(require("resize-observer-polyfill"));
13
+
14
+ var _scrollbar = _interopRequireDefault(require("../../../scrollbar"));
15
+
16
+ var _menuTree = _interopRequireDefault(require("../../components/menu-tree"));
17
+
18
+ var _index = require("../../components/menu-tree/tree-node/index");
19
+
20
+ var _menus = _interopRequireWildcard(require("./menus"));
21
+
22
+ var _menuHighlight = _interopRequireDefault(require("./menu-highlight"));
23
+
24
+ var _requestApis = require("../../request-apis");
25
+
26
+ require("../../index.css");
27
+
28
+ require("./index.css");
29
+
30
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
+
32
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
33
+
34
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
35
+
36
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
37
+
38
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
39
+
40
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
41
+
42
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
43
+
44
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
45
+
46
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
47
+
48
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
49
+
50
+ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
51
+ var _props$onSelect = props.onSelect,
52
+ onSelect = _props$onSelect === void 0 ? function () {} : _props$onSelect,
53
+ history = props.history;
54
+
55
+ var _useState = (0, _react.useState)(function () {
56
+ return document.body.offsetHeight - 198;
57
+ }),
58
+ _useState2 = _slicedToArray(_useState, 2),
59
+ maxHeight = _useState2[0],
60
+ setMaxHeight = _useState2[1];
61
+
62
+ var _useState3 = (0, _react.useState)(["myokr"]),
63
+ _useState4 = _slicedToArray(_useState3, 2),
64
+ expandedKeys = _useState4[0],
65
+ setExpandedKeys = _useState4[1];
66
+
67
+ var _useState5 = (0, _react.useState)([]),
68
+ _useState6 = _slicedToArray(_useState5, 2),
69
+ selectedMenuKeys = _useState6[0],
70
+ setSelectedMenuKeys = _useState6[1];
71
+
72
+ var flipRef = (0, _react.useRef)({
73
+ next: function next() {},
74
+ goback: function goback() {}
75
+ });
76
+ var summaryMenusData = (0, _react.useRef)(_menus.defaultRefObject);
77
+
78
+ var _useState7 = (0, _react.useState)(function () {
79
+ summaryMenusData.current = new _menus["default"]();
80
+ return summaryMenusData.current.getMenus();
81
+ }),
82
+ _useState8 = _slicedToArray(_useState7, 2),
83
+ menus = _useState8[0],
84
+ setMenus = _useState8[1]; // 判断路由高亮菜单
85
+
86
+
87
+ (0, _react.useEffect)(function () {
88
+ var menuHighlight = new _menuHighlight["default"](history);
89
+ menuHighlight.highlight(function (menu) {
90
+ return changeHighlightMenu([menu]);
91
+ });
92
+ }, [history.location.pathname, history.location.search]);
93
+
94
+ var changeHighlightMenu = function changeHighlightMenu(menuKeys) {
95
+ setSelectedMenuKeys(menuKeys);
96
+ flipRef.current.goback();
97
+ };
98
+
99
+ var onSelectHandler = function onSelectHandler(selectedKyes, _ref) {
100
+ var node = _ref.node;
101
+ var nodeType = node.nodeType,
102
+ data = node.data;
103
+
104
+ if (nodeType == _index.USER_NODE || nodeType == _index.FOLLOWER_NODE) {
105
+ location.href = "#/summary/manage?toUserId=".concat(data.userId);
106
+ }
107
+
108
+ onSelect(node); // 处理菜单选中
109
+
110
+ if (!selectedKyes.length) return;
111
+ setSelectedMenuKeys(selectedKyes);
112
+ }; // 获取下属数据列表
113
+
114
+
115
+ var getSubordinaters = function getSubordinaters() {
116
+ return new Promise(function (resolve, reject) {
117
+ var mdata = summaryMenusData.current; // 初始化 Loading
118
+
119
+ mdata.setSubordinatesLoading(true);
120
+ setMenus(mdata.getMenus());
121
+ resolve(true); // 获取数据
122
+
123
+ (0, _requestApis.getSubordinates)({
124
+ relationIds: "1,2"
125
+ }, {
126
+ disabledDottedSubordinatesDig: true
127
+ }).then(function (users) {
128
+ mdata.setSubordinatesLoading(false);
129
+ mdata.insertSubordinates(users);
130
+ setMenus(mdata.getMenus());
131
+ resolve(true);
132
+ })["catch"](reject);
133
+ });
134
+ };
135
+
136
+ var onLoadTreeNodeDataHandler = function onLoadTreeNodeDataHandler(treeNode) {
137
+ return new Promise(function (resolve) {
138
+ if (treeNode.key != summaryMenusData.current.SUBORDINATES) {
139
+ resolve(true);
140
+ } else if (treeNode.key == summaryMenusData.current.SUBORDINATES) {
141
+ getSubordinaters().then(function () {
142
+ return resolve(true);
143
+ })["catch"](function () {
144
+ return resolve(true);
145
+ });
146
+ } else {
147
+ resolve(true);
148
+ }
149
+ });
150
+ };
151
+
152
+ var onExpandHandler = function onExpandHandler(expandKeys, _ref2) {
153
+ var expanded = _ref2.expanded,
154
+ node = _ref2.node;
155
+ setExpandedKeys(expandKeys);
156
+ };
157
+
158
+ (0, _react.useImperativeHandle)(ref, function () {
159
+ return {
160
+ setSelectedMenuKeys: setSelectedMenuKeys
161
+ };
162
+ });
163
+ (0, _react.useEffect)(function () {
164
+ var obs = new _resizeObserverPolyfill["default"](function (entries) {
165
+ var _iterator = _createForOfIteratorHelper(entries),
166
+ _step;
167
+
168
+ try {
169
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
170
+ var entry = _step.value;
171
+ var cr = entry.contentRect;
172
+ setMaxHeight(cr.height - 198);
173
+ }
174
+ } catch (err) {
175
+ _iterator.e(err);
176
+ } finally {
177
+ _iterator.f();
178
+ }
179
+ });
180
+ obs.observe(document.body);
181
+ return function () {
182
+ obs.unobserve(document.body);
183
+ };
184
+ }, []);
185
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_scrollbar["default"], {
186
+ style: {
187
+ maxHeight: maxHeight
188
+ }
189
+ }, /*#__PURE__*/_react["default"].createElement(_menuTree["default"], {
190
+ data: menus,
191
+ selectedKeys: selectedMenuKeys,
192
+ expandedKeys: expandedKeys,
193
+ onSelect: onSelectHandler,
194
+ onExpand: onExpandHandler,
195
+ loadData: onLoadTreeNodeDataHandler
196
+ })));
197
+ });
198
+
199
+ exports["default"] = _default;
@@ -50,6 +50,14 @@ var I18N = /*#__PURE__*/_createClass(function I18N() {
50
50
  this.menu_regulation_daily = "Regul_Menu_DailyReport";
51
51
  this.menu_regulation_weekly = "Regul_Menu_WeeklyReport";
52
52
  this.menu_regulation_monthly = "Regul_Menu_MonthlyReport";
53
+ this.menu_all_summary = 'DailyReport_Menu_AllReports';
54
+ this.menu_my_summary = 'Rep_Tab_Mysmary';
55
+ this.menu_my_subordinates = 'Datadetails_Menu_DirectReports';
56
+ this.menu_my_share = 'Rep_NewS_Share';
57
+ this.menu_department = 'OKR_Ali_From_Viewdepartment';
58
+ this.menu_summary_role = 'Rep_NewS_ManaRegu';
59
+ this.menu_summary_count = 'Data_Summarystatistics';
60
+ this.menu_summary = 'Rep_NewS_Management';
53
61
  });
54
62
 
55
63
  var locale = new I18N();
@@ -21,6 +21,8 @@ require("./index.css");
21
21
 
22
22
  var _demoMenus = _interopRequireDefault(require("./export-modules/demo-menus"));
23
23
 
24
+ var _summaryMenus = _interopRequireDefault(require("./export-modules/summary-menus"));
25
+
24
26
  var _excluded = ["type"];
25
27
 
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -56,6 +58,10 @@ var Menus = function Menus(props) {
56
58
  return /*#__PURE__*/_react["default"].createElement(_interviewMenus["default"], restProps);
57
59
  }
58
60
 
61
+ if (type === 'summary') {
62
+ return /*#__PURE__*/_react["default"].createElement(_summaryMenus["default"], restProps);
63
+ }
64
+
59
65
  return undefined;
60
66
  };
61
67
 
@@ -62,7 +62,7 @@ var NewFeatureGuidePopupAlign = {
62
62
  },
63
63
  targetOffset: [0, 0]
64
64
  };
65
- var NEWMENUS = "#/interview";
65
+ var NEWMENUS = "#/daily";
66
66
 
67
67
  var Menu = function Menu(_ref) {
68
68
  var menus = _ref.menus,
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.EConfidence = exports.ConfidencePointArr = exports.ConfidenceMapIcon = void 0;
7
+
8
+ var _ = _interopRequireDefault(require("./img/1.svg"));
9
+
10
+ var _2 = _interopRequireDefault(require("./img/2.svg"));
11
+
12
+ var _3 = _interopRequireDefault(require("./img/3.svg"));
13
+
14
+ var _4 = _interopRequireDefault(require("./img/4.svg"));
15
+
16
+ var _5 = _interopRequireDefault(require("./img/5.svg"));
17
+
18
+ var _6 = _interopRequireDefault(require("./img/6.svg"));
19
+
20
+ var _7 = _interopRequireDefault(require("./img/7.svg"));
21
+
22
+ var _8 = _interopRequireDefault(require("./img/8.svg"));
23
+
24
+ var _9 = _interopRequireDefault(require("./img/9.svg"));
25
+
26
+ var _10 = _interopRequireDefault(require("./img/10.svg"));
27
+
28
+ var _ConfidenceMapIcon;
29
+
30
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
+
32
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
+
34
+ var ConfidencePointArr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
35
+ exports.ConfidencePointArr = ConfidencePointArr;
36
+ var EConfidence;
37
+ exports.EConfidence = EConfidence;
38
+
39
+ (function (EConfidence) {
40
+ EConfidence[EConfidence["OnePoint"] = 1] = "OnePoint";
41
+ EConfidence[EConfidence["TwoPoint"] = 2] = "TwoPoint";
42
+ EConfidence[EConfidence["ThreePoint"] = 3] = "ThreePoint";
43
+ EConfidence[EConfidence["FourPoint"] = 4] = "FourPoint";
44
+ EConfidence[EConfidence["FivePoint"] = 5] = "FivePoint";
45
+ EConfidence[EConfidence["SixPoint"] = 6] = "SixPoint";
46
+ EConfidence[EConfidence["SevenPoint"] = 7] = "SevenPoint";
47
+ EConfidence[EConfidence["EightPoint"] = 8] = "EightPoint";
48
+ EConfidence[EConfidence["NinePoint"] = 9] = "NinePoint";
49
+ EConfidence[EConfidence["TenPoint"] = 10] = "TenPoint";
50
+ })(EConfidence || (exports.EConfidence = EConfidence = {}));
51
+
52
+ var ConfidenceMapIcon = (_ConfidenceMapIcon = {}, _defineProperty(_ConfidenceMapIcon, EConfidence.OnePoint, _["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.TwoPoint, _2["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.ThreePoint, _3["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.FourPoint, _4["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.FivePoint, _5["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.SixPoint, _6["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.SevenPoint, _7["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.EightPoint, _8["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.NinePoint, _9["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.TenPoint, _10["default"]), _ConfidenceMapIcon);
53
+ exports.ConfidenceMapIcon = ConfidenceMapIcon;
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>1</title>
4
+ <defs>
5
+ <linearGradient x1="97.5204612%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
6
+ <stop stop-color="#FF5555" offset="0%"></stop>
7
+ <stop stop-color="#FFA5A5" offset="100%"></stop>
8
+ </linearGradient>
9
+ <path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" id="path-2"></path>
10
+ <linearGradient x1="35.6067299%" y1="-7.3874199%" x2="39.8232883%" y2="80.1176065%" id="linearGradient-4">
11
+ <stop stop-color="#FFFFFF" stop-opacity="0.300000012" offset="5.24306633%"></stop>
12
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="81.7708313%"></stop>
13
+ </linearGradient>
14
+ <linearGradient x1="109.201964%" y1="-32.6093597%" x2="-34.6017883%" y2="143.225568%" id="linearGradient-5">
15
+ <stop stop-color="#FFFFFF" offset="7.84609392%"></stop>
16
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
17
+ </linearGradient>
18
+ </defs>
19
+ <g id="信心指数" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
20
+ <g transform="translate(-466.000000, -40.000000)" id="1">
21
+ <g transform="translate(466.000000, 40.000000)">
22
+ <rect id="矩形" x="0" y="0" width="24" height="24"></rect>
23
+ <g id="编组" transform="translate(1.000000, 2.000000)">
24
+ <g id="Union" transform="translate(0.219714, 0.216712)">
25
+ <g id="路径-3">
26
+ <mask id="mask-3" fill="white">
27
+ <use xlink:href="#path-2"></use>
28
+ </mask>
29
+ <use id="蒙版" fill="url(#linearGradient-1)" xlink:href="#path-2"></use>
30
+ <path d="M-0.226151355,18.4200861 C3.33323438,15.6910419 7.44985819,15.2359812 12.1237201,17.0549038 C16.797582,18.8738264 20.6277271,17.641334 23.6141555,13.3574264 L23.6141555,-0.664737388 L-0.226151355,-0.664737388 L-0.226151355,18.4200861 Z" fill="#FFD3D3" mask="url(#mask-3)"></path>
31
+ </g>
32
+ <path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" stroke-opacity="0.3" stroke="#FFFFFF" stroke-width="0.5" stroke-dasharray="0"></path>
33
+ </g>
34
+ <path d="M6.8869768,1.71651047 C4.04105067,1.70395203 1.74386871,3.9927455 1.75648263,6.83153261 C1.76918964,9.66782078 4.08688702,11.9770628 6.93281315,11.9897248 C9.77622299,12.0022722 12.0734049,9.71347873 12.0608021,6.87719056 C12.048084,4.03840345 9.73038664,1.72916147 6.8869768,1.71651047 Z" id="Ellipse-170" fill="url(#linearGradient-4)" transform="translate(6.908642, 6.853118) rotate(-26.050000) translate(-6.908642, -6.853118) "></path>
35
+ <path d="M6.71275953,3.87516411 C5.4467279,4.12903387 4.758381,5.77118001 4.58781188,6.81893961" id="Vector-120" stroke="url(#linearGradient-5)" stroke-width="2.52174201" stroke-dasharray="0" transform="translate(5.650286, 5.347052) rotate(8.070000) translate(-5.650286, -5.347052) "></path>
36
+ </g>
37
+ </g>
38
+ </g>
39
+ </g>
40
+ </svg>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>10</title>
4
+ <defs>
5
+ <linearGradient x1="97.5204612%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
6
+ <stop stop-color="#FF5555" offset="0%"></stop>
7
+ <stop stop-color="#FFA5A5" offset="100%"></stop>
8
+ </linearGradient>
9
+ <linearGradient x1="35.6067299%" y1="-7.3874199%" x2="39.8232883%" y2="80.1176065%" id="linearGradient-2">
10
+ <stop stop-color="#FFFFFF" stop-opacity="0.300000012" offset="5.24306633%"></stop>
11
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="81.7708313%"></stop>
12
+ </linearGradient>
13
+ <linearGradient x1="109.201964%" y1="-32.6093597%" x2="-34.6017883%" y2="143.225568%" id="linearGradient-3">
14
+ <stop stop-color="#FFFFFF" offset="7.84609392%"></stop>
15
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
16
+ </linearGradient>
17
+ </defs>
18
+ <g id="信心指数" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
19
+ <g transform="translate(-466.000000, -364.000000)" id="10">
20
+ <g transform="translate(466.000000, 364.000000)">
21
+ <rect id="矩形" x="0" y="0" width="24" height="24"></rect>
22
+ <g id="编组" transform="translate(1.000000, 2.000000)">
23
+ <g id="Union" transform="translate(0.219714, 0.216712)">
24
+ <path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" fill="url(#linearGradient-1)"></path>
25
+ <path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" stroke-opacity="0.3" stroke="#FFFFFF" stroke-width="0.5" stroke-dasharray="0"></path>
26
+ </g>
27
+ <path d="M6.8869768,1.71651047 C4.04105067,1.70395203 1.74386871,3.9927455 1.75648263,6.83153261 C1.76918964,9.66782078 4.08688702,11.9770628 6.93281315,11.9897248 C9.77622299,12.0022722 12.0734049,9.71347873 12.0608021,6.87719056 C12.048084,4.03840345 9.73038664,1.72916147 6.8869768,1.71651047 Z" id="Ellipse-170" fill="url(#linearGradient-2)" transform="translate(6.908642, 6.853118) rotate(-26.050000) translate(-6.908642, -6.853118) "></path>
28
+ <path d="M6.71275953,3.87516411 C5.4467279,4.12903387 4.758381,5.77118001 4.58781188,6.81893961" id="Vector-120" stroke="url(#linearGradient-3)" stroke-width="2.52174201" stroke-dasharray="0" transform="translate(5.650286, 5.347052) rotate(8.070000) translate(-5.650286, -5.347052) "></path>
29
+ </g>
30
+ </g>
31
+ </g>
32
+ </g>
33
+ </svg>