@titaui/pc 1.16.90 → 1.16.92-beta.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/lib/components/checkbox/index.css +10 -1
  2. package/lib/components/checkbox/index.js +7 -2
  3. package/lib/components/checkbox/part-checked.svg +16 -0
  4. package/lib/components/dynamic/components/new-upvote-item/attitude.js +35 -0
  5. package/lib/components/dynamic/components/new-upvote-item/img/666.svg +102 -0
  6. package/lib/components/dynamic/components/new-upvote-item/img/bixin.svg +71 -0
  7. package/lib/components/dynamic/components/new-upvote-item/img/fighting.svg +152 -0
  8. package/lib/components/dynamic/components/new-upvote-item/img/nice.svg +108 -0
  9. package/lib/components/dynamic/components/new-upvote-item/img/thumb-up.svg +130 -0
  10. package/lib/components/dynamic/components/new-upvote-item/img/welldone.svg +59 -0
  11. package/lib/components/dynamic/components/new-upvote-item/index.css +32 -0
  12. package/lib/components/dynamic/components/new-upvote-item/index.js +39 -0
  13. package/lib/components/dynamic/dynamic-item/components/footer-left/index.css +21 -0
  14. package/lib/components/dynamic/dynamic-item/components/footer-left/index.js +63 -0
  15. package/lib/components/dynamic/dynamic-item/index.css +0 -8
  16. package/lib/components/dynamic/dynamic-item/index.js +5 -27
  17. package/lib/components/form/form-fields/radios/index.js +5 -2
  18. package/lib/components/guide-tip/index.js +9 -5
  19. package/lib/components/keyword-search/index.css +1 -0
  20. package/lib/components/menus/components/menu-tree/images/appraisal-menu/launch.svg +1 -16
  21. package/lib/components/menus/components/menu-tree/images/appraisal-menu/setting.svg +1 -16
  22. package/lib/components/menus/components/menu-tree/images/survey-menu/share-mine.png +0 -0
  23. package/lib/components/menus/components/menu-tree/tree-node/assess-manage.js +41 -6
  24. package/lib/components/menus/components/menu-tree/tree-node/index.css +30 -2
  25. package/lib/components/menus/components/search-colleague/index.css +21 -1
  26. package/lib/components/menus/components/search-colleague/index.js +24 -41
  27. package/lib/components/menus/export-modules/appraisal-menus/index.js +10 -7
  28. package/lib/components/menus/export-modules/appraisal-menus/menus.js +14 -14
  29. package/lib/components/menus/export-modules/interview-menus/index.js +10 -7
  30. package/lib/components/menus/export-modules/survey-menu/menu-highlight.js +8 -0
  31. package/lib/components/menus/export-modules/survey-menu/menus.js +10 -1
  32. package/lib/components/nav-top/index.js +2 -1
  33. package/lib/components/new-upvote-item/attitude.js +35 -0
  34. package/lib/components/new-upvote-item/img/666.svg +102 -0
  35. package/lib/components/new-upvote-item/img/bixin.svg +71 -0
  36. package/lib/components/new-upvote-item/img/fighting.svg +152 -0
  37. package/lib/components/new-upvote-item/img/nice.svg +108 -0
  38. package/lib/components/new-upvote-item/img/thumb-up.svg +130 -0
  39. package/lib/components/new-upvote-item/img/welldone.svg +59 -0
  40. package/lib/components/new-upvote-item/index.css +32 -0
  41. package/lib/components/new-upvote-item/index.js +39 -0
  42. package/lib/components/okr-detail/components/ao-nice/index.css +1 -1
  43. package/lib/components/okr-detail/components/ao-nice/index.js +5 -9
  44. package/lib/components/radio/index.css +1 -1
  45. package/lib/components/regulation-setting-item/index.css +6 -6
  46. package/lib/components/regulation-setting-item/index.js +1 -1
  47. package/lib/components/switch/index.css +5 -0
  48. package/lib/components/switch/index.js +3 -3
  49. package/lib/components/switch/rc-switch.css +3 -3
  50. package/lib/components/table/index.js +9 -3
  51. package/lib/components/toast/components/SuccessRender.js +1 -1
  52. package/lib/components/unchain-okr-modal/img/bg.png +0 -0
  53. package/lib/components/unchain-okr-modal/img/close.png +0 -0
  54. package/lib/components/unchain-okr-modal/index.css +34 -0
  55. package/lib/components/unchain-okr-modal/index.js +110 -0
  56. package/lib/components/unchain-okr-modal/request-api.js +14 -0
  57. package/lib/components-v1/radio/radio.js +25 -25
  58. package/lib/components-v1/radio/style/index.css +44 -12
  59. package/lib/index.js +7 -0
  60. package/package.json +1 -1
@@ -0,0 +1,130 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>点赞</title>
4
+ <defs>
5
+ <path d="M4.02108643,13.7869534 C3.4459385,12.8283735 2.67907459,12.1094386 1.72049471,11.6301486 C0.282624887,10.9112137 -1.01145795,8.75440897 1.14534678,6.59760424 C3.30215151,4.4407995 8.04712193,6.59760424 8.04712193,10.9112137 C7.56783199,11.8697936 6.22582015,12.8283735 4.02108643,13.7869534 Z" id="path-1"></path>
6
+ <filter x="-24.9%" y="-24.9%" width="149.7%" height="149.8%" filterUnits="objectBoundingBox" id="filter-2">
7
+ <feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
8
+ <feOffset dx="0" dy="-1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
9
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
10
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 0.694117647 0 0 0 0 0 0 0 0 1 0" type="matrix" in="shadowInnerInner1" result="shadowMatrixInner1"></feColorMatrix>
11
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner2"></feGaussianBlur>
12
+ <feOffset dx="0" dy="1" in="shadowBlurInner2" result="shadowOffsetInner2"></feOffset>
13
+ <feComposite in="shadowOffsetInner2" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner2"></feComposite>
14
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0" type="matrix" in="shadowInnerInner2" result="shadowMatrixInner2"></feColorMatrix>
15
+ <feMerge>
16
+ <feMergeNode in="shadowMatrixInner1"></feMergeNode>
17
+ <feMergeNode in="shadowMatrixInner2"></feMergeNode>
18
+ </feMerge>
19
+ </filter>
20
+ <path d="M8.05747142,5.70700193 L10.3384627,5.49979118 C10.4966341,5.4854225 10.6132093,5.34555113 10.5988406,5.18737971 C10.5936393,5.13012365 10.5713958,5.07574088 10.5349813,5.03125157 L9.58439013,3.86986756 C9.48379426,3.74696465 9.3026127,3.72888121 9.17970979,3.82947707 C9.17127866,3.83637794 9.16324653,3.84375237 9.15565223,3.85156469 L7.82525215,5.22015945 C7.71454788,5.33404194 7.71712435,5.51610548 7.83100683,5.62680974 C7.8911788,5.68530243 7.97389856,5.71459389 8.05747142,5.70700193 Z" id="path-3"></path>
21
+ <filter x="-1.1%" y="-16.5%" width="107.3%" height="136.5%" filterUnits="objectBoundingBox" id="filter-4">
22
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
23
+ <feOffset dx="0" dy="0" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
24
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
25
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
26
+ </filter>
27
+ <path d="M6.89523492,4.96891335 L8.1505371,1.58049014 C8.20571129,1.43155907 8.12970632,1.26609907 7.98077525,1.21092488 C7.96157045,1.20381012 7.94166057,1.19876728 7.92138446,1.19588219 L5.8137757,0.895990051 C5.65653678,0.873616489 5.51093209,0.982946465 5.48855853,1.14018539 C5.48356915,1.17525015 5.48510017,1.21093492 5.49307451,1.24544348 L6.34538109,4.93375882 C6.38113997,5.08850364 6.53557373,5.1849608 6.69031854,5.14920192 C6.78460827,5.12741317 6.86161596,5.05966063 6.89523492,4.96891335 Z" id="path-5"></path>
28
+ <filter x="-31.7%" y="-18.8%" width="162.8%" height="124.5%" filterUnits="objectBoundingBox" id="filter-6">
29
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
30
+ <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
31
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
32
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
33
+ </filter>
34
+ <path d="M5.38265748,4.33324911 L4.24502401,2.55149977 C4.15955325,2.41763638 3.9817478,2.37840641 3.84788442,2.46387717 C3.84676103,2.46459444 3.84564264,2.46531952 3.84452934,2.46605234 L2.75497614,3.18324181 C2.62231407,3.27056553 2.58556008,3.44889924 2.6728838,3.5815613 C2.70166704,3.62528876 2.7418406,3.66032975 2.78907278,3.68290598 L5.01625946,4.74746586 C5.1595543,4.81595852 5.33124199,4.75531937 5.39973465,4.61202453 C5.44257941,4.52238815 5.4361227,4.41698575 5.38265748,4.33324911 Z" id="path-7"></path>
35
+ <filter x="-19.6%" y="-30.8%" width="133.6%" height="151.5%" filterUnits="objectBoundingBox" id="filter-8">
36
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
37
+ <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
38
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
39
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
40
+ </filter>
41
+ <linearGradient x1="57.0153643%" y1="-10.223569%" x2="18.9094328%" y2="100%" id="linearGradient-9">
42
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="0%"></stop>
43
+ <stop stop-color="#FFFFFF" offset="50.610323%"></stop>
44
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
45
+ </linearGradient>
46
+ <filter x="-67.9%" y="-41.7%" width="235.8%" height="183.3%" filterUnits="objectBoundingBox" id="filter-10">
47
+ <feGaussianBlur stdDeviation="0.359467456" in="SourceGraphic"></feGaussianBlur>
48
+ </filter>
49
+ <path d="M13.3672403,26.0088468 C8.33469589,28.1656516 3.4459385,25.2899119 2.29564264,19.5384326 C1.14534678,13.7869534 6.89682607,10.6236397 9.77256572,10.6236397 C12.6483054,10.6236397 14.5175361,12.3490835 14.5175361,13.7869534 C14.5175361,14.7455332 15.332329,16.423048 16.9619148,18.8194977 C17.9204947,22.1745273 16.7222699,24.570977 13.3672403,26.0088468 Z" id="path-11"></path>
50
+ <filter x="-13.2%" y="-12.4%" width="126.4%" height="124.8%" filterUnits="objectBoundingBox" id="filter-12">
51
+ <feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
52
+ <feOffset dx="0" dy="-1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
53
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
54
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 0.694117647 0 0 0 0 0 0 0 0 1 0" type="matrix" in="shadowInnerInner1" result="shadowMatrixInner1"></feColorMatrix>
55
+ <feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner2"></feGaussianBlur>
56
+ <feOffset dx="0" dy="1" in="shadowBlurInner2" result="shadowOffsetInner2"></feOffset>
57
+ <feComposite in="shadowOffsetInner2" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner2"></feComposite>
58
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0" type="matrix" in="shadowInnerInner2" result="shadowMatrixInner2"></feColorMatrix>
59
+ <feMerge>
60
+ <feMergeNode in="shadowMatrixInner1"></feMergeNode>
61
+ <feMergeNode in="shadowMatrixInner2"></feMergeNode>
62
+ </feMerge>
63
+ </filter>
64
+ <path d="M16.9619148,15.2248232 C17.2854355,15.8718646 17.3687421,16.584419 17.2118346,17.3624863 C17.1580309,17.1210698 17.0745247,16.8879127 16.9619148,16.662693 C16.2429799,15.2248232 13.2292884,14.4763099 9.77256572,17.1507772 C8.97811341,17.7654452 8.32997813,18.356622 7.82815985,18.9243074 L6.89682607,18.8194977 C7.37611601,17.8609178 8.33469589,16.8253877 9.77256572,15.7129074 C13.2292884,13.03844 16.2429799,13.7869534 16.9619148,15.2248232 Z" id="path-13"></path>
65
+ <filter x="-12.5%" y="-25.9%" width="124.9%" height="151.8%" filterUnits="objectBoundingBox" id="filter-14">
66
+ <feGaussianBlur stdDeviation="0.431360947" in="SourceGraphic"></feGaussianBlur>
67
+ </filter>
68
+ <filter x="-22.1%" y="-45.9%" width="144.2%" height="191.8%" filterUnits="objectBoundingBox" id="filter-15">
69
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
70
+ <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
71
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
72
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
73
+ </filter>
74
+ <linearGradient x1="57.2829326%" y1="39.1992779%" x2="16.1059216%" y2="60.71977%" id="linearGradient-16">
75
+ <stop stop-color="#FFD048" offset="0%"></stop>
76
+ <stop stop-color="#FFC93A" stop-opacity="0" offset="100%"></stop>
77
+ </linearGradient>
78
+ <path d="M17.3932758,18.8194977 C18.3096021,19.837638 18.3427838,20.9819419 17.8756854,22.067358 C17.9217755,21.3496005 17.699366,20.6341279 17.1034615,19.9720118 C15.9326318,19.0713736 13.8309833,19.8631332 10.7985159,22.3472906 L10.4915006,21.6952374 C13.8465302,18.8194977 16.1471219,17.8609178 17.3932758,18.8194977 Z" id="path-17"></path>
79
+ <filter x="-16.8%" y="-33.3%" width="133.7%" height="166.6%" filterUnits="objectBoundingBox" id="filter-18">
80
+ <feGaussianBlur stdDeviation="0.431360947" in="SourceGraphic"></feGaussianBlur>
81
+ </filter>
82
+ <filter x="-29.9%" y="-59.0%" width="159.7%" height="218.0%" filterUnits="objectBoundingBox" id="filter-19">
83
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
84
+ <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
85
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
86
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
87
+ </filter>
88
+ </defs>
89
+ <g id="OKR列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
90
+ <g id="任务/项目-交互说明" transform="translate(-364.000000, -373.000000)">
91
+ <g id="编组" transform="translate(55.000000, 359.000000)">
92
+ <g id="编组-4" transform="translate(309.000000, 14.000000)">
93
+ <g id="加油-手" transform="translate(6.000000, 1.000000)">
94
+ <g id="路径-26">
95
+ <use fill="#FFD048" fill-rule="evenodd" xlink:href="#path-1"></use>
96
+ <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
97
+ </g>
98
+ <g id="路径-14" transform="translate(9.081001, 4.698894) rotate(-345.000000) translate(-9.081001, -4.698894) ">
99
+ <use fill="#2879FF" fill-rule="evenodd" xlink:href="#path-3"></use>
100
+ <use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"></use>
101
+ </g>
102
+ <g id="路径-14" transform="translate(6.836543, 3.353197) rotate(-345.000000) translate(-6.836543, -3.353197) ">
103
+ <use fill="#FFC639" fill-rule="evenodd" xlink:href="#path-5"></use>
104
+ <use fill="black" fill-opacity="1" filter="url(#filter-6)" xlink:href="#path-5"></use>
105
+ </g>
106
+ <g id="路径-14" transform="translate(4.126899, 3.743595) rotate(-345.000000) translate(-4.126899, -3.743595) ">
107
+ <use fill="#F05E5E" fill-rule="evenodd" xlink:href="#path-7"></use>
108
+ <use fill="black" fill-opacity="1" filter="url(#filter-8)" xlink:href="#path-7"></use>
109
+ </g>
110
+ <path d="M5.36733319,6.31956296 C5.78111486,8.23811779 4.93283718,9.67598762 2.82250016,10.6331724" id="路径-12" stroke="url(#linearGradient-9)" stroke-width="1.43786982" opacity="0.6" stroke-linecap="round" filter="url(#filter-10)" transform="translate(4.145790, 8.476368) rotate(-95.000000) translate(-4.145790, -8.476368) "></path>
111
+ <g id="路径-34">
112
+ <use fill="#FFD048" fill-rule="evenodd" xlink:href="#path-11"></use>
113
+ <use fill="black" fill-opacity="1" filter="url(#filter-12)" xlink:href="#path-11"></use>
114
+ </g>
115
+ <path d="M6.89682607,18.8194977 C7.37611601,17.8609178 8.33469589,16.8253877 9.77256572,15.7129074 C13.2292884,13.03844 16.2429799,13.7869534 16.9619148,15.2248232 C17.4412048,16.1834031 17.3932758,17.2857699 16.8181278,18.5319238 L13.3672403,19.5384326" id="路径-35" fill="#FFD048"></path>
116
+ <g id="形状结合" opacity="0.8" filter="url(#filter-14)">
117
+ <use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-13"></use>
118
+ <use fill="black" fill-opacity="1" filter="url(#filter-15)" xlink:href="#path-13"></use>
119
+ </g>
120
+ <path d="M10.4915006,21.6952374 C13.8465302,18.8194977 16.1471219,17.8609178 17.3932758,18.8194977 C19.9814415,21.6952374 15.524045,25.5774859 12.6483054,26.2964208" id="路径-36" fill="url(#linearGradient-16)"></path>
121
+ <g id="形状结合" opacity="0.8" filter="url(#filter-18)">
122
+ <use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-17"></use>
123
+ <use fill="black" fill-opacity="1" filter="url(#filter-19)" xlink:href="#path-17"></use>
124
+ </g>
125
+ </g>
126
+ </g>
127
+ </g>
128
+ </g>
129
+ </g>
130
+ </svg>
@@ -0,0 +1,59 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>给力</title>
4
+ <defs>
5
+ <path d="M28.970811,4.13489332 C28.9902052,4.21731882 29,4.30171106 29,4.38638749 L29,20.1219944 C29,20.68693 28.5713381,21.1596727 28.009098,21.2147943 L10.684,22.9131008 L6.37744688,26.5438947 C6.33784064,26.5772804 6.29121668,26.6006161 6.24151243,26.6124637 L6.16513804,26.6214393 C5.98320894,26.6214393 5.83572627,26.4739567 5.83572627,26.2920276 L5.83572627,26.2920276 L5.835,23.3881008 L2.20517647,23.7445905 C1.60163972,23.8037608 1.06440954,23.3624646 1.00523927,22.7589278 C1.00174851,22.7233221 1,22.687567 1,22.6517906 L1,10.4578984 C1,9.94835172 1.35054351,9.50575447 1.84654505,9.38904822 L27.6504666,3.31753727 C28.2407763,3.17864087 28.8319146,3.54458364 28.970811,4.13489332 Z" id="path-1"></path>
6
+ <filter x="-5.4%" y="-6.4%" width="110.7%" height="112.9%" filterUnits="objectBoundingBox" id="filter-2">
7
+ <feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
8
+ <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
9
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
10
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
11
+ </filter>
12
+ <linearGradient x1="50.8454232%" y1="97.500305%" x2="49.8005483%" y2="4.01182731%" id="linearGradient-3">
13
+ <stop stop-color="#FAA300" offset="0%"></stop>
14
+ <stop stop-color="#FCE1AF" offset="100%"></stop>
15
+ </linearGradient>
16
+ <path d="M27.3233823,4.13541664 C27.3430214,4.21833759 27.3529412,4.30326285 27.3529412,4.38847777 L27.3529412,19.1690729 C27.3529412,19.7337399 26.9246747,20.2063498 26.3627373,20.2618042 L10.032,21.8731897 L6.4894375,25.0224608 C6.44923804,25.0581936 6.40122823,25.0832633 6.34978383,25.0960061 L6.27058824,25.1056671 C6.08865914,25.1056671 5.94117647,24.9581845 5.94117647,24.7762554 L5.94117647,24.7762554 L5.941,22.2761897 L2.20587454,22.6457051 C1.60237572,22.7052609 1.06486374,22.264308 1.00530793,21.6608091 C1.00177145,21.6249728 1,21.5889842 1,21.5529738 L1,10.10984 C1,9.60089487 1.34973362,9.15865442 1.84497809,9.04135968 L26.0018408,3.31999745 C26.5919462,3.18023565 27.1836205,3.54531125 27.3233823,4.13541664 Z" id="path-4"></path>
17
+ <filter x="-5.7%" y="-6.9%" width="111.4%" height="113.8%" filterUnits="objectBoundingBox" id="filter-5">
18
+ <feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
19
+ <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
20
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
21
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
22
+ </filter>
23
+ <path d="M14.0786396,13.049887 L14.5496197,11.9516675 L10.7264618,11.0541916 L11.5046295,10.0156934 L10.9080548,9.27613499 L7.7435882,13.2632627 L8.34016292,13.9898763 L10.0498245,11.919484 L14.0786396,13.049887 Z M7.79591931,17.2174901 L7.82731798,16.1613394 L6.30971563,17.0603937 L7.22027704,15.1343439 L7.00285835,14.0121654 L5.85165981,14.4432564 L7.22027704,11.919484 L6.30971563,11.4848833 L4.54329592,15.1524575 L4.71075549,15.9809849 L6.09229694,15.2931345 L4.92817418,17.4611447 L4.92817418,18.5963739 L7.79591931,17.2174901 Z M12.8825037,14.6809638 L12.9243686,13.5369099 L8.79021051,14.0699528 L8.75881184,15.1343439 L12.8825037,14.6809638 Z M9.83794903,19.7661837 L12.8511051,19.7661837 L13.2383553,19.2918548 L13.2383553,16.1613394 L12.7883077,15.5276048 L9.50558088,15.8036006 L8.99273594,16.4793119 L9.26230676,19.3849624 L9.83794903,19.7661837 Z M10.1728682,18.5963739 L10.0498245,16.8388255 L12.3696588,16.6476951 L12.3696588,18.7435572 L10.1728682,18.5963739 Z M4.71075549,20.537782 L8.10653414,18.9839345 L7.65648655,18.1099078 L4.92817418,19.2918548 L4.71075549,20.537782 Z M16.3780479,18.9839345 L19.2278077,11.4848833 L22.417233,11.0541916 L21.9985841,17.0603937 L20.7348154,16.1613394 L20.2345047,17.4611447 L22.417233,18.6777647 L23.1917335,18.1413364 L23.7359771,10.2307294 L23.2649971,9.56754837 L19.6902611,10.0156934 L20.2345047,8.13455138 L19.0680416,8.05431569 L18.3982033,10.3506914 L15.708384,10.7793034 L15.6769853,11.9629526 L18.0109531,11.6366174 L14.9251197,19.2918548 L16.3780479,18.9839345 Z" id="path-6"></path>
24
+ <filter x="-13.0%" y="-20.0%" width="136.5%" height="156.1%" filterUnits="objectBoundingBox" id="filter-7">
25
+ <feOffset dx="1" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
26
+ <feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
27
+ <feColorMatrix values="0 0 0 0 0.93970788 0 0 0 0 0.407798002 0 0 0 0 0 0 0 0 1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
28
+ </filter>
29
+ <filter x="-7.8%" y="-12.0%" width="126.1%" height="140.1%" filterUnits="objectBoundingBox" id="filter-8">
30
+ <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
31
+ <feOffset dx="0" dy="0" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
32
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
33
+ <feColorMatrix values="0 0 0 0 0.980392157 0 0 0 0 0.639215686 0 0 0 0 0 0 0 0 0.7 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
34
+ </filter>
35
+ </defs>
36
+ <g id="OKR列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
37
+ <g id="任务/项目-交互说明" transform="translate(-74.000000, -373.000000)">
38
+ <g id="编组" transform="translate(55.000000, 359.000000)">
39
+ <g id="给力" transform="translate(19.000000, 14.000000)">
40
+ <g id="形状结合">
41
+ <use fill="#FAA300" fill-rule="evenodd" xlink:href="#path-1"></use>
42
+ <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
43
+ </g>
44
+ <path d="M26.2626929,3.29018973 L27.9019608,3.29018973 C28.5083911,3.29018973 29,3.78179863 29,4.38822894 L29,20.1224377 C29,20.6871869 28.5716125,21.1598375 28.0095824,21.21519 L26.8026149,21.3340603 L26.8026149,21.3340603 L26.2626929,3.29018973 Z" id="路径-46" fill="url(#linearGradient-3)"></path>
45
+ <g id="形状结合" transform="translate(14.176471, 14.197928) rotate(-360.000000) translate(-14.176471, -14.197928) ">
46
+ <use fill="#FAA300" fill-rule="evenodd" xlink:href="#path-4"></use>
47
+ <use fill="black" fill-opacity="1" filter="url(#filter-5)" xlink:href="#path-4"></use>
48
+ </g>
49
+ <g fill-rule="nonzero">
50
+ <use fill="black" fill-opacity="1" filter="url(#filter-7)" xlink:href="#path-6"></use>
51
+ <use fill="#FFFFFF" xlink:href="#path-6"></use>
52
+ <use fill="black" fill-opacity="1" filter="url(#filter-8)" xlink:href="#path-6"></use>
53
+ </g>
54
+ <path d="M21.2929295,6.48387858 L25.0454025,5.4176146 C25.3370714,5.33473698 25.6407013,5.50399574 25.7235789,5.79566461 C25.7374495,5.84447908 25.7444853,5.89498093 25.7444853,5.94572781 L25.7444853,9.27613499 L25.7444853,9.27613499 L25.1634298,6.67722568 C25.1041356,6.41201831 24.8597426,6.23009402 24.588673,6.24938107 L21.2929295,6.48387858 L21.2929295,6.48387858 Z" id="路径-47" fill="#FFFFFF"></path>
55
+ </g>
56
+ </g>
57
+ </g>
58
+ </g>
59
+ </svg>
@@ -0,0 +1,32 @@
1
+ .titaui-new-upvote-item {
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ height: 28px;
6
+ background: #f0f4fa;
7
+ border-radius: 16px;
8
+ padding: 0 8px;
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ .titaui-new-upvote-item__img {
13
+ width: 24px;
14
+ height: 24px;
15
+ }
16
+
17
+ .titaui-new-upvote-item__line {
18
+ width: 1px;
19
+ height: 14px;
20
+ background: linear-gradient(270deg, rgba(191, 199, 213, 0) 0%, #bfc7d5 50%, rgba(240, 242, 245, 0) 100%);
21
+ border-radius: 50%;
22
+ margin: 0 4px;
23
+ box-sizing: border-box;
24
+ flex-shrink: 0;
25
+ }
26
+
27
+ .titaui-new-upvote-item__name {
28
+ font-size: 12px;
29
+ font-weight: normal;
30
+ color: #6f7886;
31
+ line-height: 18px;
32
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _tooltip = _interopRequireDefault(require("../tooltip"));
9
+ var _openData = require("../../utils/open-data");
10
+ var _attitude = _interopRequireDefault(require("./attitude"));
11
+ require("./index.css");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ var preCls = 'titaui-new-upvote-item';
14
+ var NewUpvoteItem = function NewUpvoteItem(props) {
15
+ var _getAttitude$find;
16
+ var type = props.type,
17
+ name = props.name,
18
+ userId = props.userId;
19
+ var imgSrc = (_getAttitude$find = (0, _attitude["default"])().find(function (i) {
20
+ return i.type == type;
21
+ })) === null || _getAttitude$find === void 0 ? void 0 : _getAttitude$find.img;
22
+ return /*#__PURE__*/_react["default"].createElement("div", {
23
+ className: preCls
24
+ }, /*#__PURE__*/_react["default"].createElement("img", {
25
+ className: "".concat(preCls, "__img"),
26
+ src: imgSrc
27
+ }), /*#__PURE__*/_react["default"].createElement("span", {
28
+ className: "".concat(preCls, "__line")
29
+ }), /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
30
+ exClass: "".concat(preCls, "__name"),
31
+ text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
32
+ name: name,
33
+ id: userId
34
+ }),
35
+ maxWidth: 120
36
+ }));
37
+ };
38
+ var _default = NewUpvoteItem;
39
+ exports["default"] = _default;
@@ -65,7 +65,7 @@
65
65
  .titaui-ao-nice__user-item {
66
66
  position: relative;
67
67
  height: 24px;
68
- width: 24px;
68
+ min-width: 83px;
69
69
  display: inline-block;
70
70
  }
71
71
 
@@ -13,6 +13,7 @@ var _selector = _interopRequireDefault(require("../../../upvote/selector"));
13
13
  var _attitude = _interopRequireDefault(require("../../../upvote/attitude"));
14
14
  var _upvoteListModal = _interopRequireDefault(require("../../../upvote/upvoteListModal"));
15
15
  var _firework = _interopRequireDefault(require("../../../firework"));
16
+ var _newUpvoteItem = _interopRequireDefault(require("../../../new-upvote-item"));
16
17
  require("./index.css");
17
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
19
  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); }
@@ -183,15 +184,10 @@ function _default(props) {
183
184
  }, praiseUsers.map(function (publishUser) {
184
185
  return /*#__PURE__*/_react["default"].createElement("div", {
185
186
  className: (0, _classnames["default"])("".concat(preCls, "__user-item"))
186
- }, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
187
- userId: publishUser.userId,
188
- src: publishUser.avatar.medium,
189
- color: publishUser.avatar.color,
190
- name: publishUser.name
191
- }), /*#__PURE__*/_react["default"].createElement("img", {
192
- src: (0, _attitude["default"])().find(function (att) {
193
- return att.type == feedData.praiseUserIds[publishUser.userId];
194
- }).img
187
+ }, /*#__PURE__*/_react["default"].createElement(_newUpvoteItem["default"], {
188
+ type: publishUser.praiseType,
189
+ name: publishUser.name,
190
+ userId: publishUser.userId
195
191
  }));
196
192
  })), /*#__PURE__*/_react["default"].createElement(_upvoteListModal["default"], {
197
193
  visible: modalVisible,
@@ -50,7 +50,7 @@
50
50
  bottom: 0;
51
51
  border-radius: 100px;
52
52
  background-color: #fff;
53
- border: 1px solid #92979c;
53
+ border: 1px solid #bfc7d5;
54
54
  transition: all 300ms;
55
55
  }
56
56
 
@@ -1,8 +1,8 @@
1
- .regulation-setting-item {
1
+ .dialog-setting-item {
2
2
  display: flex;
3
3
  }
4
4
 
5
- .regulation-setting-item__label {
5
+ .dialog-setting-item__label {
6
6
  color: #89919F;
7
7
  font-size: 14px;
8
8
  line-height: 22px;
@@ -13,21 +13,21 @@
13
13
  align-items: center;
14
14
  }
15
15
 
16
- .regulation-setting-item__content {
16
+ .dialog-setting-item__content {
17
17
  display: flex;
18
18
  align-items: center;
19
19
  }
20
20
 
21
- .regulation-setting-item__text {
21
+ .dialog-setting-item__text {
22
22
  display: flex;
23
23
  align-items: center;
24
24
  }
25
25
 
26
- .regulation-setting-item__text .regulation-setting-item__label {
26
+ .dialog-setting-item__text .dialog-setting-item__label {
27
27
  top: unset;
28
28
  white-space: nowrap;
29
29
  }
30
30
 
31
- .regulation-setting-item__nofirst {
31
+ .dialog-setting-item__nofirst {
32
32
  margin-top: 16px;
33
33
  }
@@ -9,7 +9,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
9
9
  require("./index.css");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
11
  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; }
12
- var precls = 'regulation-setting-item';
12
+ var precls = 'dialog-setting-item';
13
13
  var RegulationSettingItem = function RegulationSettingItem(props) {
14
14
  var label = props.label,
15
15
  children = props.children,
@@ -16,6 +16,11 @@
16
16
  background-color: #2879FF;
17
17
  }
18
18
 
19
+ .titaui-switch .tui-switch-checked.tui-switch-disabled {
20
+ background-color: #93BCFF !important;
21
+ border-color: #93BCFF !important;
22
+ }
23
+
19
24
  .titaui-switch .tui-switch:focus {
20
25
  box-shadow: unset !important;
21
26
  }
@@ -16,13 +16,13 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
16
16
  function _default(props) {
17
17
  var label = props.label,
18
18
  _props$size = props.size,
19
- size = _props$size === void 0 ? "normal" : _props$size,
19
+ size = _props$size === void 0 ? 'normal' : _props$size,
20
20
  restProps = _objectWithoutProperties(props, _excluded);
21
21
  return /*#__PURE__*/_react["default"].createElement("div", {
22
22
  className: "titaui-switch"
23
- }, label ? /*#__PURE__*/_react["default"].createElement("span", {
23
+ }, label && /*#__PURE__*/_react["default"].createElement("span", {
24
24
  className: "titaui-switch-label"
25
- }, label) : "", /*#__PURE__*/_react["default"].createElement(_rcSwitch["default"], _extends({
25
+ }, label), /*#__PURE__*/_react["default"].createElement(_rcSwitch["default"], _extends({
26
26
  prefixCls: "tui-switch"
27
27
  }, restProps)));
28
28
  }
@@ -65,12 +65,12 @@
65
65
 
66
66
  .tui-switch-disabled {
67
67
  cursor: no-drop;
68
- background: #ccc;
69
- border-color: #ccc;
68
+ background-color: #DFE3EA !important;
69
+ border-color: #DFE3EA !important;
70
70
  }
71
71
 
72
72
  .tui-switch-disabled:after {
73
- background: #9e9e9e;
73
+ background-color: #ffffff;
74
74
  animation-name: none;
75
75
  cursor: no-drop;
76
76
  }
@@ -13,7 +13,7 @@ var _pagination = _interopRequireDefault(require("../pagination"));
13
13
  var _checkbox = _interopRequireDefault(require("../checkbox"));
14
14
  require("rc-table/assets/index.css");
15
15
  require("./index.css");
16
- var _excluded = ["prefixCls", "columns", "tableData", "tableLayout", "total", "rowSelection", "pageNum", "setPageNum", "disablePagination", "pageSize", "setPageSize", "id", "setTableXScroll", "showTotal"],
16
+ var _excluded = ["prefixCls", "columns", "tableData", "tableLayout", "total", "rowSelection", "disabledSelectionList", "pageNum", "setPageNum", "disablePagination", "pageSize", "setPageSize", "id", "setTableXScroll", "showTotal"],
17
17
  _excluded2 = ["className"];
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
19
  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); }
@@ -51,6 +51,7 @@ function _default(props) {
51
51
  tableLayout = props.tableLayout,
52
52
  total = props.total,
53
53
  rowSelection = props.rowSelection,
54
+ disabledSelectionList = props.disabledSelectionList,
54
55
  pageNum = props.pageNum,
55
56
  setPageNum = props.setPageNum,
56
57
  disablePagination = props.disablePagination,
@@ -106,10 +107,14 @@ function _default(props) {
106
107
  return status;
107
108
  };
108
109
  var onCheckAllHandler = function onCheckAllHandler(checked) {
110
+ var disabledList = disabledSelectionList || [];
109
111
  var arr = deleteTdata(_toConsumableArray(rowSelected));
110
112
  if (checked) {
111
113
  for (var i = 0; i < tdata.length; i++) {
112
- arr.push(tdata[i].id);
114
+ if (!disabledList.includes(tdata[i].id)) {
115
+ arr.push(tdata[i].id);
116
+ }
117
+ ;
113
118
  }
114
119
  }
115
120
  setRowSelected(arr);
@@ -176,7 +181,8 @@ function _default(props) {
176
181
  className: "tita-checkbox",
177
182
  checked: has(data.id),
178
183
  name: data.id,
179
- onChange: onCheckHandler
184
+ onChange: onCheckHandler,
185
+ disabled: disabledSelectionList === null || disabledSelectionList === void 0 ? void 0 : disabledSelectionList.includes(data.id)
180
186
  }));
181
187
  }
182
188
  };
@@ -12,7 +12,7 @@ var _style = require("../style");
12
12
  var _templateObject, _templateObject2, _templateObject3;
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
14
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
- var Success = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t/* color: #00b70d; */\n\tdisplay: flex;\n\talign-items: center;\n\tword-break: break-all;\n\tline-height: 22px;\n\t.icon {\n\t\talign-self: flex-start;\n\t\tmargin-top: 4px;\n\t}\n\t/* color: #5AD8A6; */\n"])));
15
+ var Success = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t/* color: #00b70d; */\n\tdisplay: flex;\n\talign-items: center;\n\tword-break: break-all;\n\tline-height: 22px;\n\t.icon {\n\t\talign-self: flex-start;\n\t\tmargin-top: 4px;\n color: #5AD8A6;\n\t}\n color: #3F4755;\n\t/* color: #5AD8A6; */\n"])));
16
16
  var Warning = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\tcolor: #F6BD16;\n"])));
17
17
  var Error = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\tdisplay: flex;\n\talign-items: center;\n\tword-break: break-all;\n\tline-height: 22px;\n\t.icon {\n\t\talign-self: flex-start;\n\t\tmargin-top: 4px;\n\t}\n\t/* color: #efa400; */\n"])));
18
18
  function RenderSuccess(msg, key) {
@@ -0,0 +1,34 @@
1
+ .titaui-unchain-okr-modal__wrapper {
2
+ width: 294px;
3
+ height: 381px;
4
+ background-image: url("./img/bg.png");
5
+ background-size: contain;
6
+ cursor: pointer;
7
+ position: relative;
8
+ }
9
+
10
+ .titaui-unchain-okr-modal__content {
11
+ width: 169px;
12
+ font-size: 14px;
13
+ font-weight: 500;
14
+ color: #FFFFFF;
15
+ line-height: 24px;
16
+ position: absolute;
17
+ top: 152px;
18
+ left: 69px;
19
+ text-align: center;
20
+ }
21
+
22
+ .titaui-unchain-okr-modal__content-color {
23
+ color: #00ffde;
24
+ }
25
+
26
+ .titaui-unchain-okr-modal__close {
27
+ position: absolute;
28
+ width: 32px;
29
+ height: 32px;
30
+ background-image: url("./img/close.png");
31
+ background-size: contain;
32
+ right: -38px;
33
+ top: 11px;
34
+ }