@titaui/pc 1.16.97 → 1.16.98

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,13 +13,22 @@
13
13
  border: 1px solid #2879ff;
14
14
  }
15
15
 
16
+ .titaui-checkbox.titaui-checkbox--part-checked {
17
+ background: url(./part-checked.svg) transparent no-repeat 50% 50%;
18
+ border: none;
19
+ }
20
+
16
21
  .titaui-checkbox--checked {
17
22
  background: url(./checked.svg) transparent no-repeat 50% 50%;
18
23
  border: none;
19
24
  }
20
25
 
21
- .titaui-checkbox--disabled {
26
+ .titaui-checkbox.titaui-checkbox--disabled {
22
27
  background-color: #f0f2f5;
23
28
  opacity: 0.5;
24
29
  cursor: not-allowed;
25
30
  }
31
+
32
+ .titaui-checkbox.titaui-checkbox--disabled:hover {
33
+ border: 1px solid #bfc7d5;
34
+ }
@@ -27,7 +27,12 @@ function _default(props) {
27
27
  _props$name = props.name,
28
28
  name = _props$name === void 0 ? 0 : _props$name,
29
29
  _props$disabled = props.disabled,
30
- disabled = _props$disabled === void 0 ? false : _props$disabled;
30
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
31
+ _props$partChecked = props.partChecked,
32
+ partChecked = _props$partChecked === void 0 ? false : _props$partChecked;
33
+ (0, _react.useEffect)(function () {
34
+ console.log(partChecked);
35
+ }, [partChecked]);
31
36
  var _useState = (0, _react.useState)(function () {
32
37
  if (props.checked !== undefined) return props.checked;
33
38
  return defaultChecked;
@@ -45,7 +50,7 @@ function _default(props) {
45
50
  onChange && onChange(!checked, name);
46
51
  };
47
52
  return /*#__PURE__*/_react["default"].createElement("span", {
48
- className: (0, _classnames["default"])(pleCls, (_classNames = {}, _defineProperty(_classNames, "".concat(pleCls, "--checked"), checked), _defineProperty(_classNames, "".concat(pleCls, "--disabled"), disabled), _classNames)),
53
+ className: (0, _classnames["default"])(pleCls, (_classNames = {}, _defineProperty(_classNames, "".concat(pleCls, "--checked"), checked), _defineProperty(_classNames, "".concat(pleCls, "--part-checked"), partChecked), _defineProperty(_classNames, "".concat(pleCls, "--disabled"), disabled), _classNames)),
49
54
  onClick: onClickHandle
50
55
  });
51
56
  }
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>矩形</title>
4
+ <g id="评估名单" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="列表数据页备份" transform="translate(-1275.000000, -568.000000)">
6
+ <g id="编组-26" transform="translate(1235.000000, 335.000000)">
7
+ <g id="编组-27" transform="translate(40.000000, 230.000000)">
8
+ <g id="编组-5" transform="translate(0.000000, 3.000000)">
9
+ <rect id="矩形" fill="#2879FF" x="0" y="0" width="16" height="16" rx="4"></rect>
10
+ <rect id="矩形" fill="#FFFFFF" x="4" y="7" width="8" height="2" rx="1"></rect>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </svg>
@@ -62,6 +62,7 @@
62
62
  cursor: pointer;
63
63
  position: absolute;
64
64
  right: 8px;
65
+ color: #141c28 !important;
65
66
  }
66
67
 
67
68
  .titaui-keyword-search__search-icon.tu-icon-search:hover {
@@ -1,16 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="36px" height="18px" viewBox="0 0 36 18" 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="M9.348,4.308 L9.888,3.408 C9.64,3.232 9.288,3.02 8.832,2.772 C8.6,2.644 8.392,2.536 8.208,2.448 C8.024,2.36 7.864,2.284 7.728,2.22 L7.728,2.22 L7.212,3.048 C7.348,3.112 7.508,3.192 7.692,3.288 C7.876,3.384 8.08,3.5 8.304,3.636 C8.528,3.772 8.726,3.896 8.898,4.008 C9.07,4.12 9.22,4.22 9.348,4.308 L9.348,4.308 Z M10.968,13.704 L11.412,12.624 C9.908,12.192 8.668,11.66 7.692,11.028 C8.548,10.268 9.296,9.26 9.936,8.004 L9.936,8.004 L9.936,7.044 L4.788,7.044 C4.932,6.612 5.064,6.136 5.184,5.616 L5.184,5.616 L11.244,5.616 L11.244,4.656 L5.4,4.656 C5.528,3.952 5.648,3.196 5.76,2.388 L5.76,2.388 L4.656,2.304 C4.56,3.152 4.44,3.936 4.296,4.656 L4.296,4.656 L2.364,4.656 C2.468,4.312 2.558,3.982 2.634,3.666 C2.71,3.35 2.784,3.008 2.856,2.64 L2.856,2.64 L1.848,2.484 C1.816,2.628 1.78,2.796 1.74,2.988 C1.7,3.18 1.648,3.396 1.584,3.636 C1.52,3.868 1.462,4.08 1.41,4.272 C1.358,4.464 1.312,4.628 1.272,4.764 L1.272,4.764 L1.272,5.616 L4.068,5.616 C3.852,6.472 3.588,7.252 3.276,7.956 C2.94,8.732 2.514,9.49 1.998,10.23 C1.482,10.97 0.884,11.68 0.204,12.36 L0.204,12.36 L1.08,13.104 C1.816,12.336 2.436,11.586 2.94,10.854 C3.444,10.122 3.864,9.38 4.2,8.628 C4.44,9.076 4.708,9.494 5.004,9.882 C5.3,10.27 5.624,10.632 5.976,10.968 C4.992,11.552 3.684,12.088 2.052,12.576 L2.052,12.576 L2.508,13.608 C4.34,12.992 5.78,12.348 6.828,11.676 C7.356,12.06 7.96,12.422 8.64,12.762 C9.32,13.102 10.096,13.416 10.968,13.704 L10.968,13.704 Z M6.816,10.38 C6.016,9.708 5.38,8.924 4.908,8.028 L4.908,8.028 L8.736,8.028 C8.272,8.948 7.632,9.732 6.816,10.38 Z M13.128,13.596 C13.328,13.14 13.496,12.708 13.632,12.3 C13.768,11.892 13.872,11.496 13.944,11.112 C14.112,11.376 14.294,11.612 14.49,11.82 C14.686,12.028 14.91,12.212 15.162,12.372 C15.414,12.532 15.704,12.67 16.032,12.786 C16.36,12.902 16.748,12.996 17.196,13.068 C17.876,13.172 18.712,13.23 19.704,13.242 C20.696,13.254 21.908,13.22 23.34,13.14 L23.34,13.14 L23.52,12.12 C22.032,12.2 20.788,12.244 19.788,12.252 C18.788,12.26 17.96,12.212 17.304,12.108 C16.84,12.036 16.44,11.928 16.104,11.784 L16.104,11.784 L16.104,10.044 L17.856,10.044 L17.856,9.06 L16.104,9.06 L16.104,7.272 L17.976,7.272 L17.976,6.324 L15.876,6.324 L15.876,4.764 L17.676,4.764 L17.676,3.816 L15.876,3.816 L15.876,2.352 L14.916,2.352 L14.916,3.816 L13.008,3.816 L13.008,4.764 L14.916,4.764 L14.916,6.324 L12.588,6.324 L12.588,7.272 L15.144,7.272 L15.144,11.16 C14.944,10.976 14.764,10.76 14.604,10.512 C14.444,10.264 14.288,9.984 14.136,9.672 C14.16,9.416 14.178,9.15 14.19,8.874 C14.202,8.598 14.212,8.308 14.22,8.004 L14.22,8.004 L13.26,8.004 C13.26,9.22 13.192,10.192 13.056,10.92 C12.992,11.272 12.896,11.64 12.768,12.024 C12.64,12.408 12.476,12.82 12.276,13.26 L12.276,13.26 L13.128,13.596 Z M20.526,11.16 C20.69,11.16 20.852,11.158 21.012,11.154 C21.172,11.15 21.308,11.144 21.42,11.136 C21.708,11.112 21.944,11.078 22.128,11.034 C22.312,10.99 22.458,10.916 22.566,10.812 C22.674,10.708 22.758,10.562 22.818,10.374 C22.878,10.186 22.932,9.936 22.98,9.624 C22.996,9.536 23.014,9.402 23.034,9.222 C23.054,9.042 23.068,8.908 23.076,8.82 L23.076,8.82 L22.08,8.532 C22.072,8.636 22.062,8.766 22.05,8.922 C22.038,9.078 22.024,9.208 22.008,9.312 C21.984,9.496 21.96,9.642 21.936,9.75 C21.912,9.858 21.87,9.94 21.81,9.996 C21.75,10.052 21.666,10.088 21.558,10.104 C21.45,10.12 21.3,10.132 21.108,10.14 C21.036,10.14 20.946,10.142 20.838,10.146 C20.73,10.15 20.616,10.152 20.496,10.152 C20.376,10.152 20.262,10.15 20.154,10.146 C20.046,10.142 19.956,10.136 19.884,10.128 C19.732,10.12 19.614,10.106 19.53,10.086 C19.446,10.066 19.386,10.024 19.35,9.96 C19.314,9.896 19.292,9.806 19.284,9.69 C19.276,9.574 19.272,9.412 19.272,9.204 L19.272,6.936 L22.5,6.936 L22.5,3.024 L18.156,3.024 L18.156,3.996 L21.54,3.996 L21.54,5.976 L18.312,5.976 L18.312,9.432 C18.312,9.752 18.328,10.018 18.36,10.23 C18.392,10.442 18.456,10.612 18.552,10.74 C18.648,10.868 18.782,10.962 18.954,11.022 C19.126,11.082 19.352,11.12 19.632,11.136 C19.744,11.144 19.88,11.15 20.04,11.154 C20.2,11.158 20.362,11.16 20.526,11.16 Z" id="path-1"></path>
6
- </defs>
7
- <g id="首页+详情页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="发起" fill-rule="nonzero">
9
- <path d="M9,0 L27,0 C31.9705627,0 36,4.02943725 36,9 C36,13.9705627 31.9705627,18 27,18 L2,18 C0.8954305,18 0,17.1045695 0,16 L0,9 C0,4.02943725 4.02943725,0 9,0 Z" id="矩形" fill="#D4E4FF"></path>
10
- <g id="发起" transform="translate(6.000000, 1.000000)">
11
- <use fill="#000000" xlink:href="#path-1"></use>
12
- <use fill="#2879FF" xlink:href="#path-1"></use>
13
- </g>
14
- </g>
15
- </g>
16
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="18" viewBox="0 0 48 18"><g fill="none" fill-rule="evenodd"><path fill="#D4E4FF" d="M9,0 L39,0 C43.9705627,-9.13077564e-16 48,4.02943725 48,9 C48,13.9705627 43.9705627,18 39,18 L2,18 C0.8954305,18 1.02344917e-15,17.1045695 0,16 L0,9 C-6.08718376e-16,4.02943725 4.02943725,9.13077564e-16 9,0 Z"/><path fill="#2879FF" fill-rule="nonzero" d="M10.596.804 10.596 1.524 5.868 1.524 5.868 2.88 9.42 2.88 9.42 7.464 10.968 7.464 10.968 8.16 9.42 8.16 9.42 9.708C9.42 9.908 9.406 10.078 9.378 10.218 9.35 10.358 9.296 10.476 9.216 10.572 9.136 10.668 9.022 10.746 8.874 10.806 8.726 10.866 8.536 10.908 8.304 10.932 8 10.972 7.718 10.996 7.458 11.004 7.198 11.012 6.952 11.012 6.72 11.004L6.564 10.08C6.732 10.096 6.928 10.108 7.152 10.116 7.376 10.124 7.616 10.124 7.872 10.116 8.048 10.116 8.188 10.108 8.292 10.092 8.396 10.076 8.474 10.04 8.526 9.984 8.578 9.928 8.61 9.846 8.622 9.738 8.634 9.63 8.64 9.488 8.64 9.312L8.64 8.16 2.34 8.16 2.34 11.184 1.56 11.184 1.56 8.16 0 8.16 0 7.464 1.56 7.464 1.56 2.88 5.1 2.88 5.1 1.524.384 1.524.384.804 10.596.804ZM5.868 7.464 8.64 7.464 8.64 5.784 5.868 5.784 5.868 7.464ZM2.34 7.464 5.1 7.464 5.1 5.784 2.34 5.784 2.34 7.464ZM5.868 3.576 5.868 5.088 8.64 5.088 8.64 3.576 5.868 3.576ZM2.34 5.088 5.1 5.088 5.1 3.576 2.34 3.576 2.34 5.088ZM13.524 10.476C14.404 10.196 15.186 9.912 15.87 9.624 16.554 9.336 17.148 9.032 17.652 8.712 17.268 8.352 16.906 7.944 16.566 7.488 16.226 7.032 15.924 6.54 15.66 6.012L15.624 6.108C15.288 6.9 14.86 7.672 14.34 8.424 13.82 9.176 13.18 9.952 12.42 10.752L11.784 10.188C12.472 9.492 13.074 8.778 13.59 8.046 14.106 7.314 14.532 6.552 14.868 5.76 15.196 4.992 15.468 4.148 15.684 3.228L12.84 3.228 12.84 2.544C12.88 2.4 12.926 2.232 12.978 2.04 13.03 1.848 13.088 1.628 13.152 1.38 13.216 1.132 13.268.912 13.308.72 13.348.528 13.384.364 13.416.228L14.184.396C14.104.74 14.022 1.084 13.938 1.428 13.854 1.772 13.768 2.12 13.68 2.472L15.864 2.472C15.944 2.088 16.014 1.69 16.074 1.278 16.134.866 16.188.44 16.236 0L17.052.072C16.996.504 16.938.918 16.878 1.314 16.818 1.71 16.752 2.096 16.68 2.472L22.704 2.472 22.704 3.228 16.512 3.228C16.448 3.516 16.382 3.794 16.314 4.062 16.246 4.33 16.172 4.588 16.092 4.836L21.276 4.836 21.276 5.592C20.644 6.912 19.872 7.968 18.96 8.76 19.48 9.12 20.06 9.436 20.7 9.708 21.34 9.98 22.068 10.244 22.884 10.5L22.536 11.304C22.136 11.176 21.738 11.034 21.342 10.878 20.946 10.722 20.566 10.558 20.202 10.386 19.838 10.214 19.494 10.032 19.17 9.84 18.846 9.648 18.552 9.456 18.288 9.264 17.768 9.624 17.146 9.97 16.422 10.302 15.698 10.634 14.864 10.952 13.92 11.256L13.524 10.476ZM16.284 5.604C16.54 6.148 16.836 6.636 17.172 7.068 17.508 7.5 17.884 7.896 18.3 8.256 19.18 7.552 19.868 6.668 20.364 5.604L16.284 5.604ZM19.116 0C19.26.072 19.424.156 19.608.252 19.792.348 19.982.454 20.178.57 20.374.686 20.566.802 20.754.918 20.942 1.034 21.116 1.144 21.276 1.248L20.88 1.908C20.528 1.676 20.166 1.45 19.794 1.23 19.422 1.01 19.064.816 18.72.648L19.116 0ZM26.508 4.14 26.508 2.364 24.492 2.364 24.492 1.62 26.508 1.62 26.508.048 27.24.048 27.24 1.62 29.16 1.62 29.16 2.364 27.24 2.364 27.24 4.14 29.496 4.14 29.496 4.872 27.456 4.872 27.456 6.888 29.352 6.888 29.352 7.656 27.456 7.656 27.456 9.648C27.984 9.872 28.62 10.008 29.364 10.056 29.764 10.08 30.166 10.096 30.57 10.104 30.974 10.112 31.402 10.112 31.854 10.104 32.306 10.096 32.788 10.08 33.3 10.056 33.812 10.032 34.372 9.996 34.98 9.948L34.872 10.788C34.304 10.82 33.774 10.844 33.282 10.86 32.79 10.876 32.32 10.886 31.872 10.89 31.424 10.894 30.994 10.89 30.582 10.878 30.17 10.866 29.76 10.848 29.352 10.824 28.92 10.792 28.51 10.738 28.122 10.662 27.734 10.586 27.372 10.47 27.036 10.314 26.7 10.158 26.39 9.956 26.106 9.708 25.822 9.46 25.568 9.148 25.344 8.772 25.264 9.204 25.158 9.616 25.026 10.008 24.894 10.4 24.724 10.824 24.516 11.28L23.808 10.992C24 10.56 24.162 10.154 24.294 9.774 24.426 9.394 24.532 9.002 24.612 8.598 24.692 8.194 24.75 7.76 24.786 7.296 24.822 6.832 24.84 6.296 24.84 5.688L25.584 5.712C25.576 6.088 25.564 6.432 25.548 6.744 25.532 7.056 25.512 7.352 25.488 7.632 25.8 8.312 26.212 8.844 26.724 9.228L26.724 4.872 24.072 4.872 24.072 4.14 26.508 4.14ZM33.888.804 33.888 4.536 30.624 4.536 30.624 7.2C30.624 7.4 30.63 7.556 30.642 7.668 30.654 7.78 30.686 7.862 30.738 7.914 30.79 7.966 30.868 7.998 30.972 8.01 31.076 8.022 31.224 8.032 31.416 8.04 31.44 8.04 31.514 8.042 31.638 8.046 31.762 8.05 31.896 8.052 32.04 8.052 32.184 8.052 32.32 8.052 32.448 8.052 32.576 8.052 32.652 8.052 32.676 8.052 32.892 8.044 33.058 8.032 33.174 8.016 33.29 8 33.378 7.964 33.438 7.908 33.498 7.852 33.54 7.77 33.564 7.662 33.588 7.554 33.612 7.404 33.636 7.212 33.652 7.124 33.666 6.992 33.678 6.816 33.69 6.64 33.704 6.472 33.72 6.312L34.452 6.564 34.344 7.476C34.304 7.764 34.254 7.992 34.194 8.16 34.134 8.328 34.048 8.46 33.936 8.556 33.824 8.652 33.676 8.716 33.492 8.748 33.308 8.78 33.068 8.8 32.772 8.808L31.2 8.808C30.936 8.8 30.718 8.778 30.546 8.742 30.374 8.706 30.24 8.638 30.144 8.538 30.048 8.438 29.982 8.304 29.946 8.136 29.91 7.968 29.892 7.748 29.892 7.476L29.892 3.78 33.156 3.78 33.156 1.56 29.676 1.56 29.676.804 33.888.804Z" transform="translate(6.516 3.35)"/></g></svg>
@@ -1,16 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="36px" height="18px" viewBox="0 0 36 18" 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="M6.132,13.032 L6.132,5.208 L4.632,5.208 L4.632,3.864 L6.396,3.864 L6.396,2.952 L0.552,2.952 L0.552,3.864 L2.484,3.864 L2.484,5.208 L1.02,5.208 L1.02,13.032 L6.132,13.032 Z M9.078,13.206 C9.306,13.21 9.544,13.2 9.792,13.176 C10.08,13.152 10.314,13.118 10.494,13.074 C10.674,13.03 10.816,12.958 10.92,12.858 C11.024,12.758 11.1,12.618 11.148,12.438 C11.196,12.258 11.24,12.012 11.28,11.7 C11.304,11.508 11.326,11.288 11.346,11.04 C11.366,10.792 11.384,10.572 11.4,10.38 L11.4,10.38 L10.404,10.068 C10.404,10.124 10.4,10.21 10.392,10.326 C10.384,10.442 10.376,10.564 10.368,10.692 C10.36,10.82 10.352,10.942 10.344,11.058 C10.336,11.174 10.328,11.264 10.32,11.328 C10.304,11.512 10.284,11.656 10.26,11.76 C10.236,11.864 10.2,11.944 10.152,12 C10.104,12.056 10.042,12.092 9.966,12.108 C9.89,12.124 9.792,12.136 9.672,12.144 C9.48,12.152 9.3,12.158 9.132,12.162 C8.964,12.166 8.784,12.16 8.592,12.144 C8.456,12.136 8.35,12.122 8.274,12.102 C8.198,12.082 8.14,12.042 8.1,11.982 C8.06,11.922 8.034,11.832 8.022,11.712 C8.01,11.592 8.004,11.432 8.004,11.232 L8.004,11.232 L8.004,7.74 L10.884,7.74 L10.884,3 L6.888,3 L6.888,4.008 L9.864,4.008 L9.864,6.72 L6.996,6.72 L6.996,11.604 C6.996,11.932 7.016,12.196 7.056,12.396 C7.096,12.596 7.166,12.752 7.266,12.864 C7.366,12.976 7.504,13.052 7.68,13.092 C7.856,13.132 8.08,13.16 8.352,13.176 C8.608,13.192 8.85,13.202 9.078,13.206 Z M3.888,5.208 L3.216,5.208 L3.216,3.864 L3.888,3.864 L3.888,5.208 Z M5.304,9.96 L1.836,9.96 L1.836,9.204 L2.268,9.528 C2.62,9.096 2.864,8.656 3,8.208 C3.136,7.76 3.208,7.192 3.216,6.504 L3.216,6.504 L3.216,6.096 L3.888,6.096 L3.888,8.052 C3.888,8.412 3.946,8.656 4.062,8.784 C4.178,8.912 4.36,8.984 4.608,9 C4.696,9.016 4.804,9.024 4.932,9.024 L4.932,9.024 L5.304,9.024 L5.304,9.96 Z M5.166,8.28 L5.028,8.28 C4.924,8.28 4.844,8.276 4.788,8.268 C4.732,8.26 4.69,8.238 4.662,8.202 C4.634,8.166 4.618,8.116 4.614,8.052 C4.61,7.988 4.608,7.904 4.608,7.8 L4.608,6.096 L5.304,6.096 L5.304,8.268 C5.256,8.276 5.21,8.28 5.166,8.28 L5.166,8.28 Z M1.836,8.856 L1.836,6.096 L2.52,6.096 L2.52,6.36 C2.52,7.048 2.46,7.576 2.34,7.944 C2.236,8.256 2.068,8.56 1.836,8.856 L1.836,8.856 Z M5.304,12.12 L1.836,12.12 L1.836,10.896 L5.304,10.896 L5.304,12.12 Z M22.572,4.98 L22.572,2.652 L13.416,2.652 L13.416,4.98 L22.572,4.98 Z M16.212,4.284 L14.4,4.284 L14.4,3.348 L16.212,3.348 L16.212,4.284 Z M21.6,4.284 L19.8,4.284 L19.8,3.348 L21.6,3.348 L21.6,4.284 Z M18.888,4.284 L17.124,4.284 L17.124,3.348 L18.888,3.348 L18.888,4.284 Z M23.412,12.984 L23.412,12.18 L21.804,12.18 L21.804,7.032 L18.504,7.032 L18.504,6.408 L22.98,6.408 L22.98,5.688 L18.504,5.688 L18.504,5.112 L17.496,5.112 L17.496,5.688 L13.008,5.688 L13.008,6.408 L17.496,6.408 L17.496,7.032 L14.184,7.032 L14.184,12.18 L12.588,12.18 L12.588,12.984 L23.412,12.984 Z M20.796,8.376 L15.192,8.376 L15.192,7.752 L20.796,7.752 L20.796,8.376 Z M20.796,9.636 L15.192,9.636 L15.192,9.024 L20.796,9.024 L20.796,9.636 Z M20.796,10.908 L15.192,10.908 L15.192,10.296 L20.796,10.296 L20.796,10.908 Z M20.796,12.18 L15.192,12.18 L15.192,11.568 L20.796,11.568 L20.796,12.18 Z" id="path-1"></path>
6
- </defs>
7
- <g id="首页+详情页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="配置" fill-rule="nonzero">
9
- <path d="M9,0 L27,0 C31.9705627,0 36,4.02943725 36,9 C36,13.9705627 31.9705627,18 27,18 L2,18 C0.8954305,18 0,17.1045695 0,16 L0,9 C0,4.02943725 4.02943725,0 9,0 Z" id="矩形" fill="#FFF2CC"></path>
10
- <g id="配置" transform="translate(6.000000, 1.000000)">
11
- <use fill="#000000" xlink:href="#path-1"></use>
12
- <use fill="#8B572A" xlink:href="#path-1"></use>
13
- </g>
14
- </g>
15
- </g>
16
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="18" viewBox="0 0 48 18"><g fill="none" fill-rule="evenodd"><path fill="#FFF2CC" d="M9,0 L39,0 C43.9705627,-9.13077564e-16 48,4.02943725 48,9 C48,13.9705627 43.9705627,18 39,18 L2,18 C0.8954305,18 1.02344917e-15,17.1045695 0,16 L0,9 C-6.08718376e-16,4.02943725 4.02943725,9.13077564e-16 9,0 Z"/><path fill="#8B572A" fill-rule="nonzero" d="M.12 10.56C1.36 9.992 2.192 9.432 2.616 8.88 3.048 8.312 3.296 7.456 3.36 6.312 3.36 6.264 3.36 6.216 3.36 6.168 3.36 6.12 3.364 6.076 3.372 6.036L0 6.036 0 5.244 5.16 5.244 5.16 2.808 2.364 2.808C2.196 3.176 2.018 3.53 1.83 3.87 1.642 4.21 1.444 4.536 1.236 4.848L.516 4.464C.948 3.864 1.32 3.214 1.632 2.514 1.944 1.814 2.216 1.088 2.448.336L3.228.552C3.148.808 3.064 1.06 2.976 1.308 2.888 1.556 2.796 1.8 2.7 2.04L5.16 2.04 5.16 0 5.952 0 5.952 2.04 10.116 2.04 10.116 2.808 5.952 2.808 5.952 5.244 10.704 5.244 10.704 6.036 7.092 6.036 7.092 9.348C7.092 9.492 7.096 9.612 7.104 9.708 7.112 9.804 7.136 9.882 7.176 9.942 7.216 10.002 7.274 10.048 7.35 10.08 7.426 10.112 7.536 10.132 7.68 10.14 7.896 10.156 8.124 10.164 8.364 10.164 8.604 10.164 8.86 10.148 9.132 10.116 9.244 10.108 9.334 10.092 9.402 10.068 9.47 10.044 9.526 10.008 9.57 9.96 9.614 9.912 9.646 9.846 9.666 9.762 9.686 9.678 9.704 9.576 9.72 9.456 9.728 9.376 9.738 9.262 9.75 9.114 9.762 8.966 9.774 8.814 9.786 8.658 9.798 8.502 9.808 8.352 9.816 8.208 9.824 8.064 9.832 7.948 9.84 7.86L10.596 8.04C10.596 8.128 10.59 8.236 10.578 8.364 10.566 8.492 10.552 8.626 10.536 8.766 10.52 8.906 10.504 9.042 10.488 9.174 10.472 9.306 10.46 9.416 10.452 9.504 10.412 9.76 10.372 9.972 10.332 10.14 10.292 10.308 10.228 10.444 10.14 10.548 10.052 10.652 9.932 10.728 9.78 10.776 9.628 10.824 9.42 10.856 9.156 10.872 8.876 10.888 8.598 10.896 8.322 10.896 8.046 10.896 7.728 10.884 7.368 10.86 7.12 10.836 6.924 10.796 6.78 10.74 6.636 10.684 6.528 10.602 6.456 10.494 6.384 10.386 6.34 10.248 6.324 10.08 6.308 9.912 6.3 9.712 6.3 9.48L6.3 6.036 4.188 6.036 4.176 6.324C4.088 7.652 3.8 8.656 3.312 9.336 2.824 10 1.928 10.668.624 11.34L.12 10.56ZM13.956 3.024 13.956 1.476 11.916 1.476 11.916.768 17.76.768 17.76 1.476 15.9 1.476 15.9 3.024 17.424 3.024 17.424 10.728 12.468 10.728 12.468 3.024 13.956 3.024ZM22.176.816 22.176 5.34 19.212 5.34 19.212 9.408C19.212 9.544 19.222 9.652 19.242 9.732 19.262 9.812 19.314 9.874 19.398 9.918 19.482 9.962 19.61 9.992 19.782 10.008 19.954 10.024 20.196 10.032 20.508 10.032 20.82 10.032 21.064 10.024 21.24 10.008 21.416 9.992 21.546 9.954 21.63 9.894 21.714 9.834 21.77 9.746 21.798 9.63 21.826 9.514 21.848 9.352 21.864 9.144L21.96 7.86 22.728 8.1 22.608 9.384C22.568 9.688 22.52 9.936 22.464 10.128 22.408 10.32 22.31 10.47 22.17 10.578 22.03 10.686 21.832 10.758 21.576 10.794 21.32 10.83 20.98 10.848 20.556 10.848 20.068 10.848 19.684 10.826 19.404 10.782 19.124 10.738 18.912 10.666 18.768 10.566 18.624 10.466 18.532 10.334 18.492 10.17 18.452 10.006 18.432 9.804 18.432 9.564L18.432 4.548 21.396 4.548 21.396 1.596 18.276 1.596 18.276.816 22.176.816ZM13.092 6.972 13.092 7.836 16.776 7.836 16.776 6.744C16.64 6.752 16.484 6.752 16.308 6.744 16.132 6.736 15.988 6.724 15.876 6.708 15.7 6.684 15.566 6.628 15.474 6.54 15.382 6.452 15.336 6.308 15.336 6.108L15.336 3.708 14.484 3.708 14.484 4.08C14.484 4.848 14.416 5.46 14.28 5.916 14.144 6.372 13.888 6.824 13.512 7.272L13.092 6.972ZM16.776 9.996 16.776 8.568 13.092 8.568 13.092 9.996 16.776 9.996ZM15.9 3.708 15.9 5.868C15.9 5.972 15.916 6.042 15.948 6.078 15.98 6.114 16.052 6.132 16.164 6.132 16.252 6.14 16.352 6.144 16.464 6.144 16.576 6.144 16.68 6.136 16.776 6.12L16.776 3.708 15.9 3.708ZM13.092 6.84C13.42 6.472 13.644 6.096 13.764 5.712 13.892 5.328 13.956 4.752 13.956 3.984L13.956 3.708 13.092 3.708 13.092 6.84ZM14.484 3.024 15.336 3.024 15.336 1.476 14.484 1.476 14.484 3.024ZM29.736 2.88 29.736 3.492 34.344 3.492 34.344 4.068 29.736 4.068 29.736 4.8 33.06 4.8 33.06 10.02 34.788 10.02 34.788 10.644 23.964 10.644 23.964 10.02 25.68 10.02 25.68 4.8 28.992 4.8 28.992 4.068 24.396 4.068 24.396 3.492 28.992 3.492 28.992 2.88 29.736 2.88ZM33.864.456 33.864 2.64 24.876 2.64 24.876.456 33.864.456ZM26.4 10.02 32.34 10.02 32.34 9.24 26.4 9.24 26.4 10.02ZM26.4 6.132 32.34 6.132 32.34 5.376 26.4 5.376 26.4 6.132ZM26.4 8.7 32.34 8.7 32.34 7.956 26.4 7.956 26.4 8.7ZM26.4 7.416 32.34 7.416 32.34 6.672 26.4 6.672 26.4 7.416ZM25.596 2.1 27.696 2.1 27.696.996 25.596.996 25.596 2.1ZM31.08.996 31.08 2.1 33.144 2.1 33.144.996 31.08.996ZM28.392 2.1 30.384 2.1 30.384.996 28.392.996 28.392 2.1Z" transform="translate(6.624 3.33)"/></g></svg>
@@ -198,6 +198,10 @@
198
198
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
199
199
  }
200
200
 
201
+ .titaui-menus-tree__sub-menu-item-node-icon.survey-share-mine {
202
+ background-image: url("../images/survey-menu/share-mine.png");
203
+ }
204
+
201
205
  .titaui-menus-tree__sub-menu-item-node-icon.survey-templated {
202
206
  background-image: url("../images/survey-menu/template.svg");
203
207
  }
@@ -370,6 +374,10 @@
370
374
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
371
375
  }
372
376
 
377
+ .titaui-menus-tree__menu-item-node-icon.survey-share-mine {
378
+ background-image: url("../images/survey-menu/share-mine.png");
379
+ }
380
+
373
381
  .titaui-menus-tree__menu-item-node-icon.survey-templated {
374
382
  background-image: url("../images/survey-menu/template.svg");
375
383
  }
@@ -542,6 +550,10 @@
542
550
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
543
551
  }
544
552
 
553
+ .titaui-menus-tree__parent-menu-node-icon.survey-share-mine {
554
+ background-image: url("../images/survey-menu/share-mine.png");
555
+ }
556
+
545
557
  .titaui-menus-tree__parent-menu-node-icon.survey-templated {
546
558
  background-image: url("../images/survey-menu/template.svg");
547
559
  }
@@ -786,6 +798,10 @@
786
798
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
787
799
  }
788
800
 
801
+ .titaui-menus-tree__company-all-node-icon.survey-share-mine {
802
+ background-image: url("../images/survey-menu/share-mine.png");
803
+ }
804
+
789
805
  .titaui-menus-tree__company-all-node-icon.survey-templated {
790
806
  background-image: url("../images/survey-menu/template.svg");
791
807
  }
@@ -958,6 +974,10 @@
958
974
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
959
975
  }
960
976
 
977
+ .titaui-menus-tree__ass-template-node-icon.survey-share-mine {
978
+ background-image: url("../images/survey-menu/share-mine.png");
979
+ }
980
+
961
981
  .titaui-menus-tree__ass-template-node-icon.survey-templated {
962
982
  background-image: url("../images/survey-menu/template.svg");
963
983
  }
@@ -965,7 +985,7 @@
965
985
  .titaui-menus-tree__ass-template-node-suffix {
966
986
  display: inline-block;
967
987
  height: 18px;
968
- width: 36px;
988
+ width: 48px;
969
989
  margin-left: 8px;
970
990
  background-image: url("../images/appraisal-menu/setting.svg");
971
991
  background-size: contain;
@@ -1140,6 +1160,10 @@
1140
1160
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
1141
1161
  }
1142
1162
 
1163
+ .titaui-menus-tree__ass-manage-node-icon.survey-share-mine {
1164
+ background-image: url("../images/survey-menu/share-mine.png");
1165
+ }
1166
+
1143
1167
  .titaui-menus-tree__ass-manage-node-icon.survey-templated {
1144
1168
  background-image: url("../images/survey-menu/template.svg");
1145
1169
  }
@@ -1147,7 +1171,7 @@
1147
1171
  .titaui-menus-tree__ass-manage-node-suffix {
1148
1172
  display: inline-block;
1149
1173
  height: 18px;
1150
- width: 36px;
1174
+ width: 48px;
1151
1175
  margin-left: 8px;
1152
1176
  background-image: url("../images/appraisal-menu/launch.svg");
1153
1177
  background-size: contain;
@@ -1323,6 +1347,10 @@
1323
1347
  background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
1324
1348
  }
1325
1349
 
1350
+ .titaui-menus-tree__user-concern-node-icon.survey-share-mine {
1351
+ background-image: url("../images/survey-menu/share-mine.png");
1352
+ }
1353
+
1326
1354
  .titaui-menus-tree__user-concern-node-icon.survey-templated {
1327
1355
  background-image: url("../images/survey-menu/template.svg");
1328
1356
  }
@@ -21,6 +21,8 @@ var _default = /*#__PURE__*/function () {
21
21
  cb(_menus.PAGE_SURVEY_MANAGE);
22
22
  } else if (this.isMyInvolved()) {
23
23
  cb(_menus.PAGE_SURVEY_MY_INVOLVED);
24
+ } else if (this.isAssessShareMine()) {
25
+ cb(_menus.PAGE_SURVEY_SHARE_MINE);
24
26
  } else if (this.isAssessTemplated()) {
25
27
  cb(_menus.PAGE_SURVEY_TEMPLATED);
26
28
  } else if (this.isAssessSettings()) {
@@ -40,6 +42,12 @@ var _default = /*#__PURE__*/function () {
40
42
  var pathname = this.history.location.pathname;
41
43
  return pathname.match(/survey\/manage/);
42
44
  }
45
+ }, {
46
+ key: "isAssessShareMine",
47
+ value: function isAssessShareMine() {
48
+ var pathname = this.history.location.pathname;
49
+ return pathname.match(/survey\/share-mine/);
50
+ }
43
51
  }, {
44
52
  key: "isAssessTemplated",
45
53
  value: function isAssessTemplated() {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.defaultRefObject = exports["default"] = exports.PAGE_SURVEY_TEMPLATED = exports.PAGE_SURVEY_MY_INVOLVED = exports.PAGE_SURVEY_MANAGE = exports.PAGE_SURVEY_ASSESS_SETTINGS = void 0;
6
+ exports.defaultRefObject = exports["default"] = exports.PAGE_SURVEY_TEMPLATED = exports.PAGE_SURVEY_SHARE_MINE = exports.PAGE_SURVEY_MY_INVOLVED = exports.PAGE_SURVEY_MANAGE = exports.PAGE_SURVEY_ASSESS_SETTINGS = void 0;
7
7
  var _index = require("../../components/menu-tree/tree-node/index");
8
8
  var _getLocale = require("../../../../utils/getLocale");
9
9
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -18,6 +18,8 @@ var PAGE_SURVEY_MANAGE = 'surveymanage';
18
18
  exports.PAGE_SURVEY_MANAGE = PAGE_SURVEY_MANAGE;
19
19
  var PAGE_SURVEY_MY_INVOLVED = 'surveymyinvolved';
20
20
  exports.PAGE_SURVEY_MY_INVOLVED = PAGE_SURVEY_MY_INVOLVED;
21
+ var PAGE_SURVEY_SHARE_MINE = 'surveysharemine';
22
+ exports.PAGE_SURVEY_SHARE_MINE = PAGE_SURVEY_SHARE_MINE;
21
23
  var PAGE_SURVEY_TEMPLATED = 'surveytemplated';
22
24
  exports.PAGE_SURVEY_TEMPLATED = PAGE_SURVEY_TEMPLATED;
23
25
  var PAGE_SURVEY_ASSESS_SETTINGS = 'assesssettings';
@@ -39,6 +41,13 @@ var surveyMenus = /*#__PURE__*/function () {
39
41
  type: _index.MENU_ITEM_NOE,
40
42
  href: '#/survey/my-involved',
41
43
  isShow: true
44
+ }, {
45
+ icon: 'survey-share-mine',
46
+ label: '分享我的',
47
+ key: PAGE_SURVEY_SHARE_MINE,
48
+ type: _index.MENU_ITEM_NOE,
49
+ href: '#/survey/share-mine',
50
+ isShow: true
42
51
  }, {
43
52
  icon: "",
44
53
  label: (0, _getLocale.getLocale)('Per_Menu_Title_Label_BasicSettings'),
@@ -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
 
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.16.97",
3
+ "version": "1.16.98",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",